/* ============================================================
   EasyMetaX — Public CSS
   Homepage, marketing pages, auth pages.
   Theme: Deep Ink + Signature Gold
   ============================================================ */

/* ---------- Header ----------
   Shared chrome (logo, hamburger, toggle buttons) lives in main.css. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(16px) saturate(1.6);
    -webkit-backdrop-filter: blur(16px) saturate(1.6);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
    border-bottom-color: var(--border-light);
    box-shadow: 0 8px 24px -18px rgba(16, 24, 40, .4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 68px;
}

.logo-icon { width: 32px; height: 32px; }
.logo-text { font-size: 19.5px; }

.main-nav { display: block; }

.nav-list {
    display: flex;
    list-style: none;
    gap: 6px;
    align-items: center;
    background: var(--surface-2);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    padding: 4px;
}

.nav-link {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none !important;
    padding: 8px 16px;
    border-radius: 999px;
    position: relative;
    transition: color .18s, background .18s;
}

.nav-link:hover { color: var(--ink); background: var(--surface); }
.nav-link.active { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-xs); }
.nav-link::after { display: none; }

.header-actions { display: flex; gap: 10px; align-items: center; }

.header-login {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none !important;
    padding: 10px 6px;
}
.header-login:hover { color: var(--primary-deep); }

/* Mobile Menu — slide-down app sheet */
.mobile-menu-toggle { display: none; }

/* Absolute (not fixed) on purpose: .site-header has backdrop-filter,
   which makes it the containing block for fixed children and would
   collapse a fixed panel to the header's own height. */
.mobile-menu {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    max-height: calc(100dvh - 68px);
    background: var(--surface);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 30px 50px -28px rgba(16, 24, 40, .45);
    padding: 14px 0 32px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 99;
    animation: menuDrop .28s cubic-bezier(.2, .8, .2, 1);
}
@keyframes menuDrop {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-menu.open { display: block; }

.mobile-nav-list { list-style: none; padding: 0 var(--gutter); }

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 4px;
    min-height: 54px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none !important;
    border-bottom: 1px solid var(--border-light);
}
.mobile-nav-link::after {
    content: "";
    width: 8px; height: 8px;
    border-right: 2px solid var(--text-soft);
    border-bottom: 2px solid var(--text-soft);
    transform: rotate(-45deg);
    flex-shrink: 0;
}
.mobile-nav-link.btn { border-bottom: none; justify-content: center; }
.mobile-nav-link.btn::after { display: none; }

.mobile-nav-divider { height: 1px; background: var(--border-light); margin: 12px 0; }

.mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: var(--ink-grad);
    color: #fff;
    padding: clamp(44px, 7vw, 92px) 0 clamp(48px, 8vw, 104px);
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(760px 380px at 82% -10%, rgba(46, 123, 255, .3), transparent 62%),
        radial-gradient(600px 360px at 8% 110%, rgba(96, 128, 220, .22), transparent 66%);
    z-index: -1;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

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

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #FFD84D;
    background: rgba(46, 123, 255, .12);
    border: 1px solid rgba(46, 123, 255, .3);
    border-radius: 999px;
    padding: 8px 16px;
    margin-bottom: 22px;
}

.eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, .2);
}

