/* ==================== Reset & Base ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #22223a;
    --text-primary: #ffffff;
    --text-secondary: #c8c8da;
    --text-muted: #9898ac;
    --accent: #7c3aed;
    --accent-light: #a855f7;
    --accent-dark: #5b21b6;
    --gradient: linear-gradient(135deg, #7c3aed, #06b6d4);
    --gradient-text: linear-gradient(135deg, #a855f7, #06b6d4);
    --border: #2a2a3e;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 8px 32px rgba(0,0,0,0.3);
    --transition: 0.3s ease;
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-primary);
    background-image: url('assets/background.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ==================== Navbar ==================== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(10,10,15,0.85); backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.navbar.scrolled { border-bottom-color: var(--border); }
.nav-content { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-size: 1.6rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.logo-img { width: 32px; height: 32px; border-radius: 6px; }
.logo-icon { color: var(--accent-light); font-size: 1.2rem; }
.logo-highlight { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 8px; }
.nav-links a {
    padding: 8px 16px; border-radius: 8px; font-size: 0.9rem; font-weight: 500;
    color: var(--text-secondary); transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); background: rgba(124,58,237,0.1); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border-radius: 10px; font-size: 0.95rem; font-weight: 600;
    cursor: pointer; transition: var(--transition); border: none; text-align: center;
}
.btn-primary {
    background: var(--gradient); color: white;
    box-shadow: 0 4px 15px rgba(124,58,237,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(124,58,237,0.5); }
.btn-outline {
    background: transparent; color: var(--text-primary);
    border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); background: rgba(124,58,237,0.1); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }

/* ==================== Section Titles ==================== */
.section-title { font-size: 2.5rem; font-weight: 800; text-align: center; margin-bottom: 12px; }
.gradient-text {
    background: var(--gradient-text); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-subtitle { text-align: center; color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 48px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 24px; display: inline-block; }

/* ==================== Hero ==================== */
.hero {
    min-height: 100vh; display: flex; align-items: center; position: relative;
    padding: 100px 0 60px; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(124,58,237,0.15), transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(6,182,212,0.1), transparent 60%);
}
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.badge {
    display: inline-block; padding: 8px 20px; border-radius: 50px;
    background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3);
    font-size: 0.85rem; font-weight: 600; color: var(--accent-light); margin-bottom: 24px;
}
.hero-text h1 { font-size: 3.2rem; font-weight: 900; line-height: 1.15; margin-bottom: 20px; }
.hero-text p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 32px; max-width: 500px; }
.hero-buttons { display: flex; gap: 16px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.5rem; font-weight: 800; }
.stat span { font-size: 0.8rem; color: var(--text-muted); }

