/* ==========================================================================
   Liberty Play — Design System & Master Stylesheet
   Clean, Prestigious, Luminous Light Educational Theme
   Built for High Trust, Accessibility & Google Play Compliance
   ========================================================================== */

:root {
    /* Educational Palette */
    --brand-primary: #2563EB;         /* Royal Cobalt Blue */
    --brand-primary-hover: #1D4ED8;
    --brand-primary-dark: #1E40AF;
    --brand-primary-light: #EFF6FF;   /* Soft Ice Blue */
    --brand-primary-border: #BFDBFE;

    --brand-navy: #0F172A;            /* Deep Slate Navy for Crisp Headings */
    --brand-slate: #1E293B;
    
    --accent-gold: #D97706;           /* Wisdom & Focus Amber */
    --accent-gold-bg: #FEF3C7;
    --accent-gold-border: #FDE68A;

    --accent-emerald: #059669;        /* Mastery & Progress Green */
    --accent-emerald-bg: #ECFDF5;
    --accent-emerald-border: #A7F3D0;

    --accent-purple: #7C3AED;        /* AI & Deep Concepts */
    --accent-purple-bg: #F5F3FF;
    --accent-purple-border: #DDD6FE;

    --accent-teal: #0D9488;
    --accent-teal-bg: #F0FDFA;
    --accent-teal-border: #99F6E4;

    --accent-rose: #E11D48;          /* Weaknesses & Critical Alerts */
    --accent-rose-bg: #FFF1F2;
    --accent-rose-border: #FECDD3;

    /* Backgrounds & Canvas */
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;              /* Clean Slate-White */
    --bg-subtle: #F1F5F9;
    --bg-surface: #FFFFFF;

    /* Text Colors */
    --text-heading: #0F172A;
    --text-body: #334155;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    /* Borders & Shadows */
    --border-subtle: #E2E8F0;
    --border-medium: #CBD5E1;
    --border-focus: #93C5FD;
    
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 12px 28px -4px rgba(15, 23, 42, 0.07), 0 6px 10px -4px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.1), 0 10px 18px -6px rgba(15, 23, 42, 0.04);
    --shadow-float: 0 25px 60px -15px rgba(37, 99, 235, 0.18);

    /* Fonts */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-white);
    color: var(--text-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.container-narrow {
    max-width: 880px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.1rem;
    color: var(--text-body);
}

p:last-child {
    margin-bottom: 0;
}

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

a:hover {
    color: var(--brand-primary-hover);
}

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

.gradient-text {
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #0284C7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================================================
   Buttons & Action Elements
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    padding: 0.72rem 1.45rem;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--brand-primary);
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
    background-color: var(--brand-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.38);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--brand-navy) !important;
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: var(--brand-primary);
    color: var(--brand-primary) !important;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-body);
}

.btn-ghost:hover {
    color: var(--brand-primary);
    background-color: var(--brand-primary-light);
}

