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

:root {
    /* Flagship Dark Theme Palette */
    --bg-base: #050505;
    --bg-surface: #111111;
    --bg-surface-elevated: rgba(25, 25, 25, 0.6);
    --bg-glass: rgba(20, 20, 20, 0.4);

    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-tertiary: rgba(255, 255, 255, 0.4);

    /* Vibrant Accent Colors */
    --accent-primary: #7C3AED;
    /* Deep Purple */
    --accent-secondary: #06B6D4;
    /* Cyan */
    --accent-tertiary: #EC4899;
    /* Pink */
    --accent-success: #10B981;
    /* Emerald */

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    --surface-stroke: rgba(255, 255, 255, 0.08);

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

    /* Metrics & Easing */
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: var(--bg-base);
    color: var(--text-primary);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--accent-primary);
    color: white;
}

/* Shared Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

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

.heading-display {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.heading-section {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.text-lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* Base Ambient Glow */
.ambient-mesh {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200vw;
    height: 200vh;
    z-index: -1;
    background: radial-gradient(circle at 50% 30%, rgba(124, 58, 237, 0.15), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1), transparent 40%);
    filter: blur(100px);
    pointer-events: none;
    animation: meshFlow 20s infinite alternate linear;
}

@keyframes meshFlow {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(-2%, 2%);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-family: var(--font-display);
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-base);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.btn-glass {
    background: var(--bg-glass);
    color: var(--text-primary);
    backdrop-filter: blur(12px);
    border-color: var(--surface-stroke);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: var(--container-width);
    z-index: 100;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--surface-stroke);
    border-radius: var(--radius-pill);
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    text-decoration: none;
}

.nav-brand .dot {
    width: 12px;
    height: 12px;
    background: var(--primary-gradient);
    border-radius: 50%;
}

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

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

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

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

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

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-pill);
    color: #A78BFA;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-glass-card {
    background: var(--bg-surface-elevated);
    backdrop-filter: blur(24px);
    border: 1px solid var(--surface-stroke);
    border-radius: var(--radius-lg);
    padding: 3rem;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-glass-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-gradient);
    z-index: -1;
    border-radius: calc(var(--radius-lg) + 2px);
    opacity: 0.15;
}

.ring-container {
    position: relative;
    width: 250px;
    height: 250px;
}

.progress-ring {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.progress-ring circle {
    fill: transparent;
    stroke-width: 12;
}

.progress-ring .track {
    stroke: rgba(255, 255, 255, 0.05);
}

.progress-ring .fill {
    stroke: url(#glowGradient);
    stroke-linecap: round;
    stroke-dasharray: 691;
    stroke-dashoffset: 691;
    /* animated via js */
    transition: stroke-dashoffset 2s var(--ease-out-expo);
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.5));
}

.ring-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ring-value {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.ring-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-secondary);
    font-weight: 600;
    margin-top: 0.5rem;
}

.floating-pill {
    position: absolute;
    bottom: -1.5rem;
    right: -2rem;
    background: var(--bg-surface);
    border: 1px solid var(--surface-stroke);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
}

.floating-pill-icon {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-pill-text h4 {
    font-size: 0.9rem;
    color: white;
}

.floating-pill-text p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

@keyframes float {

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

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

/* Features (Bento Grid) */
.features {
    padding: 10rem 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 1.5rem;
    margin-top: 4rem;
}

.bento-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--surface-stroke);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.bento-card.wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
}

.bento-content.text-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.bento-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

/* Bento Mini Visuals */
.bento-visual {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    flex: 1;
    min-height: 150px;
}

.bento-card:not(.wide) .bento-visual {
    margin-top: 2rem;
}

.bento-centered {
    align-items: center;
}

/* 1. Timing Map Visual */
.bento-map-visual {
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 100%;
    opacity: 0.5;
    transition: opacity 0.5s;
}

.bento-card:hover .bento-map-visual {
    opacity: 1;
}

.bento-chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    border-top: 3px solid var(--accent-secondary);
    border-radius: 50% 50% 0 0;
    filter: drop-shadow(0 -5px 15px rgba(6, 182, 212, 0.5));
}

