/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --primary: #7c3aed;
    --primary-dark: #5b21b6;
    --primary-light: #a78bfa;
    --secondary: #f97316;
    --secondary-light: #fb923c;
    --accent: #06b6d4;
    --success: #22c55e;
    --warning: #eab308;
    --danger: #ef4444;
    --dark: #0a0e1a;
    --dark-light: #131a2e;
    --gray-900: #0d1321;
    --gray-800: #1a2138;
    --gray-700: #2d3654;
    --gray-600: #4b5573;
    --gray-500: #6b7494;
    --gray-400: #9ca3b8;
    --gray-300: #d1d5e0;
    --gray-200: #e5e7ee;
    --gray-100: #f3f4f8;
    --white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-warm: linear-gradient(135deg, var(--secondary) 0%, #f43f5e 100%);
    --gradient-dark: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 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(124, 58, 237, 0.1);
    --shadow-glow-accent: 0 0 30px rgba(6, 182, 212, 0.3);
    --shadow-glow-warm: 0 0 30px rgba(249, 115, 22, 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(10, 14, 26, 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 - Inverted for light mode */
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #8b5cf6;
    --secondary: #ea580c;
    --secondary-light: #f97316;
    --accent: #0891b2;
    --success: #16a34a;
    --warning: #ca8a04;
    --danger: #dc2626;
    --dark: #ffffff;
    --dark-light: #f8fafc;
    --gray-900: #f8fafc;
    --gray-800: #f1f5f9;
    --gray-700: #e2e8f0;
    --gray-600: #94a3b8;
    --gray-500: #64748b;
    --gray-400: #475569;
    --gray-300: #334155;
    --gray-200: #1e293b;
    --gray-100: #0f172a;
    --white: #0f172a;

    /* Gradients for light mode */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-warm: linear-gradient(135deg, var(--secondary) 0%, #e11d48 100%);
    --gradient-dark: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 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(124, 58, 237, 0.2);
    --shadow-glow-accent: 0 0 30px rgba(8, 145, 178, 0.15);
    --shadow-glow-warm: 0 0 30px rgba(234, 88, 12, 0.15);

    /* Glass Effects for light mode */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-light: rgba(255, 255, 255, 0.9);
    --glass-bg-dark: rgba(248, 250, 252, 0.95);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-border-light: rgba(0, 0, 0, 0.12);
}

/* Light mode body styles */
[data-theme="light"] body {
    background: #f8fafc;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(8, 145, 178, 0.05), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(234, 88, 12, 0.04), 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(124, 58, 237, 0.08);
}

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

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

[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(124, 58, 237, 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(234, 88, 12, 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(234, 88, 12, 0.25) 50%, rgba(220, 38, 38, 0.15) 100%);
}

[data-theme="light"] .problem-card:hover::after {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 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(234, 88, 12, 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(234, 88, 12, 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(234, 88, 12, 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(109, 40, 217, 0.25) 0%, rgba(234, 88, 12, 0.15) 50%, transparent 100%);
}

[data-theme="light"] .principle-card::after {
    background: rgba(109, 40, 217, 0.1);
    color: #6d28d9;
}

[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(109, 40, 217, 0.15), 0 8px 32px rgba(0, 0, 0, 0.08);
}

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

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

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

[data-theme="light"] .principle-icon {
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.1) 0%, rgba(234, 88, 12, 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, #ea580c 0%, #e11d48 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(124, 58, 237, 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(249, 115, 22, 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(124, 58, 237, 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(249, 115, 22, 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;
}

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 0 20px rgba(124, 58, 237, 0.08);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(124, 58, 237, 0.15);
}

.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: var(--glass-bg-light);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    color: var(--white);
    border: 1px solid var(--glass-border-light);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 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: 1rem 2rem;
    font-size: 1.1rem;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(var(--glass-blur-heavy));
    -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-300);
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

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

.nav-cta {
    display: flex;
    gap: 1rem;
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 4rem;
    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(124, 58, 237, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 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: 1.5rem;
}

.hero-title .sanskrit {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.4;
    padding-top: 0.15em;
}

.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);
}

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

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

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

.hero-stats {
    display: flex;
    gap: 2rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--white);
}

.stat-plus,
.stat-unit {
    font-size: 1.5rem;
    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);
    border: 1px solid var(--glass-border);
}

.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(124, 58, 237, 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.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border-light);
    animation: floatCard 6s ease-in-out infinite;
}

.card-ai {
    top: 20%;
    right: -60px;
    animation-delay: -2s;
}

.card-track {
    bottom: 25%;
    left: -80px;
    animation-delay: -4s;
}

@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(124, 58, 237, 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;
}

.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::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(249, 115, 22, 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(249, 115, 22, 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(249, 115, 22, 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(249, 115, 22, 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(249, 115, 22, 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(249, 115, 22, 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(249, 115, 22, 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(249, 115, 22, 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(124, 58, 237, 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(124, 58, 237, 0.4) 0%, rgba(249, 115, 22, 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(124, 58, 237, 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(124, 58, 237, 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(124, 58, 237, 0.6) 0%, rgba(249, 115, 22, 0.4) 50%, rgba(124, 58, 237, 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(124, 58, 237, 0.15) 0%, rgba(249, 115, 22, 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(124, 58, 237, 0.4) 0%, rgba(249, 115, 22, 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;
}

.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(249, 115, 22, 0.4);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 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(249, 115, 22, 0.5);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 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(124, 58, 237, 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);
}

/* ===== 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(124, 58, 237, 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(249, 115, 22, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(249, 115, 22, 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: 1.5rem;
}

.coming-soon-badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.4);
    color: var(--secondary-light);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* 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(124, 58, 237, 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;
    }

    .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;
    }
}