/* ===================================
   WHONEX INDIA — COMING SOON
   Premium Medical Landing Page v2
   =================================== */

/* --- CSS Reset & Custom Properties --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --indigo-400: #818cf8;
    --indigo-500: #6366f1;
    --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;

    --gradient-primary: linear-gradient(135deg, #00d4aa 0%, #0ea5e9 50%, #6366f1 100%);
    --gradient-accent: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    --gradient-warm: linear-gradient(135deg, #00d4aa 0%, #34d399 100%);
    --gradient-bg: radial-gradient(ellipse at 20% 50%, rgba(0, 212, 170, 0.08) 0%, transparent 50%),
                   radial-gradient(ellipse at 80% 20%, rgba(14, 165, 233, 0.06) 0%, transparent 50%),
                   radial-gradient(ellipse at 50% 80%, rgba(99, 102, 241, 0.04) 0%, transparent 50%);

    --font-primary: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-spring: 600ms cubic-bezier(0.34, 1.56, 0.64, 1);

    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-hover: rgba(255, 255, 255, 0.04);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--slate-950);
    color: var(--slate-200);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--gradient-bg);
    z-index: 0;
    pointer-events: none;
}

/* --- Grain Overlay --- */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* --- Grid Background --- */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 212, 170, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 170, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--slate-950);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.pulse-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) scale(0.5);
    border-radius: 50%;
    border: 2px solid rgba(0, 212, 170, 0.2);
    animation: pulseRing 2s ease-out infinite;
}
.pulse-ring.delay-1 { animation-delay: 0.5s; }
.pulse-ring.delay-2 { animation-delay: 1s; }

@keyframes pulseRing {
    0% { transform: translateX(-50%) scale(0.5); opacity: 1; }
    100% { transform: translateX(-50%) scale(2); opacity: 0; }
}

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

.heartbeat-icon {
    width: 120px;
    height: 40px;
}

.heartbeat-line {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: heartbeatDraw 1.5s ease forwards infinite;
}

@keyframes heartbeatDraw {
    0% { stroke-dashoffset: 300; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -300; }
}

.preloader-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: preloaderTextPulse 2s ease-in-out infinite;
}

@keyframes preloaderTextPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* --- Particle Canvas --- */
#particleCanvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* --- Ambient Orbs --- */
.ambient-orbs {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

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

.orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.1), transparent);
    top: -10%; left: -5%;
    animation: orbFloat1 20s ease-in-out infinite;
}
.orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08), transparent);
    top: 50%; right: -10%;
    animation: orbFloat2 24s ease-in-out infinite;
}
.orb-3 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06), transparent);
    bottom: -10%; left: 25%;
    animation: orbFloat3 22s ease-in-out infinite;
}
.orb-4 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.08), transparent);
    top: 25%; left: 55%;
    animation: orbFloat4 26s ease-in-out infinite;
}
.orb-5 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.06), transparent);
    top: 70%; left: 70%;
    animation: orbFloat1 18s ease-in-out infinite reverse;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(80px, 60px) scale(1.15); }
    66% { transform: translate(-40px, 120px) scale(0.9); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-100px, -80px) scale(1.2); }
    66% { transform: translate(50px, -40px) scale(0.85); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, -60px) scale(1.2); }
}
@keyframes orbFloat4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-80px, 80px) scale(1.15); }
}

/* --- Cursor Glow --- */
.cursor-glow {
    position: fixed;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}
body:hover .cursor-glow { opacity: 1; }

/* --- Heartbeat Banner --- */
.heartbeat-banner {
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    z-index: 50;
    height: 30px;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    animation: fadeInBanner 1s ease 3s forwards;
}

@keyframes fadeInBanner {
    to { opacity: 1; }
}

.heartbeat-svg {
    width: 100%;
    height: 30px;
}

.hb-line-active {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: heartbeatSweep 4s linear infinite;
}

@keyframes heartbeatSweep {
    0% { stroke-dashoffset: 2000; }
    100% { stroke-dashoffset: 0; }
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    background: rgba(2, 6, 23, 0.65);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transform: translateY(-100%);
    animation: navSlideIn 0.8s ease 2.5s forwards;
}

@keyframes navSlideIn {
    to { transform: translateY(0); }
}

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

.nav-logo-wrap {
    position: relative;
    width: 38px; height: 38px;
}

.nav-logo {
    width: 38px; height: 38px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.logo-pulse {
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-md);
    background: rgba(0, 212, 170, 0.15);
    animation: logoPulse 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.3); opacity: 0; }
}

.brand-text {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-badge {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.15);
    color: var(--teal-300);
}

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

