:root {
    --ink: #101c2d;
    --muted: #657186;
    --cream: #f7f4ed;
    --paper: rgba(255, 255, 255, .86);
    --line: rgba(16, 28, 45, .11);
    --blue: #2374e1;
    --blue-dark: #145cc4;
    --aqua: #46d5c5;
    --gold: #f6c65b;
    --shadow: 0 30px 80px rgba(31, 51, 80, .16);
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--cream); }

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(circle at 9% 14%, rgba(70, 213, 197, .14), transparent 29rem),
        radial-gradient(circle at 91% 12%, rgba(35, 116, 225, .12), transparent 31rem),
        linear-gradient(145deg, #fbfaf6 0%, #f4f0e7 100%);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.ambient {
    position: fixed;
    z-index: 0;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
    opacity: .8;
}

.ambient-one { top: 18%; left: -17rem; border: 1px solid rgba(35,116,225,.24); box-shadow: 0 0 0 4rem rgba(35,116,225,.035), 0 0 0 8rem rgba(35,116,225,.025); }
.ambient-two { right: -18rem; bottom: 3%; border: 1px solid rgba(70,213,197,.27); box-shadow: 0 0 0 5rem rgba(70,213,197,.035), 0 0 0 10rem rgba(70,213,197,.02); }

.page-shell, .result-shell, .legal-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 108px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 780;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    color: white;
    background: linear-gradient(145deg, #163b70, #2374e1);
    box-shadow: 0 8px 22px rgba(35, 116, 225, .24);
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: none;
}

.secure-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #536176;
    background: rgba(255,255,255,.54);
    font-size: 13px;
    font-weight: 650;
    backdrop-filter: blur(12px);
}

.secure-dot { width: 7px; height: 7px; border-radius: 50%; background: #31b68c; box-shadow: 0 0 0 4px rgba(49,182,140,.12); }

.hero {
    display: grid;
    grid-template-columns: 1.04fr .78fr;
    align-items: center;
    gap: clamp(54px, 8vw, 118px);
    min-height: calc(100vh - 185px);
    padding: 38px 0 90px;
}

.hero-copy { max-width: 660px; }

.eyebrow {
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 6.5vw, 84px);
    font-weight: 400;
    letter-spacing: -.048em;
    line-height: .98;
}

h1 span { color: var(--blue); }

.lead {
    max-width: 590px;
    margin: 30px 0 0;
    color: var(--muted);
    font-size: clamp(17px, 1.7vw, 20px);
    line-height: 1.7;
}

