/* ============================================================= */
/* RESET & TOKENS                                                 */
/* ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:        #08050f;
    --bg-soft:   #0d0918;
    --surface:   rgba(255,255,255,.04);
    --surface-2: rgba(255,255,255,.06);
    --line:      rgba(255,255,255,.09);
    --line-2:    rgba(255,255,255,.16);

    --text:      #f4f1fa;
    --muted:     rgba(244,241,250,.62);
    --faint:     rgba(244,241,250,.40);

    --amber:     #ffb020;
    --pink:      #ff5fa2;
    --violet:    #7c5cff;
    --grad:      linear-gradient(120deg, #ffb020 0%, #ff5fa2 55%, #c061ff 100%);
    --grad-soft: linear-gradient(120deg, rgba(255,176,32,.16), rgba(255,95,162,.16));

    --radius:    18px;
    --radius-sm: 12px;
    --radius-pill: 100px;

    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow:    0 24px 60px -20px rgba(0,0,0,.7);
    --glow:      0 0 0 1px rgba(255,255,255,.05), 0 18px 50px -16px rgba(192,97,255,.45);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ============================================================= */
/* AMBIENT ORBS                                                  */
/* ============================================================= */
.orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .50; }
.orb-1 { width: 520px; height: 520px; top: -160px; left: -120px;
    background: radial-gradient(circle, rgba(124,92,255,.65), transparent 70%); }
.orb-2 { width: 460px; height: 460px; top: 18%; right: -140px;
    background: radial-gradient(circle, rgba(255,95,162,.55), transparent 70%); }
.orb-3 { width: 420px; height: 420px; bottom: -120px; left: 30%;
    background: radial-gradient(circle, rgba(255,176,32,.40), transparent 70%); }

.view { position: relative; z-index: 1; }

