/* ===== CSS Variables ===== */
:root {
    /* Colors - Indigo Wisdom Theme */
    /* Primary: Deep Distinctive Blue */
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --primary-light: #4d9fff;
    /* Secondary: Modern Indigo accent */
    --secondary: #6366f1;
    --secondary-light: #818cf8;
    --accent: #22c55e;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f0f10;
    --dark-light: #1a1a1c;
    --gray-900: #1a1a1c;
    --gray-800: #2a2a2d;
    --gray-700: #3a3a3e;
    --gray-600: #6e6e78;
    --gray-500: #8b8b94;
    --gray-400: #a1a1ab;
    --gray-300: #d1d1d9;
    --gray-200: #e5e5ec;
    --gray-100: #f5f5f9;
    --white: #fafafa;

    /* Gradients - Smoother 3-stop transitions */
    --gradient-primary: linear-gradient(135deg, #0052cc 0%, #0066ff 50%, #4d9fff 100%);
    --gradient-warm: linear-gradient(135deg, #0066ff 0%, #6366f1 60%, #818cf8 100%);
    --gradient-secondary: linear-gradient(135deg, #6366f1 0%, #818cf8 50%, #a5b4fc 100%);
    --gradient-dark: linear-gradient(180deg, #0f0f10 0%, #1a1a1c 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

    /* Glassmorphism Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(0, 102, 255, 0.25);
    --shadow-glow-accent: 0 0 30px rgba(34, 197, 94, 0.3);
    --shadow-glow-warm: 0 0 30px rgba(99, 102, 241, 0.3);

    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-bg-light: rgba(255, 255, 255, 0.08);
    --glass-bg-dark: rgba(0, 0, 0, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-light: rgba(255, 255, 255, 0.15);
    --glass-blur: 20px;
    --glass-blur-heavy: 40px;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-2xl: 2.5rem;

    /* Typography */
    --font-main: 'Inter', -apple-system, sans-serif;
    --font-display: 'Poppins', sans-serif;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Light Mode Theme ===== */
[data-theme="light"] {
    /* Colors - Indigo Wisdom adjusted for light mode */
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --primary-light: #4d9fff;
    --secondary: #6366f1;
    --secondary-light: #818cf8;
    --accent: #22c55e;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #fafbff;
    --dark-light: #f5f7ff;
    --gray-900: #f5f7ff;
    --gray-800: #e8eaf5;
    --gray-700: #d1d4e3;
    --gray-600: #a1a5b6;
    --gray-500: #8b8f9f;
    --gray-400: #6e7280;
    --gray-300: #3d4150;
    --gray-200: #2d3040;
    --gray-100: #1d1f2f;
    --white: #1d1f2f;

    /* Gradients for light mode - Indigo Wisdom aligned */
    --gradient-primary: linear-gradient(135deg, #0052cc 0%, #0066ff 50%, #4d9fff 100%);
    --gradient-warm: linear-gradient(135deg, #0066ff 0%, #6366f1 60%, #818cf8 100%);
    --gradient-secondary: linear-gradient(135deg, #6366f1 0%, #818cf8 50%, #a5b4fc 100%);
    --gradient-dark: linear-gradient(180deg, #fafbff 0%, #f5f7ff 100%);
    --gradient-glass: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.05) 100%);

    /* Light mode Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.18);
    --shadow-glow-accent: 0 0 30px rgba(34, 197, 94, 0.15);
    --shadow-glow-warm: 0 0 30px rgba(99, 102, 241, 0.2);

    /* Glass Effects for light mode */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-bg-light: rgba(255, 255, 255, 0.95);
    --glass-bg-dark: rgba(255, 255, 255, 0.98);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-border-light: rgba(0, 0, 0, 0.1);
}

/* Light mode body styles */
[data-theme="light"] body {
    background: #fafbff;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(0, 102, 255, 0.08), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(99, 102, 241, 0.06), transparent);
    color: var(--gray-100);
}

/* Light mode specific overrides */
[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nav-toggle span {
    background: var(--gray-100);
}

[data-theme="light"] .logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .hero-orb {
    opacity: 0.3;
}

[data-theme="light"] .phone-frame {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .phone-screen {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .demo-progress {
    background: rgba(0, 113, 227, 0.08);
}

[data-theme="light"] .progress-bg {
    stroke: #e2e8f0;
}

[data-theme="light"] .demo-card {
    background: #f1f5f9;
}

[data-theme="light"] .hero-stats {
    background: rgba(0, 113, 227, 0.06);
    border: 1px solid rgba(0, 113, 227, 0.12);
    box-shadow: 0 4px 24px rgba(0, 113, 227, 0.06);
}

[data-theme="light"] .stat-number {
    color: var(--gray-100);
    text-shadow: none;
}

[data-theme="light"] .floating-card {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .floating-card .card-title {
    color: var(--gray-100);
}

[data-theme="light"] .floating-card .card-desc {
    color: var(--gray-500);
}

[data-theme="light"] .section-tag {
    background: rgba(0, 113, 227, 0.1);
}

[data-theme="light"] .problem {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

[data-theme="light"] .problem-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .problem-card::before {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.25) 0%, rgba(0, 113, 227, 0.15) 50%, transparent 100%);
}

[data-theme="light"] .problem-card::after {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

[data-theme="light"] .problem-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
    box-shadow: 0 25px 60px rgba(220, 38, 38, 0.12), 0 8px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .problem-card:hover::before {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.4) 0%, rgba(0, 113, 227, 0.25) 50%, rgba(220, 38, 38, 0.15) 100%);
}

[data-theme="light"] .problem-card:hover::after {
    background: linear-gradient(135deg, #dc2626 0%, #0066ff 100%);
    color: white;
}

[data-theme="light"] .problem-card h3 {
    color: var(--gray-100);
}

[data-theme="light"] .problem-icon {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(0, 113, 227, 0.08) 100%);
}

/* Light mode: no icon glow, text zoom instead */
[data-theme="light"] .problem-card:hover h3 {
    transform: scale(1.1);
}

[data-theme="light"] .problem-impact {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(0, 113, 227, 0.08) 100%);
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.15);
}

[data-theme="light"] .problem-card:hover .problem-impact {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.18) 0%, rgba(0, 113, 227, 0.15) 100%);
    border-color: rgba(220, 38, 38, 0.3);
}

[data-theme="light"] .problem-flow {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .flow-step {
    background: rgba(255, 255, 255, 0.95);
    color: var(--gray-100);
}

[data-theme="light"] .philosophy {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

[data-theme="light"] .principle-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .principle-card::before {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.25) 0%, rgba(0, 113, 227, 0.15) 50%, transparent 100%);
}

[data-theme="light"] .principle-card::after {
    background: rgba(0, 113, 227, 0.1);
    color: #0066ff;
}

[data-theme="light"] .principle-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
    box-shadow: 0 25px 60px rgba(0, 113, 227, 0.15), 0 8px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .principle-card:hover::before {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.4) 0%, rgba(0, 113, 227, 0.25) 50%, rgba(0, 113, 227, 0.15) 100%);
}

[data-theme="light"] .principle-card:hover::after {
    background: linear-gradient(135deg, #0066ff 0%, #6366f1 100%);
    color: white;
}

[data-theme="light"] .principle-card h3 {
    color: var(--gray-100);
}

[data-theme="light"] .principle-icon {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1) 0%, rgba(0, 113, 227, 0.08) 100%);
}

/* Light mode: no icon glow, text zoom instead */
[data-theme="light"] .principle-card:hover h3 {
    transform: scale(1.1);
}

[data-theme="light"] .principle-sanskrit {
    background: linear-gradient(135deg, #0066ff 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .journey-step {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .philosophy-quote blockquote {
    color: var(--gray-400);
}

[data-theme="light"] .features {
    background: #f8fafc;
}

[data-theme="light"] .feature-number {
    color: #e2e8f0;
}

[data-theme="light"] .feature-title {
    color: var(--gray-100);
}

[data-theme="light"] .sub-node {
    background: #f1f5f9;
}

[data-theme="light"] .level-card,
[data-theme="light"] .timeline-section,
[data-theme="light"] .comparison-card,
[data-theme="light"] .pipeline-stage,
[data-theme="light"] .expert-card {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .level-card:hover,
[data-theme="light"] .timeline-section:hover,
[data-theme="light"] .pipeline-stage:hover,
[data-theme="light"] .expert-card:hover {
    background: rgba(255, 255, 255, 1);
}

[data-theme="light"] .comp-bar {
    background: #e2e8f0;
}

[data-theme="light"] .comp-value {
    color: var(--gray-100);
}

[data-theme="light"] .expert-card h3,
[data-theme="light"] .card-title {
    color: var(--gray-100);
}

[data-theme="light"] .exams {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

[data-theme="light"] .exam-category {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .exam-category:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 16px 48px rgba(0, 113, 227, 0.1);
}

[data-theme="light"] .category-name {
    color: var(--gray-100);
}

[data-theme="light"] .exam-tag {
    background: #f1f5f9;
    color: var(--gray-400);
}

[data-theme="light"] .languages {
    background: #f8fafc;
}

[data-theme="light"] .language-card {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .language-card:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 35px rgba(0, 113, 227, 0.1);
}

[data-theme="light"] .lang-name {
    color: var(--gray-100);
}

[data-theme="light"] .cta {
    background: var(--gradient-primary);
}

[data-theme="light"] .footer {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-bottom {
    border-top: 1px solid #e2e8f0;
    color: var(--gray-500);
}

[data-theme="light"] .footer-social a {
    background: #f1f5f9;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--gray-400);
}

[data-theme="light"] .footer-social a:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--glass-bg-light);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-300);
}

.theme-toggle:hover {
    background: var(--glass-bg);
    border-color: var(--primary-light);
    color: var(--primary-light);
    transform: rotate(15deg);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

[data-theme="light"] .theme-toggle {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--gray-500);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 1);
    color: var(--secondary);
}

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

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

body {
    font-family: var(--font-main);
    background: var(--dark);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 113, 227, 0.04), transparent),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(6, 182, 212, 0.03), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(0, 113, 227, 0.02), transparent);
    color: var(--gray-100);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