.bento-chart-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 147px;
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.2) 0%, transparent 100%);
    border-radius: 50% 50% 0 0;
}

.bento-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white;
}

.glow-dot-1 {
    top: 30%;
    left: 30%;
    animation: pulseRing 2s infinite alternate;
}

.glow-dot-2 {
    top: 10%;
    right: 40%;
    background: var(--accent-secondary);
    animation: pulseRing 2s infinite alternate 1s;
}

/* 2. Tiny Bets Visual */
.bento-tiny-bet {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--surface-stroke);
    padding: 1rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(20px);
    transition: transform 0.3s;
}

.bento-tiny-bet.blur-bet {
    opacity: 0.3;
    filter: blur(2px);
    transform: translateX(40px);
}

.bento-card:hover .bento-tiny-bet {
    transform: translateX(0);
}

.bento-bet-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--accent-success);
}

.bento-bet-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: white;
}

/* 3. Burnout Shield Visual */
.bento-shield {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.shield-pulse {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px solid var(--accent-primary);
    animation: pulseRing 3s infinite;
}

/* 4. Model Visual */
.bento-model-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 150px;
}

.model-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-secondary);
}

.n1 {
    top: 20%;
    left: 10%;
    transform: scale(1.5);
}

.n2 {
    top: 80%;
    left: 30%;
}

.n3 {
    top: 40%;
    left: 60%;
}

.n4 {
    top: 60%;
    left: 90%;
    transform: scale(2);
    background: var(--accent-primary);
    box-shadow: 0 0 15px var(--accent-primary);
}

.model-line {
    position: absolute;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    transform-origin: left center;
}

.l1 {
    top: 22%;
    left: 12%;
    width: 50px;
    transform: rotate(45deg);
}

.l2 {
    top: 82%;
    left: 32%;
    width: 60px;
    transform: rotate(-30deg);
}

.l3 {
    top: 42%;
    left: 62%;
    width: 50px;
    transform: rotate(15deg);
}

.bento-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--ease-out-expo);
}

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

/* --- New Sections CSS --- */

.py-large {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.mt-4 {
    margin-top: 4rem;
}

/* Dynamic Pipeline Loop */
.pipeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.pipeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.5), rgba(6, 182, 212, 0.5), transparent);
    transform: translateX(-50%);
    z-index: 0;
}

.pipeline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.pipeline-row.reverse {
    flex-direction: row-reverse;
}

.pipeline-content,
.pipeline-visual {
    width: 45%;
}

.pipeline-row.reverse .pipeline-content {
    text-align: right;
}

.pipeline-row.reverse .pipeline-content .step-badge {
    margin-left: auto;
    margin-right: 0;
}

.step-badge {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--bg-base);
    background: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.pipeline-content h3 {
    font-size: 2rem;
    font-family: var(--font-display);
    margin-bottom: 1rem;
    color: white;
}

.pipeline-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.micro-ui-card {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--surface-stroke);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.micro-ui-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.micro-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.micro-label:first-child {
    margin-top: 0;
}

.micro-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.micro-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.synth-orb {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.synth-core {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: white;
    z-index: 2;
    text-shadow: 0 0 20px rgba(124, 58, 237, 0.8);
}

.synth-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(124, 58, 237, 0.6);
}

.ring-1 {
    width: 100%;
    height: 100%;
    animation: pulseRing 3s infinite ease-out;
}

.ring-2 {
    width: 130%;
    height: 130%;
    border-color: rgba(6, 182, 212, 0.4);
    animation: pulseRing 3s infinite ease-out 1.5s;
}

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

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.float-anim {
    animation: uiFloat 6s infinite ease-in-out;
}

@keyframes uiFloat {

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

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

.tiny-bet-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-success);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.micro-btn {
    width: 100%;
    padding: 1rem;
    background: white;
    color: black;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 700;
    margin-top: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.micro-btn:hover {
    transform: scale(1.02);
}

/* Heatmap Mock */
.heatmap-showcase {
    background: linear-gradient(180deg, var(--bg-base) 0%, rgba(124, 58, 237, 0.05) 50%, var(--bg-base) 100%);
    padding: 10rem 0;
    border-top: 1px solid var(--surface-stroke);
    border-bottom: 1px solid var(--surface-stroke);
}

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

.check-list {
    list-style: none;
    margin-top: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.mock-ui {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--surface-stroke);
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.floating-glass {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s;
    animation: mockFloat 8s infinite alternate ease-in-out;
}

.floating-glass:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation-play-state: paused;
}

@keyframes mockFloat {
    0% {
        transform: translateY(0);
    }

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

.mock-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--surface-stroke);
}