.hero-visual { display: flex; justify-content: center; }
.tv-wrapper { display: flex; flex-direction: column; align-items: center; }
.tv-frame {
    width: 520px; height: 340px; background: transparent; border-radius: 16px;
    border: 3px solid rgba(124,58,237,0.3); padding: 10px; position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(124,58,237,0.1);
    animation: tvGlow 3s ease-in-out infinite;
}
@keyframes tvGlow {
    0%, 100% { box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(124,58,237,0.1); border-color: rgba(124,58,237,0.3); }
    50% { box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 60px rgba(124,58,237,0.25), 0 0 100px rgba(6,182,212,0.1); border-color: rgba(124,58,237,0.5); }
}
.tv-screen { width: 100%; height: 100%; border-radius: 8px; overflow: hidden; background: #000; position: relative; }
.tv-screen-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tv-animated { animation: tvZoom 15s ease-in-out infinite alternate; }
@keyframes tvZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}
.tv-iframe { width: 100%; height: 100%; border: none; display: block; object-fit: cover; }
.tv-screen-overlay {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: contain; pointer-events: none; z-index: 2;
    animation: overlayPulse 4s ease-in-out infinite;
}
@keyframes overlayPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
}
.tv-logos {
    display: flex; align-items: center; justify-content: center;
    padding: 12px 0 0; position: relative; width: 100%;
}
.tv-logo { height: 50px; width: auto; object-fit: contain; filter: brightness(1.2); transition: var(--transition); position: absolute; }
.tv-logo[alt="Android TV"] { height: 100px; position: relative; }
.tv-logo[alt="Smart TV"] { left: 15%; }
.tv-logo[alt="Roku"] { right: 0; }
.tv-logo:hover { transform: scale(1.15); filter: brightness(1.5) drop-shadow(0 0 10px rgba(124,58,237,0.5)); }
.tv-overlay {
    position: absolute; top: 8px; right: 8px; z-index: 3;
    display: flex; align-items: center; gap: 8px;
    background: rgba(0,0,0,0.6); border-radius: 6px; padding: 4px 10px;
}
.sound-btn {
    background: none; border: none; cursor: pointer; font-size: 0.9rem;
    padding: 2px 4px; border-radius: 4px; transition: var(--transition);
}
.sound-btn:hover { background: rgba(255,255,255,0.15); }
.tv-live {
    color: #ef4444; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px;
    animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.tv-stand { width: 80px; height: 20px; background: #2a2a3e; margin: 0 auto; border-radius: 0 0 8px 8px; }
.tv-brands {
    display: flex; gap: 12px; margin-top: 20px;
}
.brand-badge {
    padding: 6px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 600;
    background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.25);
    color: var(--text-secondary); transition: var(--transition);
}
.brand-badge:hover {
    background: rgba(124,58,237,0.25); color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-trial {
    background: linear-gradient(135deg, rgba(6,182,212,0.15), rgba(124,58,237,0.15)) !important;
    border: 1px solid rgba(6,182,212,0.4) !important;
    animation: trialPulse 2s ease-in-out infinite;
}
.btn-trial:hover {
    background: linear-gradient(135deg, rgba(6,182,212,0.3), rgba(124,58,237,0.3)) !important;
    transform: scale(1.05);
}
@keyframes trialPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(6,182,212,0.3); }
    50% { box-shadow: 0 0 15px 3px rgba(6,182,212,0.2); }
}
.trial-result {
    margin-top: 16px; padding: 16px 20px; border-radius: var(--radius);
    background: rgba(6,182,212,0.1); border: 1px solid rgba(6,182,212,0.3);
    font-size: 0.9rem; color: var(--text-primary); width: 100%;
    word-break: break-word; overflow-wrap: break-word;
}
.trial-result.success { border-color: rgba(34,197,94,0.4); background: rgba(34,197,94,0.1); }
.trial-result.error { border-color: rgba(239,68,68,0.4); background: rgba(239,68,68,0.1); }
.dns-info { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(124,58,237,0.2); }
.dns-info p { margin-bottom: 4px; font-size: 0.85rem; }
.dns-title { font-weight: 700; margin-bottom: 8px !important; color: var(--accent-light); }
.dns-warning { margin-top: 10px !important; color: #facc15; font-weight: 600; }
.tutorial-link {
    display: inline-block; margin-top: 14px; padding: 10px 24px; border-radius: 50px;
    background: var(--gradient); color: #fff; font-weight: 700; font-size: 0.95rem;
    text-decoration: none; transition: var(--transition);
}
.tutorial-link:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(124,58,237,0.3); }

/* ==================== Features ==================== */
.features { padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 32px; transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--accent); background: var(--bg-card-hover); }
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ==================== Plans ==================== */
.plans { padding: 100px 0; background: transparent; }
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.plan-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 32px; transition: var(--transition); position: relative;
}
.plan-card:hover { transform: translateY(-4px); }
.plan-popular, .plan-best {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(124,58,237,0.15);
}
.popular-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--gradient); color: white; padding: 4px 16px;
    border-radius: 50px; font-size: 0.75rem; font-weight: 700; white-space: nowrap;
}
.plan-header { text-align: center; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.plan-header h3 { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 8px; }
.plan-price { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.currency { font-size: 1.2rem; font-weight: 700; }
.amount { font-size: 2.8rem; font-weight: 900; }
.period { font-size: 0.9rem; color: var(--text-muted); }
.plan-save {
    display: inline-block; margin-top: 8px; padding: 4px 12px;
    background: rgba(34,197,94,0.15); color: #4ade80;
    border-radius: 50px; font-size: 0.75rem; font-weight: 600;
}
.plan-features { margin-bottom: 24px; }
.plan-features li { padding: 8px 0; font-size: 0.9rem; color: var(--text-secondary); }
.plans-note { text-align: center; margin-top: 32px; color: var(--text-secondary); font-size: 0.9rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 20px; display: inline-block; }

/* ==================== Channels ==================== */
.channels { padding: 100px 0; }
.channel-categories { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.cat-btn {
    padding: 8px 20px; border-radius: 50px; border: 1px solid var(--border);
    background: transparent; color: var(--text-secondary); font-size: 0.85rem;
    font-weight: 500; cursor: pointer; transition: var(--transition);
}
.cat-btn:hover, .cat-btn.active { background: var(--accent); color: white; border-color: var(--accent); }
.channels-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.channel-item {
    display: flex; align-items: center; gap: 8px; padding: 12px 16px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    font-size: 0.9rem; transition: var(--transition);
}
.channel-item:hover { border-color: var(--accent); background: var(--bg-card-hover); }
.channel-item.hidden { display: none; }
.ch-icon { font-size: 1.1rem; }
.channels-more { text-align: center; margin-top: 32px; color: var(--text-muted); }
.channels-more a { color: var(--accent-light); font-weight: 600; }

/* ==================== How It Works ==================== */
.how-it-works { padding: 100px 0; background: transparent; }
.steps-grid { display: flex; align-items: flex-start; justify-content: center; gap: 16px; margin-bottom: 60px; }
.step-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 32px; text-align: center; max-width: 300px; position: relative;
}
.step-number {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    width: 32px; height: 32px; border-radius: 50%; background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 800;
}
.step-icon { font-size: 2.5rem; margin: 16px 0; }
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { color: var(--text-secondary); font-size: 0.85rem; }
.step-connector { font-size: 2rem; color: var(--accent); padding-top: 40px; }
.compatibility { text-align: center; }
.compatibility h3 { font-size: 1.3rem; margin-bottom: 24px; }
.compat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.compat-item {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px 12px; font-size: 0.9rem; font-weight: 600; transition: var(--transition);
}
.compat-item:hover { border-color: var(--accent); }
.compat-item small { display: block; color: var(--text-muted); font-weight: 400; margin-top: 4px; font-size: 0.75rem; }

/* ==================== Testimonials ==================== */
.testimonials { padding: 100px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 32px; transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--accent); }
.stars { margin-bottom: 16px; font-size: 1rem; }
.testimonial-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; justify-content: space-between; align-items: center; }
.testimonial-author strong { font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--accent-light); }

