﻿@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Nunito+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #0b0e14;
    --bg-soft: #151923;
    --surface: #1a1e2b;
    --surface-muted: #222736;
    --line: #2d3346;
    --text: #f8fafc;
    --text-soft: #94a3b8;
    --brand: #00c853;
    --brand-strong: #00e676;
    --brand-soft: #004d20;
    --accent: #f59e0b;
    --accent-soft: #78350f;
    --success: #10b981;
    --danger: #ef4444;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    color: var(--text);
    background:
        radial-gradient(1200px 460px at 82% -10%, rgba(0, 200, 83, 0.1), transparent 62%),
        radial-gradient(860px 340px at -10% 18%, rgba(245, 158, 11, 0.08), transparent 60%),
        var(--bg);
}

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

code {
    font-family: Consolas, 'Courier New', monospace;
    font-size: 12px;
    background: var(--surface-muted);
    color: var(--brand);
    padding: 2px 6px;
    border-radius: 8px;
}

.container {
    width: min(1280px, 94vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
    background: rgba(11, 14, 20, 0.85);
}

.nav-wrap {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Sora', sans-serif;
    font-size: 23px;
    font-weight: 700;
    color: var(--text);
}

.brand .logo-box {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: linear-gradient(140deg, var(--brand) 8%, var(--brand-strong) 100%);
    box-shadow: 0 10px 20px rgba(0, 200, 83, 0.24);
}

.brand small {
    color: var(--brand);
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
}

.main-nav a {
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-soft);
    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text);
    background: var(--surface-muted);
}

.main-nav a .nav-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    margin-left: 6px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

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

.btn-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    margin-left: 6px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--brand), var(--brand-strong));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-soft);
}

.btn {
    border: 0;
    border-radius: 12px;
    min-height: 42px;
    padding: 10px 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font: 700 14px/1 'Nunito Sans', sans-serif;
    transition: 0.2s ease;
}

.btn-primary {
    color: #000;
    background: var(--brand-strong);
    box-shadow: 0 12px 24px rgba(0, 200, 83, 0.24);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 26px rgba(0, 200, 83, 0.28);
}

.btn-outline {
    color: var(--text);
    border: 1px solid var(--line);
    background: var(--surface);
}

.btn-outline:hover {
    color: var(--text);
    border-color: var(--text-soft);
    background: var(--surface-muted);
}

.section {
    padding: 60px 0;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    width: 430px;
    height: 430px;
    right: -200px;
    top: -140px;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.15) 0%, rgba(0, 200, 83, 0) 68%);
}

.hero::after {
    width: 340px;
    height: 340px;
    left: -120px;
    bottom: -170px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0) 68%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: center;
    min-height: 510px;
}

.hero-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 510px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-centered h1 {
    font-size: clamp(42px, 5.5vw, 64px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-centered h1 span {
    background: linear-gradient(135deg, var(--brand-strong), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-centered p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-centered .hero-actions {
    justify-content: center;
    margin-bottom: 30px;
}

.hero-centered .trust-list {
    justify-content: center;
    margin-top: 0;
}

.hero-centered .trust-list span {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--brand-soft);
    border-radius: 999px;
    background: var(--surface-muted);
    color: var(--brand-strong);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.09em;
    font-weight: 800;
    margin-bottom: 18px;
}

.eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-strong));
}

.hero h1 {
    margin: 0 0 14px;
    font-family: 'Sora', sans-serif;
    font-size: clamp(36px, 4.8vw, 58px);
    line-height: 1.06;
    color: var(--text);
}

.hero p {
    margin: 0 0 24px;
    color: var(--text-soft);
    max-width: 640px;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-list {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 700;
}

.card {
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 18px;
    position: relative;
    overflow: hidden;
}

.hero-pulse-panel {
    border-color: rgba(0, 200, 83, 0.38);
    background:
        radial-gradient(250px 180px at 105% -16%, rgba(0, 200, 83, 0.2), transparent 62%),
        radial-gradient(240px 180px at -14% 115%, rgba(245, 158, 11, 0.15), transparent 64%),
        linear-gradient(145deg, #131a26 0%, #172430 54%, #0b1a13 140%);
    box-shadow: 0 30px 46px rgba(0, 0, 0, 0.5);
}

.hero-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.03) 0%, transparent 45%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
    pointer-events: none;
}

.hero-panel > * {
    position: relative;
    z-index: 2;
}

.hero-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.hero-panel-eyebrow {
    margin: 0;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 11px;
    font-weight: 800;
}

.hero-panel-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 10px;
    font-weight: 800;
}

