/* ═══════════════════════════════════════════════════════════════
   ZYNQOR — Affiliate Page Styles
   Dark Prime Design System | Glassmorphic Cards
   ═══════════════════════════════════════════════════════════════ */

/* Override FPS body lock — affiliate page uses normal scrolling */
body {
    overflow: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
}

/* ── Main Layout ── */
.aff-main {
    background: var(--bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 72px;
    position: relative;
    z-index: 1;
}

/* Footer must also sit above body::before */
.aff-main~.footer {
    position: relative;
    z-index: 1;
}

/* Hide FPS-only elements */
.fp-nav,
.fp-footer-overlay {
    display: none !important;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Stagger */
.aff-commission-card.reveal:nth-child(1) {
    transition-delay: 0.05s;
}

.aff-commission-card.reveal:nth-child(2) {
    transition-delay: 0.15s;
}

.aff-commission-card.reveal:nth-child(3) {
    transition-delay: 0.25s;
}

.aff-step-card.reveal:nth-child(1) {
    transition-delay: 0.05s;
}

.aff-step-card.reveal:nth-child(3) {
    transition-delay: 0.15s;
}

.aff-step-card.reveal:nth-child(5) {
    transition-delay: 0.25s;
}

.aff-why-card.reveal:nth-child(1) {
    transition-delay: 0.05s;
}

.aff-why-card.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.aff-why-card.reveal:nth-child(3) {
    transition-delay: 0.15s;
}

.aff-why-card.reveal:nth-child(4) {
    transition-delay: 0.2s;
}

.aff-why-card.reveal:nth-child(5) {
    transition-delay: 0.25s;
}

.aff-why-card.reveal:nth-child(6) {
    transition-delay: 0.3s;
}

.aff-stat-pill.reveal:nth-child(1) {
    transition-delay: 0.3s;
}

.aff-stat-pill.reveal:nth-child(2) {
    transition-delay: 0.45s;
}

.aff-stat-pill.reveal:nth-child(3) {
    transition-delay: 0.6s;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.aff-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.aff-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(0, 212, 255, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(8, 145, 178, 0.05) 0%, transparent 60%);
    z-index: 0;
}

.aff-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.aff-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 212, 255, 0.06);
    top: 10%;
    left: -5%;
    animation: affOrbFloat 12s ease-in-out infinite;
}

.aff-orb-2 {
    width: 350px;
    height: 350px;
    background: rgba(8, 145, 178, 0.05);
    bottom: 10%;
    right: -5%;
    animation: affOrbFloat 15s ease-in-out infinite reverse;
}

@keyframes affOrbFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -20px);
    }
}

.aff-hero .container {
    position: relative;
    z-index: 1;
}

.aff-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent-primary);
    margin-bottom: 16px;
    width: fit-content;
}