.btn-hero {
    padding: 0.95rem 1.85rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

/* Google Play Store Badge Button */
.btn-google-play {
    background: #0F172A;
    color: #FFFFFF !important;
    border-radius: var(--radius-md);
    padding: 0.65rem 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn-google-play:hover {
    background: #1E293B;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.play-text-col {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.15;
}

.play-subtitle {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94A3B8;
}

.play-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #FFFFFF;
}

/* ==========================================================================
   Header & Navigation Bar
   ========================================================================== */
.top-notice {
    background: linear-gradient(90deg, #1E3A8A 0%, #1D4ED8 100%);
    color: #FFFFFF;
    padding: 0.55rem 0;
    font-size: 0.86rem;
    font-weight: 500;
}

.top-notice-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.badge-play-store {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.notice-link {
    color: #93C5FD;
    font-weight: 600;
}

.notice-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.95rem 0;
    transition: var(--transition);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.logo-name {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo-main {
    color: var(--brand-navy);
}

.logo-accent {
    color: var(--brand-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-body);
    font-size: 0.93rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-mobile-cta {
    display: none;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger-btn span {
    width: 24px;
    height: 2px;
    background: var(--brand-navy);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 5.5rem 0 5rem 0;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    overflow: hidden;
}

.hero-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.decor-glow-1 {
    position: absolute;
    width: 480px;
    height: 480px;
    background: #DBEAFE;
    border-radius: 50%;
    filter: blur(90px);
    top: -120px;
    left: -80px;
    opacity: 0.6;
}

.decor-glow-2 {
    position: absolute;
    width: 520px;
    height: 520px;
    background: #FEF3C7;
    border-radius: 50%;
    filter: blur(100px);
    top: 20%;
    right: -120px;
    opacity: 0.55;
}

.decor-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#CBD5E1 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.35;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xs);
    margin-bottom: 1.5rem;
}

.pill-sparkle { font-size: 1.1rem; }
.pill-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: var(--brand-navy);
}

.hero-subtitle {
    font-size: 1.18rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 1.8rem;
    max-width: 560px;
}

/* Tagline Pedagogy Strip */
.tagline-loop-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    padding: 0.65rem 1.2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2.2rem;
    width: fit-content;
}

.tag-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tagline-steps {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.92rem;
}

.t-step {
    color: var(--brand-navy);
}

.t-step.highlight {
    color: var(--brand-primary);
    background: var(--brand-primary-light);
    padding: 0.15rem 0.6rem;
    border-radius: 6px;
}

.t-sep {
    color: var(--text-light);
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.8rem;
    flex-wrap: wrap;
}

/* Trust Bar */
.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.8rem;
}

.trust-stat .stat-num {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--brand-navy);
}

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

.trust-divider {
    width: 1px;
    height: 34px;
    background: var(--border-subtle);
}

/* ==========================================================================
   Hero Visual / App Frame & Phone Presentation
   ========================================================================== */
.hero-visual-col {
    position: relative;
}

.app-window-frame {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-float);
    overflow: hidden;
    position: relative;
}

.window-chrome {
    background: #F8FAFC;
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.window-controls {
    display: flex;
    gap: 6px;
}

.btn-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-close { background: #EF4444; }
.dot-min { background: #F59E0B; }
.dot-max { background: #10B981; }

.window-address {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.user-badge {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--accent-gold);
    background: var(--accent-gold-bg);
    border: 1px solid var(--accent-gold-border);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

.app-workspace-body {
    padding: 1.4rem;
    background: #FAFCFF;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.workspace-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.8rem;
}

.subject-selector-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: var(--brand-navy);
}

.workspace-status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pulse-green {
    width: 7px;
    height: 7px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Chat Rows inside App */
.workspace-message {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.avatar-ring {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
}

.user-av {
    background: #E2E8F0;
    color: var(--brand-navy);
}

.ai-av {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
}

.msg-bubble {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.95rem 1.15rem;
    box-shadow: var(--shadow-sm);
    flex: 1;
}

.ai-bubble {
    background: #FFFFFF;
    border-color: #BFDBFE;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.msg-header-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.sender-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
}

.ai-sender {
    color: var(--brand-primary);
}

.msg-time {
    font-size: 0.7rem;
    color: var(--text-light);
}

.verified-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-emerald);
    background: var(--accent-emerald-bg);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.msg-content {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-body);
}

.attachment-pill {
    margin-top: 0.6rem;
    font-size: 0.74rem;
    color: var(--brand-primary);
    background: var(--brand-primary-light);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    font-weight: 600;
}

.concept-card-block {
    background: #F8FAFC;
    border-left: 3px solid #94A3B8;
    padding: 0.6rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 0.6rem;
    font-size: 0.82rem;
}

.concept-card-block.highlight-block {
    border-left-color: var(--brand-primary);
    background: var(--brand-primary-light);
}

.step-badge-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.2rem;
}

.step-num {
    font-size: 0.68rem;
    font-weight: 800;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    padding: 0.08rem 0.35rem;
    border-radius: 3px;
    color: var(--brand-primary);
}

.step-title {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--brand-navy);
}

.key-takeaway-pill {
    background: var(--accent-gold-bg);
    border: 1px solid var(--accent-gold-border);
    padding: 0.55rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #92400E;
}

code {
    font-family: var(--font-mono);
    background: rgba(0, 0, 0, 0.06);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #1E3A8A;
}

.ai-action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.ai-chip-btn {
    background: var(--bg-white);
    border: 1px solid var(--border-medium);
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--brand-navy);
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.ai-chip-btn:hover, .ai-chip-btn.active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #FFFFFF;
}

/* Floating Callouts */
.floating-stat-card {
    position: absolute;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
    animation: gentleFloat 4s ease-in-out infinite;
}

.card-top-right {
    top: -18px;
    right: 20px;
}

.card-bottom-left {
    bottom: -18px;
    left: 20px;
    animation-delay: 2s;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.stat-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-badge-icon.green {
    background: var(--accent-emerald-bg);
    color: var(--accent-emerald);
}

.stat-badge-icon.indigo {
    background: var(--brand-primary-light);
    color: var(--brand-primary);
}

.f-stat-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.f-stat-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Sections Common Layout
   ========================================================================== */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-light {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.section-title-wrap {
    max-width: 780px;
    margin: 0 auto 3.8rem auto;
}

.section-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-primary);
    background: var(--brand-primary-light);
    padding: 0.35rem 0.95rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    border: 1px solid var(--brand-primary-border);
}

.section-heading {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.8rem;
}

.section-subheading {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.8rem;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.7;
}

.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
}

