/* ========================================
   VITA - Clinical Intelligence
   Editorial Elegance + Modern Medical
   ======================================== */

:root {
    /* Colors - Refined Teal Palette */
    --teal-50: #F0FDFA;
    --teal-100: #CCFBF1;
    --teal-200: #99F6E4;
    --teal-300: #5EEAD4;
    --teal-400: #2DD4BF;
    --teal-500: #14B8A6;
    --teal-600: #0D9488;
    --teal-700: #0F766E;
    --teal-800: #115E59;
    --teal-900: #134E4A;
    --teal-950: #042F2E;

    /* Accent - Warm Amber */
    --amber-400: #FBBF24;
    --amber-500: #F59E0B;
    --amber-600: #D97706;

    /* Neutrals */
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-300: #CBD5E1;
    --slate-400: #94A3B8;
    --slate-500: #64748B;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1E293B;
    --slate-900: #0F172A;
    --slate-950: #020617;

    /* Semantic */
    --bg: #FFFFFF;
    --bg-alt: var(--slate-50);
    --text: var(--slate-900);
    --text-secondary: var(--slate-600);
    --text-muted: var(--slate-400);
    --primary: var(--teal-600);
    --primary-dark: var(--teal-700);
    --accent: var(--amber-500);

    /* Typography */
    --font-display: 'Outfit', system-ui, sans-serif;
    --font-body: 'Outfit', system-ui, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Layout */
    --max-width: 1200px;
    --nav-height: 72px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========================================
   Preloader
   ======================================== */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    height: 80px;
    width: 80px;
    min-width: 80px;
    max-width: 80px;
    object-fit: contain;
    margin: 0 auto 1.5rem auto;
    display: block;
    animation: preloaderPulse 1.5s ease-in-out infinite;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.preloader-bar {
    width: 120px;
    height: 3px;
    background: var(--slate-200);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--teal-400));
    border-radius: 3px;
    animation: preloaderProgress 1.5s ease forwards;
}

@keyframes preloaderProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ========================================
   Reset & Base
   ======================================== */

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   Background Effects
   ======================================== */

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(13, 148, 136, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(251, 191, 36, 0.08), transparent);
    pointer-events: none;
    z-index: 0;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(13, 148, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 148, 136, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    mask-image: linear-gradient(to bottom, black 0%, transparent 50%);
}

/* Noise Texture Overlay */
.bg-gradient::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

/* DNA Thread */
.dna-thread {
    position: fixed;
    left: 40px;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

.dna-path {
    fill: none;
    stroke: var(--teal-400);
    stroke-width: 2;
    stroke-dasharray: 8 12;
    animation: dnaFlow 20s linear infinite;
}

.dna-path-2 {
    fill: none;
    stroke: var(--amber-400);
    stroke-width: 2;
    stroke-dasharray: 8 12;
    animation: dnaFlow 20s linear infinite reverse;
    opacity: 0.6;
}

@keyframes dnaFlow {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -200; }
}

/* ========================================
   Navigation
   ======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(13, 148, 136, 0.1);
}

.nav-inner {
    /* max-width: var(--max-width); */
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary);
    line-height: 1;
}

.logo-icon {
    height: 2rem;
    width: 2.8rem;
    min-width: 2rem;
    max-width: 2.8rem;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s var(--ease-out);
}

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

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--primary);
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}

.nav-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease-out);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}

.nav-cta:hover svg {
    transform: translateX(4px);
}

/* Nav Right Container */
.nav-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

.hamburger span:nth-child(1) {
    margin-bottom: 6px;
}

.hamburger span:nth-child(2) {
    margin-bottom: 6px;
}

/* Hamburger Active State */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: var(--space-lg);
    padding: var(--space-2xl);
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }

.mobile-menu-link:hover {
    color: var(--primary);
}