.aff-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -3px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.aff-hero-sub {
    font-size: clamp(16px, 1.4vw, 20px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* Hero Stat Pills */
.aff-hero-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.aff-stat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.aff-stat-pill:hover {
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.aff-stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--accent-primary);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.aff-stat-label {
    font-family: 'Outfit', sans-serif;
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Hero Actions */
.aff-hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.aff-hero-actions .btn {
    font-size: 16px;
    padding: 16px 40px;
}

/* ═══════════════════════════════════════
   SECTIONS (shared)
   ═══════════════════════════════════════ */
.aff-section {
    padding: clamp(60px, 8vh, 120px) 0;
    position: relative;
}

.aff-section-alt {
    background: rgba(255, 255, 255, 0.01);
}

.aff-section .section-header {
    text-align: center;
    margin-bottom: 56px;
}

.aff-section .section-title {
    font-size: clamp(32px, 4vw, 52px);
}

.aff-section .section-subtitle {
    max-width: 560px;
    margin: 12px auto 0;
}

/* ═══════════════════════════════════════
   COMMISSION CARDS
   ═══════════════════════════════════════ */
.aff-commission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.aff-commission-card {
    position: relative;
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.aff-commission-card:hover {
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.aff-commission-featured {
    border-color: rgba(0, 212, 255, 0.25);
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.04) 0%, var(--bg-card) 50%);
}

.aff-featured-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--accent-gradient);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    border-radius: 0 0 8px 8px;
}

.aff-card-tier {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.aff-card-price {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.aff-card-price span {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0;
}

.aff-card-earn {
    padding: 8px 0;
    background: none;
    border: none;
    border-radius: 0;
    margin-bottom: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.aff-earn-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.aff-earn-value {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--accent-primary);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.aff-earn-period {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.aff-card-perks {
    list-style: none;
    padding: 0;
    text-align: left;
}

.aff-card-perks li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.aff-card-perks li::before {
    content: '✓ ';
    color: var(--accent-primary);
    font-weight: 700;
}

.aff-card-perks li:last-child {
    border-bottom: none;
}

/* Earnings Example */
.aff-earnings-example {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 700px;
    margin: 8px auto 0;
    padding: 12px 0;
    background: none;
    border: none;
    border-radius: 0;
}

.aff-example-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.aff-example-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ═══════════════════════════════════════
   HOW IT WORKS — 3 STEP FLOW
   ═══════════════════════════════════════ */
.aff-steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.aff-step-card {
    flex: 1;
    max-width: 320px;
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: all 0.35s ease;
}

.aff-step-card:hover {
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.aff-step-num {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-primary);
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
}

.aff-step-icon {
    margin-bottom: 16px;
    color: var(--accent-primary);
    opacity: 0.7;
}

.aff-step-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.aff-step-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.aff-step-card a {
    color: var(--accent-primary);
    text-decoration: none;
}

.aff-step-card a:hover {
    text-decoration: underline;
}

.aff-step-connector {
    flex-shrink: 0;
    padding: 0 4px;
    opacity: 0.5;
}

/* ═══════════════════════════════════════
   WHY PROMOTE — 6 FEATURE CARDS
   ═══════════════════════════════════════ */
.aff-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.aff-why-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.35s ease;
}

.aff-why-card:hover {
    border-color: rgba(0, 212, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.aff-why-icon {
    font-size: 32px;
    margin-bottom: 14px;
}

.aff-why-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.aff-why-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ═══════════════════════════════════════
   MARKETING ASSETS
   ═══════════════════════════════════════ */
.aff-assets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.aff-asset-card {
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.35s ease;
}

.aff-asset-card:hover {
    border-color: rgba(0, 212, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.aff-asset-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 12px;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.aff-asset-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.aff-asset-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ═══════════════════════════════════════
   FAQ
   ═══════════════════════════════════════ */
.aff-faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ═══════════════════════════════════════
   CTA
   ═══════════════════════════════════════ */
.aff-cta {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.aff-cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.10), transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    animation: affCtaPulse 4s ease-in-out infinite;
}

@keyframes affCtaPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.aff-cta-content {
    position: relative;
    z-index: 1;
}

.aff-cta h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.aff-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.aff-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.aff-cta-actions .btn {
    font-size: 16px;
    padding: 16px 40px;
}

.aff-cta-email {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

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

.aff-cta-trust span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════
   SIGNUP / LOGIN FORM
   ═══════════════════════════════════════ */
.aff-auth-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.aff-auth-info {
    text-align: left;
}

.aff-auth-info h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.aff-auth-info p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.aff-auth-info .aff-cta-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.aff-auth-info .aff-cta-trust span {
    font-size: 14px;
}

/* Auth Card */
.aff-auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(12px);
}

/* Tabs */
.aff-auth-tabs {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 24px;
}

.aff-tab {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
}

.aff-tab:hover {
    color: var(--text-primary);
}

.aff-tab.active {
    background: rgba(0, 212, 255, 0.12);
    color: var(--accent-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Form */
.aff-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.aff-form-hidden {
    display: none !important;
}

.aff-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.aff-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
}

.aff-optional {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 12px;
}

.aff-field input,
.aff-field select {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.25s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.aff-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.aff-field input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.aff-field input:focus,
.aff-field select:focus {
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(0, 212, 255, 0.04);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}

.aff-form .btn {
    margin-top: 4px;
    padding: 14px 24px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.aff-form-note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 4px;
}

.aff-form-note a {
    color: var(--accent-primary);
    text-decoration: none;
}

.aff-form-note a:hover {
    text-decoration: underline;
}

/* FAQ override: remove upward expansion for affiliate page */
.aff-faq-grid .faq-item:nth-last-child(-n+2) {
    flex-direction: column !important;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
    .aff-commission-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .aff-auth-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .aff-auth-info {
        text-align: center;
    }

    .aff-auth-info .aff-cta-trust {
        align-items: center;
    }

    .aff-steps-grid {
        flex-direction: column;
        gap: 16px;
    }

    .aff-step-connector {
        transform: rotate(90deg);
    }

    .aff-step-card {
        max-width: 100%;
    }

    .aff-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aff-assets-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .aff-hero h1 {
        font-size: clamp(36px, 10vw, 52px);
        letter-spacing: -2px;
    }

    .aff-hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .aff-stat-pill {
        width: 100%;
        max-width: 280px;
    }

    .aff-why-grid {
        grid-template-columns: 1fr;
    }

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