.two-col-layout.align-center {
    align-items: center;
}

.lead-question {
    font-size: 1.75rem;
    color: var(--brand-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.body-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

/* ==========================================================================
   Learning Journey (5 Stages)
   ========================================================================== */
.journey-flow-container {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.journey-flow-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.j-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.j-title h3 {
    font-size: 1.35rem;
    margin-bottom: 0;
}

.j-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-primary);
    background: var(--brand-primary-light);
    border: 1px solid var(--brand-primary-border);
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
}

.journey-stages-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.stage-card {
    flex: 1;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: left;
}

.stage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}

.stage-card.active-card {
    border-color: var(--accent-emerald);
    background: #FAFEFD;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.12);
}

.stage-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stage-idx {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-light);
    font-family: var(--font-mono);
}

.stage-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stage-icon.blue { background: var(--brand-primary-light); color: var(--brand-primary); }
.stage-icon.teal { background: var(--accent-teal-bg); color: var(--accent-teal); }
.stage-icon.amber { background: var(--accent-gold-bg); color: var(--accent-gold); }
.stage-icon.purple { background: var(--accent-purple-bg); color: var(--accent-purple); }
.stage-icon.green { background: var(--accent-emerald-bg); color: var(--accent-emerald); }

.stage-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.4rem;
}

.stage-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.stage-footer-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--brand-navy);
    background: #F1F5F9;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    display: inline-block;
}

.stage-footer-tag.success-tag {
    background: var(--accent-emerald-bg);
    color: var(--accent-emerald);
}

