@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    /* Color Tokens (Matching Mobile App Theme) */
    --primary-blue: #2563eb;
    --primary-blue-glow: rgba(37, 99, 235, 0.15);
    --primary-blue-hover: #1d4ed8;
    --secondary-teal: #0D9488;
    --secondary-teal-glow: rgba(13, 148, 136, 0.15);
    --tertiary-purple: #7c3aed;
    --nutrition-gold: #eab308;

    /* Neutral Tone Tokens (Slate Gray & White) */
    --text-navy: #0f172a;
    --text-slate: #334155;
    --text-muted: #64748b;
    --bg-slate-50: #f8fafc;
    --bg-slate-100: #f1f5f9;
    --bg-card: #ffffff;
    --border-slate: #e2e8f0;
    --border-focus: #cbd5e1;

    /* Layout Constants */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --shadow-soft: 0 4px 20px -2px rgba(37, 99, 235, 0.05);
    --shadow-ambient: 0 10px 30px -4px rgba(15, 23, 42, 0.04), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    --shadow-hover: 0 20px 40px -8px rgba(15, 23, 42, 0.08), 0 4px 16px -2px rgba(15, 23, 42, 0.04);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-slate-50);
    color: var(--text-slate);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-navy);
    font-weight: 700;
}

p {
    font-size: 1.05rem;
}

code,
pre {
    font-family: 'JetBrains Mono', monospace;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-slate);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    transition: var(--transition-smooth);
}

header.scrolled {
    height: 64px;
    box-shadow: var(--shadow-soft);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0px;
}

.logo-img {
    height: 57px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.logo-text {
    font-family: "Nabla", system-ui;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "EDPT" 100,
        "EHLT" 12;
    font-size: 1.7rem;
    letter-spacing: 0.5px;
}

.logo-text span {
    color: var(--primary-blue);
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-slate);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: var(--transition-smooth);
}

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

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

.header-btn {
    padding: 8px 18px;
    background-color: var(--primary-blue);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    border: 1px solid transparent;
}

.header-btn:hover {
    background-color: var(--primary-blue-hover);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

/* Burger Menu Trigger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-navy);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    padding: 160px 8% 80px 8%;
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(13, 148, 136, 0.03) 0%, transparent 50%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 580px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-blue);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-slate);
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary {
    padding: 14px 28px;
    background-color: var(--primary-blue);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background-color: var(--primary-blue-hover);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 14px 28px;
    background-color: transparent;
    color: var(--text-navy);
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-slate);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    border-color: var(--text-navy);
    background-color: rgba(15, 23, 42, 0.02);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-slate);
    padding-top: 30px;
}

.stat-item h4 {
    font-size: 1.8rem;
    color: var(--text-navy);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Dual Device Sync Layout (Hero Graphic) */
.hero-graphic {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 3D-angled Phone Mockup */
.phone-mockup {
    position: absolute;
    width: 230px;
    height: 450px;
    background: #0f172a;
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.3);
    left: 10%;
    bottom: 5%;
    transform: perspective(1000px) rotateY(15deg) rotateX(5deg) rotateZ(-3deg);
    transition: var(--transition-smooth);
    z-index: 2;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(5deg) rotateX(2deg) rotateZ(-1deg) translateY(-5px);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--bg-slate-50);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.phone-notch {
    width: 110px;
    height: 18px;
    background: #0f172a;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.phone-app-header {
    height: 50px;
    background: white;
    border-bottom: 1px solid var(--border-slate);
    display: flex;
    align-items: center;
    padding: 15px 15px 0 15px;
    justify-content: space-between;
}

.phone-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-blue);
}

.phone-app-body {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: var(--bg-slate-100);
}

.phone-card {
    background: white;
    border-radius: var(--radius-sm);
    padding: 10px;
    border: 1px solid var(--border-slate);
}

.phone-card-title {
    font-size: 0.75rem;
    color: var(--text-navy);
    font-weight: 600;
    margin-bottom: 4px;
}

.phone-card-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-slate-100);
    border-radius: 10px;
    overflow: hidden;
}

.phone-card-progress {
    height: 100%;
    background: var(--primary-blue);
    border-radius: 10px;
}