.mock-window-controls {
    display: flex;
    gap: 0.5rem;
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-dot.red {
    background: #ff5f56;
}

.window-dot.yellow {
    background: #ffbd2e;
}

.window-dot.green {
    background: #27c93f;
}

.mock-title-bar {
    margin: 0 auto;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-tertiary);
    letter-spacing: 0.05em;
    transform: translateX(-20px);
    /* offset for controls */
}

.mock-body {
    padding: 2.5rem;
}

.mock-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.mock-subtitle {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: white;
    font-weight: 500;
}

.mock-status-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--accent-success);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-success);
    animation: statusBlink 2s infinite;
}

@keyframes statusBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.interactive-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    margin-bottom: 3rem;
    perspective: 1000px;
}

.m-cell {
    aspect-ratio: 1;
    border-radius: 6px;
    background: var(--surface-stroke);
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.m-cell::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.interactive-grid:hover .m-cell:not(:hover) {
    opacity: 0.4;
    transform: scale(0.95);
}

.m-cell:hover {
    transform: scale(1.15) translateZ(20px);
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.level-1 {
    background: rgba(6, 182, 212, 0.05);
}

.level-2 {
    background: rgba(6, 182, 212, 0.2);
}

.level-3 {
    background: rgba(6, 182, 212, 0.4);
}

.level-4 {
    background: rgba(6, 182, 212, 0.7);
}

.level-5 {
    background: rgba(6, 182, 212, 1);
}

.m-cell.active-glow {
    box-shadow: inset 0 0 20px rgba(6, 182, 212, 0.2), 0 0 15px rgba(6, 182, 212, 0.4);
}

.m-cell.pulse {
    animation: cellPulse 3s infinite alternate;
}

@keyframes cellPulse {
    0% {
        filter: brightness(1) drop-shadow(0 0 10px rgba(6, 182, 212, 0.5));
    }

    100% {
        filter: brightness(1.3) drop-shadow(0 0 25px rgba(6, 182, 212, 0.8));
    }
}

.enhanced-legend {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-top: 1rem;
}

.animated-gradient {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg,
            rgba(6, 182, 212, 0.1) 0%,
            rgba(124, 58, 237, 0.5) 50%,
            rgba(6, 182, 212, 1) 100%);
    background-size: 200% 100%;
    animation: gradientShift 4s infinite linear;
}

@keyframes gradientShift {
    0% {
        background-position: 100% 0;
    }

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

/* Testimonials Marquee */
.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    width: 100%;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-base) 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-base) 0%, transparent 100%);
}

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

.track-left {
    animation: scrollLeft 40s linear infinite;
}

.track-right {
    animation: scrollRight 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1rem));
    }

    /* -50% because we duplicated the items, so half the width is exactly one set */
}

@keyframes scrollRight {
    0% {
        transform: translateX(calc(-50% - 1rem));
    }

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

.test-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--surface-stroke);
    border-radius: var(--radius-md);
    padding: 2rem;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 350px;
    flex-shrink: 0;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.test-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.test-quote {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-style: italic;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.test-author h4 {
    font-family: var(--font-display);
    font-size: 1rem;
}

.test-author span {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.15), transparent 70%);
    padding: 4rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--surface-stroke);
    backdrop-filter: blur(12px);
}

.cta-form {
    display: flex;
    gap: 0.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.cta-form input {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--surface-stroke);
    color: white;
    font-family: var(--font-body);
}

.cta-form input:focus {
    outline: none;
    border-color: var(--accent-secondary);
}

/* Footer */
.footer {
    padding: 6rem 0 2rem;
    background: #000;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h4 {
    font-family: var(--font-display);
    color: white;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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