/* ==========================================================================
   LinguaGlobal / CRLingua - Modern Design System 2026
   Palette: Royal Navy (#0F2E5D), Vibrant Cyan (#00B4D8), Warm Orange (#F7742E)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Brand Core Palette */
    --brand-navy: #0F2E5D;
    --brand-navy-dark: #091C3B;
    --brand-navy-light: #1E3A8A;
    --brand-blue: #0077B6;
    --brand-cyan: #00B4D8;
    --brand-cyan-soft: #E0F2FE;
    --brand-orange: #F7742E;
    --brand-orange-hover: #E05D17;
    --brand-orange-soft: #FFF1EB;
    --brand-amber: #F59E0B;
    --brand-emerald: #10B981;
    --brand-purple: #8B5CF6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0F2E5D 0%, #0077B6 50%, #00B4D8 100%);
    --gradient-accent: linear-gradient(135deg, #F7742E 0%, #FB923C 100%);
    --gradient-hero: linear-gradient(135deg, #0F2E5D 0%, #1E40AF 100%);
    --gradient-subtle: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
    --gradient-card: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(0, 180, 216, 0.15) 0%, transparent 70%);

    /* Neutral & Backgrounds */
    --bg-main: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-dark: #091C3B;
    --bg-card: rgba(255, 255, 255, 0.92);
    --bg-card-hover: #FFFFFF;

    /* Text Colors */
    --text-main: #0F172A;
    --text-muted: #475569;
    --text-light: #94A3B8;
    --text-white: #FFFFFF;
    --text-dark: #0F172A;
    --text-primary: #0F172A;
    --text-secondary: #475569;

    /* Theme and Legacy Color Aliases */
    --primary: #0F2E5D;
    --primary-dark: #091C3B;
    --primary-color: #0F2E5D;
    --secondary: #F7742E;
    --secondary-color: #F7742E;
    --accent: #00B4D8;
    --accent-color: #00B4D8;
    --danger: #EF4444;
    --warning: #F59E0B;
    --success: #10B981;
    --border-color: #E2E8F0;
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #EFF6FF;

    /* Legacy Gradient Aliases */
    --primary-gradient: linear-gradient(135deg, #0F2E5D 0%, #0077B6 50%, #00B4D8 100%);
    --secondary-gradient: linear-gradient(135deg, #F7742E 0%, #FB923C 100%);
    --accent-gradient: linear-gradient(135deg, #00B4D8 0%, #38BDF8 100%);
    --success-gradient: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --purple-gradient: linear-gradient(135deg, #0F2E5D 0%, #1E40AF 100%);
    --warm-gradient: linear-gradient(135deg, #F7742E 0%, #F59E0B 100%);

    /* Legacy Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Borders & Shadows */
    --border-subtle: #E2E8F0;
    --border-focus: #00B4D8;
    --border-glass: rgba(255, 255, 255, 0.6);
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(15, 46, 93, 0.08), 0 8px 10px -6px rgba(15, 46, 93, 0.04);
    --shadow-lg: 0 20px 35px -10px rgba(15, 46, 93, 0.12), 0 10px 15px -5px rgba(15, 46, 93, 0.05);
    --shadow-orange: 0 10px 25px -5px rgba(247, 116, 46, 0.35);
    --shadow-cyan: 0 10px 25px -5px rgba(0, 180, 216, 0.35);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--brand-navy);
    font-weight: 700;
    line-height: 1.2;
}

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

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

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

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

/* ==========================================================================
   Typography & Helpers
   ========================================================================== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.text-gradient-orange {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--brand-cyan-soft);
    color: var(--brand-navy);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 180, 216, 0.25);
}

.section-tag.orange {
    background: var(--brand-orange-soft);
    color: var(--brand-orange);
    border-color: rgba(247, 116, 46, 0.25);
}

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

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

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--text-white);
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -4px rgba(247, 116, 46, 0.45);
    color: var(--text-white);
}

.btn-navy {
    background: var(--brand-navy);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-navy:hover {
    background: var(--brand-navy-light);
    transform: translateY(-2px);
    color: var(--text-white);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.9);
    color: var(--brand-navy);
    border: 1.5px solid var(--border-subtle);
    box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
    border-color: var(--brand-cyan);
    color: var(--brand-navy-light);
    background: #FFFFFF;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    color: #FFFFFF;
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.45);
}

.btn-placement {
    background: linear-gradient(135deg, #0F2E5D 0%, #0077B6 60%, #00B4D8 100%);
    color: #FFFFFF !important;
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-placement:hover {
    background: linear-gradient(135deg, #0077B6 0%, #00B4D8 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 180, 216, 0.45);
    color: #FFFFFF !important;
}

.btn-sm {
    padding: 9px 18px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 34px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

/* ==========================================================================
   Cards & Form Controls
   ========================================================================== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition-normal);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.85rem 1.15rem;
    background: #FFFFFF;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.15);
    background: #FFFFFF;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

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

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Placement Test Sub-Banner (Directly below menu)
   ========================================================================== */
.navbar-subbanner {
    background: linear-gradient(90deg, #091C3B 0%, #0F2E5D 40%, #0077B6 85%, #091C3B 100%);
    color: #FFFFFF;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    border-bottom: 1px solid rgba(0, 180, 216, 0.35);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(15, 46, 93, 0.12);
    position: relative;
    z-index: 999;
}

.navbar-subbanner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    text-align: center;
}

.subbanner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 180, 216, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #38BDF8;
    padding: 3px 11px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.subbanner-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.92rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subbanner-text strong {
    color: #FFFFFF;
    font-weight: 700;
}

.subbanner-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-accent);
    color: #FFFFFF !important;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.84rem;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(247, 116, 46, 0.4);
    white-space: nowrap;
}

.subbanner-cta:hover {
    background: #E05D17;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(247, 116, 46, 0.55);
    color: #FFFFFF !important;
}

.subbanner-cta i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.subbanner-cta:hover i {
    transform: translateX(3px);
}

.subbanner-desc-mobile,
.subbanner-cta-mobile {
    display: none;
}

@media (max-width: 768px) {
    .navbar-subbanner {
        padding: 7px 0;
    }
    .navbar-subbanner-content {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 0 8px;
        flex-wrap: nowrap;
    }
    .subbanner-badge {
        font-size: 0.68rem;
        padding: 2px 7px;
        flex-shrink: 0;
    }
    .subbanner-desc-desktop,
    .subbanner-cta-desktop {
        display: none;
    }
    .subbanner-desc-mobile,
    .subbanner-cta-mobile {
        display: inline;
    }
    .subbanner-text {
        font-size: 0.76rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .subbanner-cta {
        padding: 4px 10px;
        font-size: 0.74rem;
        flex-shrink: 0;
    }
    .hero {
        padding-top: 155px !important;
    }
}

.navbar-inner,
.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 16px;
}

.navbar-brand img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-navy);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--brand-orange);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--brand-orange);
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--brand-navy);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: radial-gradient(circle at 20% 15%, rgba(0, 180, 216, 0.12) 0%, transparent 40%),
                radial-gradient(circle at 85% 65%, rgba(247, 116, 46, 0.08) 0%, transparent 45%),
                linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-navy);
}