/* ===== Screen Reader Only (for AI/LLM crawlers and accessibility) ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Smooth Animation Loading ===== */
/* Use animation-delay to stagger hero animations and prevent glitches */
.hero-eyebrow,
.hero-headline,
.hero-description,
.hero-actions {
    animation-fill-mode: backwards;
}

/* Scroll reveal animations - initially hidden, animated on scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.3);
    position: relative;
    animation: ctaPulse 2.5s ease-in-out infinite;
}

@keyframes ctaPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(0, 113, 227, 0.3);
    }

    50% {
        box-shadow: 0 4px 30px rgba(0, 113, 227, 0.45), 0 0 0 8px rgba(0, 113, 227, 0.12);
    }
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 40px rgba(0, 113, 227, 0.4);
    animation: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gray-600);
    color: var(--gray-100);
}

.btn-outline:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    color: var(--gray-300);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
    position: relative;
    font-weight: 500;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--dark);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* ===== Navigation - Apple Style ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 44px;
    background: rgba(29, 29, 31, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.16);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.16);
}

.navbar.scrolled {
    background: rgba(29, 29, 31, 0.92);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
}

.nav-container {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    padding: 0 22px;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    justify-self: start;
}

.logo-text {
    font-size: 21px;
    font-weight: 500;
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.02em;
    color: #f5f5f7;
}

[data-theme="light"] .logo-text {
    color: #1d1d1f;
}

/* Logo Image Styles */
.logo-img {
    height: 28px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-logo:hover .logo-img {
    transform: scale(1.05);
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 28px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-self: center;
}

.nav-link {
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
}

[data-theme="light"] .nav-link {
    color: rgba(0, 0, 0, 0.8);
}

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

[data-theme="light"] .nav-link:hover {
    color: #000;
}

.nav-link.active {
    color: var(--white);
}

[data-theme="light"] .nav-link.active {
    color: #000;
}

.nav-link::after {
    display: none;
}

.nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-self: end;
}

.nav-cta .btn {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 980px;
    background: #0066ff;
    color: #fff;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);
}

.nav-cta .btn:hover {
    background: #0077ed;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.35);
    transform: translateY(-1px);
}

.nav-cta .theme-toggle {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

[data-theme="light"] .nav-cta .theme-toggle {
    color: rgba(0, 0, 0, 0.8);
}

.nav-cta .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .nav-cta .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.06);
}

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

.nav-toggle span {
    width: 18px;
    height: 1px;
    background: #f5f5f7;
    transition: all 0.3s ease;
}

[data-theme="light"] .nav-toggle span {
    background: #1d1d1f;
}

/* =============================================== */
/* ===== BRAINTRUST-STYLE NAVBAR ===== */
/* =============================================== */

.navbar-braintrust {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 72px;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    transition: all 0.3s ease;
}

.navbar-braintrust.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container-braintrust {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo-braintrust {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.nav-logo-braintrust .logo-img {
    height: 32px;
    width: auto;
}

.logo-text-braintrust {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #1a1a2e;
    letter-spacing: -0.02em;
}

.nav-menu-braintrust {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link-braintrust {
    font-family: var(--font-main);
    font-size: 0.9375rem;
    font-weight: 500;
    color: #4a4a5c;
    transition: color 0.2s ease;
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link-braintrust:hover {
    color: #1a1a2e;
}

.nav-link-braintrust::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0066ff, #6366f1);
    transition: width 0.3s ease;
}

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

.nav-cta-braintrust {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.nav-cta-braintrust .theme-toggle {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    color: #4a4a5c;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.nav-cta-braintrust .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.2);
}

.btn-nav-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: #1a1a2e;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1.5px solid #d1d5db;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-nav-secondary:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: #1a1a2e;
}

.btn-nav-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.25);
}

.btn-nav-primary:hover {
    background: linear-gradient(135deg, #0077ed 0%, #0066ff 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.35);
}

/* Braintrust Navbar Responsive */
@media (max-width: 1024px) {
    .nav-menu-braintrust {
        gap: 1.5rem;
    }

    .nav-link-braintrust {
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .navbar-braintrust {
        height: 64px;
    }

    .nav-container-braintrust {
        padding: 0 1rem;
    }

    .nav-menu-braintrust {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    .nav-menu-braintrust.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-cta-braintrust .btn-nav-secondary,
    .nav-cta-braintrust .btn-nav-primary {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 6rem 0 3rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    animation: float 20s infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    bottom: -100px;
    left: -100px;
    opacity: 0.1;
    animation: float 15s infinite reverse;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    top: 50%;
    left: 50%;
    animation: float 25s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--glass-bg-light);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(0, 113, 227, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.15);
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-family: var(--font-display);
    margin-bottom: 2rem;
}

.hero-title .sanskrit {
    display: block;
    font-size: 3.75rem;
    font-weight: 800;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.35;
    padding-top: 0.15em;
    filter: drop-shadow(0 4px 30px rgba(0, 113, 227, 0.35));
    text-shadow: 0 4px 30px rgba(0, 113, 227, 0.3);
}

.hero-title .translation {
    display: block;
    font-size: 1.5rem;
    color: var(--gray-400);
    font-weight: 500;
    margin: 0.5rem 0;
}

.hero-title .tagline {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 540px;
}

.hero-subtitle strong {
    color: var(--white);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

/* ===== Apple-Style Hero (Refined) ===== */
/* ===== HERO SECTION - Premium Redesign ===== */
.hero-apple {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
    background: linear-gradient(180deg, #0a0a0f 0%, #0d0d14 50%, #0f0f18 100%);
}

/* Animated Gradient Orbs */
.hero-apple::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, rgba(0, 113, 227, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: orbFloat1 15s ease-in-out infinite;
    pointer-events: none;
}

.hero-apple::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.12) 0%, rgba(0, 113, 227, 0.04) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat2 18s ease-in-out infinite;
    pointer-events: none;
}

/* Third accent orb */
.hero-content-apple::before {
    content: '';
    position: absolute;
    top: 30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(88, 86, 214, 0.12) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(60px);
    animation: orbFloat3 12s ease-in-out infinite;
    pointer-events: none;
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -40px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(40px, 30px) scale(1.02);
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-40px, 30px) scale(1.08);
    }

    66% {
        transform: translate(30px, -20px) scale(0.92);
    }
}

@keyframes orbFloat3 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, 40px);
    }
}

/* Particle Grid Background */
.hero-apple .container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
    pointer-events: none;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

.hero-apple .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