/* Flat Tablet Mockup */
.tablet-mockup {
    position: absolute;
    width: 320px;
    height: 240px;
    background: #1e293b;
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.25);
    right: 5%;
    top: 15%;
    z-index: 1;
    transition: var(--transition-smooth);
}

.tablet-mockup:hover {
    transform: translateY(-8px);
}

.tablet-screen {
    width: 100%;
    height: 100%;
    background-color: var(--bg-slate-50);
    border-radius: 14px;
    overflow: hidden;
    padding: 10px;
}

.tablet-app-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
    height: 100%;
}

.tablet-sidebar {
    background: #f1f5f9;
    border-radius: 6px;
    padding: 6px;
}

.tablet-sidebar-item {
    height: 14px;
    background: #cbd5e1;
    border-radius: 3px;
    margin-bottom: 6px;
}

.tablet-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tablet-box {
    background: white;
    border: 1px solid var(--border-slate);
    border-radius: 6px;
    padding: 8px;
    font-size: 0.65rem;
}

/* Vector Dotted Sync Path */
.sync-vector-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.sync-line {
    stroke: var(--secondary-teal);
    stroke-dasharray: 6;
    animation: syncDash 20s linear infinite;
}

@keyframes syncDash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* Features Grid Section */
.features-section {
    padding: 100px 8%;
    background-color: white;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-tag {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

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

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

.feature-card {
    background: var(--bg-slate-50);
    border: 1px solid var(--border-slate);
    padding: 35px 25px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    background: white;
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.feature-card:hover::before {
    background-color: var(--primary-blue);
}

.feature-icon-container {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.blue-icon {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-blue);
}

.teal-icon {
    background: rgba(13, 148, 136, 0.08);
    color: var(--secondary-teal);
}

.purple-icon {
    background: rgba(124, 58, 237, 0.08);
    color: var(--tertiary-purple);
}

.gold-icon {
    background: rgba(234, 179, 8, 0.08);
    color: var(--nutrition-gold);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Interactive Demos / Mockups Layout */
.interactive-section {
    padding: 100px 8%;
    background-color: var(--bg-slate-100);
}

.mockup-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

/* CSS Animated Study Mockup */
.study-mockup-frame {
    background: white;
    border: 1px solid var(--border-slate);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-ambient);
    padding: 16px;
    position: relative;
    width: 100%;
    max-width: 620px;
}

.mock-window-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.mock-window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.study-mock-player {
    width: 100%;
    height: 240px;
    background: #0f172a;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.study-mock-video {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    background: radial-gradient(circle, #1e293b 0%, #0f172a 100%);
    position: relative;
}

.study-mock-video h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.video-progress-mock {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.video-progress-fill {
    height: 100%;
    background: var(--primary-blue);
    width: 45%;
    animation: videoProgressRun 10s infinite linear;
}

@keyframes videoProgressRun {
    0% {
        width: 45%;
    }

    50% {
        width: 75%;
    }

    51% {
        width: 75%;
    }

    80% {
        width: 75%;
    }

    100% {
        width: 100%;
    }
}

.player-pause-icon {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 23, 42, 0.6);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: playerPauseFade 10s infinite linear;
}

@keyframes playerPauseFade {

    0%,
    48% {
        opacity: 0;
    }

    50%,
    78% {
        opacity: 1;
    }

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

/* Video Player Local scanning indicator badge */
.local-scan-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(13, 148, 136, 0.85);
    backdrop-filter: blur(4px);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.study-mock-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0;
}

.mock-speed-controls {
    display: flex;
    gap: 8px;
}

.mock-speed-badge {
    font-size: 0.75rem;
    background: var(--bg-slate-100);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.mock-capture-menu {
    display: flex;
    gap: 6px;
}

.mock-cap-btn {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-slate);
    background: white;
    cursor: pointer;
}

.mock-cap-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    animation: buttonPressAnim 10s infinite step-end;
}

@keyframes buttonPressAnim {

    0%,
    49% {
        background: white;
        color: var(--text-navy);
        border-color: var(--border-slate);
    }

    50%,
    75% {
        background: var(--primary-blue);
        color: white;
        border-color: var(--primary-blue);
    }

    76%,
    100% {
        background: white;
        color: var(--text-navy);
        border-color: var(--border-slate);
    }
}

.study-mock-editor {
    border: 1px solid var(--border-slate);
    border-radius: var(--radius-sm);
    background: var(--bg-slate-50);
    padding: 12px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.editor-textarea-mock {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    white-space: pre-line;
}

.typewriter-text {
    display: inline-block;
    color: var(--text-navy);
}

.typewriter-text::after {
    content: '|';
    animation: cursorBlink 0.8s infinite;
}

@keyframes cursorBlink {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

/* Inline screenshot scale animation representing pinch-to-zoom */
.mock-screenshot-block {
    display: none;
    margin-top: 10px;
    width: 220px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-slate);
    overflow: hidden;
    background: white;
    animation: mockScreenshotScale 10s infinite ease-in-out;
}

@keyframes mockScreenshotScale {

    0%,
    55% {
        display: none;
        transform: scale(1);
        opacity: 0;
        height: 0;
    }

    58% {
        display: block;
        transform: scale(1);
        opacity: 1;
        height: auto;
    }

    70%,
    90% {
        display: block;
        transform: scale(1.35) translate(20px, 5px);
        opacity: 1;
        height: auto;
        box-shadow: var(--shadow-ambient);
    }

    95%,
    100% {
        display: none;
        transform: scale(1);
        opacity: 0;
        height: 0;
    }
}

.mock-screenshot-block img {
    width: 100%;
    height: 90px;
    object-fit: cover;
}

.mock-screenshot-footer {
    padding: 4px 8px;
    font-size: 0.65rem;
    background: var(--bg-slate-100);
    color: var(--text-muted);
}

/* Calculator Demo Styles */
.calc-demo-container {
    background: white;
    border: 1px solid var(--border-slate);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-ambient);
    padding: 30px;
    width: 100%;
}

.calc-title-box {
    margin-bottom: 25px;
}

.calc-title-box h3 {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.calc-title-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.calc-input-group {
    margin-bottom: 25px;
}

.calc-input-label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-navy);
}

.calc-weight-val {
    color: var(--primary-blue);
    font-family: 'Space Grotesk', sans-serif;
}

.calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: var(--bg-slate-100);
    outline: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-blue);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
    transition: var(--transition-smooth);
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.calc-metric-card {
    background: var(--bg-slate-50);
    border: 1px solid var(--border-slate);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
}

