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

:root {
    --bg-main: #ffffff;
    --bg-soft: #f8fafb;
    --bg-subtle: #f1f5f9;
    --bg-hero: #f0fdf4;
    /* Soft mint like Lawtrades */

    --brand-primary: #6366f1;
    --brand-primary-glow: rgba(99, 102, 241, 0.15);
    --brand-secondary: #0ea5e9;
    --brand-mint: #a7f3d0;
    --brand-mint-bg: #ecfdf5;

    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-faint: #94a3b8;

    --border-soft: rgba(226, 232, 240, 0.8);
    --border-strong: #e2e8f0;

    --shadow-floating: 0 20px 50px -12px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 4px 20px -4px rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.05);

    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.7;
    letter-spacing: -0.01em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* ─── Layout ─────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
}

.section {
    padding: 6rem 0;
}

.section-soft-bg {
    background: var(--bg-soft);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
}

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

@media (max-width: 768px) {
    .text-center-mobile {
        text-align: center;
    }
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

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

/* Responsive Grid Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

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

/* ─── UI Components ───────────────────────── */
.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(99, 102, 241, 0.15);
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1rem;
}

.stat-highlight {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-main);
}

.stat-highlight-label {
    font-size: 0.75rem;
    color: var(--text-faint);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.capability-icon {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.capability-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.capability-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* CTA Card */
.cta-card {
    background: var(--text-main);
    color: white;
    border-radius: var(--radius-lg);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.25);
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 550px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.cta-buttons {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Avatar Links */
.avatar-link img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.avatar-link:hover img {
    transform: scale(1.2) translateY(-4px);
    border-color: var(--brand-primary);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

/* Extra Buttons */
.btn-white {
    background: white !important;
    color: var(--text-main) !important;
}

.btn-white:hover {
    background: #f8fafc !important;
    box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
    background: transparent !important;
    border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
}

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

/* ─── Compact Glass Navbar ─────────────── */
/* ─── Compact Glass Navbar ─────────────── */
.nav-premium {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 850px);
    height: 3.75rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 100px;
    z-index: 2000;
    display: flex;
    align-items: center;
    padding: 0 1rem 0 1.5rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-premium.scrolled {
    top: 0.75rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.nav-logo-container {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
    z-index: 2002;
}

.nav-logo-icon {
    width: 24px;
    height: 24px;
    background: var(--text-main);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.nav-links-container {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 1.75rem;
}

.nav-link-premium {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.nav-link-premium:hover,
.nav-link-premium.active {
    color: var(--text-main);
}

.nav-link-premium.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--brand-primary);
    border-radius: 50%;
}

.nav-cta-wrap {
    margin-left: auto;
}

/* Hamburger & Mobile Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 2002;
    margin-left: auto;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(15, 23, 42, 0.1);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-toggle span:nth-child(1) {
    transform: translateY(-5px);
}

.nav-toggle span:nth-child(2) {
    opacity: 1;
}

.nav-toggle span:nth-child(3) {
    transform: translateY(5px);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}


/* ─── Mobile Menu (Fixed & Visible) ──────── */
.mobile-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    z-index: 9999999 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 2rem 1.5rem !important;
    padding-top: max(3rem, env(safe-area-inset-top)) !important;
    gap: 1.5rem !important;
    overflow-y: auto !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-menu-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
    flex-shrink: 0 !important;
}

.mobile-logo {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 1.5rem !important;
    text-decoration: none !important;
}

.mobile-close-btn {
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1f5f9 !important;
    border-radius: 50% !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
    cursor: pointer !important;
}

.mobile-menu-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
}

/* Specificity hack to override any .nav-link-premium { display: none } */
div.mobile-menu a.nav-link-premium {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    padding: 1.1rem !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    border: 1px solid #f1f5f9 !important;
}

div.mobile-menu a.nav-link-premium:active {
    background: #f1f5f9 !important;
    transform: scale(0.98);
}

div.mobile-menu a.btn-premium {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    justify-content: center !important;
    padding: 1.25rem !important;
    background: #0f172a !important;
    color: #ffffff !important;
    border-radius: 100px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-top: 1rem !important;
    text-decoration: none !important;
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}

@media (max-width: 768px) {

    .nav-links-container,
    .nav-cta-wrap {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-premium {
        width: 94%;
        padding: 0 0.75rem 0 1.25rem;
        top: 0.75rem;
    }
}

/* ─── Hero Section ─────────────────────────── */
.hero-section {
    padding: 9rem 0 7rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin: 1.5rem 0 2.5rem;
    max-width: 480px;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-terminal-wrapper {
    perspective: 1000px;
}

.hero-terminal {
    transform: rotateY(-8deg) rotateX(4deg);
    transition: transform 0.6s ease;
}

@media (max-width: 1024px) {
    .hero-section {
        padding: 7rem 0 5rem;
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .hero-cta-group {
        justify-content: center;
    }

    .hero-terminal-wrapper {
        display: none;
        /* Hide terminal on smaller devices to keep focus on text */
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 0 4rem;
    }
}

/* ─── Hero Title ─────────────────────────── */
.hero-title {
    font-size: clamp(2.2rem, 8vw, 4.5rem);
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title .accent {
    -webkit-text-fill-color: var(--brand-primary);
    font-style: italic;
}

/* ─── Hero Wave Background ───────────────── */
.hero-wave-bg {
    position: relative;
    background: linear-gradient(160deg, #ecfdf5 0%, #f0f9ff 40%, #faf5ff 80%, #fff 100%);
    overflow: hidden;
}

.hero-wave-bg::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23ffffff' d='M0,64L60,58.7C120,53,240,43,360,48C480,53,600,75,720,80C840,85,960,75,1080,64C1200,53,1320,43,1380,37.3L1440,32L1440,120L1380,120C1320,120,1200,120,1080,120C960,120,840,120,720,120C600,120,480,120,360,120C240,120,120,120,60,120L0,120Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
    z-index: 1;
}

/* Floating decorative blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    filter: blur(60px);
    pointer-events: none;
    animation: blob-float 8s ease-in-out infinite alternate;
}

.hero-blob--1 {
    width: 400px;
    height: 400px;
    background: var(--brand-mint);
    top: -100px;
    right: -50px;
}

.hero-blob--2 {
    width: 300px;
    height: 300px;
    background: rgba(99, 102, 241, 0.2);
    bottom: 50px;
    left: -80px;
    animation-delay: -3s;
}

.hero-blob--3 {
    width: 200px;
    height: 200px;
    background: rgba(14, 165, 233, 0.15);
    top: 40%;
    left: 60%;
    animation-delay: -5s;
}

@keyframes blob-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -20px) scale(1.1);
    }
}

/* ─── Buttons ────────────────────────────── */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    background: var(--text-main);
    color: white;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.3);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.35);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1.5px solid var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    box-shadow: var(--shadow-card);
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
}

/* ─── Compact Badge / Pill ───────────────── */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ─── Bento Grid ─────────────────────────── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(260px, auto);
    gap: 1.25rem;
}

.bento-item {
    background: white;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: var(--shadow-sm);
}

.bento-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-floating);
}

/* ─── Stats Row ──────────────────────────── */
.stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

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

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.04em;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-faint);
    margin-top: 0.25rem;
}

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