.hero-title {
    color: #fff;
    font-size: clamp(32px, 5.2vw, 54px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
    margin-bottom: 18px;
}
.hero-title .text-gold {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle {
    font-size: clamp(15.5px, 1.6vw, 18px);
    color: rgba(255, 255, 255, .72);
    max-width: 52ch;
    margin-bottom: 30px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-actions .btn-outline {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .22);
    color: #fff;
    box-shadow: none;
}
.hero-actions .btn-outline:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); color: #fff; box-shadow: none; }

.hero-trust { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, .85);
    background: rgba(255, 255, 255, .07);
    padding: 8px 15px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .13);
}
.trust-badge svg { width: 15px; height: 15px; color: #FFD84D; }

/* Hero stats strip */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 460px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-value {
    font-family: var(--font-display);
    font-size: clamp(19px, 3vw, 25px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}
.hero-stat-label { font-size: 11.5px; color: rgba(255, 255, 255, .58); font-weight: 500; }

/* ---------- Phone mockup (real app preview) ---------- */
.hero-visual { display: flex; justify-content: center; position: relative; z-index: 1; }

.phone-mockup { position: relative; width: min(310px, 82vw); }

.phone-frame {
    border-radius: 46px;
    border: 10px solid #05070D;
    background: #05070D;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
    overflow: hidden;
    transform: rotate(3deg);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.phone-mockup:hover .phone-frame { transform: rotate(0deg) translateY(-8px); }

.phone-notch {
    position: absolute;
    top: 10px; left: 50%;
    transform: translateX(-50%);
    width: 90px; height: 22px;
    background: #05070D;
    border-radius: 0 0 14px 14px;
    z-index: 3;
}

.phone-screen {
    background: linear-gradient(170deg, #151D33 0%, #0B1020 60%, #121A2E 100%);
    border-radius: 36px;
    min-height: 500px;
    padding: 30px 14px 0;
    position: relative;
    overflow: hidden;
}
.phone-screen::before {
    content: "";
    position: absolute;
    right: -60px; top: -40px;
    width: 190px; height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 123, 255, .34), transparent 70%);
}

.app-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; position: relative; }
.app-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gold-grad);
    color: #FFFFFF;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
}
.app-greet { display: flex; flex-direction: column; line-height: 1.15; }
.app-greet small { font-size: 10px; color: rgba(255, 255, 255, .55); }
.app-greet strong { font-size: 13px; color: #fff; font-weight: 700; }
.app-bell {
    margin-left: auto;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .14);
    display: grid;
    place-items: center;
    color: #fff;
    position: relative;
}
.app-bell svg { width: 15px; height: 15px; }
.app-bell::after {
    content: "";
    position: absolute;
    top: 7px; right: 8px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #F97066;
    border: 1.5px solid #151D33;
}

.app-wallet {
    background: var(--gold-grad);
    border-radius: 20px;
    padding: 16px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 30px -18px rgba(46, 123, 255, .9);
}
.app-wallet::after {
    content: "";
    position: absolute;
    right: -30px; top: -40px;
    width: 130px; height: 130px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .28);
}
.app-wallet-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; opacity: .7; }
.app-wallet-amount { font-family: var(--font-display); font-size: 25px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0 12px; }
.app-wallet-actions { display: flex; gap: 7px; position: relative; }
.app-wallet-chip {
    flex: 1;
    text-align: center;
    font-size: 10.5px;
    font-weight: 700;
    padding: 8px 6px;
    border-radius: 10px;
    background: rgba(7, 26, 58, .85);
    color: #FFD84D;
}
.app-wallet-chip.light { background: rgba(255, 255, 255, .9); color: #0A2247; }

.app-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 12px 0; }
.app-tile {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    padding: 10px 6px;
    text-align: center;
}
.app-tile svg { width: 16px; height: 16px; color: #FFD84D; margin: 0 auto 5px; display: block; }
.app-tile strong { display: block; font-family: var(--font-display); font-size: 13px; color: #fff; }
.app-tile span { font-size: 8.5px; color: rgba(255, 255, 255, .55); }

.app-section-label { font-size: 9.5px; text-transform: uppercase; letter-spacing: .8px; color: rgba(255, 255, 255, .5); font-weight: 700; margin: 12px 2px 7px; }

.app-rows { display: flex; flex-direction: column; gap: 6px; }
.app-row {
    display: flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 9px 10px;
}
.app-row-icon {
    width: 26px; height: 26px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(52, 211, 153, .16);
    color: #6EE7B7;
    flex-shrink: 0;
}
.app-row-icon svg { width: 13px; height: 13px; }
.app-row-icon.gold { background: rgba(46, 123, 255, .18); color: #FFD84D; }
.app-row-text { flex: 1; min-width: 0; }
.app-row-text strong { display: block; font-size: 11px; color: #fff; font-weight: 600; }
.app-row-text span { font-size: 9px; color: rgba(255, 255, 255, .45); }
.app-row-amt { font-family: var(--font-display); font-size: 11.5px; font-weight: 800; color: #6EE7B7; }
.app-row-amt.pending { color: #FFD84D; }

.app-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin: 16px -14px 0;
    padding: 10px 14px 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: rgba(0, 0, 0, .25);
}
.app-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 8px;
    color: rgba(255, 255, 255, .45);
    font-weight: 600;
}
.app-nav-item svg { width: 16px; height: 16px; }
.app-nav-item.active { color: #FFD84D; }

.mock-chip {
    position: absolute;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
    box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .6);
    animation: floatChip 5s ease-in-out infinite;
    z-index: 4;
    white-space: nowrap;
}
.mock-chip::before {
    content: "";
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--success);
    margin-right: 8px;
    vertical-align: middle;
}
.mock-chip.chip-top { top: 9%; left: -20%; }
.mock-chip.chip-bottom { bottom: 13%; right: -14%; animation-delay: 2.5s; }
.mock-chip.chip-bottom::before { background: var(--primary); }

@keyframes floatChip {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* Legacy mock classes (kept for compatibility) */
.mock-dashboard { width: 100%; }
.mock-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.mock-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-grad); color: #FFFFFF; display: grid; place-items: center; font-weight: 800; }
.mock-balance-label { display: block; font-size: 11px; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .5px; }
.mock-balance { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: #fff; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.mock-stat { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 10px; text-align: center; }
.mock-stat span { display: block; font-size: 10px; color: rgba(255, 255, 255, .55); }
.mock-stat strong { font-size: 14px; color: #fff; }
.mock-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock-btn { padding: 12px; border-radius: 12px; background: var(--gold-grad); color: #FFFFFF; font-family: var(--font); font-size: 13px; font-weight: 700; text-align: center; border: none; }
.mock-btn.outline { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }

/* ---------- Section Headers ---------- */
.section-header-block {
    text-align: center;
    max-width: 660px;
    margin: 0 auto clamp(34px, 5vw, 56px);
}

.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--primary-deep);
    background: var(--primary-light);
    border: 1px solid var(--primary-tint);
    border-radius: 999px;
    padding: 7px 16px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 800;
    letter-spacing: -.035em;
    margin-bottom: 12px;
}

.section-subtitle { font-size: 16px; color: var(--text-light); }

/* ---------- Steps / Features ---------- */
.features { padding: var(--section) 0; background: var(--background-alt); }

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

.step-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    overflow: hidden;
}
.step-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gold-grad);
    opacity: 0;
    transition: opacity .25s ease;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-tint); }