.calc-metric-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.calc-metric-val {
    font-size: 1.15rem;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-navy);
    font-weight: 600;
}

.calc-metric-card.calories-card {
    grid-column: span 3;
    background: rgba(37, 99, 235, 0.04);
    border-color: rgba(37, 99, 235, 0.1);
}

.calc-metric-card.calories-card .calc-metric-val {
    color: var(--primary-blue);
    font-size: 1.6rem;
}

.calc-disclaimer {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.3;
    text-align: center;
    border-top: 1px dashed var(--border-slate);
    padding-top: 12px;
}

/* Feature Spotlight Sections */
.spotlight-section {
    padding: 100px 8%;
    background-color: white;
}

.spotlight-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;
}

.spotlight-row:last-child {
    margin-bottom: 0;
}

.spotlight-row.reverse {
    direction: rtl;
}

.spotlight-row.reverse .spotlight-text {
    direction: ltr;
}

.spotlight-image-container {
    background: var(--bg-slate-100);
    border-radius: var(--radius-lg);
    padding: 25px;
    border: 1px solid var(--border-slate);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 380px;
}

/* CSS simulated side goal drawer */
.drawer-mockup {
    background: white;
    width: 290px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-slate);
    box-shadow: var(--shadow-ambient);
    overflow: hidden;
}

.drawer-header {
    background: var(--text-navy);
    color: white;
    padding: 15px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
}

.drawer-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.drawer-stepper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stepper-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-navy);
}

.stepper-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-slate);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.stepper-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-slate-100);
    font-weight: bold;
    cursor: pointer;
    font-size: 0.95rem;
}

.stepper-val {
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
}

.drawer-footer-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary-blue);
    color: white;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-top: 10px;
}

.spotlight-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-blue);
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
}

.spotlight-row:nth-child(2) .spotlight-tag {
    background: rgba(13, 148, 136, 0.08);
    color: var(--secondary-teal);
}

.spotlight-row:nth-child(3) .spotlight-tag {
    background: rgba(124, 58, 237, 0.08);
    color: var(--tertiary-purple);
}

