:root {
    --landing-primary: #1b2c52;
    --landing-accent: #fca311;
    --landing-ink: #e9efff;
    --landing-muted: #9caacf;
    --landing-bg: #070d1a;
    --landing-surface: #0d162a;
    --landing-line: #243453;
    --landing-dark: #0c1324;
    --container: 1180px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 10px 30px rgba(2, 6, 16, 0.4);
    --shadow-strong: 0 20px 45px rgba(7, 11, 23, 0.35);
    --mobile-gutter: 0.95rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    max-width: 100%;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--landing-ink);
    background: var(--landing-bg);
    line-height: 1.6;
    overflow-x: clip;
    max-width: 100%;
}

body.nav-open {
    overflow: hidden;
}

body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(2, 7, 15, 0.6);
    backdrop-filter: blur(2px);
    z-index: 45;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--container), calc(100% - 2.4rem));
    margin-inline: auto;
}

.section {
    padding: 84px 0;
    position: relative;
    background: linear-gradient(180deg, rgba(12, 19, 36, 0.75), rgba(7, 13, 26, 0.92));
}

.section-muted {
    background: linear-gradient(180deg, rgba(12, 19, 36, 0.95), rgba(10, 18, 34, 0.95));
}

.section-dark {
    color: #fff;
    background: radial-gradient(900px 500px at 20% 0%, rgba(252, 163, 17, 0.22), transparent 45%),
                linear-gradient(140deg, #0c1324, #14213d 58%, #1b315f);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1.2;
    margin: 0 0 1.1rem;
    letter-spacing: -0.02em;
    color: #f3f7ff;
}

.section-title.light {
    color: #fff;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(10, 18, 33, 0.78);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(6, 10, 20, 0.3);
}

.nav-shell {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    padding: 5px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.22);
    overflow: hidden;
}

.brand-mark-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #e6ecff;
}

.nav-links > a {
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.94;
    position: relative;
}

.nav-links > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--landing-accent);
    transition: width 0.25s ease;
}

.nav-links > a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 11px;
    padding: 0.55rem 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}

.menu-toggle:focus-visible,
.btn:focus-visible,
.tab-btn:focus-visible,
.mode-btn:focus-visible,
.price-cycle-btn:focus-visible {
    outline: 2px solid #ffd287;
    outline-offset: 2px;
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 116px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(252, 163, 17, 0.5);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    color: #ffdca1;
    font-size: 0.82rem;
    margin-bottom: 1.25rem;
}

.hero-brand {
    margin: 0;
    color: #f0f4ff;
    opacity: 0.9;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0.5rem 0 1rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 6vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 16ch;
    text-wrap: balance;
}

.hero-sub {
    color: #d4def7;
    margin: 0;
    max-width: 54ch;
    text-wrap: pretty;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.hero-note {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #b6ffe0;
    font-size: 0.92rem;
}

.btn {
    border: 0;
    border-radius: 11px;
    padding: 0.72rem 1.2rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #ffbd45, var(--landing-accent));
    color: #111;
    box-shadow: 0 10px 24px rgba(252, 163, 17, 0.3);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-nav {
    margin-left: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 0.5rem 0.95rem;
}

.mock-browser {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.browser-bar {
    padding: 0.8rem 1rem;
    background: rgba(13, 25, 48, 0.85);
    display: flex;
    gap: 0.42rem;
}

.browser-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
}

.browser-content {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
    padding: 1rem;
}

.chart-card {
    height: 160px;
    border-radius: 14px;
    background: linear-gradient(130deg, #ffd075, #ffb53f, #fca311);
}

.mini-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.mini-grid div,
.table-card {
    border-radius: 12px;
    background: rgba(234, 239, 255, 0.78);
    height: 70px;
}

.table-card {
    height: 90px;
    margin-top: 0.8rem;
}

.hero-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.4;
}

.hero-glow-left {
    left: -160px;
    top: 18%;
    background: #fca311;
}

.hero-glow-right {
    right: -140px;
    bottom: 10%;
    background: #2e63d4;
}

.problem-grid,
.feature-grid,
.pricing-grid,
.referral-grid {
    display: grid;
    gap: 1rem;
}

.problem-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 1.2rem;
}

.problem-card,
.feature-card,
.pricing-card,
.ref-item,
.step,
.demo-card,
.preview-frame,
.faq-item {
    border: 1px solid var(--landing-line);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(20, 31, 56, 0.9), rgba(12, 21, 40, 0.9));
    box-shadow: var(--shadow-soft);
}

