﻿@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: #f3f7ff;
    --bg-soft: #eaf1ff;
    --surface: #ffffff;
    --surface-muted: #f7faff;
    --line: #dce6fb;
    --text: #0f172a;
    --text-soft: #586480;
    --brand: #315efb;
    --brand-strong: #1d4ed8;
    --brand-soft: #e6ecff;
    --accent: #14b8a6;
    --accent-soft: #d6fffb;
    --success: #16a34a;
    --danger: #dc2626;
    --shadow: 0 20px 40px rgba(36, 78, 181, 0.1);
}

* {
    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(49, 94, 251, 0.16), transparent 62%),
        radial-gradient(860px 340px at -10% 18%, rgba(20, 184, 166, 0.14), transparent 60%),
        var(--bg);
}

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

code {
    font-family: Consolas, 'Courier New', monospace;
    font-size: 12px;
    background: #f0f4ff;
    color: #23325f;
    padding: 2px 6px;
    border-radius: 8px;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(220, 230, 251, 0.9);
    backdrop-filter: blur(12px);
    background: rgba(246, 250, 255, 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: #1e2b52;
}

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

.brand small {
    color: #4f6edb;
    font-weight: 700;
}

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

.main-nav a {
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #4f5f84;
    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #1e3580;
    background: #edf2ff;
}

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

.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: #fff;
    background: linear-gradient(130deg, #315efb 0%, #14b8a6 100%);
    box-shadow: 0 12px 24px rgba(49, 94, 251, 0.24);
}

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

.btn-outline {
    color: #385082;
    border: 1px solid #cfdbf7;
    background: #fff;
}

.btn-outline:hover {
    color: #1f3e86;
    border-color: #b9c9ef;
    background: #f6f9ff;
}

.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(49, 94, 251, 0.2) 0%, rgba(49, 94, 251, 0) 68%);
}

.hero::after {
    width: 340px;
    height: 340px;
    left: -120px;
    bottom: -170px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, rgba(20, 184, 166, 0) 68%);
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid #c8d7fb;
    border-radius: 999px;
    background: #fff;
    color: #47609e;
    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, #315efb, #14b8a6);
}

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

.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 #d4e2fe;
    background: #fff;
    color: #5a6b93;
    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: 24px;
    position: relative;
    overflow: hidden;
}

.hero-panel::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(150deg, rgba(49, 94, 251, 0.08), rgba(20, 184, 166, 0.02));
    pointer-events: none;
}

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

.hero-panel h4 {
    margin: 0 0 8px;
    color: #5a6b93;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
}

.hero-panel .big {
    margin-bottom: 10px;
    font: 800 44px/1 'Sora', sans-serif;
    color: #182a54;
}

.hero-panel .big small {
    font-size: 20px;
    color: #4e6398;
}

.hero-panel .price {
    margin-bottom: 18px;
    font: 800 36px/1 'Sora', sans-serif;
    color: #1f3f9b;
}

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

.mini-stat {
    border: 1px solid #d6e1fb;
    border-radius: 14px;
    background: #fff;
    padding: 10px;
}

.mini-stat span {
    display: block;
    color: #60729e;
    font-size: 11px;
    text-transform: uppercase;
}

.mini-stat strong {
    font-size: 20px;
    color: #10214d;
}

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

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

.stat-item {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    text-align: center;
    padding: 20px 12px;
    box-shadow: 0 10px 20px rgba(39, 72, 171, 0.07);
}

.stat-item h3 {
    margin: 0;
    font: 700 28px/1.1 'Sora', sans-serif;
    color: #152953;
}

.stat-item p {
    margin: 8px 0 0;
    color: #63749d;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.08em;
}

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

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

.section-head p {
    margin: 10px auto 0;
    max-width: 760px;
    color: #5f6f95;
}

.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: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-card h4 {
    margin: 6px 0;
    font: 700 18px/1.3 'Sora', sans-serif;
    color: #12224a;
}

.feature-card p {
    margin: 0;
    color: #64759d;
    font-size: 14px;
    line-height: 1.65;
}

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

.plan-card {
    position: relative;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    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: #c1d4fb;
    box-shadow: 0 16px 28px rgba(32, 62, 149, 0.14);
}

.plan-card.featured {
    border-color: #5f84ff;
    box-shadow: 0 18px 30px rgba(49, 94, 251, 0.2);
    background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 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: #fff;
    background: linear-gradient(120deg, #315efb, #14b8a6);
}

.plan-card h3 {
    margin: 0;
    color: #14244d;
    font: 700 22px/1.25 'Sora', sans-serif;
}

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

.price-row .old {
    color: #93a2c7;
    text-decoration: line-through;
    font-size: 18px;
}

.price-row .new {
    color: #17327e;
    font: 800 34px/1.1 'Sora', sans-serif;
}

.metric-box {
    border: 1px solid #d6e2fc;
    border-radius: 14px;
    background: #f7faff;
    padding: 12px;
}

.metric-box dl {
    margin: 0;
}

.metric-box dt {
    color: #5f7096;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.metric-box dd {
    margin: 4px 0 8px;
    color: #142855;
    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: #4f6189;
    font-size: 13px;
}

.plan-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: -1px;
    color: #2d5bf6;
    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: #fff;
}