.spotlight-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.spotlight-desc {
    color: var(--text-slate);
    margin-bottom: 30px;
}

.spotlight-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.spotlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.spotlight-list li i {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    margin-top: 2px;
    font-weight: bold;
    font-style: normal;
}

.spotlight-row:nth-child(2) .spotlight-list li i {
    background: rgba(13, 148, 136, 0.08);
    color: var(--secondary-teal);
}

.spotlight-row:nth-child(3) .spotlight-list li i {
    background: rgba(124, 58, 237, 0.08);
    color: var(--tertiary-purple);
}

/* CSS Simulated Calendar SCD Heatmap */
.calendar-heatmap-mock {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-slate);
    box-shadow: var(--shadow-ambient);
    width: 320px;
}

.heatmap-hdr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.heatmap-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.heatmap-day {
    aspect-ratio: 1;
    background: var(--bg-slate-100);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
}

.heatmap-day.score-perfect {
    background-color: #14b8a6;
    color: white;
}

.heatmap-day.score-high {
    background-color: #5eead4;
    color: var(--text-navy);
}

.heatmap-day.score-mid {
    background-color: #ccfbf1;
    color: var(--text-navy);
}

/* Download Banner Section */
.download-section {
    padding: 80px 8%;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    text-align: center;
}

.download-banner {
    max-width: 800px;
    margin: 0 auto;
}

.download-banner h2 {
    color: white;
    font-size: 2.6rem;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.download-banner p {
    color: #cbd5e1;
    max-width: 580px;
    margin: 0 auto 35px auto;
}

.download-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.download-meta span strong {
    color: white;
}

/* Footer styling */
footer {
    background-color: #0f172a;
    border-top: 1px solid #1e293b;
    padding: 40px 8% 20px 8%;
    color: #94a3b8;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
}

.footer-logo span {
    color: var(--primary-blue);
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 24px;
}

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

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
}

/* Scroll reveal trigger styles */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive Media Queries */
@media (max-width: 968px) {
    header {
        padding: 0 5%;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 120px;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

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

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

    .hero-graphic {
        height: 380px;
        margin-top: 30px;
    }

    .phone-mockup {
        width: 190px;
        height: 380px;
        left: 15%;
    }

    .tablet-mockup {
        width: 260px;
        height: 190px;
        right: 10%;
    }

    .mockup-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .calc-demo-container,
    .study-mockup-frame {
        max-width: 100%;
    }

    .spotlight-row {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }

    .spotlight-row.reverse {
        direction: ltr;
    }

    .spotlight-image-container {
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 1100;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: var(--transition-smooth);
        z-index: 1050;
    }

    nav.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav-links a {
        font-size: 1.15rem;
    }

    header.scrolled {
        height: 76px;
    }

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

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

    .hero-stats {
        gap: 20px;
    }

    .stat-item h4 {
        font-size: 1.5rem;
    }
}

/* Version Selector Modal Styling */
.version-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.version-modal-content {
    background: #ffffff;
    border-radius: 20px;
    max-width: 650px;
    width: 100%;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: modalSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.version-modal-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 12px;
}

.version-modal-content p {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
}

.version-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.version-card {
    flex: 1;
    min-width: 260px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    cursor: pointer;
}

.version-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: 0 12px 24px -10px rgba(79, 70, 229, 0.15);
}

.version-card.latest-card:hover {
    border-color: #10b981;
    box-shadow: 0 12px 24px -10px rgba(16, 185, 129, 0.15);
}

.version-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #0f172a;
    margin-bottom: 6px;
}

.version-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.latest-card .version-number {
    color: #10b981;
}

.version-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

.version-btn {
    text-align: center;
    padding: 12px;
    background: var(--primary-blue);
    color: #ffffff;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.version-card:hover .version-btn {
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.latest-card .version-btn {
    background: #10b981;
}

.latest-card:hover .version-btn {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.close-version-modal {
    position: absolute;
    right: 24px;
    top: 20px;
    font-size: 32px;
    font-weight: 400;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.close-version-modal:hover {
    color: #0f172a;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .version-options {
        flex-direction: column;
    }
    .version-modal-content {
        padding: 30px 20px;
    }
}