.hero-badge-pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--brand-orange);
    box-shadow: 0 0 0 0 rgba(247, 116, 46, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 116, 46, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(247, 116, 46, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(247, 116, 46, 0);
    }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
}

.hero-description {
    font-size: 1.22rem;
    color: var(--text-muted);
    margin-bottom: 34px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

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

.proof-avatars {
    display: flex;
    align-items: center;
}

.avatar-item {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    margin-left: -10px;
    background: var(--brand-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: var(--shadow-xs);
}

.avatar-item:first-child {
    margin-left: 0;
}

.proof-stars {
    color: #F59E0B;
    font-size: 0.95rem;
    display: flex;
    gap: 3px;
    margin-bottom: 3px;
}

.proof-text {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.proof-text strong {
    color: var(--brand-navy);
}

/* Hero Showcase Visual Widget */
.hero-mockup-wrapper {
    position: relative;
}

.hero-mockup-card {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 28px;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
}

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

.mockup-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mockup-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.mockup-user-info h4 {
    font-size: 1.05rem;
    margin: 0;
}

.mockup-user-info span {
    font-size: 0.8rem;
    color: var(--brand-emerald);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.mockup-badge-live {
    background: rgba(16, 185, 129, 0.12);
    color: var(--brand-emerald);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

/* Chat bubble mockup */
.mockup-chat-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 22px;
}

.chat-bubble {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    line-height: 1.5;
}

.chat-bubble.student {
    background: #F1F5F9;
    color: var(--text-main);
    align-self: flex-start;
    max-width: 90%;
    border-bottom-left-radius: 4px;
}

.chat-bubble.ai {
    background: linear-gradient(135deg, #0F2E5D 0%, #1E40AF 100%);
    color: #FFFFFF;
    align-self: flex-end;
    max-width: 95%;
    border-bottom-right-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.ai-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-bottom: 6px;
    font-weight: 600;
}

.chat-bubble.ai .highlight-correction {
    background: rgba(247, 116, 46, 0.25);
    color: #FDBA74;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.mockup-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: #F8FAFC;
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.mockup-metric-item {
    text-align: center;
}

.mockup-metric-item .val {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-navy);
}

.mockup-metric-item .lbl {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Floating Badges on Hero Widget */
.floating-badge {
    position: absolute;
    background: #FFFFFF;
    padding: 12px 18px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: floatSlow 5s ease-in-out infinite alternate;
}

.floating-badge.badge-top {
    top: -24px;
    right: -20px;
}

.floating-badge.badge-bottom {
    bottom: -24px;
    left: -20px;
    animation-delay: -2.5s;
}

@keyframes floatSlow {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

.floating-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.floating-badge-icon.orange {
    background: var(--brand-orange-soft);
    color: var(--brand-orange);
}

.floating-badge-icon.cyan {
    background: var(--brand-cyan-soft);
    color: var(--brand-blue);
}

.floating-badge-text strong {
    display: block;
    font-size: 0.92rem;
    color: var(--brand-navy);
}

.floating-badge-text span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Interactive Simulator Section: "Prueba a Lingy IA"
   ========================================================================== */
.simulator-section {
    padding: 100px 0;
    background: #FFFFFF;
    position: relative;
}

.simulator-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: center;
}

.simulator-box {
    width: 100%;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Lingy Character Visual Column */
.simulator-character-col {
    position: relative;
    display: flex;
    justify-content: center;
}

.lingy-visual-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lingy-img-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.lingy-glow-bg {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.25) 0%, rgba(247, 116, 46, 0.15) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
    animation: floatSlow 6s ease-in-out infinite alternate;
}

.lingy-flow-img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(15, 46, 93, 0.18));
    animation: floatSlow 4s ease-in-out infinite alternate;
}

.lingy-speech-card {
    position: relative;
    z-index: 3;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 22px;
    box-shadow: var(--shadow-md);
    width: 100%;
    backdrop-filter: blur(10px);
}

.speech-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
}

.speech-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: contain;
    display: block;
}

.speech-author strong {
    display: block;
    font-size: 1rem;
    color: var(--brand-navy);
}

.speech-author span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.lingy-speech-card p {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-main);
    margin-bottom: 14px;
}

.lingy-features-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    background: #F1F5F9;
    color: var(--brand-navy);
    border-radius: var(--radius-full);
}

