/* Landing volume + structure — no logic changes */

body.page-index {
    background:
        radial-gradient(1200px 500px at 12% -10%, rgba(163, 255, 18, 0.08), transparent 55%),
        radial-gradient(900px 420px at 92% 8%, rgba(163, 255, 18, 0.05), transparent 50%),
        var(--onyx);
}

body.page-index .section {
    position: relative;
}

body.page-index .section::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(163, 255, 18, 0.18), transparent);
    pointer-events: none;
}

body.page-index .section-head {
    margin-bottom: 40px;
}

body.page-index .section-num {
    letter-spacing: 0.14em;
}

/* Existing blocks: more volume */
body.page-index .feat-row {
    padding: 28px 24px;
    margin-bottom: 10px;
    border: 1px solid var(--line-2);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
        var(--carbon);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

body.page-index .feat-row:last-child {
    border-bottom: 1px solid var(--line-2);
}

body.page-index .pipe-stage {
    background: var(--carbon-2);
    border: 1px solid var(--line-2);
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.page-index .rv {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 38%),
        var(--carbon);
    border: 1px solid var(--line-2);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

body.page-index .qa-flat-item {
    background: var(--carbon);
    border: 1px solid var(--line-2);
    border-radius: 12px;
    margin-bottom: 8px;
    padding: 4px 8px;
}

body.page-index .up-panel {
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(163, 255, 18, 0.12);
}

body.page-index .topup-packages--grid .topup-card {
    min-height: 168px;
}

body.page-index .hero-meta {
    gap: 12px;
    flex-wrap: wrap;
}

body.page-index .meta-cell {
    min-width: 108px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line-2);
    border-radius: 12px;
}

/* New helper blocks */
.lv-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px 12px;
    border: 1px solid rgba(163, 255, 18, 0.28);
    border-radius: 999px;
    background: rgba(163, 255, 18, 0.08);
    color: var(--acid);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lv-kicker i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--acid);
    box-shadow: 0 0 10px var(--acid);
}

.lv-grid {
    display: grid;
    gap: 14px;
}

.lv-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lv-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lv-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.lv-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 42%),
        var(--carbon);
    border: 1px solid var(--line-2);
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    min-height: 100%;
}

.lv-card h3 {
    font-size: 1.08rem;
    letter-spacing: -0.03em;
    margin: 8px 0 8px;
}

