:root {
    /* Backgrounds - Darker, richer navy */
    --bg-color: #05051e;
    /* Deepest Navy */
    --bg-secondary: #0b0e14;
    --card-bg: #0f111a;
    --card-border: rgba(255, 255, 255, 0.08);
    --nav-bg: rgba(5, 5, 30, 0.85);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #b0b8c4;
    --text-tertiary: #6b7280;

    /* Accents */
    --accent-hero-start: #7eaaff;
    /* Light Blue */
    --accent-hero-end: #ff7eb6;
    /* Pink */
    --gradient-hero: linear-gradient(135deg, var(--accent-hero-start), var(--accent-hero-end));

    /* Icon Colors */
    --icon-blue: #3b82f6;
    --icon-purple: #a855f7;
    --icon-pink: #ec4899;
    --icon-green: #22c55e;
    --icon-yellow: #eab308;
    --icon-cyan: #06b6d4;

    /* Effects */
    --glow: 0 0 40px rgba(126, 170, 255, 0.15);
    --glass-blur: blur(16px);

    --font-stack: 'Inter', 'Roboto', -apple-system, sans-serif;
    --max-width: 1200px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-stack);
    line-height: 1.6;
    overflow-x: hidden;
    /* subtle gradient mesh */
    background-image:
        radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15), transparent 50%);
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

h1 .gradient-text {
    background: linear-gradient(to right, #7eaaff, #ff7eb6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-heading .hero-title-line {
    line-height: 1.08;
}

.hero-heading .hero-title-main {
    display: block;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #fff;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--nav-bg);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.nav-links {
    display: flex;
    gap: 40px;
    margin: 0 auto;
    white-space: nowrap;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}

.hero-heading {
    max-width: 16em;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 480px) {
    .hero-heading {
        max-width: 20em;
    }
}

@media (min-width: 768px) {
    .hero-heading {
        max-width: 24em;
    }
}

@media (min-width: 1920px) {
    .hero .container {
        max-width: 1320px;
    }

    .hero-heading {
        max-width: 36em;
    }

    .hero-heading .hero-title-nowrap {
        white-space: nowrap;
    }
}

.hero p.hero-tagline {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background-color: var(--icon-green);
    border-radius: 50%;
    display: inline-block;
}

.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 8px;
    /* Slightly rounded, not pill */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.btn-white {
    background: white;
    color: black;
}

.btn-white:hover {
    background: #f0f0f0;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Feature Grid (Cards) */
.features-section {
    padding: 100px 0;
    border-top: 1px solid var(--card-border);
}

.section-tagline {
    text-align: center;
    color: var(--text-tertiary);
    margin-bottom: 60px;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 40px 32px;
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
}

/* Comparison Section */
.comparison-section {
    padding: 100px 0;
}

.comparison-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
    justify-items: center;
}

.comparison-content {
    width: 100%;
    max-width: 980px;
}

.comparison-content ul {
    list-style: none;
    margin-top: 30px;
}

.comparison-content li {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.comparison-content li svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    fill: var(--icon-blue);
}

.comparison-visual {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    aspect-ratio: 16 / 10;
}

.comparison-visual.video-embed {
    display: block;
    padding: 14px;
    aspect-ratio: auto;
    width: 100%;
    max-width: 980px;
}

.comparison-visual.video-embed .video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.comparison-visual.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.comparison-visual.video-embed .video-caption {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-tertiary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.comparison-visual.video-embed .video-caption a {
    color: #60a5fa;
    text-decoration: none;
    border-bottom: 1px dashed rgba(96, 165, 250, 0.35);
    padding-bottom: 1px;
}

.comparison-visual.video-embed .video-caption a:hover {
    color: #93c5fd;
    border-bottom-color: rgba(147, 197, 253, 0.55);
}

.visual-pane {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-family: monospace;
}

/* Download Section (Cards) */
.download-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(to bottom, #05051e, #000);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.download-card {
    background: #0f111a;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.download-card h3 {
    margin-bottom: 0.5rem;
}

.download-card p {
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.btn-primary-block {
    width: 100%;
    background: var(--icon-blue);
    color: white;
    justify-content: center;
    border-radius: 8px;
}

.btn-secondary-block {
    width: 100%;
    background: #1f2937;
    color: white;
    justify-content: center;
    border-radius: 8px;
}

/* Footer (Rich) */
footer {
    border-top: 1px solid var(--card-border);
    padding: 80px 0 40px;
    background: #000;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-col h4 {
    color: var(--text-primary);
    margin-bottom: 24px;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* Timeline specific (Release Notes) */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 60px;
    /* Space for dots and line */
}

/* Continuous Vertical Line */
.timeline::before {
    content: '';
    position: absolute;
    left: 23px;
    /* Center of the dot area */
    top: 10px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--icon-blue) 0%, rgba(59, 130, 246, 0.3) 30%, rgba(59, 130, 246, 0.1) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Dot - positioned absolutely relative to timeline-item */
.timeline-dot {
    position: absolute;
    left: -44px;
    /* Align with the line (60px padding - 16px dot width / 2) */
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #1c2333;
    border: 2px solid #3a4557;
    z-index: 2;
}

/* Active dot (current version) */
.timeline-item.active .timeline-dot {
    background: var(--icon-blue);
    border-color: var(--icon-blue);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25), 0 0 12px rgba(59, 130, 246, 0.5);
}

/* Version Header Wrapper (Outside Card) */
.version-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.version-number {
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
}

.badge-current {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Release Content Card */
.release-card-content {
    background: #0c101a;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 24px 28px;
}

.release-card-content h3 {
    color: var(--icon-blue);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.release-card-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.release-card-content li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 0.95rem;
}

.release-card-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-tertiary);
}

.release-card-content li strong {
    color: #e2e8f0;
}

/* ========================================
   HAMBURGER MENU
   ======================================== */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--card-border);
    padding: 20px 24px;
    z-index: 999;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--card-border);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: white;
}