.lingy-floating-chip {
    position: absolute;
    top: -15px;
    right: 10px;
    z-index: 4;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.chip-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite;
}

.simulator-top-bar {
    background: var(--brand-navy);
    color: #FFFFFF;
    padding: 18px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.sim-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
}

.sim-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
}

.sim-content {
    padding: 34px;
}

.sim-presets-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sim-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.sim-btn-preset {
    padding: 8px 16px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--brand-navy);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sim-btn-preset:hover, .sim-btn-preset.active {
    background: var(--brand-cyan-soft);
    border-color: var(--brand-cyan);
    color: var(--brand-blue);
    transform: translateY(-1px);
}

.sim-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.sim-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1.05rem;
    transition: var(--transition);
    outline: none;
}

.sim-input:focus {
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.15);
}

/* Result box */
.sim-response-card {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: var(--transition);
}

.sim-res-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.sim-score-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: var(--radius-full);
}

.sim-cefr-pill {
    padding: 6px 14px;
    background: var(--brand-orange-soft);
    color: var(--brand-orange);
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
}

.sim-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sim-col {
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}

.sim-col.bad {
    background: #FEF2F2;
    border: 1px solid #FEE2E2;
}

.sim-col.good {
    background: #F0FDF4;
    border: 1px solid #DCFCE7;
}