.nav-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(52, 211, 153, 0.06);
    border: 1px solid rgba(52, 211, 153, 0.1);
}

.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--emerald-400);
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.5);
    animation: statusPulse 2s ease-in-out infinite;
}

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

.status-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--emerald-400);
    letter-spacing: 0.05em;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 1.5rem 4rem;
    text-align: center;
}

.hero-content {
    max-width: 850px;
    width: 100%;
}

/* --- Greeting --- */
.greeting-line {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    background: rgba(0, 212, 170, 0.04);
    border: 1px solid rgba(0, 212, 170, 0.1);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.greeting-icon {
    font-size: 1.2rem;
    animation: wave 2.5s ease-in-out infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60%, 100% { transform: rotate(0deg); }
}

.greeting-text {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal-300);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.greeting-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--slate-600);
}

.greeting-sub {
    font-size: 0.8rem;
    color: var(--slate-500);
    font-weight: 400;
}

/* --- Headlines --- */
.hero-headline {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.headline-row {
    display: block;
}

.headline-word {
    display: inline-block;
    color: var(--slate-100);
    margin-right: 0.15em;
    transition: color 0.3s ease;
}

.headline-word.accent {
    color: var(--teal-400);
    text-shadow: 0 0 60px rgba(0, 212, 170, 0.25);
}

.headline-word.accent-2 {
    color: var(--sky-400);
    text-shadow: 0 0 60px rgba(14, 165, 233, 0.25);
}

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

/* Shimmer effect */
.shimmer {
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* --- Morphing Text --- */
.morphing-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-primary);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
}

.morph-prefix {
    color: var(--slate-500);
}

.morph-word-wrapper {
    position: relative;
    display: inline-block;
    min-width: 160px;
    text-align: left;
}

.morph-word {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: var(--teal-400);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
    filter: blur(4px);
    white-space: nowrap;
}

.morph-word.active {
    opacity: 1;
    filter: blur(0);
}

.morph-word.exit-up {
    opacity: 0;
    transform: translateY(-150%);
    filter: blur(4px);
}

.morph-word.enter-up {
    transform: translateY(150%);
}

.morph-cursor {
    color: var(--teal-400);
    animation: cursorBlink 1s steps(2) infinite;
    font-weight: 300;
}

@keyframes cursorBlink {
    0% { opacity: 1; }
    50% { opacity: 0; }
}

/* --- Subtitle --- */
.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    line-height: 1.8;
    color: var(--slate-400);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

/* --- Coming Soon Badge --- */
.coming-soon-badge {
    display: inline-flex;
    position: relative;
    margin-bottom: 2.5rem;
}

.badge-glow {
    position: absolute;
    inset: -3px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    opacity: 0.4;
    filter: blur(16px);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.08); }
}

.badge-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    background: rgba(2, 6, 23, 0.85);
    border: 1px solid rgba(0, 212, 170, 0.25);
    backdrop-filter: blur(20px);
}

.badge-heartbeat {
    width: 40px;
    height: 20px;
    color: var(--teal-400);
    opacity: 0.6;
}

.badge-heartbeat svg {
    width: 100%;
    height: 100%;
}

.badge-content > span {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Countdown --- */
.countdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

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

.countdown-ring {
    position: relative;
    width: 90px; height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-ring svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.04);
    stroke-width: 3;
}

.ring-fill {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.5s ease;
}

.ring-days { stroke: var(--teal-400); }
.ring-hours { stroke: var(--cyan-400); }
.ring-minutes { stroke: var(--sky-400); }
.ring-seconds { stroke: var(--indigo-400); }

.countdown-value {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--slate-100);
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.countdown-label {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--slate-500);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.countdown-separator {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: -1.5rem;
}

.countdown-separator span {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--slate-600);
    animation: separatorBlink 1s steps(2) infinite;
}

@keyframes separatorBlink {
    0% { opacity: 1; }
    50% { opacity: 0.15; }
}

/* --- Notify Section --- */
.notify-section {
    max-width: 520px;
    margin: 0 auto;
}

.notify-text {
    font-size: 0.95rem;
    color: var(--slate-400);
    margin-bottom: 1rem;
    font-weight: 400;
}

.notify-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    width: 18px; height: 18px;
    color: var(--slate-500);
    pointer-events: none;
    transition: color var(--transition-base);
    z-index: 2;
}

.input-wrapper:focus-within .input-icon {
    color: var(--teal-400);
}

.input-glow {
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.input-wrapper:focus-within .input-glow {
    opacity: 0.15;
    filter: blur(8px);
}

#emailInput {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.75rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    color: var(--slate-100);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

#emailInput::placeholder { color: var(--slate-500); }

#emailInput:focus {
    border-color: rgba(0, 212, 170, 0.35);
    background: rgba(0, 212, 170, 0.03);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.06);
}