.hero-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hero-kpi {
    padding: 12px 13px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

.hero-kpi-label {
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 10px;
    font-weight: 800;
}

.hero-kpi-value {
    margin-top: 6px;
    color: var(--text);
    font: 700 clamp(21px, 2.7vw, 32px)/1.2 'Sora', sans-serif;
    word-break: break-word;
}

.hero-kpi-accent-normal .hero-kpi-value {
    color: var(--text);
}

.hero-kpi-accent-blue .hero-kpi-value {
    color: #60a5fa;
}

.hero-kpi-accent-green .hero-kpi-value {
    color: var(--brand-strong);
}

.stats-bar {
    margin-top: -1px;
}

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

.stat-item {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    text-align: center;
    padding: 20px 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-item h3 {
    margin: 0;
    font: 700 28px/1.1 'Sora', sans-serif;
    color: var(--text);
}

.stat-item p {
    margin: 8px 0 0;
    color: var(--text-soft);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.08em;
}

.section-head {
    text-align: center;
    margin-bottom: 28px;
}

.section-head h2 {
    margin: 0;
    color: var(--text);
    font: 700 clamp(30px, 3vw, 42px)/1.2 'Sora', sans-serif;
}

.section-head p {
    margin: 10px auto 0;
    max-width: 760px;
    color: var(--text-soft);
}

.features-grid,
.testimonials-grid,
.plan-grid,
.info-grid {
    display: grid;
    gap: 16px;
}

.features-grid,
.info-grid {
    grid-template-columns: repeat(4, 1fr);
}

.feature-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.3);
}

.feature-card h4 {
    margin: 6px 0;
    font: 700 18px/1.3 'Sora', sans-serif;
    color: var(--text);
}

.feature-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.65;
}

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

.plan-card {
    position: relative;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    animation: liftIn 0.45s ease both;
}

.plan-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-strong);
    box-shadow: 0 16px 28px rgba(0, 200, 83, 0.1);
}

.plan-card.featured {
    border-color: var(--brand);
    box-shadow: 0 18px 30px rgba(0, 200, 83, 0.15);
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-muted) 100%);
}

.badge-popular {
    position: absolute;
    top: -10px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #000;
    background: linear-gradient(120deg, var(--accent), #ffeb3b);
}

.plan-card h3 {
    margin: 0;
    color: var(--text);
    font: 700 22px/1.25 'Sora', sans-serif;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-row .old {
    color: var(--text-soft);
    text-decoration: line-through;
    font-size: 18px;
}

.price-row .new {
    color: var(--brand-strong);
    font: 800 34px/1.1 'Sora', sans-serif;
}

.metric-box {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-muted);
    padding: 12px;
}

.metric-box dl {
    margin: 0;
}

.metric-box dt {
    color: var(--text-soft);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.metric-box dd {
    margin: 4px 0 8px;
    color: var(--text);
    font-weight: 800;
}

.plan-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.plan-card ul li {
    position: relative;
    padding-left: 17px;
    color: var(--text-soft);
    font-size: 13px;
}

.plan-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--brand);
    font-size: 18px;
}

.mt-auto {
    margin-top: auto;
}

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

.quote-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface);
}

.quote-card h5 {
    margin: 0 0 8px;
    color: var(--text);
    font: 700 17px/1.3 'Sora', sans-serif;
}

.quote-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.65;
}

.site-footer {
    margin-top: 48px;
    border-top: 1px solid var(--line);
    background: var(--surface);
    padding: 38px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 18px;
}

.footer-grid h4 {
    margin: 0 0 10px;
    color: var(--text);
    font: 700 16px/1.3 'Sora', sans-serif;
}

.footer-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-grid p,
.footer-grid li,
.footer-grid a {
    font-size: 14px;
    color: var(--text-soft);
}

.footer-meta {
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
}

.flash {
    margin: 16px 0;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    border: 1px solid transparent;
}

.flash-success {
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.1);
}

.flash-error {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.1);
}

.form-card {
    max-width: 560px;
    margin: 24px auto;
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.form-card h2 {
    margin-top: 0;
    color: var(--text);
    font: 700 31px/1.2 'Sora', sans-serif;
}

.input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 11px 12px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background: var(--surface-muted);
}

textarea {
    resize: vertical;
}

.input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.2);
}

label {
    display: block;
    margin: 10px 0 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.grid-2 .full {
    grid-column: 1 / -1;
}

.dashboard-bg {
    background:
        radial-gradient(720px 280px at 88% -40px, rgba(0, 200, 83, 0.1), transparent 70%),
        radial-gradient(520px 260px at 15% -90px, rgba(245, 158, 11, 0.1), transparent 65%),
        var(--bg);
}

.dash-head {
    padding-top: 34px;
}

.dash-head h1 {
    margin: 0;
    color: var(--text);
    font: 700 42px/1.15 'Sora', sans-serif;
}

.dash-head p {
    margin: 8px 0 0;
    color: var(--text-soft);
}

.dash-grid-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 22px;
}

