/* ==========================================================================
   NATVIA DIGITAL - DARK MODE SAAS DESIGN SYSTEM
   Propuesta Comercial: Tu Asistente Operativo en WhatsApp (Gustavo Nava)
   ========================================================================== */

/* --- CSS VARIABLES & TOKENS --- */
:root {
    /* Colors */
    --bg-dark-deep: #060913;
    --bg-dark-card: rgba(15, 23, 42, 0.75);
    --bg-dark-surface: #0B132B;
    --bg-dark-elevated: #111A38;

    /* Accent Gradients & Colors */
    --accent-purple: #8B5CF6;
    --accent-purple-glow: rgba(139, 92, 246, 0.4);
    --accent-purple-dark: #6D28D9;
    
    --accent-mint: #00F5D4;
    --accent-mint-green: #10B981;
    --accent-mint-glow: rgba(0, 245, 212, 0.35);

    /* Text Colors */
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-inverse: #0F172A;

    /* Borders & Glassmorphism */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.18);
    --border-purple: rgba(139, 92, 246, 0.3);
    --border-mint: rgba(0, 245, 212, 0.3);

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
    --shadow-glow-purple: 0 0 30px rgba(139, 92, 246, 0.35);
    --shadow-glow-mint: 0 0 30px rgba(0, 245, 212, 0.3);

    /* Typography */
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Layout */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    background-color: var(--bg-dark-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 0%, #0F172A 0%, var(--bg-dark-deep) 70%);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* --- BACKGROUND ANIMATION GLOWS --- */
.bg-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    animation: floatOrb 12s infinite alternate ease-in-out;
}

.orb-purple {
    top: -10%;
    left: 15%;
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
}

.orb-mint {
    top: 40%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--accent-mint-green);
    animation-delay: -6s;
}

.glow-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.4;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 60px) scale(1.15); }
}

/* --- LAYOUT CONTAINER --- */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* --- GLASSMORPHISM CARD UTILITY --- */
.glass-card {
    background: var(--bg-dark-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-lg);
}

/* --- NAVIGATION BAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    background: rgba(6, 9, 19, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    transition: padding var(--transition-fast);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-mint));
    color: var(--bg-dark-deep);
    border-radius: 10px;
    font-weight: 900;
}

.text-accent-purple {
    color: var(--accent-purple);
}

.badge-tag {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-purple);
    border: 1px solid var(--border-purple);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--accent-mint);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-purple-dark) 100%);
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-purple);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -50%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: rotate(25deg) translateX(-100%);
    transition: transform 0.8s ease;
}

.btn-glow:hover::after {
    transform: rotate(25deg) translateX(100%);
}

.btn-hero {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: var(--radius-full);
}

.btn-purple {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-dark));
    color: #FFF;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.35);
}

.btn-purple:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.5);
}

.btn-mint {
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-mint-green));
    color: var(--bg-dark-deep);
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 245, 212, 0.35);
}

.btn-mint:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 245, 212, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-glass-hover);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFF;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-purple);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.1);
}

.btn-full {
    width: 100%;
}

/* --- HERO SECTION --- */
.hero-section {
    padding: 160px 0 90px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.badge-founder {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 245, 212, 0.1);
    border: 1px solid var(--border-mint);
    border-radius: var(--radius-full);
    color: var(--accent-mint);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-mint);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-mint);
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 245, 212, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 245, 212, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 245, 212, 0); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.gradient-text-mint {
    background: linear-gradient(135deg, var(--accent-mint) 0%, #34D399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-mint);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-glass);
}

/* --- PHONE MOCKUP (WHATSAPP DEMO) --- */
.phone-mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, var(--accent-purple-glow) 0%, var(--accent-mint-glow) 70%, transparent 100%);
    filter: blur(40px);
    opacity: 0.7;
    z-index: 0;
}

.phone-frame {
    position: relative;
    z-index: 1;
    width: 360px;
    height: 680px;
    background: #0b141a;
    border-radius: 44px;
    border: 10px solid #1f2937;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.phone-notch {
    height: 28px;
    background: #111b21;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.camera {
    width: 10px;
    height: 10px;
    background: #060913;
    border-radius: 50%;
}