.step-card:hover::before { opacity: 1; }

.step-badge {
    display: inline-grid;
    place-items: center;
    width: 54px; height: 54px;
    border-radius: var(--radius-sm);
    background: var(--ink-grad);
    color: #FFD84D;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 22px;
}

.feature-title { font-size: 19px; margin-bottom: 8px; }
.feature-description { font-size: 14.5px; color: var(--text-light); line-height: 1.65; }

/* ---------- Methods Grid ---------- */
.earning-methods { padding: var(--section) 0; background: var(--surface); }

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

.method-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all .25s ease;
    box-shadow: var(--shadow-xs);
}
.method-card:hover { border-color: var(--primary-tint); box-shadow: var(--shadow-lg); transform: translateY(-5px); }

.method-icon {
    width: 50px; height: 50px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary-deep);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}
.method-icon svg { width: 23px; height: 23px; }

.method-title { font-size: 17px; margin-bottom: 8px; }
.method-description { font-size: 13.5px; color: var(--text-light); margin-bottom: 16px; line-height: 1.65; }

.method-features { list-style: none; }
.method-features li { font-size: 13px; color: var(--text); padding: 6px 0 6px 24px; position: relative; }
.method-features li::before {
    content: "";
    position: absolute;
    left: 0; top: 12px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--success-light);
    border: 1.5px solid var(--success);
}
.method-features li::after {
    content: "";
    position: absolute;
    left: 4.5px; top: 16px;
    width: 5px; height: 2.5px;
    border-left: 1.5px solid var(--success);
    border-bottom: 1.5px solid var(--success);
    transform: rotate(-45deg);
}

/* ---------- Video Section ---------- */
.video-section { padding: var(--section) 0; background: var(--background-alt); }

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 56.25%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 8px solid var(--ink-900);
    background: var(--ink-900);
}
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Support Section ---------- */
.support-section { padding: var(--section) 0; background: var(--surface); }

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

