/* ===== VARIABLES PREMIUM (Negro + Amarillo Selectivo) ===== */
:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #111111;
    --accent: #FFD700; /* Amarillo solo para highlights */
    --white: #FFFFFF;
    --text-primary: #FFFFFF; /* Títulos y texto principal = BLANCO */
    --text-secondary: #A0A0A0; /* Gris claro para descripciones */
    --border: #222222;
    --shadow: 0 10px 30px rgba(255, 215, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Imágenes fluidas para móvil y desktop */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HERO SECTION (Negro Puro) ===== */
.hero {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    min-height: 100vh;
    color: var(--white);
    position: relative;
}

.nav-header {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

/* 🔥 LOGO en AMARILLO (único elemento marca) */
.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1px;
}

.hero-content {
    padding: 80px 0;
    text-align: center;
}

/* 🔥 TÍTULO PRINCIPAL = BLANCO */
.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: var(--white); /* BLANCO, no amarillo */
}

/* 🔥 HIGHLIGHTS DENTRO DEL TÍTULO = AMARILLO */
.highlight {
    color: var(--accent);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

/* 🔥 NÚMEROS = AMARILLO (son métricas clave) */
.stat-number {
    display: block;
    font-size: 40px;
    font-weight: 800;
    color: var(--accent);
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.stat-label {
    font-size: 14px;
    opacity: 0.7;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 🔥 CTA = AMARILLO (acción principal) */
.cta-button {
    background: var(--accent);
    color: #000000;
    border: none;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 30px 0 10px;
    box-shadow: var(--shadow);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    width: 100%;
    max-width: 360px;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4); }
    100% { transform: scale(1); box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2); }
}

.hero-note {
    font-size: 14px;
    opacity: 0.7;
    margin-top: 20px;
    color: var(--accent);
    font-weight: 500;
}

/* ===== SECCIONES GENERALES ===== */
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--white); /* 🔥 TÍTULOS = BLANCO */
    line-height: 1.2;
}

/* ===== PROBLEMA SECTION ===== */
.problem-section {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile-first: una columna */
    gap: 30px;
}

.problem-item {
    background: var(--bg-card);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.problem-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.problem-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

/* 🔥 Títulos de items = BLANCO */
.problem-item h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.problem-item p {
    color: var(--text-secondary);
}

/* ===== SOLUCIÓN SECTION ===== */
.solution-section {
    padding: 60px 0;
    background: var(--bg-primary);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile-first */
    gap: 30px;
    margin-top: 40px;
}

.solution-step {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--bg-card);
}

/* 🔥 NÚMEROS DE PASOS = AMARILLO */
.step-number {
    width: 70px;
    height: 70px;
    background: var(--accent);
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 20px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* 🔥 Títulos de pasos = BLANCO */
.solution-step h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--white);
}

.solution-step p {
    color: var(--text-secondary);
}

/* ===== BENEFICIOS SECTION ===== */
.benefits-section {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile-first */
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--bg-card);
    transition: all 0.3s;
}

.benefit-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.benefit-icon {
    font-size: 50px;
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.3));
}

/* 🔥 Títulos de beneficios = BLANCO */
.benefit-card h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--text-secondary);
}

/* ===== TESTIMONIOS SECTION ===== */
.testimonials-section {
    padding: 60px 0;
    background: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile-first */
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--bg-dark);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.testimonial-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 0 auto 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-primary);
}

.testimonial-author {
    color: var(--accent);
    font-weight: 700;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 40px 20px;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: center;
}

.cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    color: var(--accent); /* 🔥 CTA TITLE = AMARILLO */
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.cta-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cta-form input,
.cta-form select {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    background: var(--bg-primary);
    color: var(--text-primary);
    width: 100%;
}

.cta-form input:focus,
.cta-form select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.submit-button {
    background: var(--accent);
    color: #000000;
    border: none;
    padding: 18px;
    font-size: 18px;
    font-weight: 800;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 5px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.form-note {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 10px;
    color: var(--accent);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-primary);
    color: var(--text-secondary);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-text {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--accent);
}

.footer-disclaimer {
    font-size: 12px;
    opacity: 0.5;
}

/* ===== FOOTER LEGAL LINKS ===== */
.footer-links {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 30px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.footer-link:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.footer-link::after {
    content: "•";
    color: var(--accent);
    position: absolute;
    right: -15px;
    top: 0;
}

.footer-link:last-child::after {
    display: none;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--accent);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    color: var(--text-primary);
    font-size: 14px;
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-link {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.btn-accept {
    background: var(--accent);
    color: #000000;
}

.btn-accept:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-reject {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-reject:hover {
    background: var(--border);
    color: var(--white);
}

.btn-config {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-config:hover {
    background: var(--accent);
    color: #000000;
}

/* ===== BREAKPOINT ≥ 768px (desktop / tablet grande) ===== */
@media (min-width: 768px) {
    .hero-content {
        padding: 100px 0;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 60px;
    }

    .stat-number {
        font-size: 48px;
    }

    .problem-section,
    .solution-section,
    .benefits-section,
    .testimonials-section,
    .cta-section {
        padding: 100px 0;
    }

    .section-title {
        font-size: 42px;
        margin-bottom: 60px;
    }

    .problem-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 40px;
    }

    .solution-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 50px;
        margin-top: 60px;
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        gap: 40px;
        margin-top: 60px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 40px;
        margin-top: 60px;
    }

    .cta-box {
        padding: 60px 40px;
    }

    .cta-title {
        font-size: 36px;
    }

    .cta-subtitle {
        font-size: 20px;
    }

    .cta-form {
        gap: 20px;
    }

    .cta-button {
        width: auto;
    }
}

/* ===== AJUSTES ESPECÍFICOS MOBILE EXTRA (≤ 768px) ===== */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .cta-box {
        padding: 40px 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-title {
        font-size: 32px;
    }

    .footer-links {
        gap: 15px 20px;
    }
    
    .footer-link::after {
        display: none; /* Elimina puntos en móvil */
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