/* ============================================================= */
/* TYPOGRAPHY HELPERS                                            */
/* ============================================================= */
.eyebrow {
    display: block;
    text-align: center;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    margin-bottom: 14px;
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(28px, 4.6vw, 46px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.5px;
    text-align: center;
    margin-bottom: 18px;
}

.section-desc {
    text-align: center; color: var(--muted);
    max-width: 620px; margin: 0 auto 44px; font-size: 16px;
}

.text-gradient {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

.muted { color: var(--muted); }
.small { font-size: 13.5px; }

/* ============================================================= */
/* BUTTONS                                                       */
/* ============================================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--font-body); font-weight: 600;
    border: none; cursor: pointer; white-space: nowrap;
    border-radius: var(--radius-pill);
    transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .2s;
}
.btn-sm { font-size: 13.5px; padding: 11px 22px; }
.btn-lg { font-size: 15px; padding: 16px 34px; }
.btn-block { width: 100%; }

.btn-gradient { background: var(--grad); color: #1a0010; box-shadow: 0 12px 34px -10px rgba(255,95,162,.55); }
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(255,95,162,.7); }
.btn-gradient:active { transform: translateY(0); }

.btn-ghost {
    background: var(--surface); color: var(--text);
    border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }

.btn-telegram {
    background: #229ed9; color: #fff; padding: 16px 30px; font-size: 15px;
    box-shadow: 0 12px 30px -10px rgba(34,158,217,.6);
}
.btn-telegram:hover { background: #1c8cc2; transform: translateY(-2px); }

/* ============================================================= */
/* HEADER                                                        */
/* ============================================================= */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(8,5,15,.72);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, background .3s;
    padding: 14px 0;
}
.header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo-img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav-link { font-size: 14.5px; color: var(--muted); transition: color .2s; }
.nav-link:hover { color: var(--text); }

/* language switch */
.lang-switch { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 3px; gap: 2px; }
.lang-btn { display: inline-flex; align-items: center; background: none; border: none; color: var(--muted); font-family: var(--font-body); font-weight: 600; font-size: 12.5px; padding: 6px 12px; border-radius: var(--radius-pill); cursor: pointer; transition: all .18s; line-height: 1; text-decoration: none; }
.lang-btn:hover { color: var(--text); }
.lang-btn.active { background: var(--grad); color: #1a0010; }
.header-min-actions { display: flex; align-items: center; gap: 12px; }

@media (max-width: 640px) { .nav-link { display: none; } }

/* ============================================================= */
/* HERO                                                          */
/* ============================================================= */
.hero { text-align: center; padding: 150px 0 90px; position: relative; }

.pill {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 500; color: var(--muted);
    background: var(--surface); border: 1px solid var(--line);
    padding: 7px 16px; border-radius: var(--radius-pill); margin-bottom: 26px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #46e08a;
    box-shadow: 0 0 0 4px rgba(70,224,138,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .45; } }

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(34px, 6.2vw, 62px);
    font-weight: 700; line-height: 1.08; letter-spacing: -1.2px;
    max-width: 950px; margin: 0 auto 22px;
}
.hero-sub { font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); max-width: 660px; margin: 0 auto 34px; }

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    max-width: 720px; margin: 64px auto 0;
}
.stat {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 22px 12px;
}
.stat-num { display: block; font-family: var(--font-head); font-size: clamp(22px, 3.2vw, 30px);
    font-weight: 700; line-height: 1;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { display: block; font-size: 12.5px; color: var(--faint); margin-top: 8px; text-transform: uppercase; letter-spacing: .6px; }

/* ============================================================= */
/* SECTIONS / CARDS                                              */
/* ============================================================= */
.section { padding: 78px 0; }

.glass-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.glass-card.narrow { max-width: 760px; margin: 0 auto; padding: 40px; }
.glass-card.pad { padding: 28px; }

.glass-card.narrow h3 { font-family: var(--font-head); font-size: 22px; font-weight: 600; margin: 22px 0 10px; letter-spacing: -.3px; }
.glass-card.narrow h3:first-child { margin-top: 0; }
.glass-card.narrow p { margin-bottom: 12px; color: var(--muted); }

.solution-content { max-width: 720px; margin: 0 auto; text-align: center; }
.solution-content p { margin-bottom: 16px; color: var(--muted); font-size: 17px; }

/* ============================================================= */
/* PRODUCT BUILDER                                               */
/* ============================================================= */
.builder { max-width: 760px; margin: 0 auto; padding: 36px; }
.builder-section { margin-bottom: 34px; }

.builder-title {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-head); font-size: 18px; font-weight: 600; margin-bottom: 18px;
}
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--grad-soft); border: 1px solid var(--line-2);
    font-size: 13px; font-weight: 700; color: var(--text);
}

/* BM cards */
.bm-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bm-card { cursor: pointer; position: relative; display: block; }
.bm-card input { position: absolute; opacity: 0; pointer-events: none; }

.bm-card-inner {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 26px 14px 22px; border-radius: var(--radius-sm);
    border: 1.5px solid var(--line); background: var(--surface);
    transition: all .2s ease; text-align: center; height: 100%;
}
.bm-card:hover .bm-card-inner { border-color: var(--line-2); transform: translateY(-3px); }
.bm-card input:checked + .bm-card-inner {
    border-color: transparent;
    background:
        linear-gradient(var(--bg-soft), var(--bg-soft)) padding-box,
        var(--grad) border-box;
    border: 1.5px solid transparent;
    box-shadow: var(--glow);
}

.bm-card.featured .bm-card-inner { background: var(--grad-soft); border-color: var(--line-2); }