.dash-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 22px;
}

.dash-card h4 {
    margin: 0;
    font-size: 11px;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.dash-balance {
    margin-top: 8px;
    color: var(--text);
    font: 700 46px/1.1 'Sora', sans-serif;
}

.progress {
    margin-top: 14px;
    height: 10px;
    border-radius: 999px;
    background: var(--line);
    overflow: hidden;
}

.progress > span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--brand), var(--brand-strong));
}

.info-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.info-row {
    border-top: 1px solid var(--line);
    padding-top: 8px;
}

.info-row small {
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 10px;
    font-weight: 800;
}

.info-row strong {
    display: block;
    margin-top: 5px;
    color: var(--text);
    font: 700 22px/1.2 'Sora', sans-serif;
}

.table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 12px;
    text-align: left;
    font-size: 14px;
    color: var(--text);
}

th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-soft);
    background: var(--surface-muted);
}

.status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.status.pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent);
}

.status.paid,
.status.approved,
.status.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.status.failed,
.status.rejected,
.status.expired,
.status.cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.notif-badge-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 200, 83, 0.2);
    background: rgba(0, 200, 83, 0.1);
    color: var(--brand-strong);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.notif-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.notif-pill.info,
.notif-pill.admin {
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.2);
    background: rgba(96, 165, 250, 0.1);
}

.notif-pill.success {
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.1);
}

.notif-pill.warning {
    color: var(--accent);
    border-color: rgba(245, 158, 11, 0.2);
    background: rgba(245, 158, 11, 0.1);
}

.notif-pill.error {
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.1);
}

.notif-row-unread td {
    background: var(--surface-muted);
}

.notif-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notif-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    background: var(--surface-muted);
}

.notif-item.read {
    opacity: 0.82;
}

.notif-item strong {
    display: block;
    color: var(--text);
    font-size: 14px;
}

.notif-item p {
    margin: 4px 0 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.5;
}

.notif-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 5px;
    background: var(--brand);
    flex: 0 0 auto;
}

.notif-dot.info,
.notif-dot.admin {
    background: #3b82f6;
}

.notif-dot.success {
    background: var(--success);
}

.notif-dot.warning {
    background: var(--accent);
}

.notif-dot.error {
    background: var(--danger);
}

.admin-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: calc(100vh - 76px);
}

.admin-sidebar {
    padding: 18px;
    border-right: 1px solid var(--line);
    background: var(--surface);
}

.admin-sidebar a {
    display: block;
    padding: 10px 12px;
    margin-bottom: 6px;
    border-radius: 10px;
    color: var(--text-soft);
    font-weight: 700;
    font-size: 14px;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    color: var(--text);
    background: var(--surface-muted);
}

.admin-content {
    padding: 24px;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.kpi {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kpi strong {
    color: var(--text);
    font: 700 25px/1.2 'Sora', sans-serif;
}

.kpi span {
    color: var(--text-soft);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.legal-card {
    padding: 28px;
}

.legal-title {
    margin: 0;
    color: var(--text);
    font: 700 clamp(30px, 4vw, 46px)/1.15 'Sora', sans-serif;
}

.legal-updated {
    margin: 10px 0 20px;
    color: var(--text-soft);
    font-size: 12px;
}

.legal-body {
    color: var(--text-soft);
    line-height: 1.78;
}

.legal-body h2 {
    margin-top: 24px;
    margin-bottom: 8px;
    color: var(--text);
    font: 700 24px/1.3 'Sora', sans-serif;
}

.qr-wrap {
    border: 1px dashed var(--line);
    border-radius: 14px;
    padding: 12px;
    background: var(--surface-muted);
    text-align: center;
}

.deposit-qr {
    width: 220px;
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff; /* Keep QR code white for readability */
    padding: 8px;
}

@keyframes liftIn {
    from {
        transform: translateY(12px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 1180px) {
    .features-grid,
    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .nav-wrap {
        flex-wrap: wrap;
        row-gap: 10px;
        padding: 10px 0;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        border-radius: 14px;
        padding: 8px;
        gap: 6px;
    }

    .site-header.mobile-open .main-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav a {
        border-radius: 10px;
    }

    .site-header.mobile-open .main-nav a {
        width: 100%;
    }

    .nav-actions {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
        order: 2;
    }

    .hero-grid,
    .dash-grid-top,
    .grid-2,
    .admin-layout,
    .footer-grid,
    .kpi-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid,
    .testimonials-grid,
    .plan-grid,
    .features-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .dash-head h1 {
        font-size: 34px;
    }

    .hero {
        padding-top: 20px;
    }

    .footer-meta {
        flex-direction: column;
        gap: 6px;
    }

    .hero-kpi-grid {
        grid-template-columns: 1fr;
    }
}