/* ==================== FAQ ==================== */
.faq { padding: 100px 0; background: transparent; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-question {
    width: 100%; padding: 20px 24px; background: var(--bg-card); border: none;
    color: var(--text-primary); font-size: 1rem; font-weight: 600;
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    transition: var(--transition); text-align: left;
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-toggle { font-size: 1.4rem; font-weight: 300; transition: var(--transition); color: var(--accent-light); }
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 20px 24px; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 300px; }

/* ==================== Contact ==================== */
.contact { padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 40px 32px; text-align: center; transition: var(--transition);
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.contact-icon { font-size: 3rem; margin-bottom: 16px; }
.contact-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.contact-card p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 20px; }

/* ==================== CTA ==================== */
.cta {
    padding: 80px 0; text-align: center;
    background: var(--gradient); position: relative;
}
.cta h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; }
.cta p { font-size: 1.1rem; margin-bottom: 32px; opacity: 0.9; }
.cta .btn-primary { background: white; color: var(--accent-dark); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.cta .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(0,0,0,0.3); }

/* ==================== Footer ==================== */
.footer { padding: 60px 0 30px; background: var(--bg-secondary); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col .logo { margin-bottom: 16px; display: inline-flex; }
.footer-col p { color: var(--text-muted); font-size: 0.85rem; }
.footer-col h4 { font-size: 1rem; margin-bottom: 16px; color: var(--text-primary); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.85rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; }
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 4px; }

/* ==================== Legal Pages ==================== */
.legal-page { padding: 120px 0 80px; min-height: 80vh; }
.legal-page h1 { font-size: 2.5rem; font-weight: 800; text-align: center; margin-bottom: 8px; }
.legal-updated { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 48px; }
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.3rem; font-weight: 700; margin: 32px 0 12px; color: var(--accent-light); }
.legal-content p { color: #e2e2e2; font-size: 0.95rem; margin-bottom: 12px; line-height: 1.7; }
.legal-content ul { margin: 12px 0 16px 24px; list-style: disc; }
.legal-content ul li { color: #e2e2e2; font-size: 0.9rem; margin-bottom: 6px; line-height: 1.6; }
.legal-content a { color: var(--accent-light); text-decoration: underline; }

/* ==================== WhatsApp Float ==================== */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,0.6); }

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
    .plans-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { margin: 0 auto 32px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .compat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .nav-links {
        display: none; position: fixed; top: 70px; left: 0; right: 0;
        background: var(--bg-primary); flex-direction: column; padding: 20px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.active { display: flex; }
    .nav-toggle { display: flex; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .hero-text h1 { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .plans-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .steps-grid { flex-direction: column; align-items: center; }
    .step-connector { transform: rotate(90deg); padding: 0; }
    .compat-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .trial-result { width: 100% !important; font-size: 0.85rem; padding: 12px 14px; }
    .dns-info p { font-size: 0.8rem; }
    .tutorial-link { font-size: 0.85rem; padding: 8px 18px; }
}
