:root {
    --bg: #030305;
    --panel: #121318;
    --panel-2: #191b22;
    --text: #f7f7fb;
    --muted: #a2a3ad;
    --line: rgba(255,255,255,.1);
    --brand: #635bff;
    --brand-2: #7d74ff;
    --green: #16d86d;
    --cyan: #00c2ff;
    --pink: #f24ab7;
    --warning: #ffcf5a;
    --radius: 8px;
    --radius-lg: 28px;
    --shadow: 0 30px 80px rgba(0,0,0,.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    letter-spacing: 0;
}

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

img, svg {
    max-width: 100%;
}

.container {
    width: min(1220px, calc(100% - 40px));
    margin: 0 auto;
}

.topbar {
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
}

.topbar-inner {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.coupon {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    background: #16c94f;
    color: #fff;
}

.site-header {
    background: #fff;
    color: #11131a;
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.nav-shell {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.brand span span {
    color: var(--brand);
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #15142a);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
    font-size: 20px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}

.main-nav a,
.ghost-link {
    color: #6d6f78;
    font-weight: 800;
}

.main-nav a.active,
.main-nav a:hover,
.ghost-link:hover {
    color: #11131a;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn,
button.btn {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 0 30px;
    border-radius: var(--radius);
    background: var(--brand);
    color: #fff;
    font-weight: 900;
    font-size: 17px;
    box-shadow: 0 16px 40px rgba(99,91,255,.28);
}

.btn:hover {
    background: var(--brand-2);
    transform: translateY(-1px);
}

.btn-small {
    min-height: 46px;
    padding: 0 20px;
    font-size: 15px;
}

.btn-dark {
    background: #121319;
    border: 1px solid var(--line);
    box-shadow: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: none;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 8px;
    background: #fff;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: #11131a;
    margin: 5px 0;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    padding: 72px 0 58px;
    border-bottom: 1px solid var(--line);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 84% 32%, rgba(99,91,255,.22), transparent 32%),
        radial-gradient(circle at 12% 16%, rgba(22,216,109,.12), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,.03), transparent 44%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
    gap: 46px;
    align-items: center;
}

.trust-pill {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    padding: 8px 16px 8px 8px;
    font-weight: 800;
    color: #e9e9ef;
    margin-bottom: 24px;
}

.stars {
    display: inline-flex;
    gap: 2px;
}

.stars span {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    background: #00b67a;
    color: #fff;
    font-size: 14px;
}

h1,
.page-hero h1 {
    margin: 0;
    font-size: clamp(54px, 7vw, 118px);
    line-height: .95;
    letter-spacing: 0;
}

.lead {
    color: #d6d7de;
    font-size: 20px;
    line-height: 1.6;
    max-width: 700px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.market-visual {
    min-height: 560px;
    position: relative;
}

.tower {
    position: absolute;
    bottom: 0;
    width: 30%;
    min-width: 118px;
    border-radius: 18px 18px 6px 6px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px) 0 0 / 12px 100%,
        linear-gradient(180deg, #1e2330, #08090d);
    box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.1);
}

.tower::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -48px;
    width: 80%;
    height: 88px;
    transform: translateX(-50%) rotateX(55deg) rotateZ(-12deg);
    border-radius: 18px;
    background: linear-gradient(135deg, var(--tile-color), rgba(255,255,255,.18));
    box-shadow: 0 22px 50px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.2);
}

.tower.one {
    height: 260px;
    left: 3%;
    --tile-color: #db574f;
}

.tower.two {
    height: 180px;
    left: 31%;
    --tile-color: #6cc147;
}

.tower.three {
    height: 390px;
    right: 4%;
    --tile-color: #635bff;
}

.tower.three::after {
    content: "NFX";
    position: absolute;
    top: -42px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-weight: 900;
    font-size: 28px;
}

.stats-band {
    display: grid;
    grid-template-columns: 1.25fr repeat(3, 1fr);
    gap: 16px;
    margin-top: -38px;
    position: relative;
    z-index: 2;
}

.stat-card,
.feature-card,
.award-card,
.account-card,
.legal-card,
.auth-card,
.contact-card,
.faq-item {
    background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-card {
    min-height: 160px;
    padding: 30px;
}

.stat-card strong {
    display: block;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1;
    margin-bottom: 14px;
}

.stat-card span {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800;
    font-size: 13px;
}

.stat-card .accent {
    color: var(--green);
    display: inline;
    font-size: .6em;
}

section {
    padding: 88px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.section-head h2,
.page-hero h1,
.auth-copy h1 {
    font-size: clamp(38px, 5vw, 78px);
    line-height: 1;
    margin: 0;
}

.section-head p {
    color: var(--muted);
    max-width: 520px;
    line-height: 1.6;
    margin: 0;
}

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

.feature-card,
.account-card,
.award-card {
    min-height: 280px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.feature-card h3,
.account-card h3,
.award-card h3,
.legal-card h2,
.contact-card h2,
.faq-item h3 {
    font-size: 24px;
    margin: 0 0 14px;
}

.feature-card p,
.account-card p,
.award-card p,
.legal-card p,
.legal-card li,
.contact-card p,
.faq-item p {
    color: var(--muted);
    line-height: 1.65;
}

.icon-tile {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 70px;
    border-radius: 8px;
    background: rgba(99,91,255,.14);
    color: var(--green);
    font-size: 28px;
    font-weight: 900;
}

.globe-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 50%, rgba(99,91,255,.22), transparent 30%),
        #020203;
}

.globe-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.giant-number {
    display: block;
    font-weight: 900;
    font-size: clamp(76px, 12vw, 168px);
    line-height: .9;
}

.global-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 36px 0;
}

.global-stats strong {
    display: block;
    font-size: 36px;
}

.global-stats span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.globe {
    min-height: 560px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 42% 40%, rgba(255,255,255,.18), transparent 2px),
        radial-gradient(circle at 54% 58%, rgba(255,255,255,.16), transparent 2px),
        radial-gradient(circle at 40% 52%, rgba(255,255,255,.18), transparent 2px),
        radial-gradient(circle at 60% 44%, rgba(255,255,255,.14), transparent 2px),
        radial-gradient(circle at 50% 50%, rgba(52,88,255,.45), rgba(4,8,20,.8) 58%, transparent 67%);
    position: relative;
    filter: drop-shadow(0 0 80px rgba(69,92,255,.28));
}

.globe::before {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background:
        linear-gradient(90deg, transparent 48%, rgba(130,164,255,.5) 49%, transparent 51%),
        repeating-radial-gradient(circle, rgba(128,154,255,.22) 0 1px, transparent 2px 16px);
    opacity: .78;
    animation: drift 12s linear infinite;
}

@keyframes drift {
    to { transform: rotate(360deg); }
}

.payout-strip {
    display: flex;
    gap: 18px;
    overflow: hidden;
    padding: 4px 0 16px;
}

.payout-card {
    flex: 0 0 260px;
    min-height: 190px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #191b20;
    padding: 22px;
}

.paid {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 5px;
    background: linear-gradient(90deg, #0f9d58, var(--brand));
    color: #fff;
    font-weight: 900;
    font-size: 12px;
}

.payout-card strong {
    display: block;
    margin: 30px 0 8px;
    font-size: 28px;
}

.payout-card span,
.mini-muted {
    color: var(--muted);
    font-weight: 700;
}

.person {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 42px;
    font-weight: 900;
}

.flag {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
}

.account-grid,
.legal-grid,
.contact-grid,
.faq-list {
    display: grid;
    gap: 18px;
}

.account-grid {
    grid-template-columns: repeat(3, 1fr);
}

.price {
    font-size: 52px;
    font-weight: 900;
    margin: 18px 0;
}

.account-card ul,
.legal-card ul {
    padding-left: 20px;
}

.account-card li {
    color: #d4d5dc;
    margin: 12px 0;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.badge {
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: #dcdde4;
    font-weight: 800;
    font-size: 13px;
}

.page-hero {
    padding: 86px 0 60px;
    background:
        radial-gradient(circle at 78% 18%, rgba(99,91,255,.24), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,.03), transparent);
    border-bottom: 1px solid var(--line);
}

.page-hero p {
    max-width: 760px;
}

.legal-wrap {
    width: min(980px, calc(100% - 40px));
    margin: 0 auto;
}

.legal-card {
    padding: 34px;
    margin-bottom: 18px;
}

.legal-card h2 {
    margin-top: 0;
}

.notice {
    border-left: 4px solid var(--warning);
    padding: 18px 20px;
    background: rgba(255,207,90,.08);
    color: #ece6cf;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.auth-layout {
    min-height: calc(100vh - 44px);
    display: grid;
    grid-template-columns: .9fr 1.1fr;
}

.auth-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px min(7vw, 90px);
    background:
        radial-gradient(circle at 24% 22%, rgba(22,216,109,.16), transparent 26%),
        radial-gradient(circle at 80% 76%, rgba(99,91,255,.25), transparent 32%),
        #050507;
}

.auth-panel {
    display: grid;
    place-items: center;
    padding: 60px 24px;
    background: #f6f7fb;
    color: #11131a;
}

.auth-card {
    width: min(520px, 100%);
    background: #fff;
    color: #11131a;
    box-shadow: 0 24px 70px rgba(22,24,35,.14);
    padding: 34px;
}

.auth-card h2 {
    font-size: 34px;
    margin: 0 0 8px;
}

.form-row {
    display: grid;
    gap: 8px;
    margin: 18px 0;
}

label {
    color: #333743;
    font-weight: 800;
    font-size: 14px;
}

input,
select,
textarea {
    width: 100%;
    min-height: 50px;
    border: 1px solid #d9dbe5;
    border-radius: 8px;
    padding: 0 14px;
    font: inherit;
}

textarea {
    min-height: 130px;
    padding-top: 14px;
}

.disabled-note {
    margin-top: 14px;
    color: #6b6f7a;
    font-size: 14px;
}

.contact-grid {
    grid-template-columns: .9fr 1.1fr;
}

.contact-card {
    padding: 30px;
}

.contact-card form {
    display: grid;
    gap: 14px;
}

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

.faq-item {
    padding: 28px;
}

.risk-line {
    background: #101116;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: #c9cad2;
    font-size: 14px;
}

.risk-line .container {
    padding: 16px 0;
}

.help-bubble {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 35;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-weight: 900;
    font-size: 26px;
    box-shadow: 0 18px 38px rgba(99,91,255,.34);
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 76px 0 28px;
    background: #020203;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 52px;
}

.footer-brand {
    color: #fff;
}

.site-footer p,
.site-footer a {
    color: var(--muted);
}

.site-footer h3 {
    margin: 0 0 20px;
    color: #fff;
    font-size: 18px;
}

.site-footer a {
    display: block;
    margin: 0 0 15px;
    font-weight: 700;
}

.social-row {
    display: flex;
    gap: 14px;
    margin-top: 22px;
}

.social-row a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
}