.bm-badge {
    font-size: 10.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
    background: var(--grad); color: #1a0010; padding: 3px 11px; border-radius: var(--radius-pill); margin-bottom: 8px;
}
.bm-name { font-family: var(--font-head); font-size: 20px; font-weight: 600; }
.bm-spend { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.bm-feature { font-size: 12px; color: var(--faint); }
.bm-price {
    font-family: var(--font-head); font-size: 34px; font-weight: 700; margin-top: 12px;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Add-ons */
.addon-item {
    display: block; cursor: pointer; padding: 16px;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    margin-bottom: 12px; transition: all .2s; background: var(--surface);
}
.addon-item:hover { border-color: var(--line-2); }
.addon-item input { position: absolute; opacity: 0; pointer-events: none; }

.addon-content { display: flex; align-items: center; gap: 13px; }
.addon-check {
    width: 23px; height: 23px; border: 2px solid var(--line-2); border-radius: 7px;
    flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.addon-item input:checked + .addon-content .addon-check { background: var(--grad); border-color: transparent; }
.addon-item input:checked + .addon-content .addon-check::after { content: '✓'; color: #1a0010; font-size: 14px; font-weight: 800; }
.addon-item:has(input:checked) { border-color: var(--line-2); background: var(--surface-2); }

.addon-info { flex: 1; }
.addon-info strong { display: block; font-size: 15px; margin-bottom: 2px; }
.addon-info small { font-size: 12.5px; color: var(--muted); }
.addon-price { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--amber); }

.addon-extra { display: flex; align-items: center; gap: 12px; margin: 6px 0 14px 36px; flex-wrap: wrap; }
.addon-extra label { font-size: 14px; color: var(--muted); }
.addon-extra select {
    background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text);
    padding: 9px 13px; border-radius: 9px; font-family: var(--font-body); font-size: 14px; cursor: pointer;
}
.extra-discount-hint:not(:empty) {
    display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600; color: #46e08a;
    background: rgba(70,224,138,.10); border: 1px solid rgba(70,224,138,.28);
    padding: 5px 11px; border-radius: var(--radius-pill);
}

/* Price summary */
.price-summary { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; margin: 4px 0 22px; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; color: var(--muted); }
.summary-total {
    display: flex; justify-content: space-between; align-items: baseline;
    padding-top: 16px; margin-top: 12px; border-top: 1px solid var(--line);
    font-family: var(--font-head); font-size: 16px; font-weight: 600;
}
.summary-total span:last-child {
    font-size: 26px; font-weight: 700;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.summary-row.discount-row span { color: #46e08a; font-weight: 600; }
.checkout-item.discount-item span { color: #46e08a !important; font-weight: 600; }
.builder-note { text-align: center; font-size: 13px; color: var(--faint); margin-top: 14px; }

/* ============================================================= */
/* STEPS / WHY / CTA                                             */
/* ============================================================= */
.steps, .why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 940px; margin: 0 auto; }
.why-grid { margin-top: 8px; }

.step, .why-card {
    text-align: center; padding: 32px 24px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .2s, border-color .2s;
}
.step:hover, .why-card:hover { transform: translateY(-4px); border-color: var(--line-2); }

.step-icon, .why-icon {
    width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 16px;
    background: var(--grad); color: #1a0010; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-size: 22px; font-weight: 700;
    box-shadow: 0 10px 26px -10px rgba(255,95,162,.6);
}
.step h3, .why-card h3 { font-family: var(--font-head); font-size: 18.5px; font-weight: 600; margin-bottom: 8px; }
.step p, .why-card p { font-size: 14.5px; color: var(--muted); }

.section-cta { padding: 40px 0 96px; }
.cta-card { max-width: 760px; margin: 0 auto; padding: 56px 32px; text-align: center;
    background: var(--grad-soft); }
.cta-card p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }

/* ============================================================= */
/* FAQ                                                           */
/* ============================================================= */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 24px; }
.faq-item h3 { font-family: var(--font-head); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.faq-item p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* in-text links inside copy blocks */
.glass-card.narrow a, .solution-content a, .faq-item p a { color: var(--pink); text-decoration: underline; text-underline-offset: 2px; }
.glass-card.narrow a:hover, .solution-content a:hover, .faq-item p a:hover { color: var(--amber); }

/* ============================================================= */
/* FOOTER                                                        */
/* ============================================================= */
.footer { text-align: center; padding: 56px 0; border-top: 1px solid var(--line); }
.footer-logo { height: 36px; margin: 0 auto 18px; }
.footer-text { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.footer-link { color: var(--muted); font-size: 14px; text-decoration: underline; }
.footer-copy { color: var(--faint); font-size: 12.5px; margin-top: 16px; }

/* ============================================================= */
/* CHECKOUT VIEW                                                 */
/* ============================================================= */
.header-min { position: sticky; }
.checkout-wrap, .confirm-wrap { padding: 110px 0 90px; min-height: 100vh; }

/* progress */
.progress { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 560px; margin: 0 auto 44px; flex-wrap: wrap; }
.progress li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--faint); font-weight: 500; white-space: nowrap; }
.progress li > span:first-child {
    width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; border: 1.5px solid var(--line-2); color: var(--faint); flex-shrink: 0;
}
.progress li.active { color: var(--text); }
.progress li.active > span:first-child { background: var(--grad); border-color: transparent; color: #1a0010; }
.progress li.done { color: var(--muted); }
.progress li.done > span:first-child { background: var(--surface-2); border-color: var(--line-2); color: var(--text); }
.progress li:not(:last-child)::after { content: ''; width: 26px; height: 1.5px; background: var(--line-2); }

.checkout-heading {
    font-family: var(--font-head); font-size: clamp(26px, 4vw, 38px); font-weight: 700;
    text-align: center; letter-spacing: -.6px; margin-bottom: 36px;
}

.checkout-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 22px; max-width: 940px; margin: 0 auto; align-items: start; }
.checkout-col { display: flex; flex-direction: column; gap: 18px; }

.block-title { font-family: var(--font-head); font-size: 18px; font-weight: 600; margin-bottom: 16px; }

#checkoutOrderSummary .checkout-item {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 10px 0; font-size: 14.5px; color: var(--muted); border-bottom: 1px solid var(--line);
}
#checkoutOrderSummary .checkout-item span:first-child { color: var(--text); }
#checkoutOrderSummary .checkout-item:last-child { border-bottom: none; }
.checkout-total {
    display: flex; justify-content: space-between; align-items: baseline;
    padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--line-2);
    font-family: var(--font-head); font-weight: 600;
}
.checkout-total span:last-child {
    font-size: 24px; font-weight: 700;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* form */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13.5px; margin-bottom: 7px; color: var(--muted); }