.problem-card {
    padding: 1rem;
}

.problem-card i {
    color: var(--landing-accent);
    font-size: 1.2rem;
}

.problem-card h3 {
    margin: 0.7rem 0 0.25rem;
    font-size: 1rem;
}

.problem-card p {
    margin: 0;
    color: var(--landing-muted);
    font-size: 0.92rem;
}

.solution {
    margin: 1.4rem auto 0;
    text-align: center;
    color: #ffd287;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 700;
    max-width: 68ch;
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.3rem;
}

.feature-card {
    padding: 1.2rem;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(17, 24, 39, 0.12);
}

.feature-card i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(130deg, #244984, #326dc0);
    margin-bottom: 0.8rem;
}

.feature-card h3,
.problem-card h3,
.step h3,
.pricing-card h3,
.preview-frame h3,
.demo-card h2,
.faq-item summary {
    color: #f4f7ff;
}

.feature-card h3 {
    margin: 0;
    font-size: 1.05rem;
}

.feature-card p {
    margin: 0.45rem 0 0;
    color: var(--landing-muted);
}

.preview-controls {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.preview-tabs {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.tab-btn {
    border: 1px solid var(--landing-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: #cdd7ef;
    padding: 0.45rem 1rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
}

.tab-btn.is-active {
    background: var(--landing-primary);
    border-color: var(--landing-primary);
    color: #fff;
}

.preview-mode-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem;
    border: 1px solid var(--landing-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
}

.mode-btn {
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #cdd7ef;
    padding: 0.42rem 0.9rem;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
}

.mode-btn.is-active {
    background: var(--landing-primary);
    color: #fff;
}

.preview-frame {
    margin: 1rem auto 0;
    width: min(1060px, 100%);
    overflow: hidden;
}

.compare-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 10;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--landing-line);
    background: linear-gradient(120deg, #1c2842, #202f4c);
}

.compare-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.22s ease;
}

.compare-dark {
    clip-path: inset(0 calc(100% - var(--compare-pos, 50%)) 0 0);
}

.compare-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--compare-pos, 50%);
    width: 2px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 0 18px rgba(255, 255, 255, 0.35);
    transform: translateX(-1px);
}

.compare-stage[data-mode="light"] .compare-dark,
.compare-stage[data-mode="light"] .compare-divider {
    display: none;
}

.compare-stage[data-mode="dark"] .compare-light,
.compare-stage[data-mode="dark"] .compare-divider {
    display: none;
}

.compare-stage[data-mode="dark"] .compare-dark {
    clip-path: none;
}

.compare-slider-wrap {
    display: block;
    margin-top: 0.85rem;
    font-size: 0.82rem;
    color: #b9c8e8;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(57, 81, 124, 0.6);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(17, 29, 57, 0.72), rgba(9, 18, 38, 0.72));
}

.compare-slider {
    width: 100%;
    margin-top: 0.45rem;
    accent-color: #f3b53e;
    cursor: ew-resize;
}

.compare-slider:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.preview-frame figcaption {
    padding: 1rem 1.1rem 1.2rem;
}

.preview-kicker {
    margin: 0;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #80a7ff;
    font-weight: 700;
}

.preview-frame h3 {
    margin: 0.35rem 0 0;
}

.preview-frame p {
    margin: 0.45rem 0 0;
    color: var(--landing-muted);
    max-width: 760px;
}

.steps {
    margin-top: 1.3rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.step {
    padding: 1.1rem;
}

.step span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #111;
    background: linear-gradient(120deg, #ffe0a4, #fca311);
}

.step h3 {
    margin: 0.8rem 0 0.4rem;
    font-size: 1.03rem;
}

.step p {
    margin: 0;
    color: var(--landing-muted);
}

.demo-card {
    padding: 1.2rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1rem;
    align-items: center;
}

.demo-card h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-family: 'Space Grotesk', sans-serif;
}

.demo-card p {
    color: var(--landing-muted);
}

.demo-credentials p {
    margin: 0 0 0.4rem;
}

.demo-credentials small {
    display: block;
    margin-top: 0.6rem;
    color: #9caacf;
}