.trust-row { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 36px; }
.trust-row > div { display: flex; align-items: center; gap: 10px; max-width: 255px; color: #4f5d71; font-size: 13px; line-height: 1.45; }
.trust-icon { display: grid; flex: 0 0 auto; width: 23px; height: 23px; place-items: center; border-radius: 50%; color: #178369; background: rgba(70,213,197,.14); font-size: 12px; font-weight: 900; }

.payment-card {
    position: relative;
    overflow: hidden;
    padding: 38px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 28px;
    background: var(--paper);
    box-shadow: var(--shadow);
    backdrop-filter: blur(24px);
}

.card-glow { position: absolute; top: -100px; right: -85px; width: 210px; height: 210px; border-radius: 50%; background: rgba(70,213,197,.15); filter: blur(4px); pointer-events: none; }
.card-kicker { position: relative; color: var(--muted); font-size: 13px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.price { position: relative; margin-top: 14px; color: var(--ink); font-family: Georgia, serif; font-size: 54px; letter-spacing: -.04em; line-height: 1; }
.price-note { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.divider { height: 1px; margin: 28px 0; background: var(--line); }

.steps { display: grid; gap: 18px; margin: 0 0 28px; padding: 0; list-style: none; }
.steps li { display: flex; align-items: center; gap: 14px; }
.steps li > span { display: grid; flex: 0 0 auto; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(35,116,225,.16); border-radius: 11px; color: var(--blue); background: rgba(35,116,225,.055); font-size: 12px; font-weight: 800; }
.steps p { display: grid; gap: 3px; margin: 0; }
.steps strong { font-size: 14px; }
.steps small { color: var(--muted); font-size: 12px; line-height: 1.4; }

.notice { margin: 0 0 18px; padding: 13px 14px; border: 1px solid rgba(246,198,91,.45); border-radius: 12px; color: #715718; background: rgba(246,198,91,.13); font-size: 12px; line-height: 1.5; }
.notice-error { border-color: rgba(211,74,74,.3); color: #963c3c; background: rgba(211,74,74,.08); }

.pay-button, .secondary-button {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 0 23px;
    border: 0;
    border-radius: 15px;
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    box-shadow: 0 14px 28px rgba(35,116,225,.22);
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 760;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.pay-button:hover:not(:disabled), .secondary-button:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(35,116,225,.28); }
.pay-button:focus-visible, .secondary-button:focus-visible { outline: 3px solid rgba(35,116,225,.28); outline-offset: 3px; }
.pay-button:disabled { color: rgba(255,255,255,.72); background: #8792a2; box-shadow: none; cursor: not-allowed; }
.pay-button svg { width: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.microcopy { margin: 15px 4px 0; color: #7b8595; font-size: 10.5px; line-height: 1.55; }
.microcopy a { text-underline-offset: 2px; }

footer { display: flex; justify-content: space-between; padding: 0 0 32px; color: #8a93a1; font-size: 11px; }

.result-body { display: grid; place-items: center; }
.result-shell { width: min(580px, calc(100% - 32px)); padding: 34px 0 60px; }
.result-brand { margin: 0 0 34px 6px; }
.result-card { padding: clamp(32px, 7vw, 58px); border: 1px solid rgba(255,255,255,.92); border-radius: 30px; text-align: center; background: var(--paper); box-shadow: var(--shadow); backdrop-filter: blur(24px); }
.result-card h1 { font-size: clamp(42px, 10vw, 62px); }
.result-card > p { margin: 22px auto 30px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.status-icon { display: grid; width: 68px; height: 68px; margin: 0 auto 25px; place-items: center; border-radius: 22px; font-size: 27px; font-weight: 750; }
.success-icon { color: #138065; background: rgba(70,213,197,.16); box-shadow: inset 0 0 0 1px rgba(19,128,101,.11); }
.pending-icon { color: var(--blue); background: rgba(35,116,225,.1); }
.error-icon { color: #b64545; background: rgba(211,74,74,.09); }
.telegram-button { margin-top: 28px; background: linear-gradient(135deg, #2aabee, #2385d0); }
.centered { text-align: center; }
.secondary-button { width: max-content; min-height: 50px; margin: 28px auto 0; padding: 0 23px; }
.order-code { overflow-wrap: anywhere; padding: 12px; border-radius: 10px; color: #59667a; background: rgba(16,28,45,.05); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; }
.support-line { margin: 16px 0 0 !important; font-weight: 700; }
.spinner { width: 24px; height: 24px; border: 2px solid rgba(35,116,225,.18); border-top-color: var(--blue); border-radius: 50%; animation: spin .9s linear infinite; }
.progress { overflow: hidden; height: 5px; margin-top: 32px; border-radius: 999px; background: rgba(35,116,225,.09); }
.progress span { display: block; width: 42%; height: 100%; border-radius: inherit; background: var(--blue); animation: progress 1.8s ease-in-out infinite alternate; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes progress { from { transform: translateX(-25%); } to { transform: translateX(165%); } }

.legal-body { padding: 42px 0 70px; }
.legal-shell { width: min(820px, calc(100% - 32px)); }
.legal-shell > .brand { margin-bottom: 34px; }
.legal-card { padding: clamp(28px, 6vw, 58px); border: 1px solid rgba(255,255,255,.9); border-radius: 25px; background: var(--paper); box-shadow: var(--shadow); }
.legal-card h1 { margin-bottom: 35px; font-size: clamp(42px, 8vw, 64px); }
.legal-card h2 { margin: 32px 0 10px; font-family: Georgia, serif; font-size: 23px; font-weight: 400; }
.legal-card p { color: var(--muted); line-height: 1.75; }

@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; gap: 46px; padding-top: 24px; }
    .hero-copy { max-width: 720px; }
    .payment-card { width: min(100%, 560px); }
    footer { margin-top: 24px; }
}

@media (max-width: 560px) {
    .page-shell { width: min(100% - 26px, 1180px); }
    .nav { min-height: 84px; }
    .secure-pill { padding: 8px 10px; font-size: 10px; }
    .secure-dot { display: none; }
    .hero { min-height: auto; padding: 30px 0 60px; }
    h1 { font-size: 47px; }
    .lead { margin-top: 23px; font-size: 16px; }
    .trust-row { margin-top: 28px; }
    .payment-card { padding: 27px 22px; border-radius: 22px; }
    .price { font-size: 46px; }
    footer { gap: 10px; flex-direction: column; }
    .result-shell { padding-top: 22px; }
    .result-card { border-radius: 23px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