@media (max-width: 980px) {
    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-shell {
        min-height: 72px;
        gap: 14px;
    }

    .main-nav,
    .nav-actions {
        display: none;
    }

    .site-header.menu-open .main-nav,
    .site-header.menu-open .nav-actions {
        display: flex;
    }

    .site-header.menu-open .nav-shell {
        flex-wrap: wrap;
        padding: 18px 0;
    }

    .site-header.menu-open .main-nav,
    .site-header.menu-open .nav-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        margin: 0;
    }

    .hero-inner,
    .globe-grid,
    .auth-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .market-visual {
        min-height: 430px;
    }

    .stats-band,
    .features-grid,
    .account-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .container,
    .legal-wrap {
        width: min(100% - 24px, 1220px);
    }

    .topbar-inner,
    .section-head,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .brand {
        font-size: 24px;
    }

    h1,
    .page-hero h1,
    .auth-copy h1 {
        font-size: 46px;
    }

    .hero {
        padding-top: 46px;
    }

    section {
        padding: 58px 0;
    }

    .stats-band,
    .features-grid,
    .account-grid,
    .footer-grid,
    .global-stats {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .trust-pill {
        align-items: flex-start;
        border-radius: 8px;
        flex-direction: column;
    }

    .globe {
        min-height: 330px;
    }

    .auth-card,
    .legal-card {
        padding: 24px;
    }
}