/* ========================================
   LANGUAGE SELECTOR
   ======================================== */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.lang-btn svg {
    width: 16px;
    height: 16px;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
    min-width: 120px;
    z-index: 1002;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.lang-dropdown.active {
    display: block;
}

.lang-option {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.lang-option.active {
    color: var(--icon-blue);
    background: rgba(59, 130, 246, 0.1);
}

.github-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    color: var(--text-secondary);
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.github-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.github-link svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1200px) {
    .nav-links {
        gap: 24px;
        white-space: nowrap;
    }

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

    .comparison-layout {
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .features-grid,
    .download-grid,
    .comparison-layout {
        grid-template-columns: 1fr;
    }

    /* Navigation */
    .nav-links {
        display: none;
    }

    .nav-actions .btn {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-wrapper {
        position: relative;
    }

    .nav-logo span {
        display: none;
    }

    /* Nav actions in mobile */
    .nav-actions {
        margin-left: auto;
        gap: 8px;
    }

    .lang-btn {
        padding: 6px 10px;
    }

    .github-link {
        width: 32px;
        height: 32px;
    }

    .github-link svg {
        width: 18px;
        height: 18px;
    }

    /* Hero */
    .hero {
        padding: 140px 0 60px;
    }

    .hero-heading {
        max-width: 100%;
    }
    .hero p.hero-tagline {
        font-size: 1rem;
    }

    .btn-group {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn-group .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Features */
    .features-section {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 28px 24px;
    }

    /* Comparison */
    .comparison-section {
        padding: 60px 0;
    }

    .comparison-visual {
        aspect-ratio: 4 / 3;
    }

    .comparison-visual.video-embed {
        aspect-ratio: auto;
    }

    /* Download */
    .download-section {
        padding: 60px 0;
    }

    .download-card {
        padding: 32px 24px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

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

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Timeline */
    .timeline {
        padding-left: 40px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-dot {
        left: -32px;
    }

    .version-header {
        flex-wrap: wrap;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 4px 12px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .download-card img {
        width: 48px;
        height: 48px;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .release-card-content {
        padding: 20px;
    }

    .version-number {
        font-size: 1.15rem;
    }
}

/* ========================================
   USE CASES PAGE STYLES
   ======================================== */

.use-case-hero {
    padding: 160px 0 60px;
}

.use-case-hero h1 {
    font-size: 3.5rem;
}

/* Persona Sections */
.use-case-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--card-border);
}

.use-case-section:last-of-type {
    border-bottom: none;
}

.persona-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.persona-icon {
    font-size: 3rem;
    line-height: 1;
}

.persona-header h2 {
    text-align: left;
    margin-bottom: 8px;
    font-size: 2rem;
}

.persona-desc {
    color: var(--text-tertiary);
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Scenario Grid */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.scenario-grid.single {
    grid-template-columns: 1fr;
}

/* Scenario Cards */
.scenario-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.2s, border-color 0.2s;
}

.scenario-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.scenario-card.wide {
    max-width: 800px;
}

.scenario-header {
    margin-bottom: 24px;
}

.scenario-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.scenario-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0;
}

/* Workflow Steps */
.workflow-steps {
    margin-bottom: 24px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.step:last-child {
    margin-bottom: 0;
}

.step-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.step strong {
    color: #e2e8f0;
}

/* AI Strengths */
.ai-strengths {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.strength {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.strength:last-child {
    border-bottom: none;
}

.ai-name {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    min-width: 85px;
    text-align: center;
}

/* Impact Box */
.impact-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(168, 85, 247, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.impact-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.impact-stats {
    margin-bottom: 8px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.stat-before {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.stat-arrow {
    color: var(--icon-blue);
}

.stat-after {
    color: #22c55e;
    font-weight: 600;
}

.stat-highlight {
    display: inline-block;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 8px;
}

.impact-note {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    margin-bottom: 0;
    margin-top: 12px;
}

/* ROI Compare */
.roi-compare {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.roi-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.roi-item.old {
    background: rgba(239, 68, 68, 0.08);
    color: #fca5a5;
}

.roi-item.new {
    background: rgba(34, 197, 94, 0.08);
    color: #86efac;
}

.roi-label {
    color: var(--text-secondary);
}

.roi-value {
    font-weight: 600;
}

/* Arbitrage Section */
.arbitrage-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(59, 130, 246, 0.03) 50%, var(--bg-color) 100%);
}

.arbitrage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.arbitrage-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.arbitrage-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.arbitrage-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.arbitrage-card h3 {
    margin-bottom: 20px;
    font-size: 1.15rem;
}

.arbitrage-compare {
    text-align: left;
    margin-bottom: 20px;
}

.arb-old {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    margin-bottom: 8px;
    padding-left: 12px;
    border-left: 2px solid rgba(239, 68, 68, 0.4);
}

.arb-new {
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding-left: 12px;
    border-left: 2px solid rgba(34, 197, 94, 0.6);
}

.arb-result {
    display: inline-block;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.2));
    color: #a5b4fc;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 0 100px;
}

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-section p {
    margin-bottom: 32px;
}

/* Nav active state */
.nav-links a.active {
    color: white;
}

/* Responsive - Use Cases */
@media (max-width: 768px) {
    .use-case-hero h1 {
        font-size: 2.5rem;
    }

    .persona-header {
        flex-direction: column;
        gap: 12px;
    }

    .persona-icon {
        font-size: 2.5rem;
    }

    .persona-header h2 {
        font-size: 1.5rem;
    }

    .scenario-grid {
        grid-template-columns: 1fr;
    }

    .scenario-card {
        padding: 24px;
    }

    .arbitrage-grid {
        grid-template-columns: 1fr;
    }
}