/* ==========================================
   DISEÑO PRO / ESTILO APPLE & SAAS
   ========================================== */

:root {
    --apple-blue: #0071e3;
    --apple-blue-hover: #005bb5;
    --apple-dark: #1d1d1f;
    --apple-gray-bg: #f5f5f7;
    --apple-text-muted: #86868b;
    --surface: #ffffff;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 60px rgba(0, 113, 227, 0.12);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--apple-gray-bg);
    color: var(--apple-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-text {
    font-family: 'Instrument Sans', sans-serif;
    letter-spacing: -0.03em;
}

.bg-light-soft { background-color: var(--apple-gray-bg); }

/* Espaciados Generales */
.section-padding { padding-top: 120px; padding-bottom: 120px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--apple-dark); line-height: 1.1; margin-bottom: 1rem;}
.section-subtitle { font-size: 1.15rem; color: var(--apple-text-muted); max-width: 700px; margin: 0 auto; }

/* Textos Degradados */
.text-gradient {
    background: linear-gradient(135deg, var(--apple-blue) 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================
   MENÚ GLASSMORPHISM
   ========================================== */
.nav-wrapper {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}
.glass-nav {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 100px;
    padding: 10px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 1200px;
}
.menu-links .nav-link {
    color: var(--apple-dark) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.menu-links .nav-link:hover { color: var(--apple-blue) !important; }

/* En móviles ajustamos el menú desplegable para que no rompa la cápsula */
@media (max-width: 991px) {
    .glass-nav { border-radius: 20px; padding: 15px; }
    .menu-links { text-align: center; margin-top: 15px; }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    padding: 220px 0 100px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--surface);
}
.hero-bg-glow {
    position: absolute;
    top: -20%; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(0,113,227,0.15) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
    pointer-events: none;
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--apple-text-muted);
    max-width: 650px;
}
.badge-premium {
    display: inline-flex; align-items: center; gap: 8px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.badge-dot {
    width: 8px; height: 8px;
    background-color: var(--apple-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--apple-blue);
}
.hero-trust-badges {
    display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
    color: var(--apple-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}
.hero-trust-badges i { color: var(--apple-blue); margin-right: 5px; }

/* ==========================================
   BOTONES PRO
   ========================================== */
.btn-pro {
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
}
.btn-pro-primary {
    background: var(--apple-blue); color: #fff !important;
}
.btn-pro-primary:hover {
    background: var(--apple-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 113, 227, 0.3) !important;
}
.btn-pro-secondary {
    background: #ffffff; color: var(--apple-dark) !important;
    border: 1px solid rgba(0,0,0,0.08);
}
.btn-pro-secondary:hover {
    background: var(--apple-gray-bg);
}
.btn-pro-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-pro-light { background: #ffffff; color: var(--apple-dark) !important; }

/* ==========================================
   TARJETAS UNIVERSALES (Stats, Servicios, Testimonios)
   ========================================== */
.pro-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pro-card:hover { 
    transform: translateY(-5px); 
    box-shadow: var(--shadow-hover);
}
.stats-section { margin-top: -40px; position: relative; z-index: 10; padding-bottom: 80px; }
.stat-value { font-size: 3.5rem; font-weight: 800; font-family: 'Instrument Sans'; color: var(--apple-dark); line-height: 1; margin-bottom: 10px;}
.stat-label { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; color: var(--apple-text-muted); margin-bottom: 15px;}
.stat-desc { font-size: 0.9rem; color: var(--apple-text-muted); margin: 0; }
.avatar-circle {
    width: 45px; height: 45px;
    background-color: var(--apple-gray-bg);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--apple-text-muted);
}

/* ==========================================
   TARJETAS DE COMPARACIÓN
   ========================================== */
.comparison-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 50px;
    height: 100%;
    box-shadow: var(--shadow-soft);
}
.comparison-card.bad-way { border: 1px solid rgba(220, 53, 69, 0.15); background: #fffcfc; }
.comparison-card.good-way { border: 2px solid var(--apple-blue); box-shadow: var(--shadow-hover); }
.comparison-card ul { list-style: none; padding: 0; margin: 0; }
.comparison-card ul li {
    position: relative; padding-left: 35px; margin-bottom: 20px;
    font-size: 1.05rem; color: var(--apple-text-muted);
}
.bad-way ul li::before { content: '×'; position: absolute; left: 0; top: -4px; color: #dc3545; font-size: 1.5rem; font-weight: bold; }
.good-way ul li::before { content: '✓'; position: absolute; left: 0; top: 2px; color: var(--apple-blue); font-size: 1.2rem; font-weight: bold; }
.good-way ul li { color: var(--apple-dark); font-weight: 500; }

/* ==========================================
   TIMELINE MODERNO
   ========================================== */
.pro-timeline { position: relative; margin-top: 40px; }
.pro-timeline-item { display: flex; gap: 30px; margin-bottom: 0; }
.pro-timeline-icon {
    font-size: 2.5rem; color: #d2d2d7;
    display: flex; flex-direction: column; align-items: center;
}
.pro-timeline-icon::after {
    content: ''; width: 2px; height: 100%; background: #d2d2d7; margin-top: 10px;
}
.pro-timeline-icon-final::after { display: none; }
.pro-timeline-icon-final { color: var(--apple-blue); }
.pro-timeline-content {
    background: var(--surface);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    margin-bottom: 40px;
    width: 100%;
    border: 1px solid rgba(0,0,0,0.03);
}
.pro-timeline-content h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; }
.pro-timeline-content p { color: var(--apple-text-muted); margin: 0; }

@media (max-width: 768px) {
    .pro-timeline-item { flex-direction: column; gap: 15px; }
    .pro-timeline-icon::after { display: none; }
    .pro-timeline-icon { align-items: flex-start; }
}

/* ==========================================
   ACORDEÓN FAQ PRO
   ========================================== */
.pro-accordion .accordion-item {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px !important;
    margin-bottom: 1.2rem;
    background-color: var(--surface);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    overflow: hidden;
}
.pro-accordion .accordion-button {
    font-weight: 600; color: var(--apple-dark); padding: 1.5rem;
    background-color: transparent; box-shadow: none !important;
    font-size: 1.1rem;
}
.pro-accordion .accordion-button:not(.collapsed) {
    color: var(--apple-blue); background-color: rgba(0,113,227,0.03);
}
.pro-accordion .accordion-body { padding: 0 1.5rem 1.5rem 1.5rem; line-height: 1.7; }

/* ==========================================
   CTA FINAL & FOOTER
   ========================================== */
.final-cta {
    background: var(--apple-dark);
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}
.final-cta::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(0,113,227,0.3) 0%, transparent 70%);
    pointer-events: none;
}

.pro-footer {
    background-color: #000000;
    color: #a1a1a6;
    padding: 80px 0 40px 0;
}
.legal-disclaimer {
    background-color: #1d1d1f;
    border: 1px solid #333336;
    border-radius: 16px;
    padding: 25px;
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 40px;
    color: #86868b;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #333336;
    padding-top: 30px;
    font-size: 13px;
}