@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap");

:root {
    --bg: #070b12;
    --bg-soft: #0d1422;
    --bg-soft-2: #111a2a;
    --text: #e9eef7;
    --muted: #95a4bf;
    --line: rgba(133, 154, 191, 0.2);
    --line-soft: rgba(133, 154, 191, 0.12);
    --accent: #2eaee0;
    --accent-soft: rgba(46, 174, 224, 0.16);
    --success: #31c184;
    --warning: #e5b04f;
    --danger: #ef6f88;
    --radius-xl: 16px;
    --radius-lg: 12px;
    --radius-md: 10px;
    --shadow: 0 10px 28px rgba(2, 7, 16, 0.34);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
    background:
        radial-gradient(850px 320px at 50% -30%, rgba(46, 174, 224, 0.12), transparent 65%),
        linear-gradient(180deg, #060a11 0%, #070b12 40%, #090f17 100%);
}

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

img {
    max-width: 100%;
    display: block;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid var(--line-soft);
    background: rgba(8, 12, 20, 0.9);
    backdrop-filter: blur(8px);
}

.header-row {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Sora", "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--accent);
}

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

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

.nav-link {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    color: #c3d0e3;
    border: 1px solid transparent;
    border-radius: 9px;
    padding: 8px 11px;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #f2f6ff;
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.support-unread {
    position: relative;
}

.support-unread::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--danger);
}

.main {
    padding: 24px 0 40px;
}

.section {
    margin-top: 14px;
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, var(--bg-soft), var(--bg-soft-2));
    box-shadow: var(--shadow);
}

.card-soft {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
}

.hero {
    display: grid;
    grid-template-columns: 1.18fr 0.92fr;
    gap: 12px;
}

.hero-main,
.hero-side,
.info-card,
.plan-card,
.key-card,
.wizard {
    padding: 16px;
}

.hero-side {
    display: grid;
    gap: 9px;
}

.eyebrow {
    margin: 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #8bbadf;
    font-weight: 800;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: "Sora", "Manrope", sans-serif;
}

h1 {
    margin-top: 8px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
}

h2 {
    font-size: clamp(24px, 2.5vw, 34px);
}

h3 {
    font-size: 20px;
}

.subtitle {
    margin-top: 10px;
    color: var(--muted);
    max-width: 62ch;
}

.muted {
    color: var(--muted);
}

.metric {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.015);
    padding: 10px 12px;
}

.metric-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #9ab0ca;
    font-weight: 700;
}

.metric-value {
    margin-top: 2px;
    font-size: 21px;
    font-weight: 800;
}

.hero-actions,
.key-actions,
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #eaf5ff;
    border-color: rgba(76, 173, 214, 0.58);
    background: linear-gradient(180deg, #1f8bb7, #227ca1);
}

.btn-primary:disabled {
    opacity: .58;
    cursor: not-allowed;
    transform: none;
}

.btn-ghost {
    color: #d6e2f3;
    background: rgba(255, 255, 255, 0.025);
}

.btn-ghost:hover {
    border-color: rgba(133, 154, 191, 0.35);
    background: rgba(255, 255, 255, 0.05);
}

.btn-danger {
    color: #ffd2db;
    background: rgba(239, 111, 136, 0.14);
    border-color: rgba(239, 111, 136, 0.4);
}

.grid-2,
.grid-3,
.pricing-grid,
.key-grid,
.form-grid {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

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

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

.plan-card {
    display: grid;
    gap: 8px;
}

.plan-host {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #8fc3e7;
    font-weight: 700;
}

.plan-name {
    font-size: 16px;
    font-weight: 700;
}

.plan-price {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.06;
}

.plan-meta {
    font-size: 13px;
    color: var(--muted);
}

.faq-list {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.018);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    border: 0;
    background: transparent;
    color: #eef4ff;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    padding: 12px 14px;
    cursor: pointer;
}

.faq-a {
    display: none;
    color: var(--muted);
    padding: 0 14px 12px;
}