.pricing-switch {
    margin: 0.4rem 0 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem;
    border: 1px solid var(--landing-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
}

.price-cycle-btn {
    border: 0;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    background: transparent;
    color: #b8c5e4;
    font-weight: 700;
    cursor: pointer;
}

.price-cycle-btn.is-active {
    background: linear-gradient(135deg, #ffcd68, #fca311);
    color: #101525;
}

.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.2rem;
}

.pricing-card {
    padding: 1.1rem;
    position: relative;
}

.pricing-card h3 {
    margin: 0;
    font-size: 1.15rem;
}

.pricing-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.pricing-head h3 {
    margin: 0;
}

.price {
    margin: 0.5rem 0 0.7rem;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: #ffd287;
}

.price span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #a9b7d8;
    margin-left: 0.2rem;
}

.pricing-card ul {
    margin: 0 0 1rem;
    padding-left: 1.05rem;
    color: #c6d0e6;
}

.badge {
    position: static;
    background: linear-gradient(135deg, #ffcd68, #fca311);
    color: #111;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    margin: 0;
    flex-shrink: 0;
    box-shadow: 0 10px 22px rgba(252, 163, 17, 0.22);
}

.pricing-card.popular {
    transform: translateY(-6px);
    border: 1px solid #f3b53e;
    box-shadow: 0 22px 40px rgba(252, 163, 17, 0.2);
}

/* ── Bonus / Referral Section ─────────────────────────────── */

.bonus-section {
    padding: 80px 0 100px;
}

.bonus-intro {
    text-align: center;
    margin-bottom: 3.5rem;
}

.bonus-intro .section-title {
    margin: 0.75rem 0 0.5rem;
}

.bonus-sub {
    color: var(--landing-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* How-it-works flow */
.bonus-flow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.bonus-step {
    flex: 1;
    min-width: 200px;
    max-width: 270px;
    background: linear-gradient(135deg, rgba(27,44,82,0.8), rgba(12,21,40,0.9));
    border: 1px solid var(--landing-line);
    border-radius: 14px;
    padding: 1.2rem 1.2rem 1.2rem 4rem;
    position: relative;
}

.step-num {
    position: absolute;
    top: 1.1rem;
    left: 1.1rem;
    width: 2rem;
    height: 2rem;
    background: #2563eb;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.88rem;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
}

.bonus-step p {
    margin: 0;
    color: var(--landing-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.bonus-step p strong {
    color: var(--landing-ink);
}

.bonus-arrow {
    font-size: 1.4rem;
    color: var(--landing-line);
    flex-shrink: 0;
}

/* Bonus Cards */
.bonus-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.8rem;
}

.bonus-card {
    background: linear-gradient(160deg, rgba(20,31,56,0.95), rgba(12,21,40,0.95));
    border: 1px solid var(--landing-line);
    border-radius: 18px;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.bonus-card-accent {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 28px rgba(37, 99, 235, 0.1);
}

.bonus-card-gold {
    border-color: rgba(255, 210, 135, 0.35);
    box-shadow: 0 0 28px rgba(255, 210, 135, 0.08);
}

.bonus-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7fa8f5;
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.bonus-card-gold .bonus-icon-wrap {
    background: rgba(255, 210, 135, 0.1);
    color: #ffd287;
}

.bonus-card h3 {
    color: var(--landing-ink);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.bonus-tagline {
    font-size: 0.75rem;
    color: var(--landing-muted);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bonus-highlight {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0.3rem 0;
    flex-wrap: wrap;
}

.big-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: #4d9fff;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
}

.bonus-card-gold .big-num {
    color: #ffd287;
}

.big-label {
    font-size: 0.88rem;
    color: var(--landing-muted);
    font-weight: 600;
    line-height: 1.3;
    max-width: 140px;
}

.bonus-desc {
    font-size: 0.87rem;
    color: var(--landing-muted);
    margin: 0;
    line-height: 1.55;
}

.bonus-example {
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid var(--landing-line);
}

.eg-label {
    font-size: 0.7rem;
    color: var(--landing-muted);
    margin: 0 0 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.7;
}

.eg-strike {
    font-size: 0.88rem;
    color: var(--landing-muted);
    margin: 0;
    text-decoration: line-through;
    opacity: 0.6;
}

.eg-result {
    font-size: 1rem;
    font-weight: 700;
    color: #5ddb8f;
    margin: 0.15rem 0 0;
}

.eg-result span {
    font-size: 0.75rem;
    color: var(--landing-muted);
    font-weight: 400;
}

/* Affiliate Block */
.affiliate-block {
    border: 1px solid var(--landing-line);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(16,26,50,0.7), rgba(10,17,35,0.85));
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.affiliate-header {
    text-align: center;
    margin-bottom: 1.6rem;
}

.affiliate-header h3 {
    color: var(--landing-ink);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.affiliate-header h3 em {
    font-style: normal;
    color: #7fa8f5;
}

.affiliate-header p {
    color: var(--landing-muted);
    max-width: 580px;
    margin: 0 auto;
    font-size: 0.93rem;
    line-height: 1.6;
}

.affiliate-header p strong {
    color: var(--landing-ink);
}

.affiliate-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.affiliate-card {
    background: rgba(7, 13, 26, 0.6);
    border: 1px solid var(--landing-line);
    border-radius: 14px;
    padding: 1.4rem;
}

.affiliate-card-purple {
    border-color: rgba(147, 97, 253, 0.3);
}

.aff-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.18);
    color: #7fa8f5;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.2rem 0.65rem;
    border-radius: 99px;
    border: 1px solid rgba(37, 99, 235, 0.3);
    margin-bottom: 0.6rem;
}

.aff-badge-purple {
    background: rgba(147, 97, 253, 0.18);
    color: #b89aff;
    border-color: rgba(147, 97, 253, 0.3);
}

.aff-price {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--landing-ink);
    font-family: 'Space Grotesk', sans-serif;
    margin: 0 0 1rem;
}

.aff-price span {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--landing-muted);
}

.aff-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.aff-col {
    flex: 1;
}

.aff-divider {
    width: 1px;
    height: 40px;
    background: var(--landing-line);
    flex-shrink: 0;
}

.aff-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--landing-muted);
    margin: 0 0 0.2rem;
}

.aff-val {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
}

.aff-val span {
    font-size: 0.75rem;
    font-weight: 400;
}

.aff-val.green { color: #5ddb8f; }
.aff-val.blue  { color: #7fa8f5; }

/* Bonus Summary Table */
.bonus-table-wrap {
    border: 1px solid var(--landing-line);
    border-radius: 16px;
    overflow: hidden;
}

.bonus-table-title {
    text-align: center;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--landing-muted);
    padding: 0.85rem;
    background: rgba(10, 17, 35, 0.6);
    margin: 0;
    border-bottom: 1px solid var(--landing-line);
}

.bonus-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.bonus-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.87rem;
    min-width: 520px;
}

.bonus-table thead tr {
    background: rgba(27, 44, 82, 0.55);
}

.bonus-table th {
    padding: 0.7rem 1rem;
    text-align: left;
    font-weight: 700;
    color: var(--landing-ink);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--landing-line);
}