.mobile-menu-cta {
    margin-top: var(--space-lg);
    padding: var(--space-md) var(--space-2xl);
    background: var(--primary);
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 100px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active .mobile-menu-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.mobile-menu-cta:hover {
    background: var(--primary-dark);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    padding: calc(var(--nav-height) + var(--space-4xl)) var(--space-xl) var(--space-4xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

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


.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: var(--space-xl);
}

.title-row {
    display: block;
}

.hero-title .word {
    display: inline-block;
    animation: wordReveal 0.8s var(--ease-out) backwards;
    animation-delay: calc(var(--i) * 0.1s + 0.2s);
}

.hero-title .word {
    color: var(--text);
}

.hero-title .word:last-child {
    color: var(--primary);
}

@keyframes wordReveal {
    from {
        opacity: 0;
        transform: translateY(40px) rotateX(-20deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: var(--space-2xl);
    animation: fadeSlideUp 0.8s var(--ease-out) 0.5s backwards;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    animation: fadeSlideUp 0.8s var(--ease-out) 0.6s backwards;
}

/* Buttons */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: var(--space-md) var(--space-xl);
    background: var(--primary);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 100px;
    overflow: hidden;
    transition: all 0.3s var(--ease-out);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(13, 148, 136, 0.35);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.btn-primary.large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.1rem;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: var(--space-md) var(--space-xl);
    color: var(--text);
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid var(--slate-200);
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: var(--space-lg) var(--space-2xl);
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    animation: fadeSlideUp 0.8s var(--ease-out) 0.7s backwards;
}

.stat {
    text-align: left;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--text);
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--slate-200);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
    animation: fadeSlideUp 0.8s var(--ease-out) 0.4s backwards;
}

.visual-wrapper {
    position: relative;
}

.browser-frame {
    background: white;
    border-radius: 16px;
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.05),
        0 25px 50px -12px rgba(0,0,0,0.15),
        0 0 100px rgba(13, 148, 136, 0.1);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s var(--ease-out);
}

.browser-frame:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-100);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #EF4444; }
.browser-dots span:nth-child(2) { background: #F59E0B; }
.browser-dots span:nth-child(3) { background: #10B981; }

.browser-url {
    flex: 1;
    padding: 6px 12px;
    background: white;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.browser-content {
    background: var(--slate-50);
    min-height: 320px;
}

.screenshot {
    width: 100%;
    height: auto;
}

/* ========================================
   Interactive Demo
   ======================================== */

.demo-interface {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: white;
    border-bottom: 1px solid var(--slate-100);
}

.demo-mode {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mode-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.demo-status {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text);
}

.demo-chat {
    flex: 1;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    overflow: hidden;
}

.demo-message {
    display: flex;
    gap: var(--space-sm);
    max-width: 95%;
}

.demo-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.demo-message.user .message-content {
    background: var(--primary);
    color: white;
    border-radius: 16px 16px 4px 16px;
    padding: var(--space-sm) var(--space-md);
    min-height: 40px;
    display: flex;
    align-items: center;
}

.demo-message.assistant {
    align-self: flex-start;
}

.demo-message.assistant .message-content {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 16px 16px 16px 4px;
    padding: var(--space-md);
    min-width: 200px;
}

.message-avatar {
    width: 32px;
    height: 32px;
    background: var(--teal-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.message-avatar svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.message-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.typing-cursor {
    animation: blink 0.8s step-end infinite;
    font-weight: 300;
    margin-left: 1px;
}

.typing-cursor.hidden {
    display: none;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.thinking-dots {
    display: flex;
    gap: 4px;
    padding: var(--space-xs) 0;
}

.thinking-dots.hidden {
    display: none;
}

.thinking-dots span {
    width: 8px;
    height: 8px;
    background: var(--slate-300);
    border-radius: 50%;
    animation: thinking 1.4s ease-in-out infinite;
}

.thinking-dots span:nth-child(2) { animation-delay: 0.2s; }
.thinking-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes thinking {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-8px); }
}

.answer-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text);
}

.answer-text.hidden {
    display: none;
}

.answer-source {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--slate-100);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.answer-source.hidden {
    display: none;
}

.answer-source::before {
    content: '📚 ';
}

.demo-input {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: white;
    border-top: 1px solid var(--slate-100);
}

.demo-input input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--slate-200);
    border-radius: 100px;
    font-size: 0.85rem;
    background: var(--slate-50);
    color: var(--text-muted);
}

.demo-input input:focus {
    outline: none;
    border-color: var(--primary);
}

.demo-send {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.5;
}

.demo-send svg {
    width: 16px;
    height: 16px;
    color: white;
}

/* Demo answer container initially hidden */
#demo-answer-container {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#demo-answer-container.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-size: 0.85rem;
    font-weight: 500;
    animation: float 4s ease-in-out infinite;
}

.card-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: 8px;
}

.card-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.card-icon.orange {
    background: rgba(251, 191, 36, 0.15);
}

.card-icon.orange svg {
    color: var(--amber-600);
}