.form-group input, .form-group select {
    width: 100%; padding: 13px 15px; background: var(--bg-soft);
    border: 1px solid var(--line-2); border-radius: 11px; color: var(--text);
    font-family: var(--font-body); font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.form-group input::placeholder { color: var(--faint); }
.form-group input:focus, .form-group select:focus {
    outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,95,162,.15);
}

/* ============================================================= */
/* CRYPTO PAY PANEL                                              */
/* ============================================================= */
.pay-panel { position: relative; }

.coin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0 4px; }
.coin-card {
    display: flex; align-items: center; gap: 11px; cursor: pointer;
    padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: var(--surface); transition: all .18s;
}
.coin-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.coin-card.selected {
    border-color: transparent;
    background: linear-gradient(var(--bg-soft), var(--bg-soft)) padding-box, var(--grad) border-box;
    border: 1.5px solid transparent; box-shadow: var(--glow);
}
.coin-logo { width: 34px; height: 34px; flex-shrink: 0; display: block; line-height: 0; }
.coin-logo svg { width: 100%; height: 100%; display: block; }
.coin-meta { display: flex; flex-direction: column; line-height: 1.25; }
.coin-meta b { font-size: 14.5px; }
.coin-meta small { font-size: 11.5px; color: var(--faint); }

/* empty state */
.pay-empty { text-align: center; color: var(--faint); padding: 30px 10px 6px; }
.pay-empty svg { margin: 0 auto 12px; opacity: .6; }
.pay-empty p { font-size: 14px; }

