/* ===== RESET Y VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --bg-hover: #222230;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent: #e50914;
    --accent-hover: #f6121d;
    --gold: #fbbf24;
    --gold-hover: #f59e0b;
    --border: #2a2a35;
    --font-main: 'Inter', sans-serif;
    --glass-bg: rgba(26, 26, 36, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* ===== FONDO GENERAL DE LA PÁGINA ===== */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image: url('https://images.unsplash.com/photo-1517604931442-7e0c8ed2963c?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.2) saturate(1.2);
    opacity: 0.8;
}

body::before {
    content: 'DominiTV';
    position: fixed;
    inset: 0;
    z-index: -2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: clamp(8rem, 25vw, 20rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    letter-spacing: -10px;
    pointer-events: none;
    white-space: nowrap;
}

/* ===== FONDO ANIMADO (ORBES) ===== */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.orb-1 { width: 400px; height: 400px; background: var(--accent); top: -100px; left: -100px; }
.orb-2 { width: 300px; height: 300px; background: var(--gold); bottom: -50px; right: -50px; animation-delay: -5s; }
.orb-3 { width: 250px; height: 250px; background: #3b82f6; top: 40%; left: 40%; animation-delay: -10s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ===== UTILIDADES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
    scroll-margin-top: 90px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    background: rgba(251, 191, 36, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--gold) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BOTONES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #b8070f);
    color: white;
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(229, 9, 20, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 900;
}

.logo-icon { font-size: 1.6rem; }

.logo-text {
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 8px;
}

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    position: relative;
    border-radius: 16px;
    padding: 32px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    z-index: 1;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bg-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    transition: transform 0.5s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,15,0.95) 0%, rgba(10,10,15,0.5) 100%);
    z-index: -1;
    transition: background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 12px 32px rgba(0,0,0,0.6);
}

.feature-card:hover::before {
    transform: scale(1.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.feature-card p {
    color: #d1d1d6;
    font-size: 0.95rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* ===== PLATAFORMAS ===== */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.platform-card {
    position: relative;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    z-index: 1;
}

.platform-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bg-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    transition: transform 0.5s ease;
}

.platform-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,15,0.9) 0%, rgba(10,10,15,0.45) 100%);
    z-index: -1;
    transition: background 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 12px 32px rgba(0,0,0,0.6);
}

.platform-card:hover::before {
    transform: scale(1.1);
}

.platform-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.platform-card:hover .platform-icon {
    transform: scale(1.1);
}

.platform-icon.android { background: rgba(61, 220, 132, 0.25); color: #3ddc84; }
.platform-icon.windows { background: rgba(0, 120, 212, 0.25); color: #0078d4; }
.platform-icon.tv { background: rgba(251, 191, 36, 0.25); color: var(--gold); }

.platform-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.platform-card p {
    color: #d1d1d6;
    font-size: 0.9rem;
    flex-grow: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.platform-card p strong {
    color: var(--gold);
    background: rgba(251, 191, 36, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 1rem;
}

.platform-link {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.platform-card:hover .platform-link {
    gap: 12px;
}

/* ===== PRECIOS ===== */
.pricing-wrapper {
    display: flex;
    justify-content: center;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px;
    max-width: 420px;
    width: 100%;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border-top: 4px solid var(--gold);
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: #000;
    padding: 6px 24px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.price-container {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.price {
    text-align: center;
    background: rgba(251, 191, 36, 0.1);
    padding: 16px 40px;
    border-radius: 16px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.1);
}

.currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    vertical-align: top;
}

.amount {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
    letter-spacing: -2px;
}

.period {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.price-desc {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.price-desc strong {
    color: var(--text-primary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.pricing-features li i {
    color: var(--gold);
    background: rgba(251, 191, 36, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

/* ===== FAQ ===== */
.faq-container {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--gold);
}

.faq-item[open] {
    border-color: var(--gold);
    background: var(--bg-hover);
}

.faq-item summary {
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.faq-item p strong {
    color: var(--text-primary);
}

/* ===== CTA FINAL ===== */
.cta-section {
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(229, 9, 20, 0.05));
    border-top: 1px solid var(--border);
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(18, 18, 26, 0.85);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    /* ✅ AJUSTE: 5 columnas para incluir "Soporte" */
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #25d366;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.whatsapp-link:hover {
    color: #1ebe5b;
    transform: translateX(4px);
}

.whatsapp-link i {
    font-size: 1.4rem;
}

.footer-email {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ===== BOTÓN FLOTANTE DE WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
    color: white;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== RESPONSIVE (MÓVIL PERFECTO) ===== */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    body::before {
        font-size: 6rem;
        letter-spacing: -2px;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .feature-card, .platform-card {
        padding: 24px;
        min-height: 200px;
    }

    .pricing-card {
        padding: 32px 20px;
    }

    .amount {
        font-size: 3.5rem;
    }

    .price {
        padding: 12px 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .whatsapp-link {
        justify-content: center;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .price-container {
        padding: 0;
    }
}