:root {
    --bg: #f4fffe;
    --panel: rgba(255, 255, 255, 0.78);
    --panel-strong: rgba(255, 255, 255, 0.92);
    --text: #0b2332;
    --muted: #537083;
    --line: rgba(11, 35, 50, 0.1);
    --primary: #0f847a;
    --primary-deep: #08625a;
    --accent: #ff886d;
    --shadow: 0 24px 80px rgba(10, 50, 74, 0.14);
    --radius-xl: 32px;
    --radius-lg: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(118, 234, 220, 0.5), transparent 32%),
        radial-gradient(circle at top right, rgba(255, 187, 174, 0.55), transparent 30%),
        linear-gradient(180deg, #effffd 0%, #eef5ff 100%);
}

.page-shell,
.status-shell {
    position: relative;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 72px;
}

.bg-orb {
    position: fixed;
    border-radius: 999px;
    filter: blur(30px);
    pointer-events: none;
    opacity: 0.7;
}

.orb-one {
    top: 90px;
    left: -40px;
    width: 180px;
    height: 180px;
    background: rgba(117, 235, 219, 0.65);
}

.orb-two {
    top: 260px;
    right: -20px;
    width: 220px;
    height: 220px;
    background: rgba(255, 151, 138, 0.35);
}

.card-panel,
.info-card,
.pricing-card,
.modal-card {
    background: var(--panel);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow);
}

.topbar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 28px;
}

.eyebrow,
.kicker {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 800;
}

.brand-wordmark,
.hero-copy h2,
.section-head h3,
.info-card h3,
.status-card h1,
.modal-card h3 {
    margin: 0;
    font-family: "Unbounded", sans-serif;
}

.brand-wordmark {
    font-size: clamp(24px, 5vw, 34px);
}

.topbar-actions,
.hero-cta-row,
.status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ghost-btn,
.secondary-btn,
.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ghost-btn,
.secondary-btn {
    color: var(--text);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
}

.primary-btn {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    border: none;
    box-shadow: 0 16px 30px rgba(8, 98, 90, 0.22);
}

.ghost-btn:hover,
.secondary-btn:hover,
.primary-btn:hover,
.pricing-card:hover {
    transform: translateY(-2px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: stretch;
}

.hero-copy,
.hero-visual,
.status-card {
    border-radius: var(--radius-xl);
    padding: 28px;
}

.hero-copy h2 {
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.08;
    margin-bottom: 18px;
}

.lead,
.modal-text,
.status-copy,
.info-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}

.hero-points span,
.pricing-meta span {
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(15, 132, 122, 0.08);
    color: var(--primary-deep);
    font-weight: 700;
}

.art-panel {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-art {
    width: min(100%, 480px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 60px rgba(11, 35, 50, 0.18));
}

.stat-chip {
    position: absolute;
    padding: 14px 16px;
    border-radius: 22px;
    background: var(--panel-strong);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: var(--shadow);
}

.stat-chip strong {
    display: block;
    font-family: "Unbounded", sans-serif;
    font-size: 20px;
}

.stat-chip span {
    color: var(--muted);
    font-size: 13px;
}

.stat-chip-main {
    left: 20px;
    bottom: 28px;
}

.stat-chip-side {
    top: 26px;
    right: 20px;
}

.pricing-section {
    margin-top: 36px;
}

.section-head {
    margin-bottom: 16px;
}

.section-head h3,
.info-card h3 {
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.12;
}

.pricing-grid,
.info-grid {
    display: grid;
    gap: 18px;
}

.pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-card {
    border-radius: 28px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(235, 255, 252, 0.96) 100%);
    transform: translateY(-6px);
}

.plan-badge {
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 136, 109, 0.14);
    color: #b14a31;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pricing-card h4 {
    margin: 0;
    font-size: 24px;
    font-family: "Unbounded", sans-serif;
}