.bonus-table td {
    padding: 0.65rem 1rem;
    color: var(--landing-muted);
    border-bottom: 1px solid rgba(36, 52, 83, 0.35);
    vertical-align: middle;
}

.bonus-table td:last-child {
    color: var(--landing-ink);
    font-weight: 600;
}

.bonus-table tbody tr:last-child td {
    border-bottom: none;
}

.bonus-table tbody tr:nth-child(odd) {
    background: rgba(10, 17, 35, 0.25);
}

.bonus-table tbody tr:hover {
    background: rgba(27, 44, 82, 0.35);
}

.faq-wrap {
    max-width: 840px;
}

.faq-list {
    margin-top: 1rem;
    display: grid;
    gap: 0.72rem;
}

.faq-item {
    padding: 0.75rem 0.95rem;
}

.faq-item summary {
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin: 0.65rem 0 0;
    color: var(--landing-muted);
}

.preview-frame p,
.step p,
.demo-card p,
.feature-card p,
.problem-card p,
.footer-grid p {
    color: #a7b5d7;
}

.final-cta-box {
    text-align: center;
}

.final-cta-box h2 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.final-cta-box p {
    margin: 0.75rem auto 0;
    max-width: 62ch;
    color: #d9e2f7;
}

.final-cta .hero-actions {
    justify-content: center;
}

.site-footer {
    background: #080d18;
    color: #c6cedc;
    padding: 2.4rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 1rem;
}