.lv-card p {
    color: var(--txt-mut);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

.lv-idx {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 28px;
    padding: 0 8px;
    border-radius: 8px;
    background: rgba(163, 255, 18, 0.12);
    color: var(--acid);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.lv-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.lv-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: rgba(12, 12, 12, 0.7);
    color: #cfcfcf;
    font-size: 0.8rem;
}

.lv-chip b { color: var(--acid); font-weight: 700; }

.lv-band {
    padding: 8px 0 4px;
}

.lv-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.lv-list {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.lv-list li {
    position: relative;
    padding: 7px 0 7px 18px;
    color: var(--txt-mut);
    font-size: 0.92rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.lv-list li:last-child { border-bottom: none; }

.lv-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--acid);
}

.lv-mode a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.lv-mode:hover {
    border-color: rgba(163, 255, 18, 0.45);
    transform: translateY(-2px);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(163, 255, 18, 0.12);
}

.lv-mode .lv-meta {
    margin-top: 14px;
    color: var(--acid);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.lv-note {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(163, 255, 18, 0.2);
    background: rgba(163, 255, 18, 0.06);
    color: #d8d8d8;
    font-size: 0.9rem;
    line-height: 1.55;
}

.lv-pricing-help {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 14px;
    margin-bottom: 28px;
}

@media (max-width: 980px) {
    .lv-grid-3, .lv-grid-4, .lv-grid-2, .lv-split, .lv-pricing-help {
        grid-template-columns: 1fr;
    }
    .lv-topstrip-grid { grid-template-columns: 1fr; gap: 8px; }
}

.lv-topstrip {
    border-bottom: 1px solid rgba(163, 255, 18, 0.28);
    background: linear-gradient(90deg, rgba(163, 255, 18, 0.12), rgba(12, 12, 12, 0.4) 40%, rgba(163, 255, 18, 0.08));
    padding: 12px 0;
}

.lv-topstrip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    font-size: 0.88rem;
    color: #e8e8e8;
}

.lv-topstrip-grid b {
    color: var(--acid);
    margin-right: 6px;
    font-variant-numeric: tabular-nums;
}

body.page-studio .studio-sidebar {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
        var(--carbon);
    border: 1px solid var(--line-2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

body.page-studio .studio-main .up-panel {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(163, 255, 18, 0.12);
}

.lv-studio-help {
    display: grid;
    gap: 8px;
    padding: 0 12px 12px;
}

.lv-studio-help__item {
    padding: 10px 12px;
    border: 1px solid var(--line-2);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25);
    font-size: 0.78rem;
    color: #aaa;
    line-height: 1.35;
}

.lv-studio-help__item b {
    display: block;
    color: var(--acid);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

@media (max-width: 980px) {
    .lv-studio-help { display: none; }
}

/* === UI polish v3 — landing + studio === */

body.page-index,
body.page-studio {
    background-color: var(--onyx);
    background-image:
        radial-gradient(ellipse 900px 520px at 8% -8%, rgba(163, 255, 18, 0.11), transparent 58%),
        radial-gradient(ellipse 700px 400px at 96% 4%, rgba(163, 255, 18, 0.06), transparent 52%),
        radial-gradient(ellipse 600px 360px at 50% 102%, rgba(163, 255, 18, 0.04), transparent 55%),
        linear-gradient(180deg, #0a0a0a 0%, #0c0c0c 40%, #0e0e0e 100%);
    background-attachment: fixed;
}

body.page-index::before,
body.page-studio::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
}

/* Lift in-flow content above the fixed body::before grid overlay.
   Elements that are already sticky/fixed must keep their own positioning. */
body.page-index > *:not(.overlay-gate):not(.ui-overlay):not(.app-drawer):not(.app-drawer-backdrop):not(#age-gate):not(.global-mobile-cta):not(.studio-drawer):not(.topbar),
body.page-studio > *:not(.overlay-gate):not(.ui-overlay):not(.app-drawer):not(.app-drawer-backdrop):not(#age-gate):not(.global-mobile-cta):not(.studio-drawer):not(.topbar),
body.page-topup > *:not(.overlay-gate):not(.ui-overlay):not(.app-drawer):not(.app-drawer-backdrop):not(#age-gate):not(.global-mobile-cta):not(.studio-drawer):not(.topbar) {
    position: relative;
    z-index: 1;
}

.topbar {
    background: rgba(10, 10, 10, 0.78);
    backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(163, 255, 18, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.menu a {
    font-size: 0.86rem;
    letter-spacing: 0.02em;
}

.menu a:hover {
    text-shadow: 0 0 18px rgba(163, 255, 18, 0.35);
}

body.page-index .hero {
    padding-top: 48px;
    padding-bottom: 88px;
}

body.page-index .mega-h1 .lime {
    background: linear-gradient(135deg, #d4ff6a 0%, var(--acid) 45%, #7dd624 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 28px rgba(163, 255, 18, 0.35));
}

body.page-index .hero-right {
    filter: drop-shadow(0 28px 64px rgba(0, 0, 0, 0.55));
}

body.page-index .up-panel,
body.page-studio .up-panel {
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, transparent 42%),
        linear-gradient(180deg, #1a1a1a 0%, #121212 100%);
    border: 1px solid rgba(163, 255, 18, 0.22);
    border-radius: 20px;
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.page-index .drop-zone,
body.page-studio .drop-zone {
    border: 2px dashed rgba(163, 255, 18, 0.28);
    border-radius: 14px;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(163, 255, 18, 0.08), transparent 70%),
        rgba(0, 0, 0, 0.25);
    transition: border-color 0.25s, background 0.25s, transform 0.2s;
}

body.page-index .drop-zone:hover,
body.page-studio .drop-zone:hover {
    border-color: rgba(163, 255, 18, 0.55);
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(163, 255, 18, 0.14), transparent 70%),
        rgba(163, 255, 18, 0.04);
    transform: translateY(-1px);
}

body.page-index .svc-tab.is-active,
body.page-studio .svc-tab.is-active,
body.page-studio .studio-nav-item.is-active {
    border-color: rgba(163, 255, 18, 0.65);
    background: rgba(163, 255, 18, 0.12);
    box-shadow: 0 0 20px rgba(163, 255, 18, 0.12);
}

body.page-index .section:nth-of-type(even) {
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015), transparent);
}

body.page-index .section-h {
    letter-spacing: -0.04em;
}

body.page-index .pipeline {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 35%),
        var(--carbon);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

body.page-index .lv-card {
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

body.page-index .lv-card:hover {
    transform: translateY(-3px);
}

body.page-index .topup-card,
#pricing .topup-card {
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.05), transparent 45%),
        rgba(18, 18, 18, 0.95);
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

body.page-index .topup-card.is-popular,
#pricing .topup-card.is-popular {
    box-shadow:
        0 0 0 1px rgba(163, 255, 18, 0.25),
        0 16px 40px rgba(163, 255, 18, 0.12);
}

body.page-index .rv {
    transition: transform 0.2s ease;
}

body.page-index .rv:hover {
    transform: translateY(-2px);
}

body.page-index footer.bot,
body.page-studio footer.bot {
    border-top: 1px solid rgba(163, 255, 18, 0.14);
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45));
    margin-top: 24px;
}

body.page-studio {
    min-height: 100vh;
}

body.page-studio .studio-shell {
    gap: 18px;
}

body.page-studio .studio-page {
    padding-top: 28px;
    padding-bottom: 56px;
}

#rdv-api-error {
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 107, 0.35);
    background: rgba(255, 107, 107, 0.08);
}

@media (max-width: 980px) {
    body.page-index .hero-grid {
        gap: 28px;
    }

    body.page-index .hero-right {
        width: 100%;
        justify-self: stretch;
    }

    body.page-index .mega-h1 {
        font-size: clamp(2.2rem, 9vw, 3.4rem);
        letter-spacing: -2px;
    }
}