.speaker {
    width: 50px;
    height: 4px;
    background: #1f2937;
    border-radius: 2px;
}

/* WhatsApp Screen */
.wa-header {
    background: #202c33;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-mint));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
}

.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: var(--accent-mint);
    border: 2px solid #202c33;
    border-radius: 50%;
}

.wa-details {
    display: flex;
    flex-direction: column;
}

.wa-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #e9edef;
}

.wa-status {
    font-size: 0.75rem;
    color: #8696a0;
}

.wa-actions {
    display: flex;
    gap: 14px;
    color: #aebac1;
}

.wa-actions svg {
    width: 18px;
    height: 18px;
}

/* WhatsApp Chat Body */
.wa-body {
    flex: 1;
    background-color: #0b141a;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 16px 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

.wa-date-divider {
    text-align: center;
    margin: 4px 0;
}

.wa-date-divider span {
    background: #182229;
    color: #8696a0;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 8px;
}

.wa-msg {
    max-width: 88%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.82rem;
    line-height: 1.4;
    position: relative;
}

.wa-msg-in {
    background: #202c33;
    color: #e9edef;
    align-self: flex-start;
    border-top-left-radius: 2px;
}

.wa-msg-out {
    background: #005c4b;
    color: #e9edef;
    align-self: flex-end;
    border-top-right-radius: 2px;
}

.wa-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    color: #8696a0;
    float: right;
    margin-top: 4px;
}

.wa-msg-out .wa-time {
    color: #53bdeb;
}

.read-ticks {
    width: 14px;
    height: 14px;
}

/* Audio Player Bubble */
.wa-msg-audio {
    width: 90%;
    background: #005c4b;
}

.audio-player-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.audio-play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.audio-play-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.audio-waveform-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.waveform {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 20px;
}

.wave-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    height: 40%;
    transition: height 0.15s ease, background 0.15s ease;
}

.wave-bar.active {
    background: var(--accent-mint);
}

.audio-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.8);
}

.audio-transcript {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 6px;
    margin-top: 4px;
}

/* AI Status Processing Card */
.ai-processing-card {
    background: rgba(139, 92, 246, 0.15);
    border: 1px dashed var(--border-purple);
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: center;
    width: 95%;
    transition: all 0.3s ease;
}

.ai-pulse-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid var(--accent-purple);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.ai-status-text {
    display: flex;
    flex-direction: column;
}

.status-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-purple);
}

.status-sub {
    font-size: 0.68rem;
    color: var(--text-secondary);
}

/* Bot Success Message */
.bot-badge-success {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-mint);
    margin-bottom: 6px;
}

.bot-actions-list {
    list-style: none;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bot-actions-list li {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 6px;
}

/* WhatsApp Footer */
.wa-footer {
    background: #202c33;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wa-input-box {
    flex: 1;
    background: #2a3942;
    border-radius: 20px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #8696a0;
    font-size: 0.75rem;
}

.wa-mic-btn {
    width: 36px;
    height: 36px;
    background: #00a884;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-glow {
    box-shadow: 0 0 12px rgba(0, 168, 132, 0.6);
}

/* --- SECTION GENERAL STYLING --- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 56px;
}

.text-center {
    text-align: center;
}

.section-subtitle {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--accent-purple);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-mint));
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto;
}

/* --- RESUMEN EJECUTIVO --- */
.resumen-card {
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.resumen-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-purple), var(--accent-mint));
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent-purple);
    margin-bottom: 20px;
    opacity: 0.8;
}

.resumen-text {
    font-size: 1.35rem;
    line-height: 1.6;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 40px;
}

.resumen-text strong {
    color: var(--accent-mint);
}

.resumen-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding-top: 32px;
    border-top: 1px solid var(--border-glass);
}

.highlight-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-purple {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-purple);
    border: 1px solid var(--border-purple);
}

.icon-mint {
    background: rgba(0, 245, 212, 0.15);
    color: var(--accent-mint);
    border: 1px solid var(--border-mint);
}

.highlight-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.highlight-item p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* --- MÓDULOS Y FUNCIONALIDADES --- */
.modules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.module-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.border-purple {
    border-color: var(--border-purple);
}