.stage-connector {
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   AI Tutor Widget
   ========================================================================== */
.pedagogy-highlight-box {
    background: linear-gradient(135deg, #EFF6FF 0%, #F0FDFA 100%);
    border: 1px solid #BFDBFE;
    border-radius: var(--radius-md);
    padding: 1.3rem 1.5rem;
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.box-symbol { font-size: 2rem; }
.box-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.35rem;
}

.box-desc {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.6;
}

.tutor-perks-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.perk-item {
    display: flex;
    gap: 0.85rem;
    font-size: 0.96rem;
    align-items: flex-start;
}

.perk-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

.interactive-tutor-widget {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.widget-header {
    background: #F8FAFC;
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.1rem 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.tutor-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tutor-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--brand-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tutor-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--brand-navy);
}

.tutor-status {
    font-size: 0.75rem;
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-emerald);
}

.interactive-prompt-select {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.topic-btn {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--brand-navy);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.topic-btn:hover, .topic-btn.active {
    background: var(--brand-primary);
    color: #FFFFFF;
    border-color: var(--brand-primary);
}

.widget-body {
    padding: 1.5rem;
    background: #FAFCFF;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.user-bubble {
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
}

.user-q-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 0.3rem;
}

.user-bubble p {
    font-size: 0.92rem;
    color: var(--brand-navy);
    font-weight: 600;
}

.ai-bubble-styled {
    background: #FFFFFF;
    border: 1px solid #BFDBFE;
    border-radius: var(--radius-md);
    padding: 1.3rem;
    box-shadow: var(--shadow-sm);
}

.ai-solution-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.solution-pill {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-primary);
    background: var(--brand-primary-light);
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
}

.confidence-pill {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-emerald);
}

.sol-step {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.88rem;
    line-height: 1.55;
}

.step-bullet {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #EFF6FF;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.sol-step.key-insight {
    background: var(--accent-gold-bg);
    border: 1px solid var(--accent-gold-border);
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-sm);
}

.step-bullet.gold {
    background: transparent;
    font-size: 1rem;
}

.widget-interactive-actions {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.2rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
}

.action-pill-btn {
    background: #FFFFFF;
    border: 1px solid var(--border-medium);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    color: var(--brand-navy);
    transition: var(--transition);
}

.action-pill-btn:hover {
    background: var(--brand-primary-light);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* ==========================================================================
   Features Quad Grid & UI Simulation Snippets
   ========================================================================== */
.features-quad-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card-white {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.feature-card-white:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary-border);
}

.feature-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.4rem;
}

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

.blue-bg { background: var(--brand-primary-light); color: var(--brand-primary); }
.amber-bg { background: var(--accent-gold-bg); color: var(--accent-gold); }
.rose-bg { background: var(--accent-rose-bg); color: var(--accent-rose); }
.green-bg { background: var(--accent-emerald-bg); color: var(--accent-emerald); }

.card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    background: #F1F5F9;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-full);
}

.feature-card-title {
    font-size: 1.45rem;
    color: var(--brand-navy);
    margin-bottom: 0.75rem;
}

.feature-card-desc {
    font-size: 0.98rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 1.6rem;
}

.planner-preview-box,
.weakness-preview-box,
.mistake-preview-box,
.revision-preview-box {
    margin-top: auto;
    background: #F8FAFC;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 1rem 1.15rem;
}

.preview-header {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.65rem;
}

.task-row {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

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

.task-check {
    color: var(--accent-emerald);
    font-weight: bold;
    margin-right: 0.5rem;
}

.task-bullet {
    color: var(--brand-primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

.task-title {
    flex: 1;
    color: var(--brand-navy);
    font-weight: 500;
}

.task-duration {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
}

.task-row.current .task-duration {
    color: var(--brand-primary);
}

.w-bar-item {
    margin-bottom: 0.6rem;
}

.w-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.76rem;
    margin-bottom: 0.25rem;
}

.w-val.danger { color: var(--accent-rose); font-weight: 700; }
.w-val.warning { color: var(--accent-gold); font-weight: 700; }

.w-track {
    width: 100%;
    height: 6px;
    background: #E2E8F0;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.w-fill {
    height: 100%;
    border-radius: var(--radius-full);
}

.w-fill.danger { background: var(--accent-rose); }
.w-fill.warning { background: var(--accent-gold); }

.m-type {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--accent-rose);
    margin-bottom: 0.25rem;
}

.m-text {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--brand-navy);
    margin-bottom: 0.45rem;
}