.footer-grid h3,
.footer-grid h4 {
    margin: 0 0 0.6rem;
    color: #f2f6ff;
}

.footer-grid p {
    margin: 0;
}

.footer-grid a {
    display: block;
    margin: 0 0 0.35rem;
    color: #bfc9e0;
}

.footer-grid a:hover {
    color: #ffd082;
}

.copyright {
    text-align: center;
    margin: 1.4rem 0 0;
    color: #91a0bc;
    font-size: 0.88rem;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero-grid,
    .demo-card {
        grid-template-columns: 1fr;
    }

    .problem-grid,
    .feature-grid,
    .steps,
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bonus-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .affiliate-grid {
        grid-template-columns: 1fr;
    }

    .preview-controls {
        align-items: stretch;
    }

    .preview-frame {
        width: 100%;
    }

    .compare-stage {
        aspect-ratio: 16 / 9;
    }

    .preview-mode-switch {
        width: fit-content;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .section {
        padding: 58px 0;
    }

    .site-header .nav-shell {
        min-height: 70px;
    }

    .menu-toggle {
        display: none;
    }

    .nav-links {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding-top: 94px;
    }

    .hero-grid {
        gap: 1.1rem;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero h1 {
        max-width: none;
    }

    .hero-visual {
        display: none;
    }

    .hero-glow {
        display: none;
    }

    .hero-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        justify-content: center;
        width: 100%;
    }

    .nav-links {
        position: fixed;
        top: calc(70px + env(safe-area-inset-top));
        right: var(--mobile-gutter);
        left: var(--mobile-gutter);
        width: auto;
        display: grid;
        gap: 0.35rem;
        padding: 0.9rem;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 14px;
        background: rgba(8, 13, 24, 0.96);
        box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
        transform: scale(0.98);
        transform-origin: top right;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease;
        max-height: calc(100dvh - 88px - env(safe-area-inset-top));
        overflow-y: auto;
        z-index: 70;
    }

    .nav-links.is-open {
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
    }

    .nav-links > a {
        border: 1px solid transparent;
        border-radius: 10px;
        padding: 0.52rem 0.62rem;
    }

    .nav-links > a:hover {
        border-color: rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.05);
    }

    .btn-nav {
        margin-left: 0;
        margin-top: 0.2rem;
    }

    .problem-grid,
    .feature-grid,
    .steps,
    .pricing-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .bonus-cols,
    .affiliate-grid {
        grid-template-columns: 1fr;
    }

    .bonus-flow {
        flex-direction: column;
        align-items: stretch;
    }

    .bonus-step {
        max-width: 100%;
    }

    .bonus-arrow {
        text-align: center;
        display: block;
        transform: rotate(90deg);
    }

    .preview-controls {
        gap: 0.8rem;
    }

    .preview-controls > * {
        width: 100%;
    }

    .preview-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.1rem;
        scroll-snap-type: x mandatory;
    }

    .preview-tabs::-webkit-scrollbar {
        height: 6px;
    }

    .preview-tabs::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(124, 146, 197, 0.45);
    }

    .tab-btn {
        white-space: nowrap;
        scroll-snap-align: start;
    }

    .preview-mode-switch {
        width: 100%;
        justify-content: center;
    }

    .mode-btn {
        min-width: 96px;
    }

    .compare-stage {
        aspect-ratio: 10 / 9;
    }

    .compare-slider-wrap {
        margin-top: 0.65rem;
        padding: 0.62rem 0.7rem;
    }

    .pricing-card.popular {
        transform: none;
    }

    .final-cta-box {
        text-align: center;
    }

    .footer-grid {
        gap: 1.4rem;
    }

    .bonus-table-title {
        font-size: 0.68rem;
    }
}