.sim-col-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sim-col.bad .sim-col-label { color: #DC2626; }
.sim-col.good .sim-col-label { color: #16A34A; }

.sim-explanation-box {
    background: #EFF6FF;
    border-left: 4px solid var(--brand-cyan);
    padding: 14px 18px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 0.95rem;
    color: var(--brand-navy);
}

/* ==========================================================================
   Ecosystem Bento Grid Section
   ========================================================================== */
.ecosystem-section {
    padding: 110px 0;
    background: var(--bg-main);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 34px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 180, 216, 0.4);
    background: var(--bg-card-hover);
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-12 { grid-column: span 12; }

.bento-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 22px;
}

.bento-icon.navy { background: #E0E7FF; color: var(--brand-navy); }
.bento-icon.orange { background: var(--brand-orange-soft); color: var(--brand-orange); }
.bento-icon.cyan { background: var(--brand-cyan-soft); color: var(--brand-blue); }
.bento-icon.emerald { background: #D1FAE5; color: var(--brand-emerald); }
.bento-icon.purple { background: #EDE9FE; color: var(--brand-purple); }

.bento-title {
    font-size: 1.45rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bento-badge {
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bento-badge.primary { background: var(--brand-cyan-soft); color: var(--brand-blue); }
.bento-badge.orange { background: var(--brand-orange-soft); color: var(--brand-orange); }

.bento-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.bento-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bento-feature-list li {
    font-size: 0.92rem;
    color: var(--brand-navy);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.bento-feature-list li i {
    color: var(--brand-emerald);
    font-size: 0.95rem;
}

/* ==========================================================================
   Skills Interactive Dashboard Section
   ========================================================================== */
.skills-section {
    padding: 110px 0;
    background: #FFFFFF;
}

.skills-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.level-tabs {
    display: flex;
    gap: 8px;
    background: #F1F5F9;
    padding: 6px;
    border-radius: var(--radius-lg);
    margin-bottom: 28px;
}

.tab-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: #FFFFFF;
    color: var(--brand-navy);
    box-shadow: var(--shadow-sm);
}

.skill-bar-container {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 34px;
    box-shadow: var(--shadow-md);
}

.skill-item {
    margin-bottom: 22px;
}

.skill-item:last-child {
    margin-bottom: 0;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.skill-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--brand-navy);
}

.skill-percent {
    font-weight: 800;
    font-size: 1rem;
}

.skill-track {
    height: 12px;
    background: #F1F5F9;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-fill.reading { background: linear-gradient(90deg, #00B4D8, #0077B6); }
.skill-fill.writing { background: linear-gradient(90deg, #F7742E, #DC2626); }
.skill-fill.listening { background: linear-gradient(90deg, #0F2E5D, #1E40AF); }
.skill-fill.speaking { background: linear-gradient(90deg, #10B981, #059669); }

/* ==========================================================================
   Comparison Matrix Section
   ========================================================================== */
.comparison-section {
    padding: 100px 0;
    background: var(--bg-main);
}

.comparison-table-wrapper {
    overflow-x: auto;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
    background: #F8FAFC;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.comparison-table th.highlight {
    background: var(--brand-navy);
    color: #FFFFFF;
}

.comparison-table td.highlight {
    background: rgba(0, 180, 216, 0.04);
    font-weight: 600;
    color: var(--brand-navy);
}

.check-icon {
    color: #10B981;
    font-size: 1.1rem;
}

.cross-icon {
    color: #EF4444;
    font-size: 1.1rem;
}

/* ==========================================================================
   Pricing & Plans Section
   ========================================================================== */
.pricing-section {
    padding: 110px 0;
    background: #FFFFFF;
}

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

.pricing-card {
    background: #FFFFFF;
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 38px 30px;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--brand-orange);
    box-shadow: var(--shadow-orange);
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF9F5 100%);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
}

.pricing-badge-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-orange);
    color: #FFFFFF;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(247, 116, 46, 0.3);
}

.pricing-plan-name {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.pricing-plan-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    min-height: 44px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand-navy);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.pricing-price .period {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

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

.pricing-features li i {
    color: var(--brand-emerald);
    font-size: 1rem;
    margin-top: 3px;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
    padding: 110px 0;
    background: var(--bg-main);
}

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

.testimonial-card {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 180, 216, 0.4);
}

.test-stars {
    color: #F59E0B;
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.test-quote {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 24px;
    font-style: italic;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.test-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-navy);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.test-author-info h4 {
    font-size: 1rem;
    margin: 0;
}

.test-author-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 100px 0;
    background: #FFFFFF;
}

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

.faq-item {
    background: #F8FAFC;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    background: #FFFFFF;
    border-color: var(--brand-cyan);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--brand-navy);
}

.faq-icon {
    font-size: 1.1rem;
    color: var(--brand-cyan);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--brand-orange);
}

.faq-answer {
    padding: 0 28px 22px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ==========================================================================
   Contact & CTA Banner
   ========================================================================== */
.cta-banner-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.cta-banner-box {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.cta-banner-box h2 {
    color: #FFFFFF;
    font-size: 2.8rem;
    margin-bottom: 18px;
}

.cta-banner-box p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.2rem;
    margin-bottom: 34px;
}

.cta-banner-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* Floating WhatsApp widget */
.floating-wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    transition: var(--transition-bounce);
}

.floating-wa-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
    color: #FFFFFF;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--brand-navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand img {
    height: 54px;
    width: auto;
    object-fit: contain;
    margin-bottom: 18px;
    background: #FFFFFF;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-title {
    color: #FFFFFF;
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--brand-cyan);
    padding-left: 4px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--brand-cyan);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.88rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .hero-title {
        font-size: 3rem;
    }
    .bento-col-8, .bento-col-4, .bento-col-6 {
        grid-column: span 12;
    }
    .skills-wrapper {
        grid-template-columns: 1fr;
    }
    .simulator-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.featured {
        transform: none;
    }
    .pricing-card.featured:hover {
        transform: translateY(-6px);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-nav, .navbar-actions .btn-navy {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .navbar-nav.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: #FFFFFF;
        padding: 24px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border-subtle);
        gap: 18px;
    }
    .hero {
        padding: 120px 0 60px;
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .sim-comparison-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .floating-badge {
        display: none;
    }
}