/* detail */
.pay-detail { margin-top: 18px; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.rate-line { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.rate-timer {
    font-family: var(--font-head); font-weight: 600; color: var(--text);
    background: var(--surface-2); border: 1px solid var(--line); padding: 3px 10px; border-radius: var(--radius-pill);
}
.rate-timer.expired { color: var(--pink); }

.amount-box {
    background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
    padding: 20px; text-align: center; margin-bottom: 14px;
}
.amount-label { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.amount-value { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 8px 0 12px; flex-wrap: wrap; }
.amount-value strong {
    font-family: var(--font-head); font-size: clamp(26px, 6vw, 36px); font-weight: 700; word-break: break-all;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.amount-value span { font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--muted); }

.addr-row { margin-bottom: 14px; }
.addr-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; }
.crypto-code {
    display: block; background: var(--bg-soft); border: 1px solid var(--line);
    border-radius: 10px; padding: 13px 14px; font-family: monospace; font-size: 13px;
    color: var(--text); word-break: break-all; line-height: 1.5;
}

.btn-copy {
    background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
    padding: 6px 14px; border-radius: 8px; cursor: pointer; font-size: 12.5px;
    font-family: var(--font-body); font-weight: 500; transition: all .2s; white-space: nowrap;
}
.btn-copy:hover { background: var(--line); }
.btn-copy.copied { background: #1f7a4d; border-color: transparent; color: #fff; }

.qr-box { display: flex; justify-content: center; margin-bottom: 16px; }
.qr-box img { background: #fff; padding: 11px; border-radius: 14px; box-shadow: var(--shadow); }
.qr-box img:not([src]) { display: none; }

.pay-warn {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 13px; color: var(--text); line-height: 1.55;
    background: rgba(255,176,32,.08); border: 1px solid rgba(255,176,32,.24);
    border-radius: 12px; padding: 13px 15px; margin-bottom: 18px;
}
.pay-warn svg { color: var(--amber); flex-shrink: 0; margin-top: 1px; }
.pay-warn span { flex: 1; }
.pay-warn strong { color: var(--amber); font-weight: 700; }

/* ============================================================= */
/* CONFIRMATION VIEW                                             */
/* ============================================================= */
.confirm-card { max-width: 620px; margin: 0 auto; padding: 48px 40px; text-align: center; }
.confirm-check {
    width: 80px; height: 80px; margin: 0 auto 24px; border-radius: 50%;
    background: var(--grad); color: #1a0010; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 16px 40px -10px rgba(255,95,162,.6); animation: pop .45s ease;
}
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

.confirm-card h1 { font-family: var(--font-head); font-size: clamp(26px, 5vw, 34px); font-weight: 700; letter-spacing: -.5px; margin-bottom: 10px; }
.confirm-sub { color: var(--muted); margin-bottom: 26px; }

.order-ref {
    background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
    padding: 16px 20px; margin-bottom: 28px;
}
.ref-value { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 6px; }
.ref-value strong { font-family: var(--font-head); font-size: 22px; letter-spacing: 1px; }

.confirm-next { border-top: 1px solid var(--line); padding-top: 26px; }
.confirm-next h3 { font-family: var(--font-head); font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.confirm-next p { color: var(--muted); margin-bottom: 18px; }
.confirm-next .btn-telegram { margin-bottom: 14px; }

/* ============================================================= */
/* SCROLL REVEAL                                                 */
/* ============================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================= */
/* ADMIN DASHBOARD                                               */
/* ============================================================= */
.admin-login { position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.login-card { width: 100%; max-width: 400px; padding: 40px 34px; text-align: center; }
.login-logo { height: 38px; margin: 0 auto 22px; }
.login-card h1 { font-family: var(--font-head); font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.login-card .form-group { text-align: left; margin: 22px 0 14px; }
.login-error { color: var(--pink); font-size: 13.5px; margin-bottom: 14px; }

.admin-panel { position: relative; z-index: 1; }
.admin-topbar { position: sticky; top: 0; z-index: 50; background: rgba(8,5,15,.82);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding: 14px 0; }
.admin-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.admin-brand { display: flex; align-items: center; gap: 12px; }
.admin-tag { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
    background: var(--grad-soft); border: 1px solid var(--line-2); padding: 4px 12px; border-radius: var(--radius-pill); }
.admin-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.admin-refresh-info { font-size: 12.5px; color: var(--faint); }

.admin-body { padding: 30px 22px 80px; }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
.admin-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.admin-stat-num { display: block; font-family: var(--font-head); font-size: 28px; font-weight: 700;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.admin-stat-label { display: block; font-size: 12.5px; color: var(--faint); margin-top: 6px; text-transform: uppercase; letter-spacing: .5px; }

.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.admin-toolbar h2 { font-family: var(--font-head); font-size: 22px; font-weight: 600; }
.admin-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab { background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-family: var(--font-body);
    font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: var(--radius-pill); cursor: pointer; transition: all .18s; }
.filter-tab:hover { border-color: var(--line-2); color: var(--text); }
.filter-tab.active { background: var(--grad); border-color: transparent; color: #1a0010; font-weight: 600; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.orders-table { width: 100%; border-collapse: collapse; min-width: 920px; }
.orders-table thead th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--faint);
    font-weight: 600; padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.orders-table tbody td { padding: 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; vertical-align: top; }
.orders-table tbody tr:last-child td { border-bottom: none; }
.orders-table tbody tr:hover { background: rgba(255,255,255,.02); }
.orders-table small { display: block; color: var(--faint); font-size: 11.5px; margin-top: 2px; }
.orders-table code { font-family: monospace; font-size: 12.5px; background: var(--bg-soft); padding: 3px 7px; border-radius: 6px; }
.orders-table a { color: var(--pink); }

.c-date { white-space: nowrap; }
.c-items { color: var(--muted); line-height: 1.7; min-width: 180px; }
.c-items .i-price { color: var(--text); font-weight: 600; }
.c-items .i-discount { color: #46e08a; font-weight: 600; margin-top: 4px; }
.c-total b { font-family: var(--font-head); font-size: 16px; }
.c-pay b { font-family: var(--font-head); }
.c-actions { white-space: nowrap; }

.link-btn { display: inline-block; background: none; border: none; color: var(--faint); font-size: 11.5px; cursor: pointer;
    padding: 2px 0; margin-top: 4px; text-decoration: underline; font-family: var(--font-body); }
.link-btn:hover { color: var(--text); }

.badge { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: var(--radius-pill);
    text-transform: uppercase; letter-spacing: .5px; }
.badge-pending { background: rgba(255,176,32,.14); color: #ffce6e; border: 1px solid rgba(255,176,32,.3); }
.badge-paid { background: rgba(124,92,255,.16); color: #b6a5ff; border: 1px solid rgba(124,92,255,.35); }
.badge-delivered { background: rgba(70,224,138,.14); color: #6ff0a8; border: 1px solid rgba(70,224,138,.32); }
.badge-cancelled { background: rgba(255,95,162,.12); color: #ff9bc4; border: 1px solid rgba(255,95,162,.3); }

.row-btn { display: block; width: 100%; text-align: left; background: var(--surface-2); border: 1px solid var(--line);
    color: var(--text); font-family: var(--font-body); font-size: 12px; padding: 6px 10px; border-radius: 7px; cursor: pointer;
    margin-bottom: 5px; transition: all .15s; white-space: nowrap; }
.row-btn:hover { border-color: var(--line-2); background: var(--line); }
.row-btn.good:hover { border-color: rgba(70,224,138,.5); }
.row-btn.danger { color: #ff9bc4; }
.row-btn.danger:hover { border-color: rgba(255,95,162,.5); background: rgba(255,95,162,.08); }

.orders-empty { text-align: center; color: var(--faint); padding: 50px 20px; }

/* ============================================================= */
/* RESPONSIVE                                                    */
/* ============================================================= */
@media (max-width: 860px) {
    .checkout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .hero { padding: 130px 0 70px; }
    .section { padding: 60px 0; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    .bm-options { grid-template-columns: 1fr; }
    .steps, .why-grid { grid-template-columns: 1fr; }
    .builder, .glass-card.narrow { padding: 26px; }
    .confirm-card { padding: 36px 24px; }
}
@media (max-width: 420px) {
    .coin-grid { grid-template-columns: 1fr; }
    .progress li > span:first-child { width: 26px; height: 26px; }
    .progress li:not(:last-child)::after { width: 16px; }
}