/* ─── Cards ──────────────────────────────── */
.card {
    background: white;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.35s ease;
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-floating);
    border-color: rgba(99, 102, 241, 0.3);
}

/* ─── Terminal Code Block ────────────────── */
.terminal-premium {
    background: #0f172a;
    border-radius: var(--radius-md);
    padding: 1.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-floating);
}

.terminal-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 1.25rem;
}

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

.terminal-dots span:nth-child(1) {
    background: #ff5f56;
}

.terminal-dots span:nth-child(2) {
    background: #ffbd2e;
}

.terminal-dots span:nth-child(3) {
    background: #27c93f;
}

/* ─── Section Titles ─────────────────────── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    background: rgba(99, 102, 241, 0.08);
    color: var(--brand-primary);
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
}

/* ─── Feature Icon Box ───────────────────── */
.icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

/* ─── Glass Panel ────────────────────────── */
.glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* ─── Scroll Reveal Animation ────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

/* ─── Footer ─────────────────────────────── */
.footer-section {
    background: var(--bg-soft);
    border-top: 1px solid var(--border-soft);
    padding: 4rem 0 2.5rem;
}

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

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 24px;
    height: 24px;
    background: var(--text-main);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.footer-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.footer-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--text-faint);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.03);
}

.social-link:hover {
    color: var(--text-main);
    background: rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

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

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

.footer-bottom {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-soft);
    text-align: center;
    color: var(--text-faint);
    font-size: 0.8rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-section {
        padding: 4rem 0 3rem;
    }
}

/* ─── Sub-page Hero ──────────────────────── */
.page-hero {
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
    background: linear-gradient(160deg, #ecfdf5 0%, #f0f9ff 40%, #faf5ff 80%, #fff 100%);
    overflow: hidden;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 8rem 0 4rem;
    }
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23ffffff' d='M0,48L80,42.7C160,37,320,27,480,32C640,37,800,59,960,64C1120,69,1280,59,1360,53.3L1440,48L1440,80L1360,80C1280,80,1120,80,960,80C800,80,640,80,480,80C320,80,160,80,80,80L0,80Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
}

.page-hero .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1.25rem;
}

.page-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .page-hero p {
        font-size: 1.05rem;
        padding: 0 1.5rem;
    }
}

/* Roadmap Timeline Refinement */
@media (max-width: 768px) {
    .timeline {
        padding: 1rem 0;
    }

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

    .timeline-dot {
        left: 4px;
    }

    .timeline-event {
        padding-left: 2.5rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

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

    .footer-grid>div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {

    .nav-links-container,
    .nav-cta-wrap {
        display: none;
    }

    .section {
        padding: 4rem 0;
    }

    .stats-row {
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

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

    .page-hero {
        padding: 7rem 0 3rem;
    }

    .hero-blob {
        display: none;
    }
}