/* ═══════════════════════════════════════════════
   CSS CUSTOM PROPERTIES
═══════════════════════════════════════════════ */
:root {
    --accent: #fdb022; /*#F5C518;*/
    --accent-2: #10d47e;
    --accent-dim: #c9a010;
    --accent-glow: rgba(245,197,24,0.15);
    --accent2-glow: rgba(16,212,126,0.12);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --nav-h: 70px;
    --ease: cubic-bezier(0.22,1,0.36,1);
    --t: 0.38s;
}

[data-theme="dark"] {
    --bg: #080d18;
    --bg2: #0d1526;
    --bg3: #131f35;
    --card: #0f1a2e;
    --card2: #162038;
    --border: rgba(255,255,255,0.065);
    --border-h: rgba(245,197,24,0.45);
    --text: #e8edf8;
    --text2: #7e8ea8;
    --text3: #4a5878;
    --nav-bg: rgba(8,13,24,0.88);
    --shadow: 0 20px 60px rgba(0,0,0,0.6);
    --shadow-sm: 0 4px 20px rgba(0,0,0,0.4);
}

[data-theme="light"] {
    --bg: #f0f4fc;
    --bg2: #e4eaf7;
    --bg3: #d8e0f0;
    --card: #ffffff;
    --card2: #f7f9fe;
    --border: rgba(0,0,0,0.07);
    --border-h: rgba(245,197,24,0.5);
    --text: #0a1020;
    --text2: #4a5878;
    --text3: #8a95b0;
    --nav-bg: rgba(240,244,252,0.92);
    --shadow: 0 20px 60px rgba(0,0,0,0.10);
    --shadow-sm: 0 4px 20px rgba(0,0,0,0.06);
}

/* ═══════════════════════════════════════════════
   BASE RESET
═══════════════════════════════════════════════ */
/**, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', 'Cabinet Grotesk', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    transition: background var(--t), color var(--t);
}

h1, h2, h3, h4, h5 {
    font-family: 'Sora',  sans-serif;
    line-height: 1.1;
}

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

ul {
    list-style: none;
}

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

/* ═══════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════ */
.affiliate-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

.affiliate-section {
    padding: 110px 0;
    position: relative;
    z-index: 1;
}

.affiliate-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    font-family: 'Sora', sans-serif;
}

    .affiliate-tag::before {
        content: '';
        width: 22px;
        height: 2px;
        background: var(--accent);
        border-radius: 2px;
    }

.affiliate-section-label {
    margin-bottom: 14px;
}

.affiliate-section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

    .affiliate-section-title .hl {
        color: var(--accent);
    }

.affiliate-section-desc {
    font-size: 0.97rem;
    color: var(--text2);
    line-height: 1.78;
}

/* ═══════════════════════════════════════════════
   ANIMATED BACKGROUND
═══════════════════════════════════════════════ */
.bg-noise {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.bg-mesh {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 700px 600px at 0% 0%, rgba(245,197,24,0.07) 0%, transparent 70%), radial-gradient(ellipse 500px 500px at 100% 60%, rgba(16,212,126,0.06) 0%, transparent 70%), radial-gradient(ellipse 600px 400px at 50% 100%, rgba(37,99,235,0.05) 0%, transparent 70%);
    transition: opacity var(--t);
}

/* floating particles */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    animation: particleDrift linear infinite;
}

@keyframes particleDrift {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 0.4;
    }

    90% {
        opacity: 0.2;
    }

    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

/* grid lines */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 52px 52px;
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
#affiliate-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-h) + 80px) 28px 100px;
    position: relative;
    z-index: 1;
}

.affiliate-hero-tag {
    margin-bottom: 24px;
    animation: fadeUp 0.6s 0.1s both;
}

.affiliate-hero-title {
    /*font-size: clamp(2.6rem, 7vw, 5.5rem);*/
    font-size: clamp(36px,5.5vw,58px);
    font-weight: 600;
    letter-spacing: -0.04em;
    max-width: 820px;
    margin: 0 auto 28px;
    animation: fadeUp 0.6s 0.2s both;
}

    .affiliate-hero-title .hl {
        color: var(--accent);
    }

.hero-sub {
    font-size: clamp(0.97rem, 1.8vw, 1.1rem);
    color: var(--text2);
    line-height: 1.78;
    max-width: 620px;
    margin: 0 auto 16px;
    animation: fadeUp 0.6s 0.3s both;
}

.affiliate-hero-sub2 {
    font-size: 0.92rem;
    color: var(--text3);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 44px;
    animation: fadeUp 0.6s 0.38s both;
}

.affiliate-hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.46s both;
}