.m-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--brand-primary);
    background: var(--brand-primary-light);
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.rev-schedule-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rev-icon {
    font-size: 1.5rem;
}

.rev-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.rev-desc {
    font-size: 0.74rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Practice Cards & Materials Showcase
   ========================================================================== */
.practice-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.practice-feature-card {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.practice-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary-border);
}

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

.p-card-icon.blue { background: var(--brand-primary-light); color: var(--brand-primary); }
.p-card-icon.teal { background: var(--accent-teal-bg); color: var(--accent-teal); }
.p-card-icon.amber { background: var(--accent-gold-bg); color: var(--accent-gold); }
.p-card-icon.green { background: var(--accent-emerald-bg); color: var(--accent-emerald); }

.p-card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}

.p-card-body p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.p-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.84rem;
    color: var(--brand-primary);
    font-weight: 600;
}

.materials-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.material-hero-card {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.m-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.2rem;
    width: fit-content;
}

.blue-pill { background: var(--brand-primary-light); color: var(--brand-primary); border: 1px solid var(--brand-primary-border); }
.purple-pill { background: var(--accent-purple-bg); color: var(--accent-purple); border: 1px solid var(--accent-purple-border); }

.m-card-title {
    font-size: 1.55rem;
    margin-bottom: 0.8rem;
}

.m-card-description {
    font-size: 0.98rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 1.8rem;
}

.pdf-preview-illustration,
.video-preview-illustration {
    margin-top: auto;
    background: #F8FAFC;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.2rem;
}

.pdf-doc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.76rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.6rem;
    margin-bottom: 0.8rem;
}

.doc-title {
    font-family: var(--font-mono);
    color: var(--brand-navy);
    font-weight: 600;
}

.pdf-highlight-quote {
    background: #FEF3C7;
    border-left: 3px solid #D97706;
    padding: 0.65rem 0.85rem;
    border-radius: 4px;
    font-size: 0.84rem;
    color: #92400E;
    margin-bottom: 0.8rem;
}

.ai-ask-tag {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-primary);
    background: #FFFFFF;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.pdf-ai-response {
    background: #FFFFFF;
    border: 1px solid #BFDBFE;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
}

.ai-tag {
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 0.2rem;
}

.video-mock-screen {
    height: 140px;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border-radius: var(--radius-sm);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.play-btn-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.video-timeline-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
}

.timeline-fill {
    height: 100%;
    background: var(--brand-primary);
}

.concept-pin {
    position: absolute;
    top: -6px;
    width: 14px;
    height: 14px;
    background: #F59E0B;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    cursor: pointer;
}

.pin-callout {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #0F172A;
    color: #FFFFFF;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    white-space: nowrap;
}

.video-ai-summary {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
}

.video-tag {
    font-weight: 700;
    color: var(--accent-purple);
    margin-bottom: 0.2rem;
}

/* ==========================================================================
   Analytics Showcase & Checklist
   ========================================================================== */
.analytics-showcase-panel {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.2rem;
    margin-bottom: 1.4rem;
}

.p-title-group h4 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.p-sub {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.overall-readiness-chip {
    text-align: right;
}

.readiness-percent {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-emerald);
    line-height: 1;
}

.readiness-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.analytics-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.4rem;
}

.kpi-box {
    background: #F8FAFC;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    text-align: center;
}

.kpi-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.kpi-val {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0.2rem 0;
    display: block;
}

.text-green { color: var(--accent-emerald); }
.text-blue { color: var(--brand-primary); }
.text-amber { color: var(--accent-gold); }

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

.topic-mastery-list {
    background: #F8FAFC;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1.2rem;
}