.border-purple:hover {
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow-purple);
}

.border-mint {
    border-color: var(--border-mint);
}

.border-mint:hover {
    border-color: var(--accent-mint);
    box-shadow: var(--shadow-glow-mint);
}

.module-header {
    margin-bottom: 32px;
}

.phase-badge {
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.78rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.badge-purple {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-purple);
    border: 1px solid var(--border-purple);
}

.badge-mint {
    background: rgba(0, 245, 212, 0.15);
    color: var(--accent-mint);
    border: 1px solid var(--border-mint);
}

.module-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.module-intro {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.module-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
}

.badge-included {
    font-size: 0.85rem;
    color: var(--accent-purple);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-included-mint {
    font-size: 0.85rem;
    color: var(--accent-mint);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* --- IMPLEMENTACIÓN / CRONOGRAMA --- */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.timeline-line {
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--border-glass), var(--accent-purple), var(--accent-mint));
    z-index: 0;
}

.timeline-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-badge {
    padding: 6px 16px;
    background: #1E293B;
    border: 1px solid var(--border-glass-hover);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.step-card {
    padding: 28px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: auto;
}

.step-tags span {
    font-size: 0.7rem;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: var(--text-muted);
}

.border-purple-glow {
    border-color: var(--border-purple);
}

.border-mint-glow {
    border-color: var(--border-mint);
}

/* --- INVERSIÓN Y CONDICIONES --- */
.pricing-cards-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 48px;
}

.pricing-card {
    padding: 40px;
    position: relative;
}

.pricing-featured {
    border: 2px solid var(--accent-mint);
    background: linear-gradient(180deg, rgba(11, 19, 43, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    box-shadow: var(--shadow-glow-mint);
}

.featured-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-mint-green));
    color: var(--bg-dark-deep);
    padding: 4px 18px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;

}

.plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.plan-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}

.price-box .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-box .amount {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: #FFF;
}

.price-box .unit {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.savings-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 245, 212, 0.12);
    border: 1px solid var(--border-mint);
    border-radius: var(--radius-sm);
    color: var(--accent-mint);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.check-purple { color: var(--accent-purple); }
.check-mint { color: var(--accent-mint); }

.conditions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.condition-card {
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.cond-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.condition-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.condition-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- FOOTER / CTA FINAL --- */
.site-footer {
    padding: 100px 0 40px;
    background: linear-gradient(180deg, var(--bg-dark-deep) 0%, #03050B 100%);
    border-top: 1px solid var(--border-glass);
    position: relative;
}

.footer-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-mint);
    margin-bottom: 12px;
}

.footer-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.footer-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
}

.pulse-glow-mint {
    animation: pulseMintGlow 2s infinite;
}

@keyframes pulseMintGlow {
    0% { box-shadow: 0 0 0 0 rgba(0, 245, 212, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(0, 245, 212, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 245, 212, 0); }
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- MODAL DE APROBACIÓN --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 9, 19, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    width: 100%;
    max-width: 540px;
    padding: 40px;
    position: relative;
    border: 1px solid var(--border-purple);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    transform: scale(0.95) translateY(20px);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.8rem;
    line-height: 1;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: #FFF;
}

.modal-header {
    margin-bottom: 28px;
}

.modal-icon {
    width: 56px;
    height: 56px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid var(--border-purple);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    font-size: 1.5rem;
    margin: 0 auto 16px;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.modal-header p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-glass-hover);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

.form-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0 12px;
}

.form-terms input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--accent-mint);
}

.form-terms label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.modal-success-state {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    font-size: 3.5rem;
    color: var(--accent-mint);
    margin-bottom: 16px;
}

.modal-success-state h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.modal-success-state p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .timeline-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .timeline-line {
        display: none;
    }

    .pricing-cards-wrapper {
        grid-template-columns: 1fr;
    }

    .conditions-grid {
        grid-template-columns: 1fr;
    }

    .resumen-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide navigation links on small mobile screens */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .phone-frame {
        width: 320px;
        height: 620px;
    }

    .resumen-card {
        padding: 24px;
    }
}