.card-1 {
    top: 20%;
    right: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    left: -5%;
    animation-delay: 1s;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    animation: fadeIn 1s 1.5s backwards;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--slate-200);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 0;
    width: 3px;
    height: 12px;
    background: var(--primary);
    border-radius: 2px;
    left: -1px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   Section Labels
   ======================================== */

.section-label {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    padding-left: var(--space-xl);
}

.label-number {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--primary);
}

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

.section-label.light .label-number,
.section-label.light .label-text {
    color: rgba(255,255,255,0.6);
}

/* Section Titles */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text);
}


.section-title.light {
    color: white;
}


/* ========================================
   Features Section
   ======================================== */

.features {
    padding: var(--space-5xl) var(--space-xl);
    max-width: var(--max-width);
    margin: 0 auto;
}

.features-header {
    max-width: 500px;
    margin-bottom: var(--space-4xl);
    padding-left: var(--space-xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    position: relative;
    padding: var(--space-2xl);
    background: white;
    border: 1px solid var(--slate-100);
    border-radius: 20px;
    transition: all 0.4s var(--ease-out);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--teal-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.feature-card:hover {
    border-color: var(--slate-200);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-number {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--slate-100);
    line-height: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-xl);
    color: var(--primary);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--space-md);
    color: var(--text);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.feature-example {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    background: var(--teal-50);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 100px;
}

/* ========================================
   Social Proof Section
   ======================================== */

.social-proof {
    padding: var(--space-2xl) 0;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-100);
    border-bottom: 1px solid var(--slate-100);
    overflow: hidden;
}

.social-proof-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.social-proof-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logos-marquee {
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    overflow: hidden;
}

.logos-track {
    display: flex;
    gap: var(--space-3xl);
    animation: logosScroll 20s linear infinite;
    width: max-content;
}

.logo-item {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--slate-400);
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.3s;
}

.logo-item:hover {
    color: var(--primary);
}

@keyframes logosScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ========================================
   Modes Section
   ======================================== */

.modes {
    padding: var(--space-5xl) var(--space-xl);
    background: var(--slate-50);
}

.modes-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.modes-header {
    max-width: 500px;
    margin-bottom: var(--space-4xl);
    padding-left: var(--space-xl);
}

.modes-desc {
    margin-top: var(--space-md);
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.modes-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    padding: 0 var(--space-xl);
}

.mode-card {
    position: relative;
    padding: var(--space-2xl);
    background: white;
    border: 2px solid var(--slate-100);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
}

.mode-card:hover,
.mode-card.active {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(13, 148, 136, 0.15);
}

.mode-badge {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    padding: 4px 12px;
    background: var(--teal-50);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
}

.mode-card.active .mode-badge {
    background: var(--primary);
    color: white;
}

.mode-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: 16px;
    color: var(--primary);
    transition: all 0.3s var(--ease-out);
}

.mode-card:hover .mode-icon,
.mode-card.active .mode-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.mode-icon svg {
    width: 32px;
    height: 32px;
}

.mode-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--space-sm);
}

.mode-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.mode-for {
    padding: var(--space-sm) var(--space-md);
    background: var(--slate-50);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 100px;
    display: inline-block;
}

/* ========================================
   Questions Section (Marquee)
   ======================================== */

.questions {
    padding: var(--space-5xl) 0;
    background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-900) 100%);
    overflow: hidden;
}

.questions-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.questions-inner .section-title {
    margin-bottom: var(--space-3xl);
    padding-left: var(--space-xl);
}

.questions-marquee {
    margin-bottom: var(--space-lg);
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: var(--space-md);
    animation: marquee 40s linear infinite;
    width: max-content;
}

.questions-marquee.reverse .marquee-track {
    animation-direction: reverse;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.question-pill {
    flex-shrink: 0;
    padding: var(--space-md) var(--space-xl);
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.15);
    white-space: nowrap;
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--ease-out);
}

.question-pill:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

/* ========================================
   What is VITA Section
   ======================================== */

.what-is-vita {
    padding: var(--space-5xl) var(--space-xl);
    max-width: var(--max-width);
    margin: 0 auto;
}

.what-is-vita-content {
    padding: 0 var(--space-xl);
}

.what-is-vita-content .section-title {
    margin-bottom: var(--space-2xl);
}

.what-is-vita-text {
    max-width: 800px;
}

.what-is-vita-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.what-is-vita-text p:last-child {
    margin-bottom: 0;
}