/* Magnetic Button */
.notify-btn {
    position: relative;
    padding: 0.9rem 1.75rem;
    border: none;
    border-radius: var(--radius-lg);
    color: var(--slate-950);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.2);
    background: transparent;
    z-index: 1;
}

.btn-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    z-index: -1;
    transition: transform 0.3s ease;
}

.notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.3);
}

.notify-btn:hover .btn-bg {
    transform: scale(1.05);
}

.notify-btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-icon {
    width: 16px; height: 16px;
    transition: transform var(--transition-base);
}

.notify-btn:hover .btn-icon {
    transform: translateX(4px);
}

.btn-text, .btn-icon {
    position: relative;
    z-index: 1;
}

.btn-success {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-500);
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-smooth);
    z-index: 2;
    border-radius: var(--radius-lg);
}

.btn-success svg {
    width: 22px; height: 22px;
    color: white;
}

.notify-btn.success .btn-text,
.notify-btn.success .btn-icon { opacity: 0; }

.notify-btn.success .btn-success {
    opacity: 1;
    transform: scale(1);
}

.notify-note {
    font-size: 0.75rem;
    color: var(--slate-600);
}

/* --- Marquee --- */
.marquee-section {
    position: relative;
    z-index: 10;
    padding: 1.5rem 0;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 212, 170, 0.01);
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    gap: 3rem;
    animation: marqueeScroll 30s linear infinite;
    padding-right: 3rem;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--slate-500);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.marquee-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--teal-500);
    opacity: 0.5;
    flex-shrink: 0;
}

