/* --- RESET & BASICS --- */
:root {
    --bg-dark: #050508;
    --bg-card: #12121a;
    --primary: #8b5cf6; /* Púrpura Vibe */
    --accent: #00ff9d; /* Verde Neón para CTA */
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --danger: #ef4444;
    --success: #10b981;
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.5; /* Reducido ligeramente de 1.6 */
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- UTILS --- */
.section-title {
    font-size: 1.8rem; /* Ligeramente más pequeño */
    text-align: center;
    margin-bottom: 1.5rem; /* REDUCIDO: De 3rem a 1.5rem */
    background: linear-gradient(90deg, #fff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient {
    background: linear-gradient(90deg, #a78bfa, #00ff9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- BUTTONS --- */
.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: #000;
    font-weight: 800;
    padding: 14px 28px; /* Botón un poco más compacto */
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 255, 157, 0.6);
}

/* --- HERO (SECCIÓN SUPERIOR) --- */
.hero {
    /* REDUCIDO: De 120px top a 40px. El mínimo para que no se pegue al borde del navegador */
    padding: 40px 0 40px; 
    text-align: center;
    position: relative;
    background: radial-gradient(circle at top center, #1e1b4b 0%, var(--bg-dark) 70%);
}
.badge {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid var(--primary);
    color: #c4b5fd;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 15px; /* Reducido */
}
.hero h1 { 
    font-size: 2.2rem; 
    margin-bottom: 15px; /* Reducido */
}
.hero .subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 25px; /* Reducido de 40px a 25px */
}

/* --- SECCIONES GLOBALES --- */
/* Aquí controlamos el espaciado de TODAS las secciones */
.problem, .methodology, .services, .social-proof, .faq { 
    padding: 40px 0; /* REDUCIDO: De 80px a 40px */
}

/* --- PROBLEM SECTION --- */
.comparison-grid {
    display: grid;
    gap: 15px; /* Reducido gap entre tarjetas */
}
.card {
    background: var(--bg-card);
    padding: 20px; /* Padding interno más ajustado */
    border-radius: 12px;
    border: 1px solid #272730;
}
.card h3 { margin-bottom: 15px; font-size: 1.2rem; }
.card ul li {
    margin-bottom: 8px; /* Items más juntos */
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.card.danger { border-top: 3px solid var(--danger); }
.card.danger i { color: var(--danger); }
.card.success { border-top: 3px solid var(--accent); background: rgba(0, 255, 157, 0.05); }
.card.success i { color: var(--accent); }

/* --- METHODOLOGY --- */
.methodology { background: #0a0a0e; }
.steps-container {
    display: grid;
    gap: 20px; /* Reducido */
}
.step-card {
    background: #181824;
    padding: 20px; /* Reducido */
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid #2a2a35;
}
.step-number {
    font-size: 3rem; /* Número de fondo más pequeño */
    font-weight: 800;
    color: rgba(255,255,255,0.03);
    position: absolute;
    top: -5px;
    right: 10px;
}
.step-card h4 { color: var(--accent); margin-bottom: 5px; font-size: 1.1rem; }
.step-card p { font-size: 0.9rem; }

/* --- SERVICES --- */
.section-desc {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 25px; /* Acercar descripción a las tarjetas */
    margin-top: -1.5rem; /* Truco visual para pegar más al título */
}
.service-grid { display: grid; gap: 20px; }
.service-card {
    background: linear-gradient(145deg, #12121a, #0d0d12);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #272730;
    transition: 0.3s;
}
.service-card:hover { border-color: var(--primary); }
.icon-box {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}
.service-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.service-card p { font-size: 0.9rem; }

/* --- TECH DIFF --- */
.tech-diff {
    padding: 60px 0; /* Un poco más de aire aquí para destacar, pero menos que antes */
    background: radial-gradient(circle at center, #1a103c 0%, #000 100%);
    text-align: center;
    border-top: 1px solid #272730;
    border-bottom: 1px solid #272730;
}
.tech-content h2 { margin-bottom: 15px; font-size: 1.5rem; }
.tech-logos {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.tech-logos span {
    background: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: monospace;
    border: 1px solid rgba(255,255,255,0.2);
}

/* --- SOCIAL PROOF --- */
.logos-strip {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0.6;
    margin-bottom: 30px; /* Reducido */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}
.testimonial {
    background: #12121a;
    padding: 30px;
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid #272730;
}
.stars { color: #fbbf24; margin-bottom: 10px; font-size: 0.9rem; }
.testimonial p { font-size: 1rem; font-style: italic; margin-bottom: 15px; color: #e2e8f0; }

/* --- FAQ (CORREGIDO) --- */
.faq { 
    background: #0a0a0e; 
    padding: 40px 0; /* Mantenemos el espaciado compacto */
}

.accordion-item {
    border-bottom: 1px solid #272730; /* Línea divisoria sutil */
    margin-bottom: 0;
}

.accordion-header {
    width: 100%;
    background: transparent !important; /* FORZAMOS fondo transparente */
    border: none;
    padding: 15px 0; /* Espaciado interno cómodo pero ajustado */
    color: #fff; /* Texto blanco */
    font-size: 1.1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-head);
    border-radius: 0; /* Quitamos bordes redondeados de botón */
    transition: color 0.3s ease;
}

.accordion-header:hover {
    color: var(--primary); /* Cambio de color al pasar el mouse */
}

.accordion-header i {
    font-size: 1.2rem;
    color: var(--accent); /* El icono (flecha) en color neón */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-muted);
}

.accordion-content p { 
    padding-bottom: 15px; 
    padding-top: 5px;
    font-size: 0.95rem; 
    line-height: 1.5;
}

/* Clase para rotar la flecha cuando está abierto */
.accordion-header.active i { 
    transform: rotate(180deg); 
}
/* --- FOOTER --- */
.footer { padding: 40px 0 20px; background: #000; text-align: center; }
.cta-final { margin-bottom: 40px; }
.cta-final h3 { margin-bottom: 20px; font-size: 1.5rem; }
.footer hr { border: 0; border-top: 1px solid #272730; margin: 30px 0; }
.legal-text { color: #52525b; font-size: 0.7rem; max-width: 800px; margin: 0 auto; line-height: 1.4; }
.copyright { margin-top: 15px; }

/* --- RESPONSIVE TABLET/DESKTOP --- */
@media (min-width: 768px) {
    .hero { padding: 60px 0 50px; } /* Ajuste Desktop */
    .hero h1 { font-size: 3rem; }
    .section-title { font-size: 2.2rem; margin-bottom: 2rem; }
    
    .problem, .methodology, .services, .social-proof, .faq { 
        padding: 60px 0; /* Un poco más en escritorio para que no se vea aplastado */
    }
    
    .comparison-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .steps-container { grid-template-columns: repeat(4, 1fr); }
    .service-grid { grid-template-columns: 1fr 1fr; }
}