.affiliate-btn-primary {
    background: var(--accent);
    color: #000;
    font-family: 'Sora',sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    padding: 13px 30px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.22s, box-shadow 0.22s, background 0.2s;
    position: relative;
    overflow: hidden;
}

    .affiliate-btn-primary::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
        opacity: 0;
        transition: opacity 0.2s;
    }

    .affiliate-btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 36px var(--accent-glow);
    }

.affiliate-btn-primary:hover::after {
    opacity: 1;
}

.affiliate-btn-secondary {
    background: transparent;
    color: var(--text);
    font-family: 'Sora',sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    padding: 13px 30px;
    border-radius: 10px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.22s, border-color 0.22s, background 0.22s;
}

    .affiliate-btn-secondary:hover {
        transform: translateY(-3px);
        border-color: var(--accent-green);
        background: var(--bg-card);
        
    }

/* hero scroll indicator */
.affiliate-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text3);
    animation: fadeUp 0.6s 0.7s both;
}

.affiliate-scroll-mouse {
    width: 22px;
    height: 36px;
    border: 1.5px solid var(--text3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.affiliate-scroll-dot {
    width: 4px;
    height: 8px;
    border-radius: 3px;
    background: var(--accent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(8px);
        opacity: 0.3
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════
   WHY PARTNER
═══════════════════════════════════════════════ */
#affiliate-why {
    background: var(--bg2);
    transition: background var(--t);
}

.affiliate-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.affiliate-why-checks {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin: 28px 0 36px;
}

.affiliate-check-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    /*background: var(--card);*/
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    cursor: default;
}

    .affiliate-check-row:hover {
        border-color: var(--accent);
        transform: translateX(7px);
        box-shadow: -3px 0 0 0 var(--accent);
    }

.affiliate-check-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent-glow);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.affiliate-why-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* visual side */
.affiliate-why-visual {
    position: relative;
}

.affiliate-earn-card {
    /*background: var(--card);*/
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

    .affiliate-earn-card::before {
        content: '';
        position: absolute;
        top: -80px;
        right: -60px;
        width: 220px;
        height: 220px;
        background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    }

.affiliate-earn-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.affiliate-earn-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.affiliate-earn-title {
    font-weight: 700;
    font-size: 1rem;
}

.affiliate-earn-sub {
    font-size: 0.8rem;
    color: var(--text2);
    margin-top: 2px;
}

.affiliate-earn-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.affiliate-earn-stat {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    transition: border-color 0.25s;
}

    .affiliate-earn-stat:hover {
        border-color: var(--accent);
    }

.affiliate-earn-num {
    font-family: 'Sora',sans-serif;
    font-weight: 800;
    font-size: 1.7rem;
    color: var(--accent);
}

.affiliate-earn-lbl {
    font-size: 0.76rem;
    color: var(--text2);
    margin-top: 3px;
}

.affiliate-earn-bar-wrap {
    margin-bottom: 8px;
}

.affiliate-earn-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text2);
    margin-bottom: 6px;
}

.affiliate-earn-bar-track {
    height: 6px;
    background: var(--bg3);
    border-radius: 4px;
    overflow: hidden;
}

.affiliate-earn-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--accent);
    width: 0;
    transition: width 1.5s var(--ease);
}

/* ═══════════════════════════════════════════════
   WHAT YOU GET
═══════════════════════════════════════════════ */
#what {
}

.what-header {
    text-align: center;
    margin-bottom: 60px;
}

    .what-header .section-desc {
        max-width: 500px;
        margin: 0 auto;
    }

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

.what-card {
   /* background: var(--card);*/
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
    cursor: default;
}

    .what-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 60%);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .what-card:hover {
        transform: translateY(-8px);
        border-color: var(--accent);
        box-shadow: var(--shadow);
    }

        .what-card:hover::before {
            opacity: 1;
        }

.what-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-glow);
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
}

.what-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.what-card p {
    font-size: 0.82rem;
    color: var(--text2);
    line-height: 1.6;
}

.what-note {
    text-align: center;
    font-size: 0.83rem;
    color: var(--text3);
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════ */
#how {
    background: var(--bg2);
    transition: background var(--t);
}

.how-header {
    text-align: center;
    margin-bottom: 64px;
}

    .how-header .section-desc {
        max-width: 480px;
        margin: 0 auto;
    }

.steps-row {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
    position: relative;
    margin-bottom: 52px;
}
    /* connector line */
    .steps-row::before {
        content: '';
        position: absolute;
        top: 36px;
        left: calc(12.5% + 20px);
        right: calc(12.5% + 20px);
        height: 2px;
        background: linear-gradient(90deg, var(--accent), var(--accent-2));
        z-index: 0;
    }