.faq-item.open .faq-a {
    display: block;
}

.wizard {
    margin-top: 12px;
    display: grid;
    gap: 12px;
}

.wizard-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.pill {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    color: #cedced;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease;
}

.pill.active {
    color: #e9f4ff;
    border-color: rgba(76, 173, 214, 0.56);
    background: var(--accent-soft);
}

.method-list {
    display: grid;
    gap: 8px;
}

.method-item {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    color: #dce7f8;
    font-weight: 700;
    text-align: left;
    padding: 10px 12px;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.method-item:hover {
    border-color: rgba(133, 154, 191, 0.35);
}

.method-item.active {
    color: #eaf5ff;
    border-color: rgba(76, 173, 214, 0.56);
    background: rgba(46, 174, 224, 0.18);
}

.status-line {
    font-size: 13px;
    color: var(--muted);
}

.status-line.success {
    color: var(--success);
}

.status-line.error {
    color: var(--danger);
}

.field {
    display: grid;
    gap: 6px;
}

.field label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #93a7c9;
    font-weight: 700;
}

.input,
.textarea,
.select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    padding: 10px 11px;
    font: inherit;
}

.textarea {
    min-height: 120px;
    resize: vertical;
}

.input:focus,
.textarea:focus,
.select:focus {
    outline: none;
    border-color: rgba(76, 173, 214, 0.7);
    box-shadow: 0 0 0 2px rgba(46, 174, 224, 0.18);
}

.table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

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

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

th {
    color: #9ab0d3;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.support-chat {
    display: grid;
    gap: 8px;
    max-height: 340px;
    overflow: auto;
    padding-right: 2px;
}

.msg {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 9px 11px;
    font-size: 13px;
}

.msg.user {
    border-color: rgba(76, 173, 214, 0.42);
    background: rgba(46, 174, 224, 0.14);
}

.msg.admin {
    background: rgba(255, 255, 255, 0.02);
}

.payment-layout {
    display: grid;
    gap: 14px;
}

.payment-intro,
.payment-wizard,
.payment-plans {
    margin-top: 0;
}

.footer {
    margin-top: 34px;
    border-top: 1px solid var(--line-soft);
    padding: 20px 0 28px;
    color: #8fa3c5;
    font-size: 13px;
}

.mobile-dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 10px;
    display: none;
    z-index: 35;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(9, 13, 21, 0.95);
    backdrop-filter: blur(8px);
    padding: 6px;
    gap: 6px;
}

.mobile-dock a {
    flex: 1;
    text-align: center;
    border-radius: 8px;
    padding: 8px 4px;
    font-size: 11px;
    font-weight: 700;
    color: #b8c8e1;
}

.mobile-dock a.active {
    color: #f1f7ff;
    background: rgba(46, 174, 224, 0.22);
}

.toast-wrap {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 60;
    display: grid;
    gap: 8px;
}

.toast {
    max-width: 350px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(11, 17, 30, 0.96);
    color: #e8eef9;
    padding: 9px 11px;
    font-size: 13px;
}

.hidden {
    display: none !important;
}

.status-ok {
    color: var(--success);
}

.status-warn {
    color: var(--warning);
}

.status-err {
    color: var(--danger);
}

.reveal {
    opacity: 0.001;
    transform: translateY(8px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .22s ease, transform .22s ease;
}

@media (max-width: 980px) {
    .hero,
    .grid-2,
    .grid-3,
    .pricing-grid,
    .form-grid,
    .key-grid {
        grid-template-columns: 1fr;
    }

    .site-header .nav {
        position: absolute;
        top: calc(100% + 6px);
        left: 10px;
        right: 10px;
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
        background: rgba(8, 12, 20, 0.98);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 8px;
    }

    .site-header .nav.open {
        display: flex;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-dock {
        display: flex;
    }

    .support-unread::after {
        top: 4px;
        right: 4px;
    }

    .main {
        padding-bottom: 90px;
    }
}