/* ========================================
   WHO Section
   ======================================== */

.who-section {
    padding: var(--space-5xl) var(--space-xl);
    max-width: var(--max-width);
    margin: 0 auto;
    background: var(--slate-50);
}

.who-content {
    padding: 0 var(--space-xl);
}

.who-content .section-title {
    margin-bottom: var(--space-2xl);
}

.who-text {
    max-width: 800px;
}

.who-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.who-text p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Video Showcase Section
   ======================================== */

.video-showcase {
    padding: var(--space-5xl) var(--space-xl);
    max-width: var(--max-width);
    margin: 0 auto;
}

.video-content {
    padding: 0 var(--space-xl);
}

.video-content .section-title {
    margin-bottom: var(--space-md);
    text-align: left;
}

.video-subtitle {
    text-align: left;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-3xl);
}

.video-triptych {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.video-card {
    text-align: center;
    padding: var(--space-xl);
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 20px;
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    margin-bottom: var(--space-lg);
    position: relative;
    overflow: hidden;
    background: var(--slate-900);
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.video-player::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.5);
}

.video-player::-webkit-media-controls-play-button {
    background-color: var(--primary);
    border-radius: 50%;
}

/* Video Overlay and Play Button */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    opacity: 1;
    transition: opacity 0.3s var(--ease-out);
    cursor: pointer;
    z-index: 2;
}

.video-card:hover .video-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.video-play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.video-play-button:hover {
    transform: scale(1.1);
    background: white;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.video-play-button svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
    margin-left: 4px; /* Slight offset for play icon */
}

.video-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text);
}

.video-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease-out), visibility 0.3s var(--ease-out);
    padding: var(--space-xl);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.video-modal-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    z-index: 1;
    transform: scale(0.9);
    transition: transform 0.3s var(--ease-out);
}

.video-modal.active .video-modal-container {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    z-index: 2;
    color: white;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.video-modal-close svg {
    width: 24px;
    height: 24px;
}

.video-modal-content {
    background: var(--slate-900);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.video-modal-title {
    padding: var(--space-lg) var(--space-xl);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    margin: 0;
    background: rgba(0, 0, 0, 0.3);
}

.video-modal-player-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: black;
}

.video-modal-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========================================
   Audience Section
   ======================================== */

.audience {
    padding: var(--space-5xl) var(--space-xl);
    max-width: var(--max-width);
    margin: 0 auto;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    padding: 0 var(--space-xl);
}

.audience-card {
    position: relative;
    padding: var(--space-3xl);
    border-radius: 24px;
    overflow: hidden;
}

.audience-card.students {
    background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-800) 100%);
    color: white;
}

.audience-card.practitioners {
    background: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-900) 100%);
    color: white;
}

.audience-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.2);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    margin-bottom: var(--space-lg);
}

.audience-header h3 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--space-xl);
}


.audience-list {
    list-style: none;
}

.audience-list li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-md);
    font-size: 1rem;
    opacity: 0.9;
}

.audience-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--amber-400);
    border-radius: 50%;
}

/* ========================================
   FAQ Section
   ======================================== */

.faq {
    padding: var(--space-5xl) var(--space-xl);
    max-width: var(--max-width);
    margin: 0 auto;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-4xl);
    padding: 0 var(--space-xl);
}

.faq-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.faq-search {
    position: relative;
    max-width: 280px;
}

.faq-search svg {
    position: absolute;
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
}

.faq-search input {
    width: 100%;
    padding: var(--space-sm) var(--space-md) var(--space-sm) calc(var(--space-md) + 26px);
    border: 1px solid var(--slate-200);
    border-radius: 100px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    background: white;
    transition: all 0.3s;
}

.faq-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.faq-search input::placeholder {
    color: var(--text-muted);
}

.faq-item.hidden {
    display: none;
}

.faq-no-results {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--text-muted);
    font-style: italic;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s var(--ease-out);
}

.faq-item:hover {
    border-color: var(--slate-300);
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.1);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    padding-right: var(--space-md);
}

.faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.faq-icon span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: transform 0.3s var(--ease-out);
}

.faq-icon span:first-child {
    transform: translate(-50%, -50%);
}

.faq-icon span:last-child {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon span:last-child {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item p {
    padding: 0 var(--space-lg) var(--space-lg);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */

.cta {
    position: relative;
    padding: var(--space-5xl) var(--space-xl);
    background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-800) 100%);
    overflow: hidden;
}

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

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: white;
    margin-bottom: var(--space-md);
}