.hero-content-apple {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Eyebrow Text - Enhanced */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    opacity: 0;
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-eyebrow::before {
    content: '✦';
    font-size: 0.75rem;
    color: #2997ff;
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.8);
    }
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Main Headline */
.hero-headline {
    font-family: var(--font-display);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

/* Hindi Text - Glowing Gradient */
.hero-gradient {
    display: block;
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 800;
    background: linear-gradient(135deg,
            #0066ff 0%,
            #2997ff 25%,
            #64d2ff 50%,
            #2997ff 75%,
            #0066ff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
    letter-spacing: -0.04em;
    padding-top: 0.25em;
    padding-bottom: 0.1em;
    position: relative;
    animation: gradientShift 6s ease-in-out infinite;
    filter: drop-shadow(0 0 60px rgba(0, 113, 227, 0.4));
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Translation Text - Refined */
.hero-translation {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.2em;
    margin-top: 1rem;
    text-transform: uppercase;
}

.hero-translation::before,
.hero-translation::after {
    content: '';
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Subhead - Bold & Dynamic */
.hero-subhead {
    display: block;
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 600;
    color: #ffffff;
    margin-top: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
}

.hero-subhead::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0066ff, #6366f1);
    margin: 1.5rem auto 0;
    border-radius: 2px;
    animation: lineGrow 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
    transform: scaleX(0);
}

@keyframes lineGrow {
    to {
        transform: scaleX(1);
    }
}

/* Secondary headline - smaller text */
.hero-secondary {
    display: block;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
    opacity: 0;
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}



/* Tagline - Emphasis text between headline and description */
.hero-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

/* Description Text - Enhanced */
.hero-description {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    max-width: 680px;
    line-height: 1.7;
    letter-spacing: 0.01em;
    margin-bottom: 3.5rem;
    opacity: 0;
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

/* Highlighted words in description */
.hero-description strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Typing cursor effect */
.hero-description.typing::after {
    content: '|';
    color: var(--primary-light);
    animation: blink 0.7s infinite;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}


/* Mission Statement Section */
.mission-statement {
    padding: 2rem 0 6rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.mission-tagline {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-description {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.6;
    color: var(--gray-400);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

.mission-description strong {
    color: var(--white);
    font-weight: 500;
}

/* Light Mode Support */
[data-theme="light"] .mission-tagline {
    background: linear-gradient(135deg, #1d1d1f 0%, #424245 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .mission-description {
    color: var(--gray-600);
}

[data-theme="light"] .mission-description strong {
    color: #1d1d1f;
}


/* Apple-Style Action Buttons - Enhanced */
.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

/* Primary Button - Gradient with Glow */
.btn-apple-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    text-decoration: none;
    min-width: 200px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(0, 113, 227, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.btn-apple-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-apple-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 30px rgba(0, 113, 227, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.btn-apple-primary:hover::before {
    opacity: 1;
}

.btn-apple-primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Link Button - Enhanced */
.btn-apple-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    background: transparent;
    padding: 0.75rem 1.25rem;
    border-radius: 100px;
}

.btn-apple-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-apple-link svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-apple-link:hover svg {
    transform: translateX(4px);
}

/* ===== Light Mode Hero ===== */
[data-theme="light"] .hero-apple {
    background: linear-gradient(180deg, #fefefe 0%, #f8f9fa 50%, #f1f3f5 100%);
}

[data-theme="light"] .hero-apple::before {
    background: radial-gradient(circle, rgba(0, 113, 227, 0.08) 0%, rgba(0, 113, 227, 0.02) 40%, transparent 70%);
    filter: blur(80px);
}

[data-theme="light"] .hero-apple::after {
    background: radial-gradient(circle, rgba(0, 113, 227, 0.06) 0%, rgba(0, 113, 227, 0.02) 40%, transparent 70%);
    filter: blur(100px);
}

[data-theme="light"] .hero-content-apple::before {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 60%);
}

[data-theme="light"] .hero-apple .container::before {
    background-image:
        radial-gradient(circle at center, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

[data-theme="light"] .hero-eyebrow {
    color: rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-gradient {
    filter: drop-shadow(0 0 40px rgba(0, 113, 227, 0.15));
}

[data-theme="light"] .hero-translation {
    color: rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .hero-translation::before,
[data-theme="light"] .hero-translation::after {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);
}

[data-theme="light"] .hero-subhead {
    color: #1a1a1a;
}

[data-theme="light"] .hero-secondary {
    color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .hero-tagline {
    color: rgba(0, 0, 0, 0.75);
}

[data-theme="light"] .hero-description {
    color: rgba(0, 0, 0, 0.55);
}

[data-theme="light"] .btn-apple-primary {
    box-shadow:
        0 4px 20px rgba(0, 113, 227, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.05) inset;
}

[data-theme="light"] .btn-apple-primary:hover {
    box-shadow:
        0 8px 30px rgba(0, 113, 227, 0.35),
        0 0 0 1px rgba(0, 0, 0, 0.08) inset;
}

[data-theme="light"] .btn-apple-link {
    color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .btn-apple-link:hover {
    color: #1a1a1a;
    background: rgba(0, 0, 0, 0.04);
}

/* ===== Responsive Hero ===== */
@media (max-width: 768px) {
    .hero-apple {
        padding: 7rem 0 5rem;
    }

    .hero-apple::before,
    .hero-apple::after,
    .hero-content-apple::before {
        width: 300px;
        height: 300px;
    }

    .hero-eyebrow {
        font-size: 0.75rem;
        padding: 0.625rem 1.25rem;
        margin-bottom: 2rem;
    }

    .hero-gradient {
        filter: drop-shadow(0 0 40px rgba(0, 113, 227, 0.2));
    }

    .hero-translation {
        font-size: 0.875rem;
        gap: 0.75rem;
    }

    .hero-translation::before,
    .hero-translation::after {
        width: 25px;
    }

    .hero-subhead::after {
        width: 60px;
        height: 2px;
    }

    .hero-description {
        font-size: 1.0625rem;
        padding: 0 1rem;
        margin-bottom: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1.5rem;
    }

    .btn-apple-primary {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
    }

    .btn-apple-link {
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-apple {
        padding: 6rem 0 4rem;
    }

    .hero-eyebrow {
        font-size: 0.6875rem;
        letter-spacing: 0.05em;
    }

    .hero-translation {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-translation::before,
    .hero-translation::after {
        display: none;
    }
}

/* =============================================== */
/* ===== BRAINTRUST-STYLE HERO SECTION ===== */
/* =============================================== */

.hero-braintrust {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0 5rem;
    overflow: hidden;
}

/* Gradient Background - Premium Indigo/Blue Wisdom Theme */
.hero-gradient-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg,
            #f5f7ff 0%,
            #eef2ff 25%,
            #e0e7ff 50%,
            #eef2ff 75%,
            #f5f7ff 100%);
}

/* Premium gradient overlay with subtle color accents */
.hero-gradient-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(0, 102, 255, 0.1), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(99, 102, 241, 0.08), transparent);
    pointer-events: none;
    animation: heroGradientPulse 8s ease-in-out infinite alternate;
}

@keyframes heroGradientPulse {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Subtle noise texture overlay */
.hero-gradient-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-50px, 50px) scale(1.1);
    }
}

.hero-braintrust .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1400px;
    padding: 0 2rem;
}

.hero-content-braintrust {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Main Headline - Large Serif Style like reference */
.hero-headline-braintrust {
    font-family: 'Georgia', 'Times New Roman', serif;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Line 1: "AI-Powered preparation the Way" */
.headline-line1 {
    display: block;
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 500;
    color: #1a1a2e;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 0.1em;
}

/* Line 2: Outer container - full width, centers the wrapper */
.headline-line2 {
    display: flex;
    justify-content: center;
    width: 100%;
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 500;
    color: #1a1a2e;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 0.1em;
    padding-left: 260px;
    /* Shift 2nd line further to the right */
}

/* Inner wrapper - Flexible width */
.headline-line2-wrapper {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25em;
    width: auto;
    max-width: 100%;
}

/* Keep old class for compatibility */
.headline-line2-inner {
    display: none;
}

/* "in the Way" prefix - inline, no absolute positioning */
.headline-prefix {
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Group wrapper for "You" + Typing - keeps them together */
.headline-you-group {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
}

/* "You" - inline, sits right after prefix with small gap */
.headline-you {
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 0.15em;
}

/* Typing container - Dynamic width based on character count (approx 16-18 chars) */
.typing-container {
    display: inline-block;
    white-space: nowrap;
    /* 17ch fits "Understand Best." comfortable in most fonts */
    width: 17ch;
    text-align: left;
    margin-left: 0.25em;
}

/* Mobile Responsive: Allow wrapping on small screens */
@media (max-width: 600px) {
    .headline-line2 {
        flex-direction: column;
        line-height: 1.2;
        padding-left: 0;
        /* Reset padding for mobile */
    }

    .headline-line2-wrapper {
        flex-wrap: wrap;
    }
}

/* The animated typed text with gradient */
.typed-text {
    display: inline;
    background: linear-gradient(90deg,
            #f97316 0%,
            #ec4899 25%,
            #8b5cf6 50%,
            #06b6d4 75%,
            #10b981 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: wordGradient 4s ease-in-out infinite;
    font-style: italic;
}

/* Typing cursor */
.typing-cursor {
    display: inline;
    font-style: normal;
    font-weight: 300;
    color: #8b5cf6;
    animation: blink 0.8s infinite step-end;
    margin-left: 2px;
}

/* Line 3: Tagline in Serif font (looks like part of headline) */
.headline-line3 {
    display: block;
    width: 100%;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: #2e2e42;
    letter-spacing: 0.01em;
    margin-top: 0.75em;
    text-align: center;
    line-height: 1.5;
}

/* Keep old classes hidden for backwards compatibility */
.headline-main,
.headline-animated,
.word-cycle,
.hero-tagline-static {
    display: none !important;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    50.01%,
    100% {
        opacity: 0;
    }
}

@keyframes wordGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}


/* Subtitle - Clean and centered */
.hero-subtitle-braintrust {
    font-family: var(--font-main);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-weight: 400;
    color: #4b5563;
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.15s both;
}

/* CTA Buttons - matching reference proportions */
.hero-actions-braintrust {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 5rem;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn-braintrust-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    background: #1a1a2e;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    min-width: 160px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.btn-braintrust-primary:hover {
    background: #2d2d44;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.btn-braintrust-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    background: #ffffff;
    color: #1a1a2e;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #d1d5db;
    text-decoration: none;
    min-width: 160px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-braintrust-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ===== BADGES ROW - Award/Trust Style like reference ===== */
.hero-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 0;
    padding: 0 1rem;
    animation: fadeInUp 0.8s ease-out 0.45s both;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0.875rem 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    min-width: 100px;
    max-width: 120px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Top accent bar for badges */
.badge-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #6b7280;
}

/* Color variants for badge accent bars */
.badge-item:nth-child(1)::before {
    background: #6b7280;
}

.badge-item:nth-child(2)::before {
    background: #f97316;
    /* Orange */
}

.badge-item:nth-child(3)::before {
    background: #fbbf24;
    /* Yellow */
}

.badge-item:nth-child(4)::before {
    background: #f97316;
    /* Orange */
}

.badge-item:nth-child(5)::before {
    background: #fbbf24;
    /* Yellow */
}

.badge-item:nth-child(6)::before {
    background: #3b82f6;
    /* Blue */
}

.badge-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.badge-icon {
    font-size: 1.5rem;
    margin-bottom: 0.375rem;
    line-height: 1;
}

.badge-tag {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 700;
    color: #6b7280;
    background: #f3f4f6;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    margin-bottom: 0.375rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
}

.badge-rating {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a2e;
}

.badge-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
    text-align: center;
}

.badge-label {
    font-size: 0.65rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-special {
    background: #ffffff;
    border-color: rgba(59, 130, 246, 0.2);
}

.badge-special::before {
    background: #3b82f6;
}

.badge-icon-special {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.badge-special-text {
    font-size: 0.7rem;
    font-weight: 600;
    color: #3b82f6;
    text-align: center;
    line-height: 1.2;
}

/* Hide Trusted By Section - badges are enough */
.hero-trusted-section {
    display: none;
}

.trusted-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.trusted-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

.exam-logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.exam-logo:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.exam-logo.more {
    background: linear-gradient(135deg, #0066ff, #6366f1);
    color: #ffffff;
    border: none;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ===== BRAINTRUST HERO RESPONSIVE ===== */
@media (max-width: 1024px) {
    .headline-line2 {
        margin-left: 0;
        flex-wrap: wrap;
    }

    .hero-badges-row {
        gap: 0.75rem;
    }

    .badge-item {
        min-width: 85px;
        max-width: 110px;
        padding: 0.75rem 0.875rem;
    }

    .hero-braintrust .container {
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .hero-braintrust {
        padding: 7rem 0 4rem;
        min-height: auto;
    }

    .hero-braintrust .container {
        padding: 0 1.5rem;
    }

    /* Line 1 & 2 mobile sizing */
    .headline-line1,
    .headline-line2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    /* Smaller wrapper for mobile */
    .headline-line2-wrapper {
        width: 550px;
        height: 1.3em;
    }

    .typing-container {
        width: 180px;
    }

    /* Tagline mobile sizing */
    .headline-line3 {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
    }

    .hero-subtitle-braintrust {
        font-size: 1rem;
        padding: 0 0.5rem;
        max-width: 100%;
    }

    .hero-subtitle-braintrust br {
        display: none;
    }

    .hero-actions-braintrust {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        padding: 0;
        margin-bottom: 3.5rem;
    }

    .btn-braintrust-primary,
    .btn-braintrust-secondary {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
    }

    .hero-badges-row {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .badge-item {
        min-width: 75px;
        max-width: 100px;
        padding: 0.625rem 0.75rem;
    }

    .badge-icon {
        font-size: 1.25rem;
    }

    .badge-tag {
        font-size: 0.5rem;
        padding: 0.125rem 0.35rem;
    }

    .badge-rating,
    .badge-title {
        font-size: 0.7rem;
    }

    .badge-label {
        font-size: 0.55rem;
    }

    .badge-icon-special {
        font-size: 1.5rem;
    }

    .badge-special-text {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .hero-braintrust {
        padding: 6rem 0 3rem;
    }

    .hero-braintrust .container {
        padding: 0 1rem;
    }

    /* Smaller headline on tiny screens */
    .headline-line1,
    .headline-line2 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    /* Mobile: Stack elements vertically */
    .headline-line2-wrapper {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: center;
        gap: 0.1em;
        display: flex;
    }

    /* "in the Way" on its own line */
    .headline-prefix {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }

    /* "You" group centered on next line - keeps "You" + typing inline */
    .headline-you-group {
        width: 100%;
        justify-content: center;
    }

    /* Reset margins */
    .headline-you {
        margin-left: 0;
    }

    .typing-container {
        width: 150px;
    }

    .headline-line3 {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }

    .hero-subtitle-braintrust {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    .hero-actions-braintrust {
        margin-bottom: 3rem;
    }

    .hero-badges-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    /* Text Reflow Logic */
    .mobile-text {
        display: inline !important;
    }

    .desktop-text {
        display: none !important;
    }

    .badge-item {
        min-width: auto;
        max-width: none;
        padding: 0.5rem;
    }

    .badge-item::before {
        height: 2px;
    }
}

/* Default Visibility */
.mobile-text {
    display: none;
}




.hero-stats {
    display: flex;
    gap: 3rem;
    padding: 2rem 2.5rem;
    background: rgba(0, 113, 227, 0.08);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 113, 227, 0.15);
    margin-top: 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 113, 227, 0.08);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--white);
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.1);
}

.stat-plus,
.stat-unit {
    font-size: 1.75rem;
    color: var(--primary-light);
    font-weight: 700;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    background: var(--gray-700);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-phone {
    position: relative;
    z-index: 2;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: var(--glass-bg-dark);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 60px rgba(0, 113, 227, 0.2),
        0 0 100px rgba(0, 113, 227, 0.1);
    border: 1px solid var(--glass-border);
    animation: phoneGlow 4s ease-in-out infinite alternate;
}

@keyframes phoneGlow {
    0% {
        box-shadow:
            0 25px 60px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 60px rgba(0, 113, 227, 0.2),
            0 0 100px rgba(0, 113, 227, 0.1);
    }

    100% {
        box-shadow:
            0 25px 60px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 80px rgba(0, 113, 227, 0.3),
            0 0 120px rgba(6, 182, 212, 0.15);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--gray-900) 0%, rgba(13, 19, 33, 0.95) 100%);
    border-radius: 32px;
    overflow: hidden;
    padding: 1.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.app-demo {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}

.demo-user {
    color: var(--primary-light);
    font-weight: 600;
}

.demo-exam {
    color: var(--gray-500);
}

.demo-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 113, 227, 0.1);
    border-radius: var(--radius);
}

.progress-ring {
    position: relative;
    width: 80px;
    height: 80px;
}

.progress-ring svg {
    transform: rotate(-90deg);
}

.progress-bg {
    fill: none;
    stroke: var(--gray-700);
    stroke-width: 8;
}

.progress-fill {
    fill: none;
    stroke: url(#progressGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: calc(283 - (283 * var(--progress)) / 100);
    transition: stroke-dashoffset 1s ease;
}

.progress-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.progress-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mini-stat {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}

.mini-stat-value {
    color: var(--white);
    font-weight: 600;
}

.mini-stat-label {
    color: var(--gray-500);
}

.demo-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.demo-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    background: var(--gray-800);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.card-text {
    flex: 1;
    color: var(--gray-200);
}

.card-arrow {
    color: var(--gray-500);
}

.card-quiz {
    border-left: 3px solid var(--success);
}

.card-revision {
    border-left: 3px solid var(--warning);
}

/* Floating Cards - Glassmorphism */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--glass-bg-light);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border-light);
    animation: floatCard 6s ease-in-out infinite;
    opacity: 0.75;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.floating-card:hover {
    opacity: 1;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.card-ai {
    top: 35%;
    right: 0;
    animation-delay: -2s;
    z-index: 3;
}

.card-track {
    bottom: 30%;
    left: -40px;
    animation-delay: -4s;
    z-index: 3;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.card-emoji {
    font-size: 2rem;
}

.card-title {
    font-weight: 600;
    color: var(--white);
    font-size: 0.9rem;
}

.card-desc {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.875rem;
    transition: var(--transition);
}

.hero-scroll a:hover {
    color: var(--gray-300);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray-600);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4rem;
}

.section-header.light {
    color: var(--white);
}

.section-tag {
    display: inline-block;
    background: rgba(0, 113, 227, 0.2);
    color: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-title .highlight {
    color: var(--secondary);
}

.section-title .sanskrit-large {
    display: block;
    font-size: 3.5rem;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    padding-top: 0.15em;
}

.section-title .hindi {
    display: block;
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* Translation text inside section-title (for philosophy section) */
.section-title .hero-translation {
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.15em;
    margin: 0.75rem 0;
    text-transform: uppercase;
}

.section-title .hero-translation::before,
.section-title .hero-translation::after {
    display: none;
}

[data-theme="light"] .section-title .hero-translation {
    color: rgba(0, 0, 0, 0.5);
}


.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
}

/* ===== Problem Section ===== */
.problem {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--gray-900) 50%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

/* ===== Problem Section - Apple Style ===== */
.problem-apple {
    padding: 10rem 0;
    background: var(--gray-900);
    position: relative;
    overflow: hidden;
}

.problem-apple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100%;
    background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(239, 68, 68, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.problem-apple::after {
    display: none;
}

/* Apple-style Header */
.problem-header-apple {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3.5rem;
}

.problem-eyebrow {
    font-size: 0.875rem;
    font-weight: 400;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.problem-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.problem-stat {
    color: #FF453A;
}

.problem-subtext {
    font-size: 1.125rem;
    font-weight: 400;
    color: #86868b;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Apple-style Grid */
.problem-grid-apple {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: 440px;
    gap: 2rem;
    overflow-x: auto;
    padding: 1.75rem 1rem 3rem;
    margin: 0 -1rem;
    /* Negative margin to pull scroll to edges on mobile if needed */
    scroll-snap-type: x mandatory;
    /* Hide scrollbar for cleaner look */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.problem-grid-apple::-webkit-scrollbar {
    display: none;
}

/* Apple-style Cards */
.problem-card-apple {
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 1.25rem 2.5rem 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.problem-card-apple:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

/* Card Header with Emoji and Meta */
.problem-card-apple .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.problem-icon-emoji {
    font-size: 2rem;
    line-height: 1;
    opacity: 0.85;
}

.problem-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.problem-stage {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    background: rgba(255, 69, 58, 0.1);
    color: rgba(255, 69, 58, 0.8);
}

/* Stage-specific colors - subtle */
.problem-stage.barrier {
    background: rgba(59, 130, 246, 0.08);
    color: rgba(59, 130, 246, 0.85);
}

.problem-stage.overwhelm {
    background: rgba(168, 85, 247, 0.08);
    color: rgba(168, 85, 247, 0.85);
}

.problem-stage.mismatch {
    background: rgba(245, 158, 11, 0.08);
    color: rgba(245, 158, 11, 0.85);
}

.problem-stage.waste {
    background: rgba(239, 68, 68, 0.08);
    color: rgba(239, 68, 68, 0.85);
}

.problem-stage.memory {
    background: rgba(236, 72, 153, 0.08);
    color: rgba(236, 72, 153, 0.85);
}

.problem-stage.stuck {
    background: rgba(0, 113, 227, 0.08);
    color: rgba(0, 113, 227, 0.85);
}

.problem-stage.shallow {
    background: rgba(99, 102, 241, 0.08);
    color: rgba(99, 102, 241, 0.85);
}

.problem-stage.blind {
    background: rgba(20, 184, 166, 0.08);
    color: rgba(20, 184, 166, 0.85);
}

.problem-stage.speed {
    background: rgba(234, 179, 8, 0.08);
    color: rgba(234, 179, 8, 0.85);
}

.problem-stage.fear {
    background: rgba(239, 68, 68, 0.08);
    color: rgba(239, 68, 68, 0.85);
}

.problem-stage.burnout {
    background: rgba(220, 38, 38, 0.1);
    color: rgba(220, 38, 38, 0.85);
}

.problem-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-display);
}

.problem-card-apple .card-body {
    margin-bottom: 1.25rem;
}

.problem-card-apple h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.problem-card-apple p {
    font-size: 1.1rem;
    font-weight: 400;
    color: #86868b;
    line-height: 1.5;
    margin: 0;
}

.problem-card-apple .card-footer {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.problem-loss {
    display: block;
    color: #FF453A;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

/* Light Mode - Problem Apple */
[data-theme="light"] .problem-apple {
    background: #f5f5f7;
}

[data-theme="light"] .problem-apple::before {
    background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(239, 68, 68, 0.03) 0%, transparent 60%);
}

[data-theme="light"] .problem-eyebrow {
    color: #6e6e73;
}

[data-theme="light"] .problem-headline {
    color: #1d1d1f;
}

[data-theme="light"] .problem-stat {
    color: #FF3B30;
}

[data-theme="light"] .problem-subtext {
    color: #6e6e73;
}

[data-theme="light"] .problem-card-apple {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .problem-card-apple:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .problem-number {
    color: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .problem-card-apple h3 {
    color: #1d1d1f;
}

[data-theme="light"] .problem-card-apple p {
    color: #6e6e73;
}

[data-theme="light"] .problem-card-apple .card-footer {
    border-top-color: rgba(0, 0, 0, 0.06);
}

/* Responsive - Problem Apple */
@media (max-width: 1024px) {
    .problem-grid-apple {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .problem-apple {
        padding: 6rem 0;
    }

    .problem-header-apple {
        margin-bottom: 3rem;
    }

    .problem-eyebrow {
        font-size: 0.875rem;
    }

    .problem-subtext {
        font-size: 1.125rem;
    }

    .problem-grid-apple {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .problem-card-apple {
        padding: 1.5rem;
    }
}

.problem::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(239, 68, 68, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.problem::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(ellipse, rgba(0, 113, 227, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.problem-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid transparent;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

/* Gradient border effect */
.problem-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3) 0%, rgba(0, 113, 227, 0.15) 50%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: var(--transition);
}

/* Numbered badge */
.problem-card::after {
    content: attr(data-number);
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-display);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 25px 60px rgba(239, 68, 68, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.problem-card:hover::before {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.5) 0%, rgba(0, 113, 227, 0.3) 50%, rgba(239, 68, 68, 0.2) 100%);
}

.problem-card:hover::after {
    background: linear-gradient(135deg, var(--danger) 0%, var(--secondary) 100%);
    color: var(--white);
    transform: scale(1.1);
}

/* Card-specific accent colors */
.problem-card:nth-child(1):hover {
    --card-glow: rgba(239, 68, 68, 0.3);
}

.problem-card:nth-child(2):hover {
    --card-glow: rgba(0, 113, 227, 0.3);
}

.problem-card:nth-child(3):hover {
    --card-glow: rgba(234, 179, 8, 0.3);
}

.problem-card:nth-child(4):hover {
    --card-glow: rgba(239, 68, 68, 0.3);
}

.problem-card:nth-child(5):hover {
    --card-glow: rgba(0, 113, 227, 0.3);
}

.problem-card:nth-child(6):hover {
    --card-glow: rgba(234, 179, 8, 0.3);
}

.problem-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(0, 113, 227, 0.1) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    position: relative;
    transition: var(--transition);
}

.problem-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3) 0%, transparent 100%);
    border-radius: inherit;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.problem-card:hover .problem-icon::before {
    opacity: 0;
}

.problem-card:hover h3 {
    transform: scale(1.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    color: var(--white);
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    line-height: 1.3;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.problem-card p {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.problem-impact {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(0, 113, 227, 0.1) 100%);
    color: var(--danger);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(239, 68, 68, 0.2);
    transition: var(--transition);
}

.problem-card:hover .problem-impact {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(0, 113, 227, 0.2) 100%);
    border-color: rgba(239, 68, 68, 0.4);
}

.problem-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.flow-step {
    padding: 1rem 1.5rem;
    background: var(--glass-bg-light);
    border-radius: var(--radius);
    font-weight: 600;
    border: 2px solid var(--glass-border-light);
    transition: var(--transition);
}

.flow-step:hover {
    transform: translateY(-2px);
}

.flow-step.warning {
    border-color: var(--warning);
    color: var(--warning);
}

.flow-step.danger {
    border-color: var(--danger);
    color: var(--danger);
}

.flow-arrow {
    color: var(--gray-600);
    font-size: 1.5rem;
}

/* ===== Philosophy Section ===== */
.philosophy {
    padding: 8rem 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.philosophy::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.philosophy::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(0, 113, 227, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.philosophy-principles {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.principle-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid transparent;
    border-radius: var(--radius-xl);
    padding: 2.5rem 1.75rem 2rem;
    text-align: center;
    width: 200px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

/* Gradient border effect */
.principle-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.4) 0%, rgba(0, 113, 227, 0.2) 50%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: var(--transition);
}

/* Numbered sequence badge */
.principle-card::after {
    content: attr(data-step);
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 113, 227, 0.15);
    color: var(--primary-light);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-display);
    transition: var(--transition);
}

.principle-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow:
        0 25px 60px rgba(0, 113, 227, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.principle-card:hover::before {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.6) 0%, rgba(0, 113, 227, 0.4) 50%, rgba(0, 113, 227, 0.3) 100%);
}

.principle-card:hover::after {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    transform: scale(1.1);
}

.principle-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.15) 0%, rgba(0, 113, 227, 0.1) 100%);
    border-radius: 50%;
    margin: 0 auto 1rem;
    position: relative;
    transition: var(--transition);
}

.principle-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.4) 0%, rgba(0, 113, 227, 0.3) 100%);
    border-radius: inherit;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
    filter: blur(8px);
}

.principle-card:hover .principle-icon::before {
    opacity: 0;
}

.principle-card:hover h3 {
    transform: scale(1.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.principle-sanskrit {
    font-size: 1.4rem;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.625rem;
    font-weight: 700;
    line-height: 1.4;
    padding-top: 0.1em;
}

.principle-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.625rem;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.principle-card p {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.5;
}

.philosophy-journey {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.journey-step {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    min-width: 220px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.journey-step.tark {
    border: 2px solid var(--secondary);
}

.journey-step.vitark {
    border: 2px solid var(--accent);
}

.journey-step.mastery {
    border: 2px solid var(--success);
}

.step-label {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    padding-top: 0.1em;
}

.tark .step-label {
    color: var(--secondary);
}

.vitark .step-label {
    color: var(--accent);
}

.mastery .step-label {
    color: var(--success);
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-item {
    font-size: 0.9rem;
    color: var(--gray-300);
}

.journey-arrow {
    display: flex;
    align-items: center;
    color: var(--gray-600);
}

.journey-arrow svg {
    width: 32px;
    height: 32px;
}

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

.philosophy-quote blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--gray-300);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding: 0 2rem;
}

.philosophy-quote blockquote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.5;
    font-family: serif;
}

/* ===== Features Section ===== */
.features {
    padding: 6rem 0;
    background: var(--dark);
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Special layout for feature-unified: content on top, visual left, example right below */
#feature-unified {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 2rem 4rem;
    align-items: stretch;
}

#feature-unified .feature-content {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

#feature-unified .feature-visual {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}

#feature-unified .feature-example {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: stretch;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse>* {
    direction: ltr;
}

.feature-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--gray-800);
    font-family: var(--font-display);
    line-height: 1;
}

.feature-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.feature-tagline {
    color: var(--primary-light);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.feature-desc {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-300);
}

.check {
    color: var(--success);
    font-weight: bold;
}

/* Feature Visuals */
.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.center-node {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    margin-bottom: 2rem;
    display: inline-block;
}

.tree-branches {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.branch {
    text-align: center;
}

.branch-node {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-bottom: 1rem;
}

.branch-node.banking {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.branch-node.ssc {
    background: rgba(234, 179, 8, 0.2);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.4);
}

.branch-node.railway {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.sub-branches {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sub-node {
    font-size: 0.85rem;
    color: var(--gray-400);
    padding: 0.375rem 0.75rem;
    background: var(--gray-800);
    border-radius: var(--radius-sm);
}

.level-cards {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.level-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    width: 160px;
    border: 2px solid transparent;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.level-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.level-card.beginner {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.1);
}

.level-card.intermediate {
    border-color: rgba(234, 179, 8, 0.5);
    box-shadow: 0 4px 20px rgba(234, 179, 8, 0.1);
}

.level-card.advanced {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.1);
}

.level-badge {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.level-card ul {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.level-card li {
    padding: 0.25rem 0;
}

.timeline-visual {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.timeline-section {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    min-width: 160px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: var(--transition);
}

.timeline-section:hover {
    transform: translateY(-4px);
    background: var(--glass-bg-light);
}

.timeline-section.past {
    border: 1px solid rgba(96, 165, 250, 0.4);
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.1);
}

.timeline-section.present {
    border: 1px solid rgba(0, 113, 227, 0.4);
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.1);
}

.timeline-section.future {
    border: 1px solid rgba(34, 197, 94, 0.4);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.1);
}

.timeline-label {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.past .timeline-label {
    color: #60a5fa;
}

.present .timeline-label {
    color: var(--secondary);
}

.future .timeline-label {
    color: var(--success);
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-300);
}

.quiz-comparison {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.comparison-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    width: 100%;
    max-width: 280px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.comparison-card:hover {
    transform: translateY(-4px);
    background: var(--glass-bg-light);
}

.comparison-card.you {
    border: 2px solid rgba(6, 182, 212, 0.5);
    box-shadow: 0 4px 24px rgba(6, 182, 212, 0.15);
}

.comparison-card.global {
    border: 2px solid var(--glass-border-light);
}

.comparison-header {
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.you .comparison-header {
    color: var(--accent);
}

.global .comparison-header {
    color: var(--gray-400);
}

.comparison-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comp-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.comp-label {
    width: 60px;
    color: var(--gray-500);
}

.comp-bar {
    flex: 1;
    height: 6px;
    background: var(--gray-700);
    border-radius: 3px;
    overflow: hidden;
}

.comp-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.comp-value {
    width: 50px;
    text-align: right;
    color: var(--white);
    font-weight: 600;
}

.comparison-result {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.result-icon {
    font-size: 1.25rem;
}

.auto-fix-demo {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.auto-fix-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.auto-fix-item .old {
    color: var(--gray-500);
    text-decoration: line-through;
}

.auto-fix-item .arrow {
    color: var(--gray-600);
}

.auto-fix-item .new {
    color: var(--success);
    font-weight: 500;
}

.ml-pipeline {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pipeline-stage {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    min-width: 150px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.pipeline-stage:hover {
    transform: translateY(-4px);
    background: var(--glass-bg-light);
}

.pipeline-stage.capture {
    border: 2px solid rgba(6, 182, 212, 0.5);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.1);
}

.pipeline-stage.detect {
    border: 2px solid rgba(0, 113, 227, 0.5);
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.1);
}

.pipeline-stage.fix {
    border: 2px solid rgba(34, 197, 94, 0.5);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.1);
}

.stage-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stage-label {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.capture .stage-label {
    color: var(--accent);
}

.detect .stage-label {
    color: var(--secondary);
}

.fix .stage-label {
    color: var(--success);
}

.stage-items {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--gray-400);
}

.pipeline-arrow {
    display: flex;
    align-items: center;
    color: var(--gray-600);
    font-size: 1.5rem;
    font-weight: bold;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.expert-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.expert-card:hover {
    border-color: rgba(167, 139, 250, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 113, 227, 0.2);
    background: var(--glass-bg-light);
}

.expert-card:hover .expert-name {
    transform: scale(1.1);
}

.expert-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.expert-name {
    display: block;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
    padding-top: 0.1em;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.expert-domain {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ===== Feature Examples ===== */
.feature-example {
    margin-top: 1rem;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    position: relative;
    overflow: visible;
}

.feature-example::before {
    display: none;
}

.example-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

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

.example-title {
    font-weight: 600;
    color: var(--primary-light);
    font-size: 0.95rem;
}

/* Scenario Before/After */
.example-scenario {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    flex-wrap: wrap;
    min-height: 400px;
}

.scenario-before,
.scenario-after {
    flex: 1;
    min-width: 200px;
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    background: var(--glass-bg);
    display: flex;
    flex-direction: column;
}

.scenario-before {
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.scenario-after {
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.scenario-label {
    display: block;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.scenario-before .scenario-label {
    color: var(--danger);
}

.scenario-after .scenario-label {
    color: var(--success);
}

/* Table-style layout */
.scenario-table {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.table-header {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 2px solid var(--glass-border);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    height: 50px;
    align-items: center;
}

.table-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.table-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border-light);
    height: 90px;
}

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

.col-exam {
    font-size: 1.1rem;
    color: var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.topic-desc {
    display: inline;
    font-size: 0.85rem;
    color: var(--gray-400);
    font-weight: 400;
    white-space: nowrap;
}

.exam-count {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.col-time {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    text-align: right;
    min-width: 80px;
}

.table-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    margin-top: auto;
    border-top: 2px solid var(--glass-border);
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    gap: 0.5rem;
    height: 70px;
}

.table-total .col-exam,
.table-total .col-time {
    white-space: nowrap;
    font-size: 1rem;
    display: inline-block;
    flex-direction: row;
}

.table-total.bad {
    color: var(--danger);
}

.table-total.bad .col-time {
    color: var(--danger);
}

.table-total.good {
    color: var(--success);
}

.table-total.good .col-time {
    color: var(--success);
}

.scenario-note {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scenario-note.bad {
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: var(--danger);
}

.scenario-note.good {
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: var(--success);
}

/* Keep old styles for backwards compatibility */
.scenario-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.scenario-item {
    font-size: 1.05rem;
    color: var(--gray-300);
    padding: 0.75rem 0;
    line-height: 1.7;
}

.scenario-total {
    font-weight: 700;
    font-size: 1.15rem;
    margin-top: auto;
    padding-top: 1.25rem;
    padding-bottom: 0.75rem;
    border-top: 1px solid var(--glass-border);
}

.scenario-total.bad {
    color: var(--danger);
}

.scenario-total.good {
    color: var(--success);
}

.scenario-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-light);
    font-weight: bold;
}

/* ===== Example Animation Styles ===== */

/* Make items visible by default (animation disabled) */
#priya-example .animate-item {
    opacity: 1;
    transform: translateY(0);
}

#priya-example .scenario-label {
    opacity: 1;
    transform: translateY(0);
}

#priya-example .scenario-label.label-visible {
    opacity: 1;
    transform: translateY(0);
}

#priya-example .animate-item.item-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Arrow animation */
#priya-example .scenario-arrow {
    opacity: 0.5;
    transition: opacity 0.3s, transform 0.3s;
}

#priya-example .scenario-arrow.arrow-pulse {
    opacity: 1;
    animation: arrowPulse 1s ease-in-out infinite;
}

/* Number counter styling */
.count-num {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.total-bad {
    color: var(--danger);
}

/* Loss indicator */
.loss-indicator {
    display: inline-block;
    margin-left: 0.5rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease-out;
}

.loss-indicator.pulse-red {
    opacity: 1;
    transform: scale(1);
    animation: pulseRed 0.6s ease-in-out;
}

/* Reward/Star indicator */
.reward-indicator {
    display: inline-block;
    margin-left: 0.5rem;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.reward-indicator.star-burst {
    opacity: 1;
    transform: scale(1.2) rotate(0deg);
    animation: starBurst 0.6s ease-out forwards;
}

/* Saved text animation */
.saved-text {
    display: inline-block;
    font-weight: 700;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.saved-text.pop-in {
    opacity: 1;
    transform: scale(1);
    animation: popBounce 0.5s ease-out;
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
}

/* Shake animation for bad items */
.animate-item.shake,
.table-total.shake,
.scenario-note.shake {
    animation: shake 0.5s ease-in-out;
}

/* Celebrate animation for good items */
.animate-item.celebrate {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    margin: -0.25rem;
}

.table-total.celebrate,
.scenario-note.celebrate {
    animation: celebrateGlow 1s ease-in-out 2;
}

/* Always visible totals - don't hide */
.scenario-total.always-visible,
.table-total.always-visible {
    opacity: 1 !important;
    transform: none !important;
}

/* Accumulating total animation */
.accumulating-total {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    transition: transform 0.2s ease-out, color 0.2s ease-out;
    display: inline-block;
}

.accumulating-total.total-updating {
    transform: scale(1.1);
    color: var(--primary-light);
}

/* Shake animation for scenario-total (not just animate-item) */
.scenario-total.shake {
    animation: shake 0.5s ease-in-out;
}

/* Celebrate animation for scenario-total */
.scenario-total.celebrate {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    margin: -0.25rem;
    animation: celebrateGlow 1s ease-in-out 2;
}

/* Celebration container */
.celebration-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

/* ===== Keyframe Animations ===== */

@keyframes arrowPulse {

    0%,
    100% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        transform: translateX(5px);
        opacity: 0.7;
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-4px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(4px);
    }
}

@keyframes pulseRed {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes starBurst {
    0% {
        transform: scale(0) rotate(-180deg);
    }

    50% {
        transform: scale(1.5) rotate(10deg);
    }

    75% {
        transform: scale(0.9) rotate(-5deg);
    }

    100% {
        transform: scale(1.2) rotate(0deg);
    }
}

@keyframes popBounce {
    0% {
        transform: scale(0.5);
    }

    50% {
        transform: scale(1.15);
    }

    75% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }

    20% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-80px) scale(0.8) rotate(20deg);
    }
}

@keyframes sparkleOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }

    30% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform:
            translate(calc(-50% + cos(var(--angle)) * var(--distance)),
                calc(-50% + sin(var(--angle)) * var(--distance))) scale(0.5);
    }
}

/* Glow effect for celebration */
@keyframes celebrateGlow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(34, 197, 94, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.6), 0 0 40px rgba(34, 197, 94, 0.3);
    }
}

.animate-item.celebrate {
    animation: celebrateGlow 1s ease-in-out 2;
}

/* Level Cards Example */
.example-levels {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.example-level-card {
    flex: 1;
    min-width: 180px;
    padding: 1rem;
    border-radius: var(--radius);
    background: var(--glass-bg);
}

.example-level-card.beginner {
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.example-level-card.advanced {
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.level-header {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.example-level-card.beginner .level-header {
    color: var(--success);
}

.example-level-card.advanced .level-header {
    color: var(--danger);
}

.level-content p {
    font-size: 0.8rem;
    color: var(--gray-300);
    font-style: italic;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.level-tag {
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    background: var(--glass-bg-light);
    border-radius: 50px;
    color: var(--gray-400);
}

/* Feed Example */
.example-feed {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feed-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius);
    background: var(--glass-bg);
    border-left: 3px solid transparent;
}

.feed-item.alert {
    border-left-color: var(--danger);
}

.feed-item.today {
    border-left-color: var(--secondary);
}

.feed-item.countdown {
    border-left-color: var(--success);
}

.feed-icon {
    font-size: 1rem;
}

.feed-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.feed-text strong {
    font-size: 0.85rem;
    color: var(--white);
}

.feed-text span {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* Quiz Flow Example */
.example-quiz-flow {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quiz-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius);
    background: var(--glass-bg);
    font-size: 0.85rem;
}

.quiz-step.correct {
    border-left: 3px solid var(--success);
}

.quiz-step.wrong {
    border-left: 3px solid var(--danger);
}

.step-num {
    font-weight: 700;
    color: var(--gray-400);
    min-width: 25px;
}

.step-result {
    color: var(--white);
    flex: 1;
}

.step-action {
    color: var(--primary-light);
    font-size: 0.75rem;
}

/* Healing Journey Example */
.example-healing {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.healing-before,
.healing-after {
    flex: 1;
    min-width: 150px;
    padding: 1rem;
    border-radius: var(--radius);
    background: var(--glass-bg);
    text-align: center;
}

.healing-before {
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.healing-after {
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.healing-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.healing-before .healing-label {
    color: var(--danger);
}

.healing-after .healing-label {
    color: var(--success);
}

.healing-stats {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--gray-400);
}

.healing-arrow {
    font-weight: 700;
    color: var(--primary-light);
    font-size: 0.9rem;
    text-align: center;
}

.healing-quote {
    font-style: italic;
    font-size: 0.85rem;
    color: var(--gray-300);
    text-align: center;
    padding: 0.75rem;
    background: var(--glass-bg);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
    margin: 0;
}

/* Chat Example */
.example-chat {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-message {
    padding: 0.75rem;
    border-radius: var(--radius);
    max-width: 95%;
}

.chat-message.user {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    align-self: flex-start;
}

.chat-message.ai {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.15) 0%, rgba(0, 113, 227, 0.1) 100%);
    border: 1px solid rgba(0, 113, 227, 0.3);
    align-self: flex-end;
}

.chat-sender {
    display: block;
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 0.375rem;
}

.chat-message.user .chat-sender {
    color: var(--gray-400);
}

.chat-message.ai .chat-sender {
    color: var(--secondary);
}

.chat-text {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-200);
    line-height: 1.5;
}

.chat-style {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
    border-radius: 50px;
    font-weight: 500;
}

/* Light mode adjustments for feature examples */
[data-theme="light"] .feature-example {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.05) 0%, rgba(0, 113, 227, 0.03) 100%);
    border-color: rgba(0, 113, 227, 0.15);
}

[data-theme="light"] .scenario-before,
[data-theme="light"] .scenario-after,
[data-theme="light"] .example-level-card,
[data-theme="light"] .feed-item,
[data-theme="light"] .quiz-step,
[data-theme="light"] .healing-before,
[data-theme="light"] .healing-after,
[data-theme="light"] .healing-quote,
[data-theme="light"] .chat-message.user {
    background: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .scenario-item,
[data-theme="light"] .level-content p,
[data-theme="light"] .healing-stats,
[data-theme="light"] .feed-text span,
[data-theme="light"] .chat-text {
    color: var(--gray-600);
}

[data-theme="light"] .chat-message.ai {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.08) 0%, rgba(0, 113, 227, 0.05) 100%);
}

[data-theme="light"] .feed-text strong,
[data-theme="light"] .step-result {
    color: var(--gray-100);
}

/* ===== Exams Section ===== */
.exams {
    padding: 6rem 0;
    background: var(--gradient-dark);
}

.exam-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.exam-category {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.exam-category:hover {
    border-color: rgba(167, 139, 250, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 113, 227, 0.15), 0 4px 24px rgba(0, 0, 0, 0.3);
    background: var(--glass-bg-light);
}

.exam-category:hover .category-name {
    transform: scale(1.1);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.exam-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.exam-tag {
    background: var(--gray-800);
    color: var(--gray-300);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.exam-tag:hover {
    background: var(--primary);
    color: var(--white);
}

.exam-tag.more {
    background: transparent;
    border: 1px dashed var(--gray-600);
    color: var(--gray-500);
}

/* ===== Languages Section ===== */
.languages {
    padding: 6rem 0;
    background: var(--dark);
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.language-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.language-card:hover {
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 113, 227, 0.15);
    background: var(--glass-bg-light);
}

.language-card:hover .lang-name {
    transform: scale(1.1);
}

.lang-flag {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.lang-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-region {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.language-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.lang-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-300);
}

.lang-feature-icon {
    font-size: 1.5rem;
}

.lang-feature-text {
    font-weight: 500;
}

/* ===== CTA Section ===== */
.cta {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.cta-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--white);
    top: -100px;
    right: -100px;
}

.cta-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -100px;
    left: -50px;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cta-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Hero Coming Soon */
.hero-coming-soon {
    margin-top: 1rem;
}

.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1), rgba(239, 68, 68, 0.08));
    border: 1px solid rgba(0, 113, 227, 0.25);
    color: var(--secondary-light);
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Waitlist Form */
.waitlist-form {
    max-width: 520px;
    margin: 0 auto 1.5rem;
}

.form-group {
    display: flex;
    gap: 0.75rem;
    background: var(--glass-bg-light);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    color: var(--white);
    font-size: 1rem;
    outline: none;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group .btn {
    flex-shrink: 0;
}

.form-success {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-weight: 500;
}

.form-success.show {
    display: block;
}

/* CTA Social */
.cta-social {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-social>span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.cta-social-links {
    display: flex;
    gap: 0.75rem;
}

.cta-social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.cta-social-links a:hover {
    background: var(--white);
    color: var(--primary);
}

/* ===== Footer ===== */
.footer {
    background: rgba(13, 19, 33, 0.8);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    justify-content: center;
}

.footer-desc {
    color: var(--gray-500);
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--gray-400);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.4);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-600);
    font-size: 0.875rem;
    flex-wrap: wrap;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

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

    .hero-visual {
        margin-top: 3rem;
    }

    .floating-card {
        display: none;
    }

    .feature-block,
    .feature-block.reverse {
        grid-template-columns: 1fr;
        text-align: center;
        direction: ltr;
    }

    .feature-list {
        align-items: center;
    }

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

@media (max-width: 768px) {

    .nav-menu {
        display: none;
        position: static;
        transform: none;
        width: auto;
    }

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

    .nav-cta {
        margin-right: 0.5rem;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }

    .nav-toggle {
        display: flex;
    }

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

    .hero-title .tagline {
        font-size: 1.75rem;
    }

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

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

    .philosophy-principles {
        gap: 1rem;
    }

    .principle-card {
        width: 140px;
        padding: 1.25rem 1rem;
    }

    .philosophy-journey {
        flex-direction: column;
    }

    .journey-arrow {
        transform: rotate(90deg);
    }

    .exam-categories {
        grid-template-columns: 1fr;
    }

    .languages-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-desc {
        margin-left: auto;
        margin-right: auto;
    }

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

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

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

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

    /* Feature Examples Mobile Responsive */
    .feature-example {
        padding: 1rem;
    }

    .example-scenario {
        flex-direction: column;
    }

    .scenario-arrow {
        transform: rotate(90deg);
    }

    .scenario-before,
    .scenario-after {
        min-width: 100%;
    }

    .example-levels {
        flex-direction: column;
    }

    .example-level-card {
        min-width: 100%;
    }

    .example-healing {
        flex-direction: column;
    }

    .healing-arrow {
        transform: rotate(90deg);
    }

    .healing-before,
    .healing-after {
        min-width: 100%;
    }

    .chat-message {
        max-width: 100%;
    }
}

/* Modal Styles */
.apple-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.apple-modal-content {
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--gray-400);
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    color: var(--white);
}

.apple-modal h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.apple-modal p {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.apple-modal textarea {
    width: 100%;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-family: inherit;
    resize: none;
}

.apple-modal input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.apple-modal button {
    width: 100%;
    background: #0066ff;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 100px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.apple-modal button:hover {
    background: #0077ED;
    transform: scale(1.02);
}

.formatted-cursor {
    cursor: pointer;
}

/* Small Apple Buttons */
.btn-apple-small {
    background: #0066ff;
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 1.25rem;
    transition: all 0.2s;
    display: inline-block;
    text-decoration: none;
}

.btn-apple-small:hover {
    background: #0077ED;
    transform: scale(1.02);
}

.btn-apple-small-white {
    background: white;
    color: black;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 1.25rem;
    transition: all 0.2s;
    display: inline-block;
    text-decoration: none;
}

.btn-apple-small-white:hover {
    background: #f5f5f7;
    transform: scale(1.02);
}

/* Symmetrical Card Layout */
.card-header {
    margin-bottom: 1.5rem;
}

.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle separator */
    display: flex;
    align-items: center;
    min-height: 60px;
    /* Ensure consistent footer height */
}

/* Reset margins for elements moved to footer */
.card-footer .problem-loss {
    margin-top: 0;
}

.card-footer .btn-apple-small,
.card-footer .btn-apple-small-white {
    margin-top: 0;
}

/* ===== Solution Card (The Good News) ===== */
.solution-card {
    background: linear-gradient(145deg, rgba(0, 113, 227, 0.15) 0%, rgba(52, 199, 89, 0.1) 100%) !important;
    border-color: rgba(0, 113, 227, 0.35) !important;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.solution-card:hover {
    border-color: rgba(0, 113, 227, 0.6) !important;
    background: linear-gradient(145deg, rgba(0, 113, 227, 0.2) 0%, rgba(52, 199, 89, 0.15) 100%) !important;
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 113, 227, 0.25), 0 10px 30px rgba(52, 199, 89, 0.15);
}

.solution-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(52, 199, 89, 0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.solution-card .card-header {
    margin-bottom: 0.75rem;
}

.solution-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2) 0%, rgba(52, 199, 89, 0.15) 100%);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 113, 227, 0.3);
}

.solution-badge .badge-icon {
    font-size: 0.85rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.2) rotate(10deg);
    }

    75% {
        transform: scale(0.9) rotate(-10deg);
    }
}

.solution-badge .badge-text {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0066ff;
}

.solution-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #0066ff !important;
    font-size: 1.6rem !important;
}

.checkmark-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #34C759 0%, #30B350 100%);
    border-radius: 50%;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    animation: check-bounce 0.6s ease-out;
}

@keyframes check-bounce {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.solution-desc {
    color: var(--white) !important;
    font-size: 1.05rem !important;
    opacity: 0.9;
}

.solution-highlights {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.solution-highlights li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(52, 199, 89, 0.15);
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #34C759;
    font-weight: 500;
    border: 1px solid rgba(52, 199, 89, 0.25);
}

.highlight-check {
    font-weight: 700;
    font-size: 0.75rem;
}

.btn-solution {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #0066ff 0%, #0077ED 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
}

.btn-solution:hover {
    background: linear-gradient(135deg, #0077ED 0%, #0084FF 100%);
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
}

.btn-solution .btn-arrow,
.btn-voice .btn-arrow {
    transition: transform 0.3s ease;
}

.btn-solution:hover .btn-arrow,
.btn-voice:hover .btn-arrow {
    transform: translateX(4px);
}

/* ===== Voice Card (Your Voice Matters) ===== */
.voice-card {
    background: linear-gradient(145deg, rgba(168, 85, 247, 0.12) 0%, rgba(0, 113, 227, 0.08) 100%) !important;
    border-color: rgba(168, 85, 247, 0.3) !important;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.voice-card:hover {
    border-color: rgba(168, 85, 247, 0.5) !important;
    background: linear-gradient(145deg, rgba(168, 85, 247, 0.18) 0%, rgba(0, 113, 227, 0.12) 100%) !important;
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.2), 0 10px 30px rgba(0, 113, 227, 0.1);
}

.voice-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 113, 227, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.voice-card .card-header {
    margin-bottom: 0.75rem;
}

.voice-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(0, 113, 227, 0.1) 100%);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    border: 1px solid rgba(168, 85, 247, 0.25);
}

.voice-badge .badge-icon {
    font-size: 0.85rem;
}

.voice-badge .badge-text {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #0066ff 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.voice-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white) !important;
    font-size: 1.6rem !important;
}

.mic-icon {
    font-size: 1.5rem;
    animation: mic-pulse 2s ease-in-out infinite;
}

@keyframes mic-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.voice-desc {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1.05rem !important;
}

.voice-promise {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.promise-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.voice-card:hover .promise-item {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.promise-icon {
    font-size: 1rem;
}

.btn-voice {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #0066ff 0%, #6366f1 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
}

.btn-voice:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
}

/* Voice Card Footer Redesign */
.voice-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.voice-perks {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.voice-perks .perk {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    white-space: nowrap;
}

[data-theme="light"] .voice-perks .perk {
    color: rgba(0, 0, 0, 0.55);
}

/* Light Mode - Solution & Voice Cards */
[data-theme="light"] .solution-card {
    background: linear-gradient(145deg, rgba(0, 113, 227, 0.08) 0%, rgba(52, 199, 89, 0.05) 100%) !important;
    border-color: rgba(0, 113, 227, 0.25) !important;
}

[data-theme="light"] .solution-card:hover {
    background: linear-gradient(145deg, rgba(0, 113, 227, 0.12) 0%, rgba(52, 199, 89, 0.08) 100%) !important;
    border-color: rgba(0, 113, 227, 0.4) !important;
}

[data-theme="light"] .solution-desc {
    color: #1d1d1f !important;
}

[data-theme="light"] .solution-highlights li {
    background: rgba(52, 199, 89, 0.1);
    border-color: rgba(52, 199, 89, 0.2);
}

[data-theme="light"] .voice-card {
    background: linear-gradient(145deg, rgba(168, 85, 247, 0.08) 0%, rgba(0, 113, 227, 0.05) 100%) !important;
    border-color: rgba(168, 85, 247, 0.2) !important;
}

[data-theme="light"] .voice-card:hover {
    background: linear-gradient(145deg, rgba(168, 85, 247, 0.12) 0%, rgba(0, 113, 227, 0.08) 100%) !important;
    border-color: rgba(168, 85, 247, 0.35) !important;
}

[data-theme="light"] .voice-title {
    color: #1d1d1f !important;
}

[data-theme="light"] .voice-desc {
    color: #6e6e73 !important;
}

[data-theme="light"] .promise-item {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: #1d1d1f;
}

/* Responsive - Solution & Voice Cards */
@media (max-width: 768px) {

    .solution-title,
    .voice-title {
        font-size: 1.35rem !important;
    }

    .solution-highlights {
        flex-direction: column;
        gap: 0.4rem;
    }

    .solution-highlights li {
        width: fit-content;
    }

    .voice-promise {
        flex-direction: row;
        gap: 0.5rem;
    }

    .promise-item {
        width: fit-content;
    }
}

/* ===== FAQ Section ===== */
.faq {
    background: var(--dark);
    padding: 6rem 0;
    position: relative;
}

[data-theme="light"] .faq {
    background: #f8fafc;
}

.faq-grid {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
}

[data-theme="light"] .faq-item {
    border-color: rgba(0, 0, 0, 0.08);
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

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

[data-theme="light"] .faq-item:hover {
    border-color: rgba(0, 113, 227, 0.2);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

[data-theme="light"] .faq-question {
    color: var(--gray-100);
}

.faq-question:hover {
    color: var(--primary-light);
}

[data-theme="light"] .faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
    color: var(--gray-500);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    overflow: hidden;
    min-height: 0;
    padding: 0 1.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    visibility: hidden;
    /* Move vertical padding to margin or padding on p, but needs to be handled carefully with collapse */
    margin-bottom: 0;
    color: var(--gray-400);
    line-height: 1.6;
    font-size: 1rem;
}

/* Add padding to the paragraph when open to spacing */
.faq-question[aria-expanded="true"]+.faq-answer p {
    padding-bottom: 1.5rem;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

[data-theme="light"] .faq-answer p {
    color: var(--gray-600);
}

.faq-question[aria-expanded="true"]+.faq-answer {
    grid-template-rows: 1fr;
}