:root {
    --ink: #14181f;
    --ink-soft: #4b5563;
    --navy: #0b1220;
    --navy-soft: #101a30;
    --orange: #f2660d;
    --orange-dark: #d9560a;
    --blue: #0284c7;
    --green: #16a34a;
    --border: #e5e7eb;
    --bg-soft: #f8f9fb;
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
        sans-serif;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    display: block;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 999px;
}

.pill-dark {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.pill-light {
    background: #111827;
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-white {
    background: #fff;
    color: #14181f;
}

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

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

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

.btn-dark {
    background: #111827;
    color: #fff;
}

.btn-dark:hover {
    background: #000;
}

section {
    padding: 80px 0;
}

h1,
h2,
h3 {
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.eyebrow {
    text-align: center;
    margin-bottom: 14px;
}

.section-title {
    text-align: center;
    font-size: clamp(24px, 4.4vw, 34px);
    margin-bottom: 12px;
}

.section-sub {
    text-align: center;
    color: var(--ink-soft);
    max-width: 620px;
    margin: 0 auto 44px;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.navbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: 42px;
    height: 42px;
}

.brand .name {
    font-weight: 800;
    font-size: 16px;
    line-height: 1.1;
}

.brand .sub {
    font-size: 12px;
    color: var(--ink-soft);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-weight: 500;
    font-size: 15px;
    color: #6b7280;
}

.nav-links a:hover {
    color: #374151;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-right .login-link {
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    color: #6b7280;
    gap: 6px;
}

.nav-right .login-link:hover {
    color: #374151;
}

.nav-right .btn {
    padding: 10px 20px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #000 url("../../img/affiliate/hero-bg.webp") center/cover
        no-repeat;
    padding: 90px 24px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 14, 20, 0.55),
        rgba(10, 14, 20, 0.72)
    );
}

.hero-inner {
    position: relative;
    max-width: 900px;
    color: #fff;
}

.hero h1 {
    font-size: clamp(28px, 7vw, 52px);
    line-height: 1.15;
    margin: 22px 0 20px;
}

.hero h1 .accent {
    color: var(--orange);
}

.hero p {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 640px;
    margin: 0 auto 32px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.trust-row {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.trust-row .dot {
    opacity: 0.5;
}

.check-ico {
    color: #34d399;
}

/* Cards grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

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

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

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
}

.card .ico {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 19px;
}

.card .ico svg {
    width: 22px;
    height: 22px;
}

.card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.card p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 0;
}

.earn-banner {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 24px;
    font-size: 14px;
    color: var(--ink-soft);
}

.earn-banner strong {
    color: var(--ink);
}

.earn-banner-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.earn-banner-ico {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* How it works */
.steps {
    display: flex;
    position: relative;
}

.steps::before {
    content: "";
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 0;
    opacity: 0.35;
    background: linear-gradient(
        to right,
        transparent 0%,
        transparent 12.5%,
        var(--orange) 12.5%,
        var(--orange) 37.5%,
        var(--blue) 37.5%,
        var(--blue) 62.5%,
        var(--green) 62.5%,
        var(--green) 87.5%,
        transparent 87.5%,
        transparent 100%
    );
}

.step {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
}

.step .badge {
    width: 90px;
    height: 90px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: #fff;
    border: 2px solid currentColor;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.step .badge svg {
    width: 26px;
    height: 26px;
}

.step .badge .num {
    font-size: 13px;
    font-weight: 800;
}

.badge-navy {
    color: var(--navy);
}

.badge-orange {
    color: var(--orange);
}

.badge-blue {
    color: var(--blue);
}

.badge-green {
    color: var(--green);
}

.step h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.step p {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 0;
    padding: 0 10px;
}

/* Give them a reason */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

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

.split h2 {
    font-size: clamp(22px, 4.5vw, 30px);
    margin-bottom: 16px;
}

.split p {
    color: var(--ink-soft);
    line-height: 1.65;
    margin-bottom: 20px;
}

.tag-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.tag {
    font-size: 14px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tag svg {
    width: 16px;
    height: 16px;
}

.tag-blue {
    background: #dbeafe;
    color: #1e3a5f;
}

.tag-orange {
    background: #fef3c7;
    color: #b45309;
}

.tag-green {
    background: #d1fae5;
    color: #15803d;
}

.tag-arrow {
    display: inline-flex;
    align-items: center;
    color: #9ca3af;
}

.tag-arrow svg {
    width: 16px;
    height: 16px;
}

.split img {
    border-radius: 18px;
    width: 100%;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

/* Dashboard preview (dark) */
.dark-section {
    position: relative;
    background:
        radial-gradient(
            circle at 75% 15%,
            rgba(75, 118, 224, 0.45),
            transparent 55%
        ),
        linear-gradient(
            135deg,
            #050a18 0%,
            #0d1938 30%,
            #1d3f8c 70%,
            #0a1631 100%
        );
    color: #fff;
}

.dark-section .section-sub {
    color: rgba(255, 255, 255, 0.65);
}

.demo-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 6px 14px;
}

.dash-card {
    background: #fff;
    color: var(--ink);
    border-radius: 20px;
    padding: 28px;
    max-width: 980px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.dash-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 24px;
}

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

.dash-col {
    padding: 16px 20px;
    border-right: 1px solid var(--border);
}

.dash-col:last-child {
    border-right: none;
}

.dash-col-orange {
    background: #fdf6e3;
    border-right-color: transparent;
}

.dash-col-green {
    background: #e8f8ef;
}

.dash-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
    font-weight: 700;
    margin-bottom: 8px;
}

.dash-label svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.dash-value {
    font-family:
        "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: clamp(16px, 3.6vw, 22px);
    font-weight: 800;
    margin-bottom: 4px;
}

.dash-col-orange .dash-value,
.dash-col-orange .dash-note {
    color: var(--orange-dark);
}

.dash-col-green .dash-value,
.dash-col-green .dash-note {
    color: var(--green);
}

.dash-note {
    font-size: 12px;
    color: var(--ink-soft);
}

.dash-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 700px) {
    .dash-mini-grid {
        grid-template-columns: 1fr;
    }
}

.dash-mini-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 20px 18px;
    position: relative;
    overflow: hidden;
}

.dash-mini-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.dash-mini-orange::before {
    background: var(--orange);
}

.dash-mini-green::before {
    background: var(--green);
}

.dash-mini-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.dash-mini-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}

.dash-mini-title svg {
    width: 15px;
    height: 15px;
}

.dash-mini-orange .dash-mini-title {
    color: var(--orange-dark);
}

.dash-mini-green .dash-mini-title {
    color: var(--green);
}

.dash-mini-sub {
    font-size: 12px;
    color: var(--ink-soft);
}

.dash-mini-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-mini-icon svg {
    width: 18px;
    height: 18px;
}

.dash-mini-icon-orange {
    background: #fdf6e3;
    color: var(--orange-dark);
}

.dash-mini-icon-green {
    background: #e8f8ef;
    color: var(--green);
}

.dash-mini-value {
    font-family:
        "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: clamp(20px, 5vw, 28px);
    font-weight: 800;
    margin-bottom: 12px;
}

.dash-mini-foot {
    text-align: right;
    font-size: 12px;
    color: var(--ink-soft);
    margin-top: 8px;
}

.bar {
    height: 6px;
    border-radius: 999px;
    background: var(--border);
    overflow: hidden;
}

.bar > span {
    display: block;
    height: 100%;
    border-radius: 999px;
}

.center-cta {
    text-align: center;
    margin-top: 8px;
}

.dash-disclaimer {
    margin-top: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

/* Status cards */
.status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 26px;
}

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

.status-card {
    position: relative;
    border-radius: 14px;
    border: 1.5px solid;
    padding: 30px 22px;
    text-align: center;
}

.status-card.pending {
    background: #fef9e7;
    border-color: #f3d98a;
}

.status-card.approved {
    background: #eaf1fe;
    border-color: #bcd3fb;
}

.status-card.paid {
    background: #e8f8ef;
    border-color: #a9e8c3;
}

.status-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 14px;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon svg {
    width: 24px;
    height: 24px;
}

.status-card.pending .status-icon {
    background: #fef9e7;
    border-color: #f3d98a;
    color: #d97706;
}

.status-card.approved .status-icon {
    background: #eaf1fe;
    border-color: #bcd3fb;
    color: #2563eb;
}

.status-card.paid .status-icon {
    background: #e8f8ef;
    border-color: #a9e8c3;
    color: #16a34a;
}

.status-card .status-title {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 8px;
}

.status-card.pending .status-title {
    color: #b45309;
}

.status-card.approved .status-title {
    color: #1d4ed8;
}

.status-card.paid .status-title {
    color: #15803d;
}

.status-card p {
    font-size: 13px;
    color: var(--ink-soft);
    margin: 0;
}

.status-chevron {
    position: absolute;
    top: 50%;
    right: -14px;
    transform: translate(50%, -50%);
    color: #cbd5e1;
    line-height: 0;
    z-index: 2;
}

.status-chevron svg {
    width: 20px;
    height: 20px;
}

.note-box {
    text-align: center;
    font-size: 13px;
    color: var(--ink-soft);
    background: var(--bg-soft);
    border-radius: 10px;
    padding: 20px 270px;
}

.note-box strong {
    color: var(--ink);
}

@media (max-width: 900px) {
    .note-box {
        padding: 18px 60px;
    }
}

@media (max-width: 560px) {
    .note-box {
        padding: 16px 20px;
    }
}

/* Final CTA */
.final-cta {
    position: relative;
    padding: 96px 24px;
    text-align: center;
    color: #fff;
    background: #000 url("../../img/affiliate/final-cta-bg.webp") center/cover
        no-repeat;
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(6, 10, 18, 0.72);
}

.final-cta-inner {
    position: relative;
}

.final-cta h2 {
    font-size: clamp(24px, 5.5vw, 34px);
    margin: 18px 0 14px;
}

.final-cta h2 .accent {
    color: var(--orange);
}

.final-cta p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 520px;
    margin: 0 auto 30px;
}