.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--space-2xl);
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-actions .btn-primary:hover {
    background: var(--slate-100);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* CTA Decoration */
.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
}

.decoration-circle:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
    animation: pulse 8s ease-in-out infinite;
}

.decoration-circle:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
    animation: pulse 8s ease-in-out infinite 2s;
}

.decoration-circle:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 10%;
    animation: pulse 8s ease-in-out infinite 4s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.trust-badge svg {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

/* ========================================
   Back to Top Button
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   Sticky CTA (Nav enhancement)
   ======================================== */

.nav.nav-scrolled .nav-cta {
    background: var(--primary);
    animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(13, 148, 136, 0); }
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: var(--space-4xl) var(--space-xl) var(--space-xl);
    background: var(--slate-900);
    color: white;
}

.footer-main {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: var(--space-4xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--slate-400);
}

.footer-links {
    display: flex;
    gap: var(--space-4xl);
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: var(--space-md);
    color: white;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: var(--slate-400);
    margin-bottom: var(--space-sm);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.footer-disclaimer {
    max-width: var(--max-width);
    margin: var(--space-xl) auto;
    padding: var(--space-md);
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.footer-disclaimer p {
    font-size: 0.8rem;
    color: var(--slate-500);
    text-align: center;
}

.footer-disclaimer strong {
    color: var(--slate-400);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: var(--space-xl);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--slate-500);
}

/* ========================================
   Custom Cursor
   ======================================== */

.custom-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: fixed;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s, background 0.3s;
}

.custom-cursor.cursor-hover {
    width: 60px;
    height: 60px;
    border-color: var(--amber-400);
    background: rgba(251, 191, 36, 0.1);
}

.cursor-dot.cursor-hover {
    transform: translate(-50%, -50%) scale(0);
}

/* Hide default cursor */
body:not(.reduce-motion) {
    cursor: none;
}

body:not(.reduce-motion) a,
body:not(.reduce-motion) button,
body:not(.reduce-motion) [role="button"] {
    cursor: none;
}

/* ========================================
   Reveal Animations
   ======================================== */

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Section-level reveals */
.section-reveal {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.section-reveal.section-visible {
    opacity: 1;
}

/* ========================================
   Character Animation
   ======================================== */

.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotateX(-80deg);
    animation: charReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* ========================================
   Card Glare Effect
   ======================================== */

.feature-card::after,
.mode-card::after,
.audience-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at var(--glare-x, 50%) var(--glare-y, 50%),
        rgba(255, 255, 255, 0.15) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    border-radius: inherit;
}

.feature-card:hover::after,
.mode-card:hover::after,
.audience-card:hover::after {
    opacity: 1;
}

/* ========================================
   Navigation Animation States
   ======================================== */

.nav {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s,
                box-shadow 0.3s;
}

.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 30px rgba(13, 148, 136, 0.1) !important;
}

.nav-hidden {
    transform: translateY(-100%);
}

/* ========================================
   Hero Entrance Sequence
   ======================================== */

body:not(.loaded) .hero-content,
body:not(.loaded) .hero-visual {
    opacity: 0;
}

.hero-content {
    transition: opacity 0.8s ease 0.2s;
}

.hero-visual {
    transition: opacity 0.8s ease 0.5s;
}

body.loaded .hero-content,
body.loaded .hero-visual {
    opacity: 1;
}

/* Enhanced hero animations */
.hero-eyebrow {
    animation: slideInLeft 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s backwards;
}

.hero-actions {
    animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1s backwards;
}

.hero-stats {
    animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.2s backwards;
}