.plan-subtitle,
.plan-accent,
.pricing-meta,
.form-note {
    color: var(--muted);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.plan-price strong {
    font-size: 38px;
    font-family: "Unbounded", sans-serif;
}

.plan-old-price {
    text-decoration: line-through;
    opacity: 0.65;
}

.plan-price-byn {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.7em;
    font-weight: 500;
    font-family: "Manrope", sans-serif;
    opacity: 0.85;
    letter-spacing: 0;
    color: #74dba8;
    white-space: nowrap;
}

.pricing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.info-card {
    border-radius: var(--radius-lg);
    padding: 24px;
}

.status-shell {
    display: grid;
    place-items: center;
    min-height: 100vh;
}

.status-card {
    width: min(680px, 100%);
}

.status-card-warn {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 244, 238, 0.96) 100%);
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(8, 25, 36, 0.32);
    padding: 16px;
}

.hidden {
    display: none;
}

.modal-card {
    width: min(560px, 100%);
    border-radius: 28px;
    padding: 24px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    font-size: 24px;
    cursor: pointer;
}

.checkout-form {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.checkout-form label {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.input {
    min-height: 52px;
    border-radius: 18px;
    border: 1px solid var(--line);
    padding: 0 16px;
    font-size: 16px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.86);
}

.submit-btn {
    width: 100%;
    cursor: pointer;
}

@media (max-width: 1040px) {
    .hero-grid,
    .pricing-grid,
    .info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .page-shell,
    .status-shell {
        width: min(100% - 20px, 100%);
    }

    .topbar,
    .hero-grid,
    .pricing-grid,
    .info-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .topbar {
        gap: 16px;
    }

    .topbar-actions,
    .hero-cta-row,
    .status-actions {
        flex-direction: column;
    }

    .ghost-btn,
    .secondary-btn,
    .primary-btn {
        width: 100%;
    }

    .hero-copy,
    .hero-visual,
    .status-card {
        padding: 22px;
    }

    .art-panel {
        min-height: 400px;
    }

    .stat-chip-main,
    .stat-chip-side {
        position: static;
        margin-top: 12px;
    }
}

/* ── Блок конфига VPN на странице успешной оплаты ── */

.config-eyebrow-ok {
    color: #0c7b5e;
}

.config-lead {
    margin: 6px 0 24px;
    color: var(--muted);
    line-height: 1.7;
}

.config-qr-block {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.config-qr {
    width: 200px;
    height: 200px;
    border-radius: 18px;
    border: 3px solid rgba(15, 132, 122, 0.18);
    background: #fff;
    padding: 6px;
    display: block;
}

.config-label {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 13px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.config-link-block {
    margin-bottom: 24px;
}

.config-link-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.config-link-input {
    flex: 1;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid var(--line);
    padding: 0 14px;
    font-size: 13px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.86);
    font-family: monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn {
    flex-shrink: 0;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.copy-btn:hover {
    transform: translateY(-1px);
}

.config-copy-hint {
    margin: 6px 0 0;
    font-size: 13px;
    color: #0c7b5e;
    font-weight: 700;
    min-height: 18px;
}

.config-how {
    background: rgba(15, 132, 122, 0.06);
    border-radius: 18px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.config-how-title {
    margin: 0 0 10px;
    font-weight: 800;
    font-size: 14px;
    color: var(--primary-deep);
}

.config-how-list {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.9;
    font-size: 14px;
}

.config-apps-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    transition: transform 0.15s ease;
}

.app-btn.app-btn-secondary {
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    border: 1px solid var(--line);
}

.app-btn:hover {
    transform: translateY(-1px);
}

.config-help {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.config-support-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.config-support-link:hover {
    text-decoration: underline;
}

@media (max-width: 520px) {
    .config-link-row {
        flex-direction: column;
    }

    .copy-btn {
        width: 100%;
    }

    .config-apps-row {
        flex-direction: column;
    }

    .app-btn {
        width: 100%;
    }
}

/* ── FAQ-секция ── */

.faq-section {
    margin-top: 36px;
}

.faq-heading {
    font-family: "Unbounded", sans-serif;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.12;
    margin: 0;
}

.faq-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.faq-item {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    padding: 0;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(10, 50, 74, 0.07);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    list-style: none;
    gap: 12px;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    font-size: 22px;
    font-weight: 400;
    color: var(--primary);
    flex-shrink: 0;
    line-height: 1;
}

.faq-item[open] .faq-question::after {
    content: "−";
}

.faq-answer {
    margin: 0;
    padding: 0 22px 18px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 15px;
}