:root {
    --bg: #0a0a0a;
    --bg-elev: #111111;
    --bg-elev-2: #161616;
    --border: #1e1e1e;
    --border-strong: #2a2a2a;
    --text: #f0f0f0;
    --muted: #7a7a7a;
    --muted-2: #4a4a4a;
    --red: #e10600;
    --red-hot: #ff2a1f;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2 {
    font-weight: 900;
    letter-spacing: -0.03em;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.85em;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 44px;
    padding-right: 44px;
    width: 100%;
}

.topbar {
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(8, 8, 8, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 30;
}

.topbar-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-top: 18px;
    padding-bottom: 18px;
    min-height: 62px;
}

.brand {
    font-weight: 900;
    letter-spacing: 0.18em;
    font-size: 13px;
}

.nav {
    display: flex;
    gap: 28px;
    font-size: 13px;
    color: var(--muted);
}

.nav a {
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.nav a:hover {
    color: var(--text);
    border-bottom-color: var(--red);
}

.topbar-cta {
    margin-left: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-solid {
    background: var(--red);
    color: #0a0a0a;
    border-color: var(--red);
}

.btn-solid:hover {
    background: var(--red-hot);
    border-color: var(--red-hot);
}

.btn-outline {
    background: transparent;
    color: var(--red);
    border-color: var(--red);
}

.btn-outline:hover {
    background: var(--red);
    color: #0a0a0a;
}

.btn-sm {
    padding: 9px 18px;
    font-size: 13px;
}

.hero {
    position: relative;
    min-height: calc(100vh - 62px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url('../bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--border);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(10, 10, 10, 0.97) 0%, rgba(10, 10, 10, 0.85) 45%, rgba(10, 10, 10, 0.55) 85%, rgba(10, 10, 10, 0.35) 100%),
        linear-gradient(to bottom, rgba(10, 10, 10, 0.2) 0%, transparent 30%, transparent 70%, rgba(10, 10, 10, 0.6) 100%);
    z-index: 1;
}

.hero-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--red);
    z-index: 3;
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 100px;
}

.hero-rule {
    display: block;
    width: 64px;
    height: 3px;
    background: var(--red);
    margin-bottom: 44px;
}

.hero-title {
    font-size: clamp(96px, 18vw, 260px);
    line-height: 0.82;
    margin-bottom: 36px;
    letter-spacing: -0.07em;
    max-width: 900px;
}

.hero-sub {
    font-size: 19px;
    color: #cccccc;
    max-width: 580px;
    margin-bottom: 52px;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.hero-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    color: var(--muted);
}

.hero-meta .dot {
    color: var(--muted-2);
}

.compat {
    list-style: none;
    margin-top: 80px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    color: var(--muted);
}

.compat li {
    border: 1px solid var(--border-strong);
    padding: 5px 12px;
    background: rgba(10, 10, 10, 0.6);
}

.marquee {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 22px 0;
    background: #050505;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: marquee 28s linear infinite;
    will-change: transform;
}

.marquee-track span {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(240, 240, 240, 0.22);
    padding-right: 24px;
    flex-shrink: 0;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.section {
    padding-top: 120px;
    padding-bottom: 120px;
    border-top: 1px solid var(--border);
}

.section:first-of-type {
    border-top: 0;
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 44px;
}

.idx {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    color: var(--red);
    letter-spacing: 0.2em;
}

.section-head h2 {
    font-size: clamp(48px, 7vw, 88px);
    letter-spacing: -0.045em;
    line-height: 0.92;
}

.section-intro {
    color: var(--muted);
    max-width: 640px;
    margin-bottom: 48px;
    font-size: 17px;
    line-height: 1.55;
}

.section-intro code {
    color: var(--text);
    border: 1px solid var(--border-strong);
    padding: 2px 8px;
    font-size: 13px;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--border-strong);
    background: var(--bg-elev);
}

.price-card {
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: background 0.18s;
    min-height: 380px;
}

.price-card:hover {
    background: var(--bg-elev-2);
}

.price-card + .price-card {
    border-left: 1px solid var(--border);
}

.price-tag {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.price-card.lifetime .price-tag {
    color: var(--red);
}

.price-amt {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    margin-top: 8px;
}

.price-amt .dollar {
    font-size: 28px;
    color: var(--muted);
    font-weight: 600;
}

.price-amt .num {
    font-size: 84px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.05em;
    line-height: 1;
}

.price-amt .per {
    font-size: 14px;
    color: var(--muted);
    margin-left: 10px;
}

.price-note {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    flex-grow: 1;
    max-width: 380px;
}

.price-btn {
    align-self: flex-start;
    padding: 12px 24px;
    font-size: 13px;
}

.price-math {
    color: var(--text);
    font-size: 15px;
    margin-top: 32px;
    padding: 18px 22px;
    border-left: 3px solid var(--red);
    background: rgba(225, 6, 0, 0.06);
    max-width: 680px;
}

.price-fine {
    color: var(--muted-2);
    font-size: 12px;
    max-width: 680px;
    margin-top: 28px;
    line-height: 1.7;
}

.dl-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dl-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 44px 48px;
    background: var(--bg-elev);
    border: 1px solid var(--border-strong);
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.dl-row:hover {
    background: var(--red);
    color: #0a0a0a;
    border-color: var(--red);
}

.dl-row-num {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: clamp(48px, 7vw, 76px);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--text);
    transition: color 0.18s;
}

.dl-row:hover .dl-row-num {
    color: #0a0a0a;
}

.dl-row-x {
    color: var(--red);
    transition: color 0.18s;
}

.dl-row:hover .dl-row-x {
    color: #0a0a0a;
}

.dl-row-label {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.18s;
}

.dl-row:hover .dl-row-label {
    color: rgba(10, 10, 10, 0.7);
}

.dl-row-arrow {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 32px;
    color: var(--muted-2);
    transition: color 0.18s, transform 0.2s;
}

.dl-row:hover .dl-row-arrow {
    color: #0a0a0a;
    transform: translateY(6px);
}

.footer {
    border-top: 1px solid var(--border);
    padding-top: 60px;
    padding-bottom: 40px;
    background: #050505;
    overflow: hidden;
}

.foot-mark {
    font-size: clamp(80px, 16vw, 220px);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(240, 240, 240, 0.2);
    margin-bottom: 40px;
    white-space: nowrap;
    overflow: hidden;
}

.foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.foot-note {
    color: var(--muted-2);
    font-size: 12px;
    max-width: 480px;
}

.foot-links {
    display: flex;
    gap: 26px;
    font-size: 12px;
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.foot-links a:hover {
    color: var(--red);
}

@media (max-width: 900px) {
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .topbar-inner {
        gap: 20px;
    }

    .nav {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .hero-rule {
        width: 48px;
        margin-bottom: 32px;
    }

    .section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .price-grid,
    .dl-list {
        grid-template-columns: 1fr;
    }

    .price-card {
        padding: 32px;
        min-height: 0;
    }

    .price-card + .price-card {
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .dl-row {
        grid-template-columns: 1fr auto;
        gap: 20px;
        padding: 32px;
    }

    .dl-row-label {
        grid-column: 1;
    }
}