/* --- Section Shared --- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--teal-400);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(0, 212, 170, 0.06);
    border: 1px solid rgba(0, 212, 170, 0.1);
}

.section-tag svg {
    width: 16px; height: 16px;
}

/* --- Stats Section --- */
.stats-section {
    position: relative;
    z-index: 10;
    padding: 6rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.stats-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--slate-100);
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.stats-subtitle {
    font-size: 1rem;
    color: var(--slate-400);
    max-width: 500px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    text-align: left;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(0, 212, 170, 0.15);
    background: var(--glass-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-card:hover::before { opacity: 1; }

.stat-icon-wrap {
    width: 44px; height: 44px;
    border-radius: var(--radius-md);
    background: rgba(0, 212, 170, 0.06);
    border: 1px solid rgba(0, 212, 170, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon-wrap {
    background: rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.2);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.08);
}

.stat-icon-wrap svg {
    width: 22px; height: 22px;
    color: var(--teal-400);
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 2.25rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-label {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--slate-200);
    margin-bottom: 0.25rem;
}

.stat-desc {
    font-size: 0.8rem;
    color: var(--slate-500);
    margin-bottom: 1rem;
}

.stat-bar {
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    border-radius: 2px;
    background: var(--gradient-primary);
    width: 0;
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-card.visible .stat-bar-fill {
    width: var(--fill-width);
}

/* --- Pillars Section --- */
.pillars-section {
    position: relative;
    z-index: 10;
    padding: 4rem 2rem 6rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.pillars-title {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--slate-100);
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.pillar-card {
    padding: 2.5rem 2rem;
    border-radius: var(--radius-2xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    text-align: left;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.pillar-card.featured {
    border-color: rgba(0, 212, 170, 0.15);
    background: rgba(0, 212, 170, 0.02);
}

.pillar-card.featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.pillar-card:hover {
    border-color: rgba(0, 212, 170, 0.15);
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.pillar-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal-500);
    opacity: 0.5;
    margin-bottom: 1.25rem;
    letter-spacing: 0.1em;
}

.pillar-icon {
    width: 56px; height: 56px;
    margin-bottom: 1.5rem;
    color: var(--teal-400);
    transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(0, 212, 170, 0.3));
}

.pillar-icon svg {
    width: 100%; height: 100%;
}

.pillar-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--slate-100);
    margin-bottom: 0.75rem;
}

.pillar-card p {
    font-size: 0.9rem;
    color: var(--slate-400);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.pillar-tags span {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    background: rgba(0, 212, 170, 0.05);
    border: 1px solid rgba(0, 212, 170, 0.08);
    color: var(--slate-400);
    letter-spacing: 0.05em;
}

.pillar-card:hover .pillar-tags span {
    border-color: rgba(0, 212, 170, 0.15);
    color: var(--teal-300);
}

/* --- CTA Banner --- */
.cta-banner {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 2rem auto 6rem;
    padding: 3.5rem 3rem;
    border-radius: var(--radius-2xl);
    background: rgba(0, 212, 170, 0.03);
    border: 1px solid rgba(0, 212, 170, 0.1);
    text-align: center;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 212, 170, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(14, 165, 233, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 48px; height: 48px;
    color: var(--teal-400);
    margin: 0 auto 1.5rem;
    opacity: 0.7;
}

.cta-icon svg {
    width: 100%; height: 100%;
}

.cta-banner h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--slate-100);
    margin-bottom: 0.75rem;
}

.cta-banner p {
    font-size: 1rem;
    color: var(--slate-400);
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cta-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cta-stat-num {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-stat-label {
    font-size: 0.75rem;
    color: var(--slate-500);
    letter-spacing: 0.05em;
}

.cta-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--glass-border);
    background: rgba(2, 6, 23, 0.5);
    backdrop-filter: blur(20px);
}

.footer-top {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-brand-section {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo-mark {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    flex-shrink: 0;
}

.footer-logo-img {
    width: 100%; height: 100%;
    object-fit: contain;
}

.footer-logo-text {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    color: var(--slate-200);
    display: block;
    margin-bottom: 0.25rem;
}

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

.footer-links-section {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-links-col {
    min-width: 120px;
}

.footer-links-col h4 {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-400);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.footer-links-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--slate-500);
    text-decoration: none;
    padding: 0.3rem 0;
    transition: color 0.2s ease;
}

.footer-links-col a:hover {
    color: var(--teal-400);
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--slate-600);
}

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

.social-link {
    width: 36px; height: 36px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-500);
    text-decoration: none;
    transition: all var(--transition-base);
}

.social-link:hover {
    border-color: rgba(0, 212, 170, 0.25);
    background: rgba(0, 212, 170, 0.06);
    color: var(--teal-400);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.social-link svg {
    width: 16px; height: 16px;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    z-index: 100;
    width: 44px; height: 44px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(20px);
    color: var(--slate-400);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

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

.back-to-top:hover {
    border-color: rgba(0, 212, 170, 0.25);
    color: var(--teal-400);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

/* --- Scroll Progress Bar --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 10001;
    background: transparent;
    pointer-events: none;
}

.scroll-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 0 2px 2px 0;
    transition: width 0.05s linear;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.4), 0 0 20px rgba(0, 212, 170, 0.15);
}

/* --- Section Divider Line --- */
.section-line {
    position: relative;
    z-index: 10;
    width: 120px;
    height: 2px;
    margin: 0 auto;
    background: var(--gradient-primary);
    border-radius: 1px;
    opacity: 1 !important; /* override scroll-reveal initial */
}

.section-line[data-anim="scale-x"] {
    transform: scaleX(0);
    opacity: 1 !important;
}

.section-line[data-anim="scale-x"].visible {
    transform: scaleX(1);
}

/* --- Scroll Reveal Base --- */
.anim-item,
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), 
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.anim-item.visible,
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) rotate(0deg);
    filter: blur(0);
}

/* --- Directional Animation Variants --- */

/* Fade Up (default) */
[data-anim="fade-up"] {
    transform: translateY(50px);
}
[data-anim="fade-up"].visible {
    transform: translateY(0);
}

/* Fade Down */
[data-anim="fade-down"] {
    transform: translateY(-50px);
}
[data-anim="fade-down"].visible {
    transform: translateY(0);
}

/* Fade Left (slides in from left) */
[data-anim="fade-left"] {
    transform: translateX(-60px);
}
[data-anim="fade-left"].visible {
    transform: translateX(0);
}

/* Fade Right (slides in from right) */
[data-anim="fade-right"] {
    transform: translateX(60px);
}
[data-anim="fade-right"].visible {
    transform: translateX(0);
}

/* Scale Up */
[data-anim="scale-up"] {
    transform: scale(0.85);
}
[data-anim="scale-up"].visible {
    transform: scale(1);
}

/* Scale X (horizontal stretch, for lines/dividers) */
[data-anim="scale-x"] {
    transform: scaleX(0);
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-anim="scale-x"].visible {
    transform: scaleX(1);
}

/* Rotate In */
[data-anim="rotate-in"] {
    transform: rotate(-5deg) translateY(30px);
}
[data-anim="rotate-in"].visible {
    transform: rotate(0deg) translateY(0);
}

/* Blur In */
[data-anim="blur-in"] {
    filter: blur(10px);
    transform: translateY(20px);
}
[data-anim="blur-in"].visible {
    filter: blur(0);
    transform: translateY(0);
}

/* Fade Up + Scale (for CTA banner, hero elements) */
[data-anim="fade-scale"] {
    transform: translateY(30px) scale(0.95);
}
[data-anim="fade-scale"].visible {
    transform: translateY(0) scale(1);
}

/* --- Parallax Sections --- */
[data-parallax] {
    transition: transform 0.1s linear;
    will-change: transform;
}


/* ============================================
   RESPONSIVE — Full Device Optimization
   Mobile → Large Mobile → Tablet → Laptop
   ============================================ */

/* --- Touch Device Optimizations --- */
@media (hover: none) and (pointer: coarse) {
    /* Disable expensive hover effects on touch devices */
    .cursor-glow { display: none !important; }
    .pillar-card:hover,
    .stat-card:hover { transform: none; }
    .feature-card:hover { animation-play-state: running; }

    /* Larger tap targets for mobile (min 44px) */
    .social-link { width: 44px; height: 44px; }
    .back-to-top { width: 48px; height: 48px; }
    .notify-btn { min-height: 48px; }
    #emailInput { min-height: 48px; font-size: 16px; /* prevent iOS zoom */ }

    /* Remove magnetic button on touch */
    .magnetic-btn { transform: none !important; }
}

/* --- Laptop / Small Desktop (1025px – 1280px) --- */
@media (max-width: 1280px) {
    .hero-section { padding: 8rem 2rem 4rem; }
    .hero-content { max-width: 780px; }
    .stats-section, .pillars-section { padding: 5rem 2rem; max-width: 1000px; }
    .stats-grid { gap: 1.25rem; }
    .cta-banner { max-width: 820px; padding: 3rem 2.5rem; }
    .footer-top { max-width: 1000px; }
    .footer-bottom { max-width: 1000px; }
}

/* --- Tablet Landscape (769px – 1024px) --- */
@media (max-width: 1024px) {
    .navbar { padding: 0.85rem 1.5rem; }
    .brand-text { font-size: 1.15rem; letter-spacing: 0.12em; }

    .hero-section { padding: 7.5rem 1.75rem 3.5rem; }
    .hero-headline { font-size: clamp(2.2rem, 6vw, 4rem); }
    .hero-subtitle { font-size: 1rem; max-width: 540px; }

    .morphing-text { font-size: 1.15rem; }
    .morph-word-wrapper { min-width: 140px; }

    .countdown-ring { width: 82px; height: 82px; }
    .countdown-value { font-size: 1.4rem; }
    .countdown-container { gap: 0.75rem; }

    .notify-section { max-width: 480px; }

    .stats-section, .pillars-section { padding: 4.5rem 1.75rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .stat-number { font-size: 2rem; }

    .pillars-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
    .pillar-card { padding: 2rem 1.5rem; }
    .pillar-card h3 { font-size: 1.15rem; }
    .pillar-card p { font-size: 0.85rem; }

    .cta-banner { margin: 2rem 1.5rem 5rem; padding: 3rem 2rem; }

    .footer-top { padding: 2.5rem 1.75rem; gap: 2.5rem; }
    .footer-links-section { gap: 2.5rem; }

    .heartbeat-banner { opacity: 0.6; }
}

/* --- Tablet Portrait (641px – 768px) --- */
@media (max-width: 768px) {
    /* Navbar */
    .navbar { padding: 0.75rem 1.25rem; }
    .nav-logo-wrap { width: 32px; height: 32px; }
    .nav-logo { width: 32px; height: 32px; }
    .brand-text { font-size: 1.05rem; }
    .brand-badge { font-size: 0.5rem; padding: 0.15rem 0.45rem; }
    .status-text { display: none; }
    .nav-status { padding: 0.25rem 0.5rem; }

    /* Hero */
    .hero-section { padding: 6.5rem 1.25rem 3rem; }
    .hero-headline { font-size: clamp(2rem, 8vw, 3.2rem); margin-bottom: 1rem; }
    .hero-subtitle { font-size: 0.95rem; line-height: 1.7; margin-bottom: 2rem; max-width: 480px; }

    /* Morphing Text */
    .morphing-text { font-size: 1rem; gap: 0.4rem; margin-bottom: 1.25rem; }
    .morph-word-wrapper { min-width: 120px; }

    /* Greeting */
    .greeting-line { padding: 0.4rem 1.15rem; margin-bottom: 1.5rem; }
    .greeting-text { font-size: 0.8rem; }
    .greeting-sub { font-size: 0.7rem; }

    /* Coming Soon Badge */
    .badge-content { padding: 0.6rem 1.5rem; gap: 0.5rem; }
    .badge-content > span { font-size: 0.7rem; letter-spacing: 0.2em; }
    .badge-heartbeat { width: 32px; height: 16px; }
    .coming-soon-badge { margin-bottom: 2rem; }

    /* Countdown */
    .countdown-container { gap: 0.5rem; margin-bottom: 2.5rem; }
    .countdown-ring { width: 70px; height: 70px; }
    .countdown-value { font-size: 1.2rem; }
    .countdown-label { font-size: 0.6rem; margin-top: 0.35rem; }
    .countdown-separator span { width: 4px; height: 4px; }

    /* Notify */
    .notify-form { flex-direction: column; gap: 0.6rem; }
    .notify-btn { justify-content: center; width: 100%; }
    .notify-section { max-width: 100%; }
    .notify-text { font-size: 0.9rem; }

    /* Marquee */
    .marquee-item { font-size: 0.75rem; gap: 0.5rem; }
    .marquee-content { gap: 2rem; }

    /* Stats */
    .stats-section { padding: 3.5rem 1.25rem; }
    .stats-title { font-size: clamp(1.6rem, 4vw, 2.2rem); }
    .stats-subtitle { font-size: 0.9rem; margin-bottom: 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .stat-card { padding: 1.5rem 1.25rem; }
    .stat-number { font-size: 1.8rem; }
    .stat-label { font-size: 0.85rem; }
    .stat-desc { font-size: 0.75rem; }
    .stat-icon-wrap { width: 38px; height: 38px; margin-bottom: 1rem; }
    .stat-icon-wrap svg { width: 18px; height: 18px; }

    /* Pillars */
    .pillars-section { padding: 3rem 1.25rem 4rem; }
    .pillars-title { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 2rem; }
    .pillars-grid { grid-template-columns: 1fr; gap: 1rem; max-width: 480px; margin: 0 auto; }
    .pillar-card { padding: 2rem 1.5rem; }

    /* CTA */
    .cta-banner { margin: 1rem 1.25rem 4rem; padding: 2.5rem 1.5rem; border-radius: var(--radius-xl); }
    .cta-banner h2 { font-size: clamp(1.3rem, 4vw, 1.8rem); }
    .cta-banner p { font-size: 0.9rem; }

    /* Footer */
    .footer-top { flex-direction: column; gap: 2rem; padding: 2rem 1.25rem; }
    .footer-links-section { gap: 2rem; }
    .footer-bottom { padding: 1.25rem; flex-direction: column; text-align: center; gap: 1rem; }

    /* Heartbeat banner */
    .heartbeat-banner { display: none; }

    /* Back to top */
    .back-to-top { bottom: 1.25rem; right: 1.25rem; }

    /* Reduce ambient complexity for performance */
    .orb { filter: blur(80px); }
    .grid-bg { display: none; }
}

/* --- Large Mobile (481px – 640px) --- */
@media (max-width: 640px) {
    .hero-section { padding: 6rem 1rem 2.5rem; }
    .hero-headline { font-size: clamp(1.8rem, 9vw, 2.8rem); line-height: 1.1; }
    .hero-subtitle { font-size: 0.9rem; line-height: 1.65; margin-bottom: 1.75rem; }

    .morphing-text { font-size: 0.95rem; flex-wrap: wrap; justify-content: center; }

    .countdown-ring { width: 64px; height: 64px; }
    .countdown-value { font-size: 1.1rem; }
    .countdown-separator { margin-top: -1rem; }
    .countdown-separator span { width: 3px; height: 3px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .stat-card { padding: 1.25rem 1rem; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.8rem; }
    .stat-desc { font-size: 0.7rem; margin-bottom: 0.75rem; }

    .pillar-icon { width: 44px; height: 44px; margin-bottom: 1.25rem; }
    .pillar-card h3 { font-size: 1.15rem; }
    .pillar-card p { font-size: 0.85rem; }
    .pillar-tags span { font-size: 0.65rem; padding: 0.25rem 0.6rem; }

    .cta-stats-row { gap: 1.25rem; }
    .cta-stat-num { font-size: 1.3rem; }

    .footer-links-section { 
        flex-direction: row; 
        flex-wrap: wrap; 
        gap: 1.5rem; 
    }
    .footer-links-col { min-width: 100px; }
}

/* --- Small Mobile (320px – 480px) --- */
@media (max-width: 480px) {
    /* Navbar compact */
    .navbar { padding: 0.6rem 1rem; }
    .brand-badge { display: none; }
    .nav-logo-wrap { width: 28px; height: 28px; }
    .nav-logo { width: 28px; height: 28px; }
    .brand-text { font-size: 1rem; letter-spacing: 0.1em; }
    .logo-pulse { inset: -3px; }

    /* Hero */
    .hero-section { padding: 5.5rem 0.85rem 2rem; }
    .hero-headline { 
        font-size: clamp(1.65rem, 10vw, 2.5rem); 
        margin-bottom: 0.75rem; 
        letter-spacing: -0.02em;
    }
    .hero-subtitle { 
        font-size: 0.85rem; 
        line-height: 1.6; 
        margin-bottom: 1.5rem; 
        padding: 0 0.25rem;
    }

    /* Greeting */
    .greeting-line { padding: 0.35rem 0.9rem; margin-bottom: 1.25rem; gap: 0.35rem; }
    .greeting-icon { font-size: 1rem; }
    .greeting-text { font-size: 0.7rem; letter-spacing: 0.08em; }
    .greeting-sub { display: none; }
    .greeting-dot { display: none; }

    /* Morphing */
    .morphing-text { 
        font-size: 0.85rem; 
        gap: 0.3rem; 
        margin-bottom: 1rem; 
    }
    .morph-word-wrapper { min-width: 100px; }
    .morph-cursor { display: none; }

    /* Badge */
    .coming-soon-badge { margin-bottom: 1.5rem; }
    .badge-content { padding: 0.5rem 1rem; gap: 0.4rem; }
    .badge-content > span { font-size: 0.6rem; letter-spacing: 0.15em; }
    .badge-heartbeat { width: 24px; height: 12px; }
    .badge-glow { filter: blur(10px); }

    /* Countdown — compact layout */
    .countdown-container { 
        gap: 0.35rem; 
        margin-bottom: 2rem; 
    }
    .countdown-ring { width: 56px; height: 56px; }
    .countdown-value { font-size: 0.95rem; }
    .countdown-label { font-size: 0.55rem; margin-top: 0.25rem; letter-spacing: 0.1em; }
    .countdown-separator { gap: 5px; margin-top: -0.75rem; }
    .countdown-separator span { width: 3px; height: 3px; }
    .ring-bg, .ring-fill { stroke-width: 2.5; }

    /* Notify */
    .notify-text { font-size: 0.85rem; }
    #emailInput { padding: 0.8rem 0.9rem 0.8rem 2.5rem; font-size: 16px; }
    .notify-btn { padding: 0.8rem 1.25rem; font-size: 0.85rem; }
    .notify-note { font-size: 0.7rem; }

    /* Marquee */
    .marquee-section { padding: 1rem 0; }
    .marquee-item { font-size: 0.7rem; gap: 0.4rem; }
    .marquee-dot { width: 4px; height: 4px; }
    .marquee-content { gap: 1.5rem; }

    /* Stats */
    .stats-section { padding: 2.5rem 0.85rem; }
    .stats-title { font-size: 1.4rem; }
    .stats-subtitle { font-size: 0.85rem; margin-bottom: 1.5rem; }
    .section-tag { font-size: 0.7rem; padding: 0.3rem 0.75rem; }
    .section-tag svg { width: 14px; height: 14px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    .stat-card { padding: 1.15rem 0.9rem; border-radius: var(--radius-lg); }
    .stat-number { font-size: 1.35rem; }
    .stat-label { font-size: 0.75rem; }
    .stat-desc { font-size: 0.65rem; margin-bottom: 0.6rem; }
    .stat-icon-wrap { width: 34px; height: 34px; margin-bottom: 0.75rem; }
    .stat-icon-wrap svg { width: 16px; height: 16px; }

    /* Pillars */
    .pillars-section { padding: 2rem 0.85rem 3rem; }
    .pillars-title { font-size: 1.3rem; margin-bottom: 1.5rem; }
    .pillars-grid { max-width: 100%; gap: 0.75rem; }
    .pillar-card { padding: 1.5rem 1.25rem; border-radius: var(--radius-xl); }
    .pillar-number { font-size: 0.65rem; margin-bottom: 0.75rem; }
    .pillar-icon { width: 40px; height: 40px; margin-bottom: 1rem; }
    .pillar-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
    .pillar-card p { font-size: 0.8rem; line-height: 1.6; margin-bottom: 1rem; }
    .pillar-tags { gap: 0.35rem; }
    .pillar-tags span { font-size: 0.6rem; padding: 0.2rem 0.55rem; }

    /* CTA */
    .cta-banner { 
        margin: 0.5rem 0.85rem 3rem; 
        padding: 2rem 1.25rem; 
        border-radius: var(--radius-xl); 
    }
    .cta-icon { width: 36px; height: 36px; margin-bottom: 1rem; }
    .cta-banner h2 { font-size: 1.2rem; }
    .cta-banner p { font-size: 0.85rem; margin-bottom: 1.5rem; }
    .cta-stats-row { flex-direction: column; gap: 0.75rem; }
    .cta-stat-num { font-size: 1.2rem; }
    .cta-stat-label { font-size: 0.7rem; }
    .cta-stat-divider { width: 40px; height: 1px; }

    /* Footer */
    .footer-top { padding: 1.75rem 0.85rem; gap: 1.5rem; }
    .footer-brand-section { gap: 0.75rem; }
    .footer-logo-mark { width: 40px; height: 40px; }
    .footer-logo-text { font-size: 1rem; }
    .footer-tagline { font-size: 0.8rem; }
    .footer-links-section { 
        display: grid; 
        grid-template-columns: repeat(2, 1fr); 
        gap: 1.25rem; 
    }
    .footer-links-col { min-width: auto; }
    .footer-links-col h4 { font-size: 0.7rem; margin-bottom: 0.5rem; }
    .footer-links-col a { font-size: 0.8rem; padding: 0.25rem 0; }
    .footer-bottom { padding: 1rem 0.85rem; }
    .footer-copy { font-size: 0.7rem; }
    .social-link { width: 36px; height: 36px; }
    .social-link svg { width: 14px; height: 14px; }

    /* Back to top */
    .back-to-top { bottom: 1rem; right: 1rem; width: 40px; height: 40px; }
    .back-to-top svg { width: 18px; height: 18px; }

    /* Performance: reduce ambient effects */
    .orb-4, .orb-5 { display: none; }
    .orb { filter: blur(60px); }
    .grain-overlay { display: none; }
}

/* --- Extra Small Mobile (under 360px, e.g. SE, Galaxy Fold) --- */
@media (max-width: 360px) {
    .hero-headline { font-size: 1.5rem; }
    .morphing-text { font-size: 0.8rem; }
    .morph-prefix { font-size: 0.8rem; }

    .countdown-ring { width: 50px; height: 50px; }
    .countdown-value { font-size: 0.85rem; }
    .countdown-label { font-size: 0.5rem; }
    .countdown-container { gap: 0.25rem; }

    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { 
        display: flex; 
        flex-direction: row; 
        align-items: center; 
        gap: 1rem; 
        padding: 1rem; 
    }
    .stat-icon-wrap { margin-bottom: 0; flex-shrink: 0; }
    .stat-bar { display: none; }

    .badge-content { padding: 0.4rem 0.75rem; }
    .badge-heartbeat { display: none; }

    .cta-banner { padding: 1.5rem 1rem; }
    .cta-banner h2 { font-size: 1.05rem; }

    .pillar-card { padding: 1.25rem 1rem; }
}

/* --- Landscape Orientation on Mobile/Tablet --- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section { 
        min-height: auto; 
        padding: 5rem 2rem 2rem; 
    }
    .hero-headline { font-size: clamp(1.5rem, 5vw, 2.5rem); margin-bottom: 0.75rem; }
    .hero-subtitle { margin-bottom: 1.25rem; }
    .greeting-line { margin-bottom: 1rem; }
    .coming-soon-badge { margin-bottom: 1.25rem; }
    .countdown-container { margin-bottom: 1.5rem; }
    .countdown-ring { width: 55px; height: 55px; }
    .countdown-value { font-size: 1rem; }

    .morphing-text { margin-bottom: 0.75rem; }

    /* Hide ambient effects in landscape to save vertical space */
    .orb-3, .orb-4, .orb-5 { display: none; }
}

/* --- Safe Area for Notched Devices (iPhone X+, etc.) --- */
@supports (padding: env(safe-area-inset-top)) {
    .navbar {
        padding-top: max(0.75rem, env(safe-area-inset-top));
        padding-left: max(1.25rem, env(safe-area-inset-left));
        padding-right: max(1.25rem, env(safe-area-inset-right));
    }
    .footer-bottom {
        padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    }
    .back-to-top {
        bottom: max(1rem, calc(env(safe-area-inset-bottom) + 0.5rem));
        right: max(1rem, env(safe-area-inset-right));
    }
}

/* --- Reduced Motion Preference --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .marquee-content { animation: none; }
    .heartbeat-line { animation: none; stroke-dashoffset: 0; }
    .hb-line-active { animation: none; stroke-dashoffset: 0; }
    #particleCanvas { display: none; }
    .grain-overlay { display: none; }
    .orb { animation: none; }
    .shimmer { animation: none; background-size: 100% auto; }
}

/* --- High DPI / Retina Optimization --- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .ring-bg, .ring-fill { stroke-width: 2; }
    .stat-bar { height: 2px; }
}

/* --- Utility: Selection --- */
::selection {
    background: rgba(0, 212, 170, 0.15);
    color: var(--teal-100);
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--slate-950); }
::-webkit-scrollbar-thumb { background: rgba(0, 212, 170, 0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 212, 170, 0.3); }