.step-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

.step-bubble {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    /*background: var(--card);*/
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    box-shadow: 0 0 0 6px var(--accent-glow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.step-col:hover .step-bubble {
    transform: scale(1.12);
    box-shadow: 0 0 0 12px var(--accent-glow);
}

.step-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.step-col p {
    font-size: 0.8rem;
    color: var(--text2);
    line-height: 1.6;
}

.step-num {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) translateX(26px);
    background: var(--accent);
    color: #000;
    font-family: 'Sora',sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

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

.how-note {
    font-size: 0.85rem;
    color: var(--text2);
    margin-bottom: 28px;
}

/* ═══════════════════════════════════════════════
   NEXT STEPS
═══════════════════════════════════════════════ */
#nextsteps {
}

.ns-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.ns-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0 40px;
}

.ns-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    /*background: var(--card);*/
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    cursor: default;
}

    .ns-item:hover {
        border-color: var(--accent-2);
        transform: translateX(6px);
        box-shadow: -3px 0 0 0 var(--accent-2);
    }

.ns-num {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
    background: var(--accent2-glow);
    border: 1px solid var(--accent-2);
    color: var(--accent-2);
    font-family: 'Sora',sans-serif;
    font-weight: 800;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ns-item h4 {
    font-size: 0.92rem;
    font-weight: 700;
}

/* progress visual */
.ns-visual {
    position: relative;
}

.progress-card {
    /*background: var(--card);*/
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

    .progress-card h4 {
        font-weight: 700;
        margin-bottom: 24px;
        font-size: 1rem;
    }

.prog-item {
    margin-bottom: 18px;
}

.prog-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 7px;
}

    .prog-label span:last-child {
        color: var(--accent);
        font-weight: 700;
    }

.prog-track {
    height: 8px;
    background: var(--bg3);
    border-radius: 5px;
    overflow: hidden;
}

.prog-fill {
    height: 100%;
    border-radius: 5px;
    width: 0;
    transition: width 1.4s var(--ease);
}

    .prog-fill.gold {
        background: var(--accent);
    }

    .prog-fill.green {
        background: var(--accent-2);
    }

    .prog-fill.blue {
        background: #3b82f6;
    }

.prog-total {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .prog-total span:first-child {
        font-size: 0.85rem;
        color: var(--text2);
    }

    .prog-total span:last-child {
        font-family: 'Sora',sans-serif;
        font-size: 1.6rem;
        font-weight: 800;
        color: var(--accent);
    }

/* ═══════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════ */
#cta {
    background: var(--bg2);
    transition: background var(--t);
    overflow: hidden;
}

.cta-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

    .cta-inner .tag {
        justify-content: center;
    }

    .cta-inner .section-title {
        max-width: 620px;
        margin: 14px auto 20px;
    }

    .cta-inner .section-desc {
        max-width: 540px;
        margin: 0 auto 12px;
    }

.cta-sub {
    font-size: 0.88rem;
    color: var(--text3);
    margin-bottom: 40px;
    line-height: 1.65;
}

.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.cta-badges {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    color: var(--text2);
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* decorative background blobs for cta */
.cta-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.cta-blob1 {
    width: 400px;
    height: 400px;
    background: var(--accent-glow);
    top: -100px;
    left: -100px;
}

.cta-blob2 {
    width: 300px;
    height: 300px;
    background: var(--accent2-glow);
    bottom: -80px;
    right: -80px;
}


/*------ RESPONSIVE------*/
/* ═══════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

    .reveal-left.visible, .reveal-right.visible {
        opacity: 1;
        transform: translateX(0);
    }

.d1 {
    transition-delay: 0.08s;
}

.d2 {
    transition-delay: 0.16s;
}

.d3 {
    transition-delay: 0.24s;
}

.d4 {
    transition-delay: 0.32s;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width:1024px) {
    .what-cards {
        grid-template-columns: repeat(2,1fr);
    }

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

    .steps-row::before {
        display: none;
    }
}

@media (max-width:768px) {
    :root {
        --nav-h: 60px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    .affiliate-section {
        padding: 80px 0;
    }

    .affiliate-why-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .affiliate-why-visual {
        display: none;
    }

    .security-inner {
        grid-template-columns: 1fr;
    }

    .what-cards {
        grid-template-columns: 1fr;
    }

    .steps-row {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .ns-inner {
        grid-template-columns: 1fr;
    }

    .ns-visual {
        display: none;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width:480px) {
    .steps-row {
        grid-template-columns: 1fr;
    }

    .affiliate-hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }
}