.list-heading {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.t-item {
    margin-bottom: 0.6rem;
}

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

.t-name-row {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.t-name-row strong {
    flex: 1;
    color: var(--brand-navy);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-indicator.green { background: var(--accent-emerald); }
.status-indicator.amber { background: var(--accent-gold); }
.status-indicator.rose { background: var(--accent-rose); }

.t-pct {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

.t-track {
    width: 100%;
    height: 5px;
    background: #E2E8F0;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.t-bar {
    height: 100%;
    border-radius: var(--radius-full);
}

.t-bar.green { background: var(--accent-emerald); }
.t-bar.amber { background: var(--accent-gold); }
.t-bar.rose { background: var(--accent-rose); }

.ai-study-insight {
    background: var(--brand-primary-light);
    border: 1px solid var(--brand-primary-border);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--brand-navy);
}

.analytics-checklist-card {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.checklist-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 1.2rem;
}

.clean-check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.clean-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.95rem;
}

.c-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   Academic Categories & Exams Grid
   ========================================================================== */
.audience-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.academic-category-card {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.academic-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}

.academic-category-card.featured-card {
    border-color: var(--brand-primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
    background: linear-gradient(180deg, #FAFCFF 0%, #FFFFFF 100%);
}

.featured-ribbon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
    font-weight: 800;
    color: #FFFFFF;
    background: var(--brand-primary);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.cat-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-icon-badge.blue { background: var(--brand-primary-light); color: var(--brand-primary); }
.cat-icon-badge.teal { background: var(--accent-teal-bg); color: var(--accent-teal); }
.cat-icon-badge.gold { background: var(--accent-gold-bg); color: var(--accent-gold); }
.cat-icon-badge.purple { background: var(--accent-purple-bg); color: var(--accent-purple); }

.cat-sub {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
}

.cat-title {
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
}

.cat-tagline {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.8rem;
}

.cat-desc {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1.4rem;
}

.cat-pills {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.c-pill {
    font-size: 0.72rem;
    font-weight: 600;
    background: #F1F5F9;
    border: 1px solid var(--border-subtle);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    color: var(--brand-navy);
}

.c-pill.highlight {
    background: var(--brand-primary-light);
    border-color: var(--brand-primary-border);
    color: var(--brand-primary);
}

/* ==========================================================================
   Student Testimonials
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testi-card {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.stars {
    color: #F59E0B;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testi-quote {
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--brand-navy);
    margin-bottom: 1.6rem;
    font-style: italic;
}

.testi-author {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.author-av {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.author-blue { background: #DBEAFE; color: #1D4ED8; }
.author-teal { background: #CCFBF1; color: #0F766E; }

.author-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--brand-navy);
}

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

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-card {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-card.active {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
}

.faq-btn {
    width: 100%;
    padding: 1.4rem 1.6rem;
    background: none;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
}

.faq-symbol {
    font-size: 1.5rem;
    color: var(--brand-primary);
    font-weight: 400;
    transition: transform 0.25s ease;
}

.faq-card.active .faq-symbol {
    transform: rotate(45deg);
}

.faq-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
    padding: 0 1.6rem;
}

.faq-card.active .faq-dropdown {
    max-height: 300px;
    padding: 0 1.6rem 1.4rem 1.6rem;
}

.faq-dropdown p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-body);
}

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */
.cta-banner-section {
    padding: 4.5rem 0 6rem 0;
}

.cta-card-elevated {
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #1D4ED8 100%);
    border-radius: var(--radius-xl);
    padding: 4.8rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-float);
    color: #FFFFFF;
}

.cta-card-decor {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.cta-kicker {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #BFDBFE;
    margin-bottom: 1rem;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.cta-subtitle {
    font-size: 1.8rem;
    color: #E0E7FF;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.cta-lead {
    font-size: 1.15rem;
    color: #DBEAFE;
    max-width: 680px;
    margin: 0 auto 2.8rem auto;
    line-height: 1.7;
}

.cta-app-buttons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2.2rem;
    flex-wrap: wrap;
}

.cta-perk-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.88rem;
    color: #DBEAFE;
    font-weight: 500;
    flex-wrap: wrap;
}

/* ==========================================================================
   Compliance & Content Pages Styling (Privacy, Terms, Deletion, Contact, About)
   ========================================================================== */
.page-header {
    padding: 4.5rem 0 3rem 0;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    border-bottom: 1px solid var(--border-subtle);
}

.page-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-primary);
    background: var(--brand-primary-light);
    border: 1px solid var(--brand-primary-border);
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.8rem;
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 680px;
    line-height: 1.6;
}

.page-meta {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--text-light);
}

.legal-content-card {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 3rem 2.8rem;
    box-shadow: var(--shadow-sm);
    margin: 3.5rem auto;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h3 {
    font-size: 1.4rem;
    color: var(--brand-navy);
    margin-bottom: 0.9rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-section h4 {
    font-size: 1.1rem;
    color: var(--brand-slate);
    margin: 1.2rem 0 0.5rem 0;
}

.legal-section p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 1rem;
}

.legal-section ul, .legal-section ol {
    margin: 0.8rem 0 1.2rem 1.8rem;
    font-size: 0.96rem;
    color: var(--text-body);
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.65;
}

.callout-box {
    background: var(--bg-light);
    border-left: 4px solid var(--brand-primary);
    padding: 1.2rem 1.4rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.callout-box.danger {
    background: var(--accent-rose-bg);
    border-left-color: var(--accent-rose);
}

.callout-box.success {
    background: var(--accent-emerald-bg);
    border-left-color: var(--accent-emerald);
}

.callout-box p {
    margin-bottom: 0;
    font-size: 0.94rem;
}

/* Form Styles for Contact and Account Deletion */
.form-card {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

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

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.45rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    color: var(--text-heading);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--text-body);
}

.form-check input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.form-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

.deletion-steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.step-card-box {
    display: flex;
    gap: 1rem;
    background: #F8FAFC;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.2rem;
}

.step-badge-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #FFFFFF;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
    background: #0F172A;
    color: #FFFFFF;
    padding: 5rem 0 2.5rem 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1.1fr 1.1fr 1.1fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-logo {
    margin-bottom: 1.2rem;
}

.footer-logo .logo-main {
    color: #FFFFFF;
}

.footer-tagline-text {
    font-size: 0.92rem;
    color: #94A3B8;
    line-height: 1.65;
    max-width: 330px;
    margin-bottom: 1.6rem;
}

.footer-google-play-wrap {
    margin-bottom: 1.5rem;
}

.footer-social-links {
    display: flex;
    gap: 0.8rem;
}

.footer-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social-links a:hover {
    background: var(--brand-primary);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-links-group .group-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
}

.group-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.group-list a {
    color: #94A3B8;
    font-size: 0.9rem;
    transition: var(--transition);
}

.group-list a:hover {
    color: #FFFFFF;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: #64748B;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: #94A3B8;
    transition: var(--transition);
}

.legal-links a:hover {
    color: #FFFFFF;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .journey-stages-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .stage-connector {
        transform: rotate(90deg);
        padding: 0.4rem 0;
    }

    .two-col-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .audience-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar .nav-links { display: none; }
    
    .hamburger-btn {
        display: flex;
    }

    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #FFFFFF;
        border-bottom: 1px solid var(--border-subtle);
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.open .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .nav-mobile-cta {
        display: block;
        margin-top: 1.25rem;
    }

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

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-trust-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .trust-divider {
        display: none;
    }

    .floating-stat-card {
        display: none;
    }

    .features-quad-grid,
    .practice-cards-container,
    .materials-showcase-grid,
    .testimonials-grid,
    .audience-cards-grid {
        grid-template-columns: 1fr;
    }

    .practice-feature-card {
        flex-direction: column;
    }

    .cta-title { font-size: 2.4rem; }
    .cta-subtitle { font-size: 1.3rem; }

    .cta-app-buttons {
        flex-direction: column;
    }

    .cta-perk-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .legal-content-card {
        padding: 2rem 1.4rem;
    }
}
