/* ==========================================
   SAYVOX - SYSTEM DESIGN & GLOBAL STYLES
   ========================================== */

:root {
    --bg-primary: #0B0F19;
    --bg-secondary: #111A2E;
    --bg-tertiary: #1E293B;
    --bg-card-glass: rgba(17, 26, 46, 0.7);
    
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    /* Acento de marca = azul del logo (13 oct 2026). La variable conserva el nombre
       "emerald" para no tocar 30 reglas; ya no es verde. En oscuro va mas claro
       para que se lea sobre el fondo marino; en claro, el azul del logo. */
    --color-emerald: #3B9BFF;
    --color-emerald-light: rgba(59, 155, 255, 0.1);
    --color-marino: #032A6C;
    --color-cielo: #7CC8FF;
    --color-orange: #FF7A00;
    --color-orange-light: rgba(255, 122, 0, 0.1);
    --color-blue: #2563EB;
    --color-blue-light: rgba(37, 99, 235, 0.1);
    --color-yellow: #EAB308;
    --color-purple: #A855F7;
    --color-rose: #FF3B5C;
    
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
    
    --bg-header-glass: rgba(11, 15, 25, 0.8);
    --bg-stats: linear-gradient(135deg, #111E38 0%, #070B14 100%);
    --bg-sim-sidebar: rgba(11, 15, 25, 0.4);
    --bg-welcome-card: linear-gradient(135deg, #1E293B, #0F172A);
    --bg-sim-opt: rgba(255, 255, 255, 0.02);
    --bg-card-front: linear-gradient(135deg, #1E293B, #0F172A);
    --bg-card-back: linear-gradient(135deg, #111A2E, #1F2937);
    --bg-footer: #070A12;
    --bg-mobile-menu: #0D1322;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-theme {
    --color-emerald: #0A6AE8;
    --color-emerald-light: rgba(10, 106, 232, 0.1);
    --color-cielo: #1094F5;
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F1F5F9;
    --bg-card-glass: rgba(255, 255, 255, 0.7);
    
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    
    --glass-border: rgba(15, 23, 42, 0.08);
    --glass-shadow: 0 12px 40px 0 rgba(15, 23, 42, 0.05);
    
    --bg-header-glass: rgba(248, 250, 252, 0.8);
    --bg-stats: linear-gradient(135deg, #E2E8F0 0%, #F1F5F9 100%);
    --bg-sim-sidebar: rgba(241, 245, 249, 0.6);
    --bg-welcome-card: linear-gradient(135deg, #F1F5F9, #E2E8F0);
    --bg-sim-opt: rgba(15, 23, 42, 0.02);
    --bg-card-front: linear-gradient(135deg, #F1F5F9, #E2E8F0);
    --bg-card-back: linear-gradient(135deg, #E2E8F0, #CBD5E1);
    --bg-footer: #F1F5F9;
    --bg-mobile-menu: #FFFFFF;
}

/* Interruptor dia/noche (switch, no boton redondo) */
.theme-toggle {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 64px;
    height: 34px;
    border-radius: 999px;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    margin-right: 8px;
}

.theme-toggle:hover {
    border-color: var(--text-secondary);
}

/* La pastilla: a la derecha en modo noche, a la izquierda en modo dia. */
.theme-toggle .ts-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: .95rem;
    background: var(--bg-primary);
    box-shadow: 0 1px 4px rgba(0,0,0,.25);
    transform: translateX(30px);
    transition: transform .22s ease;
}

body.light-theme .theme-toggle .ts-thumb {
    transform: translateX(0);
    color: #f59e0b;
}

/* Que el menu no se encime nunca mas: los enlaces no se parten en dos renglones. */
.nav-menu a { white-space: nowrap; }

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ==========================================
   TYPOGRAPHY & UTILITIES
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

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

.text-center { text-align: center; }
.text-emerald { color: var(--color-emerald) !important; }
.text-orange { color: var(--color-orange) !important; }
.text-rose { color: var(--color-rose) !important; }
.text-muted { color: var(--text-muted) !important; }
.font-bold { font-weight: 700; }
.hidden { display: none !important; }

.section-padding {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-title span {
    background: linear-gradient(135deg, var(--color-emerald), var(--color-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Badge Utility */
.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(10, 106, 232, 0.2), rgba(37, 99, 235, 0.2));
    border: 1px solid rgba(10, 106, 232, 0.3);
    color: var(--color-emerald);
}

.badge-emerald {
    background: var(--color-emerald-light);
    color: var(--color-emerald);
    border: 1px solid rgba(10, 106, 232, 0.2);
}

/* Modo claro: el acento sobre fondo claro se leia poco. Marino del logo: 7:1 o mas. */
body.light-theme .badge {
    color: #032A6C;
    font-weight: 700;
    border-color: rgba(3, 42, 108, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 10px;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #1094F5, #0A6AE8);
    color: #fff;
    box-shadow: 0 4px 20px rgba(10, 106, 232, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(10, 106, 232, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--color-orange), #e06c00);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 122, 0, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 122, 0, 0.5);
}

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

.btn-outline:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-secondary);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 8px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-header-glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo Styling */
.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.brand-say {
    color: var(--color-emerald);
}

.brand-vox {
    color: var(--color-rose);
}

.logo-sub {
    font-size: 0.65rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-top: 2px;
    line-height: 1;
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-nav-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
    padding: 150px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(10, 106, 232, 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    margin-bottom: 24px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--color-cielo), var(--color-emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.app-downloads {
    border-top: 1px solid var(--glass-border);
    padding-top: 24px;
}

.download-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.download-badges {
    display: flex;
    gap: 16px;
}

.store-badge {
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 8px 16px;
    gap: 12px;
    transition: var(--transition-smooth);
}

.store-badge:hover {
    background: var(--bg-primary);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.store-badge i {
    font-size: 1.8rem;
}

.store-badge span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-badge small {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.store-badge strong {
    font-size: 0.95rem;
    font-family: var(--font-heading);
}

/* ==========================================
   SMARTPHONE MOCKUP & APP STYLING
   ========================================== */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup-wrapper {
    position: relative;
    width: 320px;
    height: 650px;
}

.phone-mockup {
    width: 100%;
    height: 100%;
    background: #1e293b;
    border: 10px solid #334155;
    border-radius: 36px;
    box-shadow: var(--glass-shadow), 0 0 0 2px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
}

/* Simulated screen layout mirroring the app */
.phone-screen {
    width: 100%;
    height: 100%;
    background: #F1F5F9; /* App Light Grey background */
    display: flex;
    flex-direction: column;
    color: #1E293B;
}

/* App Header styling (matching screenshot) */
.app-header {
    height: 70px;
    background: #FFF;
    border-bottom: 1px solid #E2E8F0;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.app-logo img {
    height: 22px;
    width: auto;
    display: block;
    margin-bottom: 3px;
}

.app-say {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #0EA5E9; /* Teal in screenshot */
}

.app-vox {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #E11D48; /* Pinky Red in screenshot */
    margin-left: 2px;
}

.app-logo small {
    font-size: 0.5rem;
    font-weight: 700;
    color: #64748B;
    letter-spacing: 1px;
    margin-top: 1px;
}

.app-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-text {
    font-size: 0.55rem;
    font-weight: 700;
    color: #64748B;
    text-align: right;
    line-height: 1.2;
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    font-size: 0.8rem;
}

.settings-btn {
    background: #F1F5F9;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    cursor: pointer;
}

/* App Scrollable Content Area */
.app-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Hide scrollbar inside app mockup */
.app-content::-webkit-scrollbar {
    display: none;
}

/* Cards inside App Screen */
.app-card {
    background: #FFF;
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #E2E8F0;
}

/* Welcome Card (azul del logo, igual que la app) */
.welcome-card {
    background: linear-gradient(135deg, #1094F5, #0A6AE8);
    color: #FFF;
    border: none;
}

.welcome-card h3 {
    font-size: 1.2rem;
    color: #FFF;
    margin-bottom: 2px;
}

.welcome-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
}

/* Lesson promo card (Green border) */
.lesson-card-promo {
    border-left: 6px solid #0A6AE8;
    position: relative;
}

.badge-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #F1F5F9;
    color: #64748B;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 8px;
}

.card-illustration {
    margin-bottom: 12px;
}

.svg-classroom, .svg-vocab {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.card-details h4 {
    color: #0A6AE8;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.card-details p {
    font-size: 0.75rem;
    color: #64748B;
    margin-bottom: 12px;
    line-height: 1.4;
}

.app-btn-action {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    padding: 10px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.app-btn-action:hover {
    background: #E2E8F0;
}

.text-emerald {
    color: #0A6AE8;
}

/* Vocab promo card (Orange border) */
.vocab-card-promo {
    border-left: 6px solid #F97316;
}

.vocab-card-promo .card-details h4 {
    color: #F97316;
}

.text-orange {
    color: #F97316;
}

/* Bottom horizontal list of lessons */
.app-lessons-row {
    display: flex;
    gap: 8px;
    padding-bottom: 8px;
}

.lesson-mini-card {
    min-width: 90px;
    background: #FFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.lesson-num {
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.tag-orange { background: #FFEDD5; color: #EA580C; }
.tag-yellow { background: #FEF9C3; color: #CA8A04; }
.tag-green { background: #D1FAE5; color: #059669; }
.tag-purple { background: #F3E8FF; color: #9333EA; }

.lesson-icon {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #64748B;
}

.lesson-title {
    font-size: 0.6rem;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.lesson-mini-card.complete {
    background: #ECFDF5;
    border-color: #A7F3D0;
}

.lesson-mini-card.complete .lesson-icon {
    color: #10B981;
}

.lesson-mini-card.locked {
    opacity: 0.5;
}

/* Floating Badges outside mockup */
.floating-badge {
    position: absolute;
    background: var(--bg-card-glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--glass-shadow);
    z-index: 10;
    animation: floatAnimation 3s ease-in-out infinite;
}

.badge-voice {
    top: 20%;
    left: -40px;
}

.badge-streak {
    bottom: 15%;
    right: -30px;
    animation-delay: 1.5s;
}

.voice-wave {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
}

.voice-wave span {
    width: 3px;
    height: 10px;
    background-color: var(--color-emerald);
    border-radius: 3px;
    animation: bounceWave 0.8s ease-in-out infinite alternate;
}

.voice-wave span:nth-child(2) {
    height: 18px;
    animation-delay: 0.2s;
}

.voice-wave span:nth-child(3) {
    height: 12px;
    animation-delay: 0.4s;
}

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

.voice-details small {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.voice-details strong {
    font-size: 0.9rem;
    color: var(--color-emerald);
}

.badge-streak i {
    color: var(--color-orange);
    font-size: 1.5rem;
}

.badge-streak div {
    display: flex;
    flex-direction: column;
}

.badge-streak strong {
    font-size: 0.95rem;
}

.badge-streak small {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* Animations */
@keyframes floatAnimation {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes bounceWave {
    0% { height: 6px; }
    100% { height: 20px; }
}

/* ==========================================
   STATS BANNER
   ========================================== */

.stats-banner {
    background: var(--bg-stats);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 40px 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

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

.stat-item h2 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ==========================================
   FEATURES SECTION
   ========================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-card-glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--glass-shadow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.icon-green {
    background: var(--color-emerald-light);
    color: var(--color-emerald);
}

.icon-orange {
    background: var(--color-orange-light);
    color: var(--color-orange);
}

.icon-blue {
    background: var(--color-blue-light);
    color: var(--color-blue);
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 1.4rem;
}

/* ==========================================
   METHODOLOGY SECTION
   ========================================== */

.methodology-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Comparison Table Design */
.comparison-box {
    background: var(--bg-card-glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.comparison-header {
    background: var(--bg-sim-opt);
    padding: 24px;
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
}

.comparison-table {
    padding: 12px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    padding: 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
    align-items: center;
}

.comparison-row:last-child {
    border-bottom: none;
}

.header-row {
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.highlight-column {
    color: var(--color-emerald);
    font-weight: 600;
}

.text-success {
    color: var(--color-emerald) !important;
}

.methodology-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.methodology-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.list-icon {
    background: var(--color-emerald-light);
    color: var(--color-emerald);
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.methodology-list li div p {
    font-size: 0.95rem;
}

/* ==========================================
   SIMULATOR SECTION
   ========================================== */

.simulator-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    background: var(--bg-card-glass);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    min-height: 500px;
}

.simulator-sidebar {
    background: var(--bg-sim-sidebar);
    border-right: 1px solid var(--glass-border);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sim-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    padding: 16px 20px;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    width: 100%;
    transition: var(--transition-smooth);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
}

.sim-tab-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
}

.sim-tab-btn.active {
    background: var(--bg-tertiary);
    color: var(--color-emerald);
    border-color: var(--glass-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sim-tab-btn.active i {
    color: var(--color-emerald);
}

.sim-tab-btn i {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.simulator-screen-container {
    padding: 40px;
    background: radial-gradient(circle at 70% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
    position: relative;
}

.sim-screen {
    display: none;
    height: 100%;
    animation: fadeIn 0.4s ease;
}

.sim-screen.active {
    display: flex;
    flex-direction: column;
}

/* Header style within Simulator screens */
.sim-screen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
}

.sim-header-title {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.sim-header-title small {
    font-size: 0.65rem;
    background: var(--color-blue-light);
    color: var(--color-blue);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.sim-header-user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.sim-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-emerald);
}

.sim-back-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sim-back-btn:hover {
    color: var(--text-primary);
}

.sim-instruction-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* SIM DASHBOARD EXTRAS */
.sim-welcome-card {
    background: var(--bg-welcome-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.sim-welcome-card h4 {
    margin-bottom: 4px;
}

.sim-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.sim-opt-card {
    background: var(--bg-sim-opt);
    border: 1.5px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.sim-opt-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.04);
}

.sim-opt-card.border-green:hover { border-color: var(--color-emerald); }
.sim-opt-card.border-orange:hover { border-color: var(--color-orange); }

.opt-icon {
    font-size: 1.8rem;
}

.sim-opt-card h5 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.sim-opt-card p {
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.sim-link {
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* SIM LESSON: SPEECH REC DESIGN */
.phrase-box {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    border: 1px solid var(--glass-border);
}

.btn-play-audio {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-blue);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-play-audio:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.5);
}

.model-phrase {
    font-size: 2rem;
    margin-bottom: 8px;
}

.translation {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Mic Buttons Container */
.mic-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.mic-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-emerald);
    border: none;
    color: #FFF;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: 0 0 0 0 rgba(10, 106, 232, 0.4);
    position: relative;
    z-index: 2;
}

.mic-button:hover {
    transform: scale(1.05);
}

.mic-button.recording {
    background: var(--color-rose);
    animation: pulseRecord 1.5s infinite;
}

@keyframes pulseRecord {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 92, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 59, 92, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 92, 0); }
}

.mic-status {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Sound Wave Animation Visualizer */
.voice-visualizer {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    margin-top: 10px;
}

.voice-visualizer span {
    width: 4px;
    height: 10px;
    background-color: var(--color-rose);
    border-radius: 4px;
    animation: voiceGrow 0.5s ease-in-out infinite alternate;
}

.voice-visualizer span:nth-child(2) { height: 25px; animation-delay: 0.1s; }
.voice-visualizer span:nth-child(3) { height: 40px; animation-delay: 0.2s; }
.voice-visualizer span:nth-child(4) { height: 18px; animation-delay: 0.3s; }
.voice-visualizer span:nth-child(5) { height: 8px; animation-delay: 0.4s; }

@keyframes voiceGrow {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

/* Voice Analysis radial feedback */
.speech-feedback-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: var(--bg-sim-opt);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    animation: slideDown 0.3s ease;
}

.score-radial {
    position: relative;
    width: 100px;
    height: 100px;
}

.score-radial svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-radial circle {
    fill: none;
    stroke-width: 8;
}

.score-radial .bg-circle {
    stroke: rgba(255, 255, 255, 0.05);
}

.score-radial .fg-circle {
    stroke: var(--color-emerald);
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283; /* 283 is full circle (2 * PI * r) where r = 45 */
    transition: stroke-dashoffset 1s ease-in-out;
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.score-value span {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-emerald);
}

.score-value small {
    font-size: 0.6rem;
    color: var(--text-secondary);
}

.word-analysis {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.word-span {
    font-size: 1.4rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.word-correct {
    color: var(--color-emerald);
    background: rgba(10, 106, 232, 0.1);
}

.word-poor {
    color: var(--color-orange);
    background: rgba(255, 122, 0, 0.1);
}

/* SCREEN 3: FLASHCARDS INTERACTIVE 3D FLIP */
.flashcard-container {
    perspective: 1000px;
    width: 100%;
    max-width: 320px;
    height: 200px;
    margin: 20px auto 40px auto;
}

.flashcard {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.flashcard.flipped {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

.card-front {
    background: var(--bg-card-front);
}

.card-front .card-word {
    font-size: 2.2rem;
    color: var(--color-emerald);
    margin: 12px 0;
}

.card-back {
    background: var(--bg-card-back);
    transform: rotateY(180deg);
}

.card-back .card-meaning {
    font-size: 2.2rem;
    color: var(--color-orange);
    margin: 8px 0;
}

.card-category {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.card-tip {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-phonetics {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-family: monospace;
    margin-bottom: 12px;
}

.btn-play-audio-vocab {
    background: var(--bg-tertiary);
    border: 1.5px solid var(--glass-border);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-play-audio-vocab:hover {
    background: var(--bg-primary);
    border-color: var(--text-secondary);
}

.vocab-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.vocab-progress {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ==========================================
   PRICING SECTION
   ========================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card-glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.12);
}

.pricing-card.popular {
    background: linear-gradient(180deg, rgba(11, 26, 46, 0.8) 0%, rgba(10, 106, 232, 0.05) 100%);
    border: 2px solid var(--color-emerald);
    box-shadow: 0 8px 30px rgba(10, 106, 232, 0.15);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-emerald);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 16px;
    border-radius: 30px;
    letter-spacing: 1px;
}

.plan-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 24px;
}

.plan-header h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

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

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.plan-price span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.savings-badge {
    display: inline-block;
    background: rgba(255, 122, 0, 0.15);
    color: var(--color-orange);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    margin-top: 8px;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.plan-features li i {
    width: 16px;
}

/* ==========================================
   FAQ SECTION (ACCORDION)
   ========================================== */

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card-glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px;
    text-align: left;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.1);
}

.faq-answer p {
    padding: 0 24px 24px 24px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* arbitrary height to slide down */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--color-emerald);
}

/* ==========================================
   FINAL CTA & FOOTER
   ========================================== */

.final-cta {
    background: radial-gradient(circle at 50% 50%, rgba(10, 106, 232, 0.12) 0%, transparent 60%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.final-cta p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

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

/* Footer layout */
.main-footer {
    background-color: var(--bg-footer);
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-desc {
    font-size: 0.95rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--color-emerald);
    color: #fff;
    transform: translateY(-2px);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--color-emerald);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 30px;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================
   SCROLL REVEAL & ANIMATIONS
   ========================================== */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reveal on scroll base state */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */

@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .app-downloads {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .methodology-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .simulator-wrapper {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .simulator-sidebar {
        flex-direction: row;
        overflow-x: auto;
        padding: 16px;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .sim-tab-btn {
        white-space: nowrap;
        padding: 10px 16px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .main-header {
        height: 70px;
    }
    
    .header-container {
        height: 70px;
    }
    
    .mobile-nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    /* Mobile nav menu open */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-mobile-menu);
        padding: 100px 40px;
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        transition: var(--transition-smooth);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
    }
    
    /* Animation burger menu */
    .mobile-nav-toggle.open .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-nav-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.open .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hide-mobile {
        display: none !important;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-row {
        font-size: 0.8rem;
        padding: 12px 6px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links-grid {
        gap: 20px;
    }
    
    .simulator-screen-container {
        padding: 20px;
    }
    
    .sim-options-grid {
        grid-template-columns: 1fr;
    }
    
    .speech-feedback-wrapper {
        flex-direction: column;
        gap: 24px;
    }
    
    .model-phrase {
        font-size: 1.5rem;
    }
}


/* ===== Modal de registro / login del padre ===== */
.auth-modal-overlay{position:fixed;inset:0;background:rgba(15,23,42,.6);display:none;align-items:center;justify-content:center;padding:1rem;z-index:2000}
.auth-modal-overlay.open{display:flex}
.auth-modal{position:relative;width:100%;max-width:420px;background:var(--card-bg,#fff);border-radius:20px;padding:1.75rem;box-shadow:0 20px 60px rgba(0,0,0,.3);max-height:92vh;overflow-y:auto}
.auth-close{position:absolute;top:12px;right:16px;background:none;border:none;font-size:1.8rem;line-height:1;color:#94a3b8;cursor:pointer}
.auth-heading{font-size:1.35rem;font-weight:800;margin:0 0 .25rem}
.auth-sub{font-size:.9rem;color:#64748b;margin:0 0 1.1rem}
.auth-label{display:block;font-size:.85rem;font-weight:600;color:#334155;margin-bottom:.75rem}
.auth-label input{display:block;width:100%;margin-top:.35rem;padding:.7rem .85rem;border:1px solid #cbd5e1;border-radius:10px;font-size:1rem;background:#fff;color:#0f172a}
.auth-label input:focus{outline:none;border-color:#0a6ae8;box-shadow:0 0 0 3px rgba(10,106,232,.15)}
.auth-check{display:flex;gap:.5rem;align-items:flex-start;font-size:.85rem;color:#475569;margin-bottom:.6rem;cursor:pointer}
.auth-check input{margin-top:.15rem}
.auth-error{color:#e11d48;font-size:.85rem;font-weight:600;min-height:1.1rem;margin-bottom:.4rem}
.auth-switch{text-align:center;font-size:.85rem;color:#64748b;margin-top:.9rem}
.auth-switch a,.auth-check a{color:#0a6ae8;font-weight:600}
.auth-success-icon{font-size:3rem;text-align:center}
.auth-form.hidden{display:none}


/* ===== Demo de la app (llamada Sky / 4 pasos / vocabulario) ===== */
.sim-call-header{background:linear-gradient(135deg,#1094f5,#0a6ae8);color:#fff;padding:.9rem 1rem;border-radius:14px 14px 0 0;font-weight:800;text-align:center}
.sim-call-header small{display:block;font-weight:600;opacity:.9;font-size:.75rem;margin-top:.15rem}
.sim-chat{display:flex;flex-direction:column;gap:.55rem;padding:1rem;min-height:320px;max-height:360px;overflow-y:auto}
.sim-bubble{max-width:82%;padding:.6rem .85rem;border-radius:16px;font-size:.95rem;font-weight:600;line-height:1.35;animation:simIn .3s ease}
.sim-sky{align-self:flex-start;background:#eff6ff;color:#032a6c;border-bottom-left-radius:5px}
.sim-kid{align-self:flex-end;background:#fff7ed;color:#9a3412;border-bottom-right-radius:5px}
.sim-hint{align-self:flex-end;background:#fff7ed80;border:2px dashed #fdba74;color:#c2410c}
.sim-hint span{display:block;font-size:.6rem;font-weight:800;letter-spacing:.05em;color:#fb923c;margin-bottom:.15rem}
@keyframes simIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

.sim-steps-list{display:flex;flex-direction:column;gap:.6rem;padding:1rem}
.sim-step{display:flex;align-items:center;gap:.8rem;background:#fff;border:2px solid #eef2f7;border-radius:14px;padding:.85rem 1rem;transition:.3s;color:#334155}
.sim-step .sim-step-n{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#f1f5f9;color:#64748b;font-weight:800;flex:0 0 auto}
.sim-step .sim-step-txt{flex:1}
.sim-step .sim-step-txt b{display:block}
.sim-step .sim-step-txt small{color:#94a3b8;font-size:.78rem}
.sim-step i{color:#cbd5e1}
.sim-step.active{border-color:#1094f5;background:#eff6ff;transform:scale(1.02);box-shadow:0 6px 18px rgba(10,106,232,.18)}
.sim-step.active .sim-step-n{background:#0a6ae8;color:#fff}
.sim-step.active i{color:#0a6ae8}

.sim-vocab-body{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:1.25rem}
.sim-vcard{display:flex;flex-direction:column;align-items:center;gap:.35rem;background:#fff;border-radius:18px;box-shadow:0 8px 24px rgba(0,0,0,.08);padding:1.5rem 2rem;min-width:230px;opacity:0;transform:translateY(10px);transition:.25s}
.sim-vcard.show{opacity:1;transform:none}
.sim-vemoji{font-size:3.5rem}
.sim-vword{font-size:1.8rem;font-weight:800;color:#0f172a}
.sim-ves{font-size:1.05rem;font-weight:600;color:#64748b}
.sim-vdots{display:flex;gap:.4rem}
.sim-vdots span{width:8px;height:8px;border-radius:50%;background:#cbd5e1;transition:.2s}
.sim-vdots span.on{background:#0a6ae8;transform:scale(1.3)}
.sim-toggle-wrap{display:flex;justify-content:center;margin-top:1.1rem}
.sim-toggle{display:inline-flex;align-items:center;gap:.5rem;padding:.7rem 1.5rem;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#475569;font-weight:700;cursor:pointer;transition:.2s}
.sim-toggle:hover{background:#f8fafc;border-color:#94a3b8}

/* ===== Logo por imagen (claro/oscuro) ===== */
.logo{display:flex;align-items:center}
.logo-img{height:56px;width:auto;max-width:none;object-fit:contain;display:block}
.logo .logo-light{display:none}                 /* modo oscuro (default): logo oscuro */
body.light-theme .logo .logo-dark{display:none}  /* modo claro: logo claro */
body.light-theme .logo .logo-light{display:block}
.main-footer .logo-img{height:44px}

/* Botones dentro del menú móvil (solo responsive) */
.mobile-actions{display:none}
.nav-solo-movil{display:none}
@media (max-width: 768px){
  .nav-solo-movil{display:block}
  .mobile-actions{display:flex;flex-direction:column;gap:14px;margin-top:28px}
  .mobile-actions .btn{width:100%}
}

/* Apps próximamente */
.soon-tag{display:inline-block;margin-left:8px;padding:2px 10px;border-radius:999px;background:var(--color-orange-light);color:var(--color-orange);font-size:.7rem;font-weight:800;letter-spacing:.05em;vertical-align:middle}
.store-badge.is-soon{opacity:.55;cursor:default;pointer-events:none}

/* Precios: 2 planes centrados */
.pricing-grid{grid-template-columns:repeat(2, minmax(0,360px));justify-content:center}
@media (max-width:768px){ .pricing-grid{grid-template-columns:1fr;max-width:400px;margin:0 auto} }
/* Plan recomendado legible en modo claro */
body.light-theme .pricing-card.popular{
  background:linear-gradient(180deg,#ffffff 0%, #eff6ff 100%);
}
body.light-theme .pricing-card.popular .plan-header{border-color:rgba(10, 106, 232,.25)}