.quote-card h5 {
    margin: 0 0 8px;
    color: #14264f;
    font: 700 17px/1.3 'Sora', sans-serif;
}

.quote-card p {
    margin: 0;
    color: #62739b;
    line-height: 1.65;
}

.site-footer {
    margin-top: 48px;
    border-top: 1px solid var(--line);
    background: #fff;
    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: #132751;
    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: #60709a;
}

.footer-meta {
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid #e2e9fa;
    color: #8a98ba;
    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: #166534;
    border-color: #b7efc5;
    background: #e9fff0;
}

.flash-error {
    color: #991b1b;
    border-color: #ffc9c9;
    background: #fff0f0;
}

.form-card {
    max-width: 560px;
    margin: 24px auto;
    padding: 26px;
}

.form-card h2 {
    margin-top: 0;
    color: #15254f;
    font: 700 31px/1.2 'Sora', sans-serif;
}

.input,
textarea,
select {
    width: 100%;
    border: 1px solid #d6e0f8;
    border-radius: 12px;
    padding: 11px 12px;
    font-family: inherit;
    font-size: 14px;
    color: #1c2d5e;
    background: #fff;
}

textarea {
    resize: vertical;
}

.input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #9eb8fb;
    box-shadow: 0 0 0 3px rgba(49, 94, 251, 0.12);
}

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

.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(49, 94, 251, 0.1), transparent 70%),
        radial-gradient(520px 260px at 15% -90px, rgba(20, 184, 166, 0.1), transparent 65%),
        linear-gradient(180deg, #f4f8ff 0%, #eff5ff 55%, #f7faff 100%);
}

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

.dash-head h1 {
    margin: 0;
    color: #12224b;
    font: 700 42px/1.15 'Sora', sans-serif;
}

.dash-head p {
    margin: 8px 0 0;
    color: #5e7099;
}

.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: #fff;
    box-shadow: 0 16px 28px rgba(30, 63, 156, 0.1);
    padding: 22px;
}

.dash-card h4 {
    margin: 0;
    font-size: 11px;
    color: #62749e;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.dash-balance {
    margin-top: 8px;
    color: #142652;
    font: 700 46px/1.1 'Sora', sans-serif;
}

.progress {
    margin-top: 14px;
    height: 10px;
    border-radius: 999px;
    background: #d9e7ff;
    overflow: hidden;
}

.progress > span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #315efb, #14b8a6);
}

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

.info-row {
    border-top: 1px solid #e4ebfc;
    padding-top: 8px;
}

.info-row small {
    color: #61729b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 10px;
    font-weight: 800;
}

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

.table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(30, 63, 156, 0.08);
}

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

th,
td {
    border-bottom: 1px solid #eaf0fd;
    padding: 12px;
    text-align: left;
    font-size: 14px;
    color: #24365f;
}

th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6a7ca6;
    background: #f5f8ff;
}

.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: #fff3d8;
    color: #9a5a00;
}

.status.paid,
.status.approved,
.status.active {
    background: #ddfce8;
    color: #176a3b;
}

.status.failed,
.status.rejected,
.status.expired,
.status.cancelled {
    background: #ffe3e3;
    color: #a61d1d;
}

.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: linear-gradient(180deg, #f7faff, #f1f6ff);
}

.admin-sidebar a {
    display: block;
    padding: 10px 12px;
    margin-bottom: 6px;
    border-radius: 10px;
    color: #51628d;
    font-weight: 700;
    font-size: 14px;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    color: #1f3e8b;
    background: #e8efff;
}

.admin-content {
    padding: 24px;
}

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

.kpi {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 14px;
}

.kpi strong {
    display: block;
    color: #132651;
    font: 700 25px/1.2 'Sora', sans-serif;
}

.kpi span {
    color: #61729b;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.legal-card {
    padding: 28px;
}

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

.legal-updated {
    margin: 10px 0 20px;
    color: #6779a2;
    font-size: 12px;
}

.legal-body {
    color: #2e3f6a;
    line-height: 1.78;
}

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

.qr-wrap {
    border: 1px dashed #b7caf6;
    border-radius: 14px;
    padding: 12px;
    background: #f7faff;
    text-align: center;
}

.deposit-qr {
    width: 220px;
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid #d4e0fb;
    background: #fff;
    padding: 8px;
}

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

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

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

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

    .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;
    }
}