/* ============================================================
   WAVEBOUND — Design System
   Fonts: Plus Jakarta Sans (headings) + DM Sans (body) + JetBrains Mono (code)
   ============================================================ */

:root {
    --bg: #000;
    --bg-surface: #080808;
    --bg-raised: #0d0d0d;
    --accent: #58a6ff;
    --accent-low: rgba(88, 166, 255, 0.08);
    --accent-mid: rgba(88, 166, 255, 0.18);
    --accent-border: rgba(88, 166, 255, 0.32);
    --white: #ffffff;
    --text: #d4d4d8;
    --muted: #a1a1aa;
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.14);
    --shadow-glow: 0 0 40px rgba(88, 166, 255, 0.12);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 16.5px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── Layout ── */
.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 640px) {
    .wrap {
        padding: 0 20px;
    }
}

/* ── Typography helpers ── */
h1,
h2,
h3,
h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--white);
    letter-spacing: -0.025em;
    line-height: 1.1;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 22px 40px;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease), backdrop-filter 0.4s;
    border-bottom: 1px solid transparent;
    animation: navFadeIn 0.6s var(--ease) 0.1s both;
}

@keyframes navFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.nav.scrolled {
    padding: 13px 40px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-color: var(--border);
}

.nav-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--white);
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.nav-logo:hover {
    opacity: 0.75;
}

.logo-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    transition: box-shadow 0.3s, transform 0.3s var(--ease);
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-logo:hover .logo-mark {
    box-shadow: 0 0 18px rgba(88, 166, 255, 0.5);
    transform: rotate(-5deg) scale(1.05);
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.25s var(--ease);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Nav Action Buttons */
.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.nav-btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-hover);
    color: var(--white);
}

.nav-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 40px 110px;
    overflow: hidden;
}

/* Dot grid background */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to bottom, black 30%, transparent 90%);
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 90%);
    pointer-events: none;
    animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 38px 38px;
    }
}

/* Breathing glow orb — multi-layer */
.hero-orb {
    position: absolute;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 560px;
    pointer-events: none;
}

.hero-orb::before,
.hero-orb::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.hero-orb::before {
    background: radial-gradient(ellipse at 50% 40%, rgba(88, 166, 255, 0.22) 0%, transparent 60%);
    animation: orbPulse 6s ease-in-out infinite;
}

.hero-orb::after {
    background: radial-gradient(ellipse at 50% 55%, rgba(88, 166, 255, 0.08) 0%, transparent 65%);
    animation: orbPulse 6s ease-in-out 1.5s infinite;
}

@keyframes orbPulse {

    0%,
    100% {
        opacity: 0.85;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.07);
    }
}

/* Corner bracket accents */
.hero-corners {
    position: absolute;
    inset: 14% 6%;
    pointer-events: none;
}

.corner {
    position: absolute;
    width: 22px;
    height: 22px;
    opacity: 0;
}

.corner-tl {
    top: 0;
    left: 0;
    border-top: 1px solid var(--accent-border);
    border-left: 1px solid var(--accent-border);
    animation: cornerIn 0.6s var(--ease) 1.1s forwards, cornerPulse 5s ease-in-out 1.8s infinite;
}

.corner-tr {
    top: 0;
    right: 0;
    border-top: 1px solid var(--accent-border);
    border-right: 1px solid var(--accent-border);
    animation: cornerIn 0.6s var(--ease) 1.25s forwards, cornerPulse 5s ease-in-out 1.95s infinite;
}

.corner-bl {
    bottom: 0;
    left: 0;
    border-bottom: 1px solid var(--accent-border);
    border-left: 1px solid var(--accent-border);
    animation: cornerIn 0.6s var(--ease) 1.4s forwards, cornerPulse 5s ease-in-out 2.1s infinite;
}

.corner-br {
    bottom: 0;
    right: 0;
    border-bottom: 1px solid var(--accent-border);
    border-right: 1px solid var(--accent-border);
    animation: cornerIn 0.6s var(--ease) 1.55s forwards, cornerPulse 5s ease-in-out 2.25s infinite;
}

@keyframes cornerIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.6;
    }
}

@keyframes cornerPulse {

    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 0.85;
    }
}

/* Floating badges — positions set by JS */
.hero-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 15px;
    background: rgba(4, 4, 8, 0.92);
    border: 1px solid rgba(88, 166, 255, 0.2);
    border-radius: 10px;
    font-size: 0.76rem;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(180, 190, 210, 0.9);
    pointer-events: none;
    backdrop-filter: blur(16px);
    white-space: nowrap;
    opacity: 0;
    transform: scale(0.92);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-badge.badge-visible {
    opacity: 1;
    transform: scale(1);
}