.support-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-decoration: none !important;
    color: var(--text) !important;
    box-shadow: var(--shadow-xs);
    transition: all .22s ease;
}
.support-card:hover { transform: translateY(-5px); border-color: var(--primary-tint); box-shadow: var(--shadow-lg); }

.support-icon {
    width: 58px; height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    background: var(--primary-light);
    color: var(--primary-deep);
}
.support-icon svg { width: 26px; height: 26px; }

.support-card.whatsapp .support-icon { background: #E7F7EE; color: #1DA851; }
.support-card.email .support-icon { background: var(--surface-2); color: var(--ink); border: 1px solid var(--border); }

.support-card h3 { font-size: 17px; margin-bottom: 4px; }
.support-card p { font-size: 13.5px; color: var(--text-light); margin-bottom: 8px; }

.support-contact { font-size: 14px; font-weight: 700; color: var(--primary-deep) !important; word-break: break-all; }

/* ---------- CTA Section ---------- */
.cta-section {
    padding: clamp(52px, 7vw, 92px) 0;
    background: var(--ink-grad);
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 280px at 50% 130%, rgba(46, 123, 255, .32), transparent 70%);
    pointer-events: none;
}

.cta-content { position: relative; }

.cta-title { color: #fff !important; font-size: clamp(26px, 4vw, 42px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 14px; }
.cta-description { font-size: 17px; color: rgba(255, 255, 255, .7); max-width: 54ch; margin: 0 auto 32px; }

.cta-section .btn-light {
    background: var(--gold-grad);
    border-color: transparent;
    color: #FFFFFF;
    padding: 16px 44px;
    font-size: 17px;
}
.cta-section .btn-light:hover { color: #FFFFFF; box-shadow: 0 16px 40px -12px rgba(46, 123, 255, .7); transform: translateY(-2px); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
    background:
        radial-gradient(700px 300px at 50% -20%, rgba(46, 123, 255, .16), transparent 62%),
        var(--ink-grad);
    padding: clamp(40px, 6vw, 78px) 0;
    text-align: center;
    color: #fff;
}

.page-hero-title { color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 10px; }
.page-hero-subtitle { font-size: 17px; color: rgba(255, 255, 255, .7); max-width: 56ch; margin: 0 auto; }

/* ---------- Auth Pages ---------- */
.auth-hero {
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px var(--gutter);
    background:
        radial-gradient(800px 400px at 80% 0%, rgba(46, 123, 255, .14), transparent 62%),
        linear-gradient(180deg, var(--primary-light) 0%, var(--background) 55%);
}

.auth-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: clamp(28px, 4vw, 44px);
    width: 100%;
    max-width: 440px;
}

.register-card { max-width: 520px; }

.auth-header { text-align: center; margin-bottom: 26px; }

.auth-logo { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; text-decoration: none !important; }

.auth-title { font-size: 25px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px; }
.auth-subtitle { font-size: 14px; color: var(--text-light); }

.auth-form .form-group { margin-bottom: 16px; }
.auth-form .btn { margin-top: 6px; }

.error-summary {
    background: var(--danger-light);
    border: 1px solid rgba(180, 35, 24, .25);
    border-left: 4px solid var(--danger);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 20px;
}
.error-summary h4 { font-size: 14px; font-weight: 700; color: var(--danger); margin-bottom: 8px; }
.error-summary ul { list-style: none; }
.error-summary li { font-size: 13.5px; color: var(--danger); padding: 3px 0 3px 18px; position: relative; }
.error-summary li::before { content: "×"; position: absolute; left: 0; font-weight: 700; }

.auth-divider { display: flex; align-items: center; gap: 14px; margin: 20px 0 14px; font-size: 13px; color: var(--text-light); }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.auth-footer { text-align: center; font-size: 14px; }
.auth-footer a { font-weight: 700; }

.auth-info { margin-top: 24px; background: var(--background-alt); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 20px; }
.auth-info h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .7px; color: var(--text-light); margin-bottom: 10px; }
.auth-info ul { list-style: none; }
.auth-info li { font-size: 13px; color: var(--text); padding: 4px 0 4px 18px; position: relative; }
.auth-info li::before { content: "•"; position: absolute; left: 4px; color: var(--primary); font-weight: 700; }