@media (max-width: 560px) {
    .container {
        width: calc(100% - (var(--mobile-gutter) * 2));
    }

    .section {
        padding: 56px 0;
    }

    .hero-pill {
        font-size: 0.74rem;
        max-width: 100%;
        line-height: 1.35;
    }

    .hero-brand {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: clamp(1.62rem, 8vw, 1.92rem);
        line-height: 1.16;
    }

    .section-title {
        font-size: 1.85rem;
        margin-bottom: 0.85rem;
    }

    .hero-sub {
        font-size: 0.92rem;
    }

    .hero-note {
        font-size: 0.85rem;
    }

    .hero-note i {
        flex-shrink: 0;
    }

    .btn {
        min-height: 44px;
        padding: 0.6rem 1rem;
    }

    .tab-btn,
    .mode-btn {
        font-size: 0.8rem;
    }

    .tab-btn {
        padding: 0.46rem 0.9rem;
    }

    .mode-btn {
        min-width: 84px;
    }

    .preview-frame figcaption {
        padding: 0.9rem 0.85rem 1rem;
    }

    .preview-frame h3 {
        font-size: clamp(1.2rem, 6.2vw, 1.45rem);
        line-height: 1.25;
    }

    .preview-frame p {
        font-size: 0.94rem;
    }

    .compare-slider-wrap {
        font-size: 0.75rem;
    }

    .preview-kicker {
        font-size: 0.66rem;
    }

    .bonus-card,
    .affiliate-block,
    .pricing-card,
    .feature-card,
    .problem-card,
    .step {
        padding: 1rem;
    }

    .bonus-intro {
        margin-bottom: 2.3rem;
    }

    .bonus-sub {
        font-size: 0.93rem;
    }

    .bonus-flow {
        gap: 0.72rem;
        margin-bottom: 2.1rem;
    }

    .bonus-step {
        min-width: 0;
        padding: 1rem 1rem 1rem 3.4rem;
    }

    .step-num {
        top: 0.9rem;
        left: 0.85rem;
        width: 1.78rem;
        height: 1.78rem;
        font-size: 0.8rem;
    }

    .affiliate-header h3 {
        font-size: 1.08rem;
    }

    .affiliate-card {
        padding: 1rem;
    }

    .aff-row {
        gap: 0.72rem;
    }

    .aff-val {
        font-size: 1rem;
    }

    .copyright {
        margin-top: 1.2rem;
        font-size: 0.82rem;
    }

    .pricing-switch {
        width: 100%;
        justify-content: center;
    }

    .price-cycle-btn {
        min-width: 118px;
    }
}