.hero-badge.badge-hidden {
    opacity: 0;
    transform: scale(0.94);
}

.hero-badge i {
    color: var(--accent);
    font-size: 6px;
    flex-shrink: 0;
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* Hero badge/pill */
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 16px;
    border: 1px solid var(--accent-border);
    border-radius: 99px;
    background: var(--accent-low);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-bottom: 40px;
    animation: fadeUp 0.7s var(--ease) 0.15s both;
}

.pill-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: blink 2.4s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

/* ── Hero title — fix descender clipping + line reveal ── */
.hero-h1 {
    font-size: clamp(3.2rem, 6.8vw, 5.2rem);
    font-weight: 800;
    margin-bottom: 32px;
    letter-spacing: -0.035em;
}

.line-wrap {
    overflow: hidden;
    display: block;
    padding-bottom: 0.22em;
    margin-bottom: -0.20em;
}

.line-wrap span {
    display: block;
    animation: lineReveal 0.9s var(--ease) both;
}

.line-wrap:nth-child(1) span {
    animation-delay: 0.28s;
}

.line-wrap:nth-child(2) span {
    animation-delay: 0.42s;
}

@keyframes lineReveal {
    from {
        opacity: 0;
        transform: translateY(85%);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.h1-accent em {
    font-style: italic;
    background: linear-gradient(120deg, #ffffff 0%, var(--accent) 65%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero subtitle */
.hero-sub {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto 48px;
    font-weight: 400;
    line-height: 1.75;
    animation: fadeUp 0.7s var(--ease) 0.58s both;
}

/* Hero buttons */
.hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.7s var(--ease) 0.72s both;
}

.btn-solid {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    background: var(--white);
    color: #000;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 11px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.2s;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-solid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.5s var(--ease);
}

.btn-solid:hover::after {
    transform: translateX(100%);
}

.btn-solid:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(255, 255, 255, 0.2);
}

.btn-solid .fa-arrow-right {
    font-size: 0.8rem;
    transition: transform 0.3s var(--ease);
}

.btn-solid:hover .fa-arrow-right {
    transform: translateX(4px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 11px;
    border: 1px solid var(--border-hover);
    transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-outline-accent {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    background: rgba(88, 166, 255, 0.04);
    color: var(--accent);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 11px;
    border: 1px solid var(--accent-border);
    transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.btn-outline-accent:hover {
    background: rgba(88, 166, 255, 0.1);
    border-color: rgba(88, 166, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(88, 166, 255, 0.15);
}

/* Scroll cue */
.scroll-cue {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeUp 0.7s var(--ease) 1.2s both;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-label {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #3f3f46;
    font-family: 'JetBrains Mono', monospace;
}

.scroll-track {
    width: 1px;
    height: 48px;
    background: var(--border-hover);
    border-radius: 1px;
    position: relative;
    overflow: visible;
    transition: opacity 0.5s;
}

.scroll-pip {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 10px;
    background: var(--accent);
    border-radius: 1px;
    opacity: 0.35;
    transition: transform 0.12s linear, opacity 0.3s;
    box-shadow: 0 0 8px var(--accent);
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.s-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
}

.s-h2 {
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--white);
}

.s-sub {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 540px;
    margin-bottom: 60px;
    line-height: 1.75;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].revealed {
    opacity: 1;
    transform: none;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    overflow: hidden;
    position: relative;
    background: var(--bg-surface);
}

.marquee-strip::before,
.marquee-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee-strip::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-surface), transparent);
}

.marquee-strip::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-surface), transparent);
}

.marquee-track {
    display: flex;
    gap: 0;
    animation: marqueeScroll 40s linear infinite;
    width: max-content;
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 40px;
    font-size: 0.82rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--muted);
    white-space: nowrap;
    letter-spacing: 0.02em;
    border-right: 1px solid var(--border);
}

.marquee-item i {
    color: var(--accent);
    font-size: 10px;
}

/* ============================================================
   FEATURES
   ============================================================ */
.section-features {
    padding: 130px 0 110px;
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 60px;
}

.feat-card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 42px 38px;
    overflow: hidden;
    transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s;
    cursor: default;
}

/* Mouse-tracking gradient */
.feat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(88, 166, 255, 0.06), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    border-radius: inherit;
}

/* Top edge highlight on hover */
.feat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-border), transparent);
    opacity: 0;
    transition: opacity 0.4s, left 0.4s var(--ease), right 0.4s var(--ease);
}

.feat-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

.feat-card:hover::before {
    opacity: 1;
}

.feat-card:hover::after {
    opacity: 1;
    left: 10%;
    right: 10%;
}