.hero-visual {
    animation: scaleIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s backwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(40px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Browser frame entrance */
.browser-frame {
    animation: browserFloat 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.8s backwards;
}

@keyframes browserFloat {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(60px);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(0);
    }
}

/* Floating cards staggered entrance */
.floating-card.card-1 {
    animation: floatIn 1s cubic-bezier(0.16, 1, 0.3, 1) 1.2s backwards,
               float 4s ease-in-out infinite 2.2s;
    margin-right: 2rem;           
}

.floating-card.card-2 {
    animation: floatIn 1s cubic-bezier(0.16, 1, 0.3, 1) 1.4s backwards,
               float 4s ease-in-out infinite 2.4s;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ========================================
   Button Interactions
   ======================================== */

.btn-primary,
.btn-ghost,
.btn-outline,
.nav-cta {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.btn-primary span,
.btn-ghost span,
.nav-cta span {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ripple effect on click */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::before {
    width: 300px;
    height: 300px;
}

/* ========================================
   Feature Cards Enhanced
   ======================================== */

.feature-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    will-change: transform;
}

.feature-card .feature-icon {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotateY(10deg);
}

.feature-card .feature-number {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-number {
    color: var(--teal-200);
    transform: translateX(10px);
}

/* ========================================
   Mode Cards Enhanced
   ======================================== */

.mode-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    will-change: transform;
}

.mode-card .mode-icon {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mode-card:hover .mode-icon {
    transform: scale(1.2) translateY(-5px);
}

/* ========================================
   Questions Marquee Enhanced
   ======================================== */

.question-pill {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.question-pill:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ========================================
   FAQ Enhanced
   ======================================== */

.faq-item {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
    transform: translateX(8px);
}

.faq-item[open] {
    transform: translateX(8px) scale(1.02);
}

.faq-item summary {
    transition: all 0.3s;
}

.faq-item:hover summary span {
    color: var(--primary);
}

/* ========================================
   CTA Section Enhanced
   ======================================== */

.cta-title {
    animation: none;
}

.section-visible .cta-title {
    animation: titleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Decoration circles pulsing */
.decoration-circle {
    transition: transform 0.1s linear;
}

/* ========================================
   Scroll Indicator Enhanced
   ======================================== */

.scroll-indicator {
    animation: fadeIn 1s 2s backwards, bounce 2s ease-in-out 3s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ========================================
   DNA Thread Enhanced
   ======================================== */

.dna-path {
    stroke-dasharray: 8 12;
    animation: dnaFlow 15s linear infinite, dnaPulse 3s ease-in-out infinite;
}

.dna-path-2 {
    animation: dnaFlow 15s linear infinite reverse, dnaPulse 3s ease-in-out infinite 1.5s;
}

@keyframes dnaPulse {
    0%, 100% {
        opacity: 0.4;
        stroke-width: 2;
    }
    50% {
        opacity: 0.7;
        stroke-width: 3;
    }
}

/* ========================================
   Audience Cards Enhanced
   ======================================== */

.audience-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    will-change: transform;
}

.audience-list li {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-visible .audience-list li {
    opacity: 0.9;
    transform: translateX(0);
}

.section-visible .audience-list li:nth-child(1) { transition-delay: 0.1s; }
.section-visible .audience-list li:nth-child(2) { transition-delay: 0.2s; }
.section-visible .audience-list li:nth-child(3) { transition-delay: 0.3s; }
.section-visible .audience-list li:nth-child(4) { transition-delay: 0.4s; }

/* ========================================
   Reduced Motion
   ======================================== */

.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
}

.reduce-motion .custom-cursor,
.reduce-motion .cursor-dot {
    display: none;
}

/* ========================================
   Responsive
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --space-4xl: 4rem;
        --space-5xl: 5rem;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
        min-height: auto;
        padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-lg) var(--space-3xl);
    }

    .hero-content {
        order: 1;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-visual {
        order: 2;
        padding: 0 var(--space-lg);
    }

    .browser-frame {
        transform: none;
    }

    .floating-card {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    .features {
        padding: var(--space-4xl) var(--space-lg);
    }

    .features-header {
        padding-left: 0;
        text-align: center;
        max-width: 100%;
    }

    .what-is-vita-content {
        text-align: center;
    }

    .who-content,
    .video-content {
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: var(--space-lg);
    }

    .modes {
        padding: var(--space-4xl) var(--space-lg);
    }

    .modes-header {
        padding-left: 0;
        text-align: center;
        margin: auto;
    }

    .modes-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        padding: 0;
        gap: var(--space-lg);
    }

    .questions-inner {
        padding: 0 var(--space-lg);
    }

    .questions-inner .section-title {
        padding-left: 0;
        text-align: center;
    }

    .audience {
        padding: var(--space-4xl) var(--space-lg);
    }

    .audience-grid {
        grid-template-columns: 1fr;
        padding: 0;
        gap: var(--space-lg);
    }

    .faq {
        padding: var(--space-4xl) var(--space-lg);
    }

    .faq-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        padding: 0;
    }

    .faq-container .section-title {
        text-align: center;
    }

    .section-label {
        padding-left: 0;
        justify-content: center;
    }

    .footer-main {
        flex-direction: column;
        gap: var(--space-2xl);
        text-align: center;
    }

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

    .dna-thread {
        display: none;
    }

    .grid-overlay {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
        --space-2xl: 2rem;
        --space-3xl: 2.5rem;
        --space-4xl: 3rem;
        --space-5xl: 4rem;
    }

    /* Navigation */
    .nav-inner {
        padding: 0 var(--space-md);
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.8rem;
    }

    .nav-cta svg {
        display: none;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo-icon {
        height: 1.25rem;
        width: 1.25rem;
        min-width: 1.25rem;
        max-width: 1.25rem;
        aspect-ratio: 1 / 1;
    }

    /* Hero */
    .hero {
        padding: calc(var(--nav-height) + var(--space-xl)) var(--space-md) var(--space-2xl);
        gap: var(--space-xl);
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: var(--space-xl);
    }

    .hero-eyebrow {
        margin-bottom: var(--space-md);
    }

    .eyebrow-line {
        width: 24px;
    }

    .hero-eyebrow span:last-child {
        font-size: 0.75rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: var(--space-sm);
        margin-bottom: var(--space-xl);
    }

    .btn-primary,
    .btn-ghost {
        justify-content: center;
        padding: var(--space-md) var(--space-lg);
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-md);
        justify-content: center;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stat-divider {
        height: 30px;
    }

    .hero-visual {
        padding: 0;
    }

    .browser-bar {
        padding: var(--space-sm) var(--space-md);
    }

    .browser-dots span {
        width: 8px;
        height: 8px;
    }

    .browser-url {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    /* Section Labels */
    .section-label {
        margin-bottom: var(--space-lg);
    }

    .label-number {
        font-size: 0.8rem;
    }

    .label-text {
        font-size: 0.7rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .section-title br {
        display: none;
    }

    /* Features */
    .features {
        padding: var(--space-3xl) var(--space-md);
    }

    .features-header {
        margin-bottom: var(--space-2xl);
    }

    .feature-card {
        padding: var(--space-lg);
    }

    .feature-number {
        font-size: 2rem;
        top: var(--space-md);
        right: var(--space-md);
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        margin-bottom: var(--space-lg);
    }

    .feature-card h3 {
        font-size: 1.25rem;
        margin-bottom: var(--space-sm);
    }

    .feature-card p {
        font-size: 0.9rem;
        margin-bottom: var(--space-md);
    }

    .feature-example {
        font-size: 0.8rem;
        padding: var(--space-xs) var(--space-sm);
    }

    /* What is VITA */
    .what-is-vita {
        padding: var(--space-3xl) var(--space-md);
    }

    .what-is-vita-content {
        padding: 0;
    }

    .what-is-vita-text p {
        font-size: 1rem;
    }

    /* WHO Section */
    .who-section {
        padding: var(--space-3xl) var(--space-md);
    }

    .who-content {
        padding: 0;
    }

    .who-text p {
        font-size: 1rem;
    }

    /* Video Showcase */
    .video-showcase {
        padding: var(--space-3xl) var(--space-md);
    }

    .video-content {
        padding: 0;
    }

    .video-triptych {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        max-width: 500px;
        margin: 0 auto;
    }

    .video-card {
        padding: var(--space-lg);
    }

    .video-play-button {
        width: 64px;
        height: 64px;
    }

    .video-play-button svg {
        width: 24px;
        height: 24px;
    }

    /* Video Modal Mobile */
    .video-modal {
        padding: var(--space-md);
    }

    .video-modal-container {
        max-height: 85vh;
    }

    .video-modal-close {
        top: -40px;
        width: 40px;
        height: 40px;
    }

    .video-modal-close svg {
        width: 20px;
        height: 20px;
    }

    .video-modal-title {
        padding: var(--space-md) var(--space-lg);
        font-size: 1.25rem;
    }

    /* Modes */
    .modes {
        padding: var(--space-3xl) var(--space-md);
    }

    .modes-header {
        margin-bottom: var(--space-2xl);
    }

    .modes-desc {
        font-size: 1rem;
    }

    .mode-card {
        padding: var(--space-lg);
    }

    .mode-badge {
        top: var(--space-md);
        right: var(--space-md);
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    .mode-icon {
        width: 52px;
        height: 52px;
        margin-bottom: var(--space-md);
    }

    .mode-icon svg {
        width: 26px;
        height: 26px;
    }

    .mode-card h3 {
        font-size: 1.25rem;
    }

    .mode-card p {
        font-size: 0.85rem;
        margin-bottom: var(--space-md);
    }

    .mode-for {
        font-size: 0.75rem;
    }

    /* Questions Marquee */
    .questions {
        padding: var(--space-3xl) 0;
    }

    .questions-inner {
        padding: 0 var(--space-md);
    }

    .questions-inner .section-title {
        margin-bottom: var(--space-xl);
    }

    .question-pill {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.8rem;
    }

    .marquee-track {
        gap: var(--space-sm);
    }

    /* Audience */
    .audience {
        padding: var(--space-3xl) var(--space-md);
    }

    .audience-card {
        padding: var(--space-xl);
    }

    .audience-tag {
        font-size: 0.65rem;
        margin-bottom: var(--space-md);
    }

    .audience-header h3 {
        font-size: 1.5rem;
        margin-bottom: var(--space-lg);
    }

    .audience-header h3 br {
        display: none;
    }

    .audience-list li {
        font-size: 0.9rem;
        margin-bottom: var(--space-sm);
        padding-left: var(--space-md);
    }

    .audience-list li::before {
        width: 5px;
        height: 5px;
        top: 8px;
    }

    /* FAQ */
    .faq {
        padding: var(--space-3xl) var(--space-md);
    }

    .faq-container .section-title {
        margin-bottom: var(--space-xl);
    }

    .faq-item summary {
        padding: var(--space-md);
    }

    .faq-item summary span {
        font-size: 0.9rem;
    }

    .faq-item p {
        padding: 0 var(--space-md) var(--space-md);
        font-size: 0.85rem;
    }

    .faq-icon {
        width: 20px;
        height: 20px;
    }

    /* CTA */
    .cta {
        padding: var(--space-3xl) var(--space-md);
    }

    .cta-title {
        font-size: 1.75rem;
        margin-bottom: var(--space-sm);
    }

    .cta-title br {
        display: none;
    }

    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: var(--space-xl);
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
    }

    .cta-actions .btn-primary,
    .cta-actions .btn-outline {
        justify-content: center;
        padding: var(--space-md) var(--space-lg);
        font-size: 0.95rem;
    }

    .decoration-circle:nth-child(1) {
        width: 200px;
        height: 200px;
        top: -100px;
        right: -50px;
    }

    .decoration-circle:nth-child(2) {
        width: 150px;
        height: 150px;
        bottom: -75px;
        left: -50px;
    }

    .decoration-circle:nth-child(3) {
        display: none;
    }

    /* Footer */
    .footer {
        padding: var(--space-2xl) var(--space-md) var(--space-md);
    }

    .footer-main {
        padding-bottom: var(--space-xl);
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-tagline {
        font-size: 0.85rem;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-xl);
    }

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

    .footer-col h4 {
        font-size: 0.9rem;
        margin-bottom: var(--space-sm);
    }

    .footer-col a {
        font-size: 0.85rem;
    }

    .footer-disclaimer {
        margin: var(--space-md) 0;
    }

    .footer-disclaimer p {
        font-size: 0.75rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    /* Hide custom cursor on mobile/tablet */
    .custom-cursor,
    .cursor-dot {
        display: none !important;
    }

    body {
        cursor: auto !important;
    }

    a, button, [role="button"] {
        cursor: pointer !important;
    }

    /* Disable heavy animations on mobile */
    .reveal {
        opacity: 1;
        transform: none;
    }

    .feature-card:hover,
    .mode-card:hover,
    .audience-card:hover {
        transform: none;
    }

    .faq-item:hover,
    .faq-item[open] {
        transform: none;
    }
}

/* Small phones */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.85rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .audience-header h3 {
        font-size: 1.35rem;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--space-lg);
    }
}

/* Touch devices - always show normal cursor */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor,
    .cursor-dot {
        display: none !important;
    }

    body,
    body a,
    body button {
        cursor: auto !important;
    }

    /* Disable hover effects on touch devices */
    .feature-card:hover::before,
    .feature-card:hover::after,
    .mode-card:hover::after,
    .audience-card:hover::after {
        opacity: 0;
    }

    .btn-primary:hover,
    .btn-ghost:hover,
    .nav-cta:hover {
        transform: none;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: calc(var(--nav-height) + var(--space-lg));
        padding-bottom: var(--space-xl);
    }

    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }
}