/* OPUS mobile protocol: compact, modern, conversion-focused */
@media (max-width: 760px) {
    :root {
        --radius-lg: 16px;
        --radius-md: 12px;
    }

    body {
        background:
            radial-gradient(500px 280px at 15% -5%, rgba(252, 163, 17, 0.14), transparent 60%),
            radial-gradient(420px 220px at 95% 8%, rgba(44, 106, 220, 0.16), transparent 62%),
            #070d1a;
    }

    .section {
        padding: 48px 0;
    }

    .section .container {
        position: relative;
    }

    .section-title {
        font-size: clamp(1.35rem, 6vw, 1.8rem);
        line-height: 1.2;
        letter-spacing: -0.02em;
        margin-bottom: 0.72rem;
        max-width: 22ch;
    }

    .hero {
        padding-top: 84px;
        padding-bottom: 14px;
    }

    .hero-grid {
        gap: 0.88rem;
    }

    .hero-copy {
        border: 1px solid rgba(116, 145, 206, 0.28);
        border-radius: 16px;
        padding: 0.95rem 0.9rem;
        background: linear-gradient(150deg, rgba(15, 24, 45, 0.9), rgba(10, 18, 33, 0.92));
        box-shadow: 0 18px 30px rgba(4, 10, 22, 0.35);
    }

    .hero-pill {
        margin-bottom: 0.78rem;
        font-size: 0.68rem;
        letter-spacing: 0.01em;
    }

    .hero-brand {
        opacity: 0.82;
        font-size: 0.88rem;
        letter-spacing: 0.06em;
    }

    .hero h1 {
        margin: 0.38rem 0 0.65rem;
        font-size: clamp(1.5rem, 7.4vw, 2.05rem);
    }

    .hero-sub {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .hero-actions {
        margin-top: 1rem;
        gap: 0.56rem;
    }

    .btn {
        min-height: 42px;
        font-size: 0.92rem;
        border-radius: 10px;
    }

    .btn-primary {
        box-shadow: 0 12px 26px rgba(252, 163, 17, 0.24);
    }

    .hero-note {
        margin-top: 0.72rem;
        font-size: 0.81rem;
        opacity: 0.95;
    }

    .mock-browser {
        border-radius: 16px;
        border-color: rgba(125, 148, 196, 0.35);
    }

    .browser-content {
        padding: 0.75rem;
    }

    .chart-card {
        height: 122px;
    }

    .mini-grid {
        margin-top: 0.72rem;
        gap: 0.58rem;
    }

    .mini-grid div,
    .table-card {
        height: 56px;
    }

    .table-card {
        margin-top: 0.58rem;
        height: 74px;
    }

    .problem-grid,
    .feature-grid,
    .steps,
    .pricing-grid,
    .faq-list,
    .bonus-cols,
    .affiliate-grid,
    .footer-grid {
        gap: 0.7rem;
    }

    .problem-card,
    .feature-card,
    .pricing-card,
    .step,
    .demo-card,
    .faq-item,
    .bonus-card,
    .affiliate-card,
    .affiliate-block,
    .preview-frame {
        border-radius: 13px;
        border-color: rgba(95, 119, 172, 0.36);
        background: linear-gradient(180deg, rgba(18, 28, 51, 0.95), rgba(11, 20, 38, 0.94));
    }

    .problem-card,
    .feature-card,
    .step,
    .pricing-card,
    .faq-item,
    .bonus-card,
    .affiliate-card {
        padding: 0.9rem;
    }

    .feature-card i,
    .step span {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        margin-bottom: 0.65rem;
    }

    .feature-card h3,
    .problem-card h3,
    .step h3,
    .pricing-card h3 {
        font-size: 0.98rem;
    }

    .feature-card p,
    .problem-card p,
    .step p,
    .preview-frame p,
    .demo-card p,
    .faq-item p,
    .bonus-desc,
    .affiliate-header p {
        font-size: 0.86rem;
        line-height: 1.55;
    }

    .solution {
        margin-top: 1rem;
        font-size: 0.98rem;
    }

    .preview-controls {
        margin-top: 0.8rem;
    }

    .preview-tabs {
        padding-bottom: 0.2rem;
        gap: 0.5rem;
    }

    .preview-tabs .tab-btn:nth-child(3) {
        display: none;
    }

    .tab-btn {
        padding: 0.4rem 0.78rem;
        font-size: 0.77rem;
        border-radius: 999px;
    }

    .preview-mode-switch {
        border-radius: 999px;
        padding: 0.2rem;
    }

    .mode-btn {
        min-width: 78px;
        font-size: 0.74rem;
        padding: 0.37rem 0.62rem;
    }

    .preview-frame {
        margin-top: 0.8rem;
    }

    .compare-stage {
        aspect-ratio: 9 / 10;
    }

    .preview-frame figcaption {
        padding: 0.75rem 0.82rem 0.9rem;
    }

    .preview-frame h3 {
        margin-top: 0.25rem;
    }

    .steps {
        margin-top: 0.9rem;
    }

    .demo-card {
        padding: 0.95rem;
        gap: 0.75rem;
    }

    .demo-card h2 {
        font-size: clamp(1.2rem, 5.6vw, 1.45rem);
    }

    .pricing-switch {
        width: 100%;
        margin-top: 0.45rem;
        justify-content: space-between;
        gap: 0.35rem;
    }

    .price-cycle-btn {
        min-width: 0;
        flex: 1;
        font-size: 0.82rem;
        padding: 0.42rem 0.62rem;
    }

    .price {
        margin: 0.45rem 0 0.6rem;
        font-size: 1.66rem;
    }

    .pricing-card ul {
        margin-bottom: 0.82rem;
        padding-left: 0.98rem;
    }

    .pricing-card ul li {
        font-size: 0.86rem;
        margin-bottom: 0.2rem;
    }

    .bonus-section {
        padding: 56px 0 72px;
    }

    .bonus-intro {
        margin-bottom: 1.45rem;
    }

    .bonus-sub {
        max-width: none;
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .bonus-flow {
        position: relative;
        margin-bottom: 1.4rem;
        gap: 0.6rem;
    }

    .bonus-step {
        border-radius: 12px;
        padding: 0.85rem 0.85rem 0.85rem 3rem;
    }

    .bonus-step p {
        font-size: 0.84rem;
    }

    .step-num {
        top: 0.8rem;
        left: 0.7rem;
        width: 1.62rem;
        height: 1.62rem;
        font-size: 0.73rem;
    }

    .bonus-arrow {
        transform: rotate(90deg);
        font-size: 1.05rem;
        opacity: 0.85;
    }

    .bonus-highlight {
        gap: 0.32rem;
    }

    .big-num {
        font-size: 1.86rem;
    }

    .big-label {
        font-size: 0.78rem;
        max-width: 112px;
    }

    .affiliate-block {
        padding: 1rem;
        margin-bottom: 1.2rem;
    }

    .affiliate-header {
        margin-bottom: 0.95rem;
    }

    .affiliate-header h3 {
        font-size: 1.03rem;
    }

    .aff-price {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .aff-row {
        align-items: flex-start;
    }

    .aff-label {
        font-size: 0.64rem;
    }

    .aff-val {
        font-size: 0.93rem;
    }

    .bonus-table-wrap {
        border-radius: 12px;
    }

    .bonus-table-title {
        text-align: left;
        padding: 0.7rem 0.8rem;
        font-size: 0.62rem;
    }

    .bonus-table {
        min-width: 0;
        font-size: 0.84rem;
    }

    .bonus-table thead {
        display: none;
    }

    .bonus-table tbody,
    .bonus-table tr,
    .bonus-table td {
        display: block;
        width: 100%;
    }

    .bonus-table tr {
        padding: 0.7rem 0.78rem;
        border-bottom: 1px solid rgba(36, 52, 83, 0.35);
    }

    .bonus-table tbody tr:last-child {
        border-bottom: none;
    }

    .bonus-table td {
        border-bottom: none;
        padding: 0;
        font-size: 0.82rem;
        line-height: 1.45;
        margin-top: 0.22rem;
    }

    .bonus-table td::before {
        display: block;
        font-size: 0.61rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #8ea3d3;
        margin-bottom: 0.12rem;
    }

    .bonus-table td:nth-child(1)::before {
        content: 'Sistem';
    }

    .bonus-table td:nth-child(2)::before {
        content: 'Penerima';
    }

    .bonus-table td:nth-child(3)::before {
        content: 'Benefit';
    }

    .faq-item {
        padding: 0.8rem 0.85rem;
    }

    .faq-item summary {
        font-size: 0.92rem;
    }

    .final-cta .hero-actions {
        margin-top: 1rem;
    }

    .site-footer {
        padding: 1.2rem 0 calc(4.8rem + env(safe-area-inset-bottom));
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 0.9rem;
    }

    .footer-grid > div:not(:first-child) {
        display: none;
    }

    .footer-grid h3 {
        font-size: 0.9rem;
        margin-bottom: 0.28rem;
    }

    .footer-grid p {
        font-size: 0.8rem;
        line-height: 1.4;
        color: #8a9abe;
    }

    .copyright {
        margin-top: 0.7rem;
        font-size: 0.72rem;
        color: #6a7a96;
    }

    .mobile-quick-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 80;
        padding: 0.6rem 0.72rem calc(0.6rem + env(safe-area-inset-bottom));
        background: linear-gradient(180deg, rgba(7, 13, 26, 0), rgba(7, 13, 26, 0.96) 42%);
        pointer-events: none;
    }

    .mobile-quick-cta-inner {
        pointer-events: auto;
        border: 1px solid rgba(127, 163, 232, 0.25);
        border-radius: 14px;
        padding: 0.38rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.36rem;
        background: linear-gradient(165deg, rgba(18, 28, 51, 0.92), rgba(9, 17, 33, 0.94));
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
        backdrop-filter: blur(6px);
    }

    .mobile-quick-cta .btn {
        min-height: 40px;
        font-size: 0.84rem;
        padding: 0.5rem 0.66rem;
    }
}

@media (min-width: 761px) {
    .mobile-quick-cta {
        display: none;
    }
}

@media (max-width: 400px) {
    .site-header .nav-shell {
        min-height: 66px;
    }

    .menu-toggle {
        padding: 0.5rem 0.45rem;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        padding: 4px;
    }

    .brand-text {
        font-size: 0.98rem;
    }

    .hero {
        padding-top: 88px;
    }

    .hero-pill {
        font-size: 0.7rem;
        padding: 0.3rem 0.7rem;
    }

    .btn {
        font-size: 0.92rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .animate-on-scroll,
    .btn,
    .feature-card,
    .tab-btn,
    .mode-btn,
    .price-cycle-btn,
    .nav-links,
    .compare-img {
        transition: none !important;
    }
}