.referral-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-light);
    color: var(--primary-deep);
    border: 1px solid var(--primary-tint);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 13.5px;
    font-weight: 600;
}
.referral-notice svg { width: 18px; height: 18px; flex-shrink: 0; }

.form-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 8px; }

.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text); cursor: pointer; }
.checkbox-label input { width: 15px; height: 15px; accent-color: var(--primary-dark); cursor: pointer; }

.forgot-link { font-size: 13.5px; font-weight: 700; }

/* ---------- Contact Page ---------- */
.contact-methods { padding: var(--section) 0; }

.methods-grid .method-card.primary { background: var(--surface); border-color: var(--primary-tint); }

.method-header { display: flex; gap: 14px; margin-bottom: 16px; }

.method-icon.whatsapp { background: #E7F7EE; color: #1DA851; }
.method-icon.email { background: var(--surface-2); color: var(--ink); border: 1px solid var(--border); }
.method-icon.form { background: var(--primary-light); color: var(--primary-deep); }
.method-icon.whatsapp, .method-icon.email, .method-icon.form { border-radius: 50%; }

.method-info h3 { font-size: 17px; margin-bottom: 3px; }
.method-desc { font-size: 13px; color: var(--text-light); }

.method-details { margin-bottom: 16px; }

.contact-detail { font-size: 13.5px; padding: 8px 0; border-bottom: 1px solid var(--border-light); color: var(--text); }
.contact-detail:last-child { border-bottom: none; }

.contact-form-section { padding: 0 0 var(--section); }

.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: clamp(24px, 4vw, 40px);
    max-width: 680px;
    margin: 0 auto;
}

.form-header { margin-bottom: 24px; }
.form-title { font-size: 21px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px; }
.form-subtitle { font-size: 14px; color: var(--text-light); }

.office-info { padding: 0 0 var(--section); }
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.office-card { background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 24px; text-align: center; box-shadow: var(--shadow-xs); }

.office-icon {
    width: 46px; height: 46px;
    margin: 0 auto 12px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary-deep);
    display: grid;
    place-items: center;
}
.office-icon svg { width: 20px; height: 20px; }

.office-card h3 { font-size: 15.5px; margin-bottom: 8px; }
.office-card address, .office-card p { font-size: 13.5px; color: var(--text-light); font-style: normal; margin: 0; }

/* ---------- Quick Links ---------- */
.quick-links-section { padding: 0 0 var(--section); }

.quick-links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }

.quick-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 16px;
    min-height: 48px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text) !important;
    text-decoration: none !important;
    box-shadow: var(--shadow-xs);
    transition: all .18s;
}
.quick-link:hover { border-color: var(--primary-tint); color: var(--primary-deep) !important; box-shadow: var(--shadow); transform: translateY(-2px); }
.quick-link svg { width: 18px; height: 18px; color: var(--primary-deep); }

/* ---------- How It Works Page ---------- */
.process-section { padding: var(--section) 0; }

.process-timeline { display: flex; flex-direction: column; gap: 30px; max-width: 820px; margin: 0 auto; }

.process-step { display: flex; gap: 24px; align-items: flex-start; position: relative; }
.process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 29px;
    top: 68px;
    bottom: -38px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--border));
}

.step-number {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 800;
    color: #FFD84D;
    line-height: 1;
    flex-shrink: 0;
    background: var(--ink-grad);
    border-radius: 50%;
    width: 60px; height: 60px;
    display: grid;
    place-items: center;
    z-index: 1;
    box-shadow: var(--shadow);
}

.step-content {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    flex: 1;
}

.step-title { font-size: 19px; margin-bottom: 10px; }
.step-details > p { font-size: 14.5px; color: var(--text-light); margin-bottom: 14px; }

.step-highlights { display: flex; gap: 8px; flex-wrap: wrap; }
.highlight {
    font-size: 12px;
    font-weight: 700;
    background: var(--primary-light);
    color: var(--primary-deep);
    border: 1px solid var(--primary-tint);
    padding: 4px 12px;
    border-radius: 999px;
}