/* Card number */
.feat-num {
    position: absolute;
    top: 28px;
    right: 32px;
    font-size: 0.68rem;
    font-family: 'JetBrains Mono', monospace;
    color: #27272a;
    letter-spacing: 0.08em;
    font-weight: 500;
    transition: color 0.3s;
}

.feat-card:hover .feat-num {
    color: var(--accent-border);
}

.feat-ico {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--accent-low);
    border: 1px solid var(--accent-mid);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-bottom: 24px;
    transition: background 0.35s, box-shadow 0.35s, transform 0.35s var(--ease);
}

.feat-card:hover .feat-ico {
    background: var(--accent-mid);
    box-shadow: 0 0 24px rgba(88, 166, 255, 0.2);
    transform: scale(1.08) rotate(-3deg);
}

.feat-card h3 {
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.feat-card:hover h3 {
    color: var(--white);
}

.feat-card p {
    font-size: 0.93rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ============================================================
   DOWNLOAD
   ============================================================ */
.section-download {
    padding: 110px 0 150px;
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* Subtle ambient glow behind download section */
.section-download::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 300px;
    background: radial-gradient(ellipse at 50%, rgba(88, 166, 255, 0.05), transparent 70%);
    pointer-events: none;
}

.dl-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 860px;
    margin: 0 auto;
}

.dl-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 44px 38px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s;
    overflow: hidden;
}

.dl-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-hover), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.dl-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
}

.dl-card:hover::after {
    opacity: 1;
}

/* Pro card */
.dl-card-pro {
    border-color: var(--accent-border);
    background: #060609;
}

.dl-card-pro::after {
    background: linear-gradient(to right, transparent, var(--accent-border), transparent);
    opacity: 1;
}

.dl-card-pro:hover {
    border-color: rgba(88, 166, 255, 0.55);
    box-shadow: 0 24px 56px rgba(88, 166, 255, 0.1);
    transform: translateY(-5px);
}

.dl-card-pro::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 26px;
    background: radial-gradient(700px ellipse at 50% -20%, rgba(88, 166, 255, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.pro-tag {
    position: absolute;
    top: 26px;
    right: 30px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-low);
    border: 1px solid var(--accent-mid);
    padding: 5px 12px;
    border-radius: 99px;
    font-family: 'JetBrains Mono', monospace;
}

.dl-body {
    flex: 1;
}

.dl-body h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.dl-body>p {
    font-size: 0.93rem;
    color: var(--muted);
    margin-bottom: 30px;
    line-height: 1.65;
}

.dl-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 38px;
}

.dl-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text);
}

.dl-list li i {
    color: var(--accent);
    font-size: 0.75rem;
    flex-shrink: 0;
    opacity: 0.85;
}

.dl-foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dl-btn-ghost,
.dl-btn-solid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.93rem;
    text-decoration: none;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.dl-btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    border: 1px solid var(--border-hover);
}

.dl-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateY(-2px);
}

.dl-btn-solid {
    background: var(--white);
    color: #000;
    border: 1px solid transparent;
}

.dl-btn-solid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.5s var(--ease);
}

.dl-btn-solid:hover::after {
    transform: translateX(100%);
}

.dl-btn-solid:hover {
    box-shadow: 0 10px 32px rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.dl-meta {
    text-align: center;
    font-size: 0.78rem;
    color: #71717a;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.03em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-line {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 2px;
}

.footer-nav {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
    position: relative;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.25s var(--ease);
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-base {
    text-align: center;
    font-size: 0.78rem;
    color: #3f3f46;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.04em;
}

/* ============================================================
   PAGE PROGRESS BAR
   ============================================================ */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent), rgba(88, 166, 255, 0.5));
    z-index: 200;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(88, 166, 255, 0.5);
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
    .feat-grid {
        grid-template-columns: 1fr;
    }

    .dl-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .hero-badge {
        display: none;
    }

    .hero-corners {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 16px 20px;
    }

    .nav.scrolled {
        padding: 12px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 120px 24px 90px;
    }

    .hero-h1 {
        font-size: clamp(2.6rem, 8vw, 3.2rem);
    }

    .hero-sub br {
        display: none;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn-solid,
    .btn-ghost,
    .btn-outline-accent {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }

    .section-features,
    .section-download {
        padding: 80px 0;
    }

    .footer-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-nav {
        gap: 20px;
    }

    .marquee-strip {
        display: none;
    }
}

@media (max-width: 640px) {
    .nav-btn-text {
        display: none;
    }

    .nav-btn {
        width: 38px;
        height: 38px;
        padding: 0;
        justify-content: center;
        gap: 0;
        border-radius: 10px;
    }

    .nav-actions {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-h1 {
        font-size: 2.3rem;
    }

    .feat-card {
        padding: 30px 26px;
    }

    .dl-card {
        padding: 32px 26px;
    }
}