.final-cta .hero-ctas {
    margin-bottom: 0;
}

/* Footer */
footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 56px 0 32px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

footer .brand img {
    width: 72px;
    height: 72px;
    border-radius: 0;
    object-fit: contain;
}

footer .brand .name {
    color: #fff;
    font-size: 17px;
}

footer .tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    margin: 18px 0 0;
    max-width: 420px;
}

footer .links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    font-size: 14px;
}

footer .links a:hover {
    color: #fff;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 32px 0 20px;
}

.footer-bottom {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

.icon-hotel {
    background: #e6f0fb;
    color: #2563eb;
}

.icon-sub {
    background: #fdf1e2;
    color: var(--orange);
}

.icon-bonus {
    background: #e0f2fe;
    color: #0ea5e9;
}

.icon-generic {
    background: #f3f4f6;
    color: #374151;
}

/* Anchor targets shouldn't hide behind the sticky navbar */
section[id] {
    scroll-margin-top: 88px;
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
    section {
        padding: 60px 0;
    }

    .nav-links {
        display: none;
    }

    .steps {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }

    .steps::before {
        display: none;
    }

    .step p {
        padding: 0 16px;
    }
}

@media (max-width: 700px) {
    .hero {
        min-height: 0;
        padding: 130px 20px 60px;
    }

    .dash-card {
        padding: 20px;
    }

    .dash-header {
        font-size: 14px;
    }

    .dash-col {
        border-right: none !important;
        border-bottom: 1px solid var(--border);
        padding: 14px 16px;
    }

    .dash-col:nth-child(3),
    .dash-col:nth-child(4) {
        border-bottom: none;
    }

    .status-chevron {
        top: auto;
        left: 50%;
        right: auto;
        bottom: -30px;
        transform: translateX(-50%) rotate(90deg);
    }

    .status-grid {
        margin-bottom: 46px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
}

@media (max-width: 480px) {
    .wrap {
        padding: 0 16px;
    }

    section {
        padding: 48px 0;
    }

    .navbar {
        padding: 12px 0;
    }

    .brand img {
        width: 36px;
        height: 36px;
    }

    .brand .sub {
        display: none;
    }

    .nav-right {
        gap: 10px;
    }

    .nav-right .login-link span,
    .nav-right .login-link {
        font-size: 13px;
    }

    .nav-right .btn {
        padding: 9px 14px;
        font-size: 13px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    .trust-row {
        font-size: 12px;
        gap: 10px;
    }

    .split img {
        border-radius: 14px;
    }

    .status-card {
        padding: 24px 16px;
    }

    .final-cta {
        padding: 64px 18px;
    }

    .final-cta .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }
}