.payment-instructions,
.referral-benefits,
.kyc-requirements,
.withdrawal-methods {
    background: var(--background-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 16px;
}
.payment-instructions h4,
.referral-benefits h4,
.kyc-requirements h4,
.withdrawal-methods h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-light); margin-bottom: 10px; }

.payment-instructions ul,
.referral-benefits ul,
.kyc-requirements ul,
.withdrawal-methods ul { list-style: none; }
.payment-instructions li,
.referral-benefits li,
.kyc-requirements li,
.withdrawal-methods li { font-size: 13.5px; padding: 5px 0 5px 20px; position: relative; color: var(--text); }
.payment-instructions li::before,
.referral-benefits li::before,
.kyc-requirements li::before,
.withdrawal-methods li::before { content: "→"; position: absolute; left: 0; color: var(--primary-deep); font-weight: 700; }

/* Detailed Guides */
.detailed-section { padding: var(--section) 0; background: var(--surface); }

.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }

.guide-card { background: var(--background-alt); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 24px; }

.guide-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

.guide-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--primary-deep);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.guide-icon svg { width: 20px; height: 20px; }

.guide-header h3 { font-size: 16.5px; }

.guide-content h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-light); margin: 14px 0 8px; }
.guide-content ol, .guide-content ul { padding-left: 20px; font-size: 13.5px; color: var(--text); }
.guide-content li { padding: 3px 0; }

.guide-tip, .guide-warning { margin-top: 14px; font-size: 13px; padding: 11px 14px; border-radius: var(--radius-sm); }
.guide-tip { background: var(--success-light); color: var(--success); border-left: 3px solid var(--success); }
.guide-warning { background: var(--danger-light); color: var(--danger); border-left: 3px solid var(--danger); }

/* FAQ */
.faq-section { padding: var(--section) 0; }

.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 880px; margin: 0 auto; }

.faq-item { background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-xs); transition: border-color .18s; }
.faq-item[open] { border-color: var(--primary-tint); }

.faq-item summary {
    padding: 17px 46px 17px 18px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    list-style: none;
    color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px; height: 24px;
    display: grid;
    place-items: center;
    font-size: 18px;
    color: var(--primary-deep);
    font-weight: 400;
    background: var(--primary-light);
    border-radius: 50%;
    transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }

.faq-item p { padding: 0 18px 17px; font-size: 13.5px; color: var(--text-light); line-height: 1.7; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink-grad);
    color: rgba(255, 255, 255, .62);
    padding: clamp(44px, 6vw, 68px) 0 0;
    margin-top: auto;
}

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }

.site-footer .logo-text { color: #fff; }

.footer-tagline { font-size: 14px; line-height: 1.7; margin: 14px 0 18px; max-width: 34ch; color: rgba(255, 255, 255, .6); }

.footer-social { display: flex; gap: 8px; }

.social-link {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .75);
    transition: all .18s;
}
.social-link:hover { background: var(--gold-grad); border-color: transparent; color: #FFFFFF; transform: translateY(-2px); }
.social-link svg { width: 16px; height: 16px; }

.footer-links h4, .footer-support h4 { color: #fff; font-size: 13.5px; margin-bottom: 16px; letter-spacing: .2px; }

.footer-links ul, .footer-support ul { list-style: none; }

.footer-links a { display: block; color: rgba(255, 255, 255, .6); font-size: 13.5px; padding: 6px 0; text-decoration: none !important; transition: color .18s, padding-left .18s; }
.footer-links a:hover { color: #FFD84D; padding-left: 4px; }

.footer-support li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; padding: 6px 0; }
.footer-support svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: #FFD84D; }
.footer-support a { color: rgba(255, 255, 255, .6); }
.footer-support a:hover { color: #FFD84D; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
}

.copyright { color: rgba(255, 255, 255, .5); }

.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255, 255, 255, .55); }
.footer-legal a:hover { color: #fff; }

/* ---------- Mobile Responsiveness ---------- */
@media (max-width: 980px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; }

    .hero-visual { display: flex; order: 2; }

    .features-grid, .steps-grid { grid-template-columns: 1fr; }

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

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

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

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

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

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

@media (max-width: 768px) {
    .main-nav { display: none; }
    .header-actions { display: none; }
    .mobile-menu-toggle { display: inline-flex; }
    .header-inner { height: 62px; }
    .mobile-menu { max-height: calc(100dvh - 62px); }

    .hero { padding: 40px 0 52px; }
    .hero::after { display: none; }

    .hero-eyebrow { font-size: 10.5px; padding: 6px 13px; margin-bottom: 16px; letter-spacing: .6px; }

    .hero-title { font-size: clamp(29px, 8.4vw, 38px); margin-bottom: 14px; letter-spacing: -.03em; }

    .hero-subtitle { font-size: 15px; margin-bottom: 22px; color: rgba(255, 255, 255, .7); }

    .hero-actions { gap: 10px; margin-bottom: 22px; flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    .hero-trust { gap: 8px; margin-bottom: 22px; }
    .trust-badge { font-size: 12px; padding: 7px 13px; }

    .hero-stats { max-width: 100%; gap: 10px; padding-top: 20px; }
    .hero-stat-label { font-size: 10.5px; }

    .phone-mockup { width: min(290px, 78vw); }
    .phone-frame { transform: rotate(0); border-width: 9px; }
    .phone-screen { min-height: 470px; }
    .mock-chip.chip-top { left: -8%; top: 4%; }
    .mock-chip.chip-bottom { right: -6%; }

    .section-header-block { margin-bottom: 26px; }
    .section-eyebrow { font-size: 10.5px; padding: 6px 14px; margin-bottom: 12px; }
    .section-title { font-size: clamp(23px, 6vw, 29px); }
    .section-subtitle { font-size: 14px; }

    .steps-grid, .methods-grid, .support-grid { grid-template-columns: 1fr; gap: 14px; }

    .step-card, .method-card, .support-card { padding: 20px 18px; border-radius: var(--radius-lg); }

    .step-badge { width: 46px; height: 46px; font-size: 16px; margin-bottom: 16px; }

    .feature-title { font-size: 17px; margin-bottom: 6px; }
    .feature-description { font-size: 14px; line-height: 1.6; }

    .method-icon { width: 44px; height: 44px; margin-bottom: 12px; }
    .method-icon svg { width: 21px; height: 21px; }

    .method-title { font-size: 16px; margin-bottom: 6px; }
    .method-description { font-size: 13.5px; margin-bottom: 12px; }
    .method-features li { font-size: 12.5px; padding: 5px 0 5px 22px; }

    .support-icon { width: 50px; height: 50px; margin-bottom: 12px; }
    .support-icon svg { width: 23px; height: 23px; }

    .support-card h3 { font-size: 16px; }
    .support-card p { font-size: 13.5px; margin-bottom: 6px; }
    .support-contact { font-size: 13px; }

    .cta-section { padding: 40px 0; }
    .cta-title { font-size: clamp(23px, 6vw, 29px); }
    .cta-description { font-size: 14.5px; }
    .cta-content .btn-lg { padding: 15px 20px; font-size: 15px; width: 100%; }

    .video-container { border-radius: var(--radius); border-width: 5px; }

    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }

    .process-step { flex-direction: column; gap: 12px; }
    .process-step:not(:last-child)::after { left: 30px; top: 64px; bottom: -26px; }
    .step-number { width: 48px; height: 48px; font-size: 22px; }

    .page-hero { padding: 38px 0; }

    .auth-hero { min-height: auto; padding: 28px 16px 48px; }
    .auth-card { border-radius: var(--radius-lg); }
}

@media (max-width: 480px) {
    .mock-chip { font-size: 11px; padding: 7px 12px; }
    .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 404 / error page ---------- */
.error-illustration {
    width: 120px; height: 120px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--primary-light);
    color: var(--primary-deep);
    box-shadow: var(--shadow-lg);
}
.error-illustration svg { width: 56px; height: 56px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.error-hint { font-size: 13.5px; color: var(--text-light); margin-top: 10px; }

/* Alternate direction for zig-zag process rows */
.reverse { flex-direction: row-reverse; }
@media (max-width: 768px) { .reverse { flex-direction: column; } }

/* Video block wrapper */
.video-wrapper { max-width: 900px; margin: 0 auto; }
