/* ============================================================
   animeshaVPN — public website
   Dark aurora theme · Space Grotesk / Inter
   ============================================================ */

:root {
    color-scheme: dark;
    --bg: #05060f;
    --bg-soft: #090b18;
    --surface: rgba(255, 255, 255, 0.045);
    --surface-strong: rgba(255, 255, 255, 0.075);
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.16);
    --text: #f2f4ff;
    --muted: #969dbe;
    --muted-2: #6d7598;
    --cyan: #35d4e0;
    --cyan-soft: rgba(53, 212, 224, 0.12);
    --violet: #9b7bff;
    --pink: #f472b6;
    --green: #35e6a6;
    --red: #f87171;
    --radius: 24px;
    --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

.cookie-notice {
    position: fixed;
    z-index: 1100;
    left: 50%;
    bottom: max(20px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    width: min(920px, calc(100% - 32px));
    padding: 22px 24px;
    border: 1px solid rgba(53, 212, 224, 0.25);
    border-radius: 22px;
    background: linear-gradient(120deg, #10232c, #141528 65%);
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.5);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
}
.cookie-notice__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--cyan-soft); color: var(--cyan); }
.cookie-notice__icon svg { width: 25px; height: 25px; }
.cookie-notice__text { flex: 1; min-width: 0; }
.cookie-notice__text h2 { margin: 0 0 5px; font-size: 16px; }
.cookie-notice__text p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.cookie-notice__text a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice > .btn { flex: none; }
.cookie-notice__details { margin-top: 10px; font-size: 12px; color: var(--muted); }
.cookie-notice__details summary { width: fit-content; color: var(--cyan); cursor: pointer; padding: 6px 0; }
.cookie-notice__details dl { margin: 8px 0 12px; }
.cookie-notice__details dl > div + div { margin-top: 10px; }
.cookie-notice__details dt { color: var(--text); font-weight: 600; }
.cookie-notice__details dd { margin: 3px 0 0; line-height: 1.65; }
.cookie-notice__details code { overflow-wrap: anywhere; }
.cookie-notice .cookie-notice__error { margin-top: 10px; color: #fcd38d; }
.cookie-settings { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.cookie-settings:hover { color: var(--cyan); }
@media (max-width: 600px) {
    .cookie-notice { flex-wrap: wrap; gap: 14px; padding: 18px; bottom: max(12px, env(safe-area-inset-bottom)); }
    .cookie-notice__icon { display: none; }
    .cookie-notice__text { flex-basis: 100%; }
    .cookie-notice > .btn { width: 100%; }
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; }

::selection { background: rgba(53, 212, 224, 0.28); color: #fff; }

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 6px;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }

/* ---------- ambient background ---------- */

.scene {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.scene__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 15%, transparent 78%);
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 15%, transparent 78%);
    opacity: 0.7;
}

.scene::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.03;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scene__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    will-change: transform;
}

.scene__glow--cyan {
    width: 58vw;
    height: 58vw;
    top: -24vw;
    left: -16vw;
    background: radial-gradient(circle, rgba(53, 212, 224, 0.5), transparent 66%);
    opacity: 0.3;
    animation: drift-a 26s ease-in-out infinite alternate;
}

.scene__glow--violet {
    width: 54vw;
    height: 54vw;
    top: 18vh;
    right: -20vw;
    background: radial-gradient(circle, rgba(155, 123, 255, 0.5), transparent 66%);
    opacity: 0.28;
    animation: drift-b 32s ease-in-out infinite alternate;
}

.scene__glow--pink {
    width: 42vw;
    height: 42vw;
    bottom: -24vw;
    left: 28vw;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.4), transparent 68%);
    opacity: 0.14;
    animation: drift-a 38s ease-in-out infinite alternate-reverse;
}

@keyframes drift-a { to { transform: translate(7vw, 6vh) scale(1.08); } }
@keyframes drift-b { to { transform: translate(-6vw, -5vh) scale(1.12); } }

/* ---------- layout helpers ---------- */

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

.section { padding: 112px 0; position: relative; z-index: 1; }
.section--tight { padding: 74px 0; }

.section__head {
    max-width: 640px;
    margin-bottom: 52px;
}

.section__head h2 {
    margin-top: 20px;
    font-size: clamp(34px, 4.4vw, 52px);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.section__head p {
    max-width: 540px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.section__head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section__head--center p { margin-left: auto; margin-right: auto; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: #b9c0dd;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.eyebrow__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    animation: blink 2.6s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.75); }
}

.grad {
    background: linear-gradient(100deg, #67e8f9 0%, #a78bfa 52%, #f0abfc 100%);
    background-size: 180% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-shift 9s ease-in-out infinite alternate;
}

@keyframes gradient-shift { to { background-position: 100% 0; } }

/* ---------- buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
    background: linear-gradient(135deg, #4ce3ea 0%, #8f7dff 58%, #c084fc 100%);
    color: #05060f;
    font-weight: 700;
    box-shadow: 0 14px 34px -12px rgba(53, 212, 224, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px -12px rgba(53, 212, 224, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn--primary:active { transform: translateY(0); }

.btn--ghost {
    background: rgba(255, 255, 255, 0.045);
    border-color: var(--line);
    color: var(--text);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.085);
    border-color: var(--line-strong);
    transform: translateY(-2px);
}

.btn--sm { padding: 10px 16px; font-size: 13px; border-radius: 11px; }
.btn--sm svg { width: 16px; height: 16px; }
.btn--lg { padding: 16px 28px; font-size: 15px; border-radius: 15px; }
.btn--full { width: 100%; }

/* ---------- navigation ---------- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    padding: 14px 0;
    transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
    border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
    padding: 8px 0;
    background: rgba(5, 6, 15, 0.72);
    border-bottom-color: var(--line);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
}

.nav.is-open {
    background: rgba(5, 6, 15, 0.97);
    border-bottom-color: var(--line);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: none;
}

.brand__mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg, #4ce3ea, #8f7dff 60%, #c084fc);
    color: #05060f;
    box-shadow: 0 8px 22px -8px rgba(53, 212, 224, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.brand__mark svg { width: 23px; height: 23px; }

.brand__name {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand__name span {
    background: linear-gradient(100deg, #67e8f9, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav__links a {
    position: relative;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.nav__tg {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav__tg svg { width: 19px; height: 19px; }
.nav__tg:hover { color: #7ee8ef; border-color: rgba(53, 212, 224, 0.3); background: rgba(53, 212, 224, 0.08); }

.nav__burger {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    position: relative;
}

.nav__burger span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 1.6px;
    border-radius: 2px;
    background: var(--text);
    transition: transform 0.25s ease, top 0.25s ease;
}

.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 23px; }
.nav.is-open .nav__burger span:first-child { top: 20px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
    display: none;
    padding: 14px 28px 26px;
    background: rgba(5, 6, 15, 0.96);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
}

.mobile-menu a:not(.btn) {
    display: block;
    padding: 11px 0;
    color: var(--muted);
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu .btn { margin-top: 14px; }
.nav.is-open .mobile-menu { display: block; }

/* ---------- hero ---------- */

.hero {
    position: relative;
    z-index: 1;
    padding: 158px 0 84px;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: center;
    gap: 48px;
}

.hero__title {
    margin: 26px 0 22px;
    font-size: clamp(46px, 6.2vw, 82px);
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.hero__lead {
    max-width: 525px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 34px;
}

.hero__trust li {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
}

.hero__trust svg { width: 16px; height: 16px; color: var(--green); }

.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 540px;
}

.orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.orbit--1 {
    width: 600px;
    height: 600px;
    animation: spin 70s linear infinite;
}

.orbit--2 {
    width: 455px;
    height: 455px;
    border-color: rgba(155, 123, 255, 0.11);
    border-style: solid;
    animation: spin 48s linear infinite reverse;
}

.orbit::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 16px var(--cyan);
}

.orbit--2::before {
    top: auto;
    bottom: 12%;
    left: 8%;
    background: var(--violet);
    box-shadow: 0 0 18px var(--violet);
}

@keyframes spin { to { transform: rotate(360deg); } }

.app-card {
    position: relative;
    z-index: 2;
    width: min(372px, 100%);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    background: linear-gradient(165deg, rgba(22, 27, 52, 0.94), rgba(8, 10, 22, 0.97));
    box-shadow: 0 46px 100px -34px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    animation: float 7s ease-in-out infinite;
}

.app-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(53, 212, 224, 0.45), transparent 38%, rgba(155, 123, 255, 0.35));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.app-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-card__brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.app-card__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px rgba(53, 230, 166, 0.8);
}

.app-card__status {
    padding: 4px 9px;
    border: 1px solid rgba(53, 230, 166, 0.28);
    border-radius: 999px;
    background: rgba(53, 230, 166, 0.1);
    color: #7ef0c4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.app-card__orb {
    position: relative;
    width: 172px;
    height: 172px;
    margin: 22px auto 10px;
    display: grid;
    place-items: center;
}

.pulse-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(53, 212, 224, 0.32);
    border-radius: 50%;
    animation: pulse-ring 3.4s ease-out infinite;
}

.pulse-ring--delay { animation-delay: 1.7s; }

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.9; }
    100% { transform: scale(1.22); opacity: 0; }
}

.orb-core {
    position: relative;
    z-index: 1;
    width: 130px;
    height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(53, 212, 224, 0.38);
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 22%, rgba(53, 212, 224, 0.26), transparent 58%),
        radial-gradient(circle at 70% 90%, rgba(155, 123, 255, 0.18), transparent 60%),
        rgba(255, 255, 255, 0.025);
    box-shadow: 0 0 46px rgba(53, 212, 224, 0.24), inset 0 0 32px rgba(53, 212, 224, 0.09);
    color: #8deff4;
}

.orb-core svg { width: 36px; height: 36px; }

.orb-core span {
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #a8e9ee;
}

.app-card__caption {
    text-align: center;
    color: var(--muted-2);
    font-size: 11.5px;
}

.server-list {
    display: grid;
    gap: 7px;
    margin-top: 18px;
}

.server-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid transparent;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.028);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.server-row.is-active {
    border-color: rgba(53, 212, 224, 0.18);
    background: rgba(53, 212, 224, 0.07);
}

.server-row__flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    flex: none;
    font-size: 15px;
    line-height: 1;
    text-align: center;
}

.flag-icon {
    position: relative;
    display: inline-flex;
    width: 24px;
    height: 16px;
    flex: none;
    border-radius: 3px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.flag-icon svg { width: 100%; height: 100%; }

.flag-icon__fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--muted);
    font-size: 7.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.server-row .flag-icon { width: 22px; height: 15px; }

.server-row__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.server-row__text strong { font-size: 12.5px; font-weight: 600; }
.server-row__text small { color: var(--muted-2); font-size: 10px; }

.signal {
    display: flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 14px;
    margin-left: auto;
}

.signal i {
    width: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.16);
}

.signal i:nth-child(1) { height: 5px; }
.signal i:nth-child(2) { height: 9px; }
.signal i:nth-child(3) { height: 13px; }

.server-row.is-active .signal i { background: linear-gradient(to top, #35d4e0, #7ef0c4); }

.server-row--more { border-style: dashed; border-color: var(--line); }

.server-row--more .server-row__flag {
    color: var(--muted);
    font-size: 15px;
}

.app-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.app-card__foot-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 10.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.app-card__foot-label svg { width: 14px; height: 14px; color: var(--green); }

.toggle {
    position: relative;
    width: 36px;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--cyan), var(--violet));
    box-shadow: 0 0 16px rgba(53, 212, 224, 0.35);
}

.toggle i {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #05060f;
}

.float-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    background: rgba(12, 15, 30, 0.86);
    box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    animation: float 8.5s ease-in-out infinite;
}

.float-chip--play { top: 7%; right: -3%; }
.float-chip--code { bottom: 12%; left: -14%; animation-delay: -3s; }

.float-chip__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(155, 123, 255, 0.14);
    border: 1px solid rgba(155, 123, 255, 0.22);
    color: #c4b5fd;
}

.float-chip__icon--green {
    background: rgba(53, 230, 166, 0.12);
    border-color: rgba(53, 230, 166, 0.22);
    color: #7ef0c4;
}

.float-chip__icon svg { width: 17px; height: 17px; }

.float-chip span:last-child { display: flex; flex-direction: column; gap: 1px; }
.float-chip strong { font-size: 11.5px; font-weight: 600; }
.float-chip small { color: var(--muted-2); font-size: 9.5px; }

/* ---------- strip ---------- */

.strip {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.014);
}

.strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-top: 30px;
    padding-bottom: 30px;
}

.strip__item { padding: 0 26px; border-left: 1px solid var(--line); }
.strip__item:first-child { border-left: 0; padding-left: 0; }

.strip__item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.strip__item span { display: block; margin-top: 3px; color: var(--muted-2); font-size: 12px; }

/* ---------- bento features ---------- */

.bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.bento__item {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.bento__item::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    top: -140px;
    right: -110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(53, 212, 224, 0.22), transparent 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.bento__item:hover {
    transform: translateY(-3px);
    border-color: rgba(53, 212, 224, 0.25);
}

.bento__item:hover::before { opacity: 1; }

.bento__item--wide { grid-column: span 2; }

.bento__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(53, 212, 224, 0.18);
    border-radius: 14px;
    background: rgba(53, 212, 224, 0.09);
    color: #7ee8ef;
}

.bento__icon svg { width: 22px; height: 22px; }

.bento__item h3 {
    margin: 20px 0 9px;
    font-size: 20px;
    letter-spacing: -0.025em;
}

.bento__item p {
    max-width: 48ch;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.speed-chart {
    position: absolute;
    right: 28px;
    bottom: 26px;
    width: 44%;
    height: 92px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    -webkit-mask-image: linear-gradient(to top, #000 20%, transparent 100%);
    mask-image: linear-gradient(to top, #000 20%, transparent 100%);
    opacity: 0.85;
}

.speed-chart span {
    flex: 1;
    height: var(--h);
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(to top, rgba(53, 212, 224, 0.08), rgba(53, 212, 224, 0.62));
    animation: bars 3.2s ease-in-out infinite alternate;
}

.speed-chart span:nth-child(2n) { animation-delay: -1.1s; }
.speed-chart span:nth-child(3n) { animation-delay: -2.2s; }

@keyframes bars {
    from { transform: scaleY(0.72); transform-origin: bottom; }
    to { transform: scaleY(1); transform-origin: bottom; }
}

.platform-tags,
.pay-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
}

.platform-tags span,
.pay-badges span {
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #c2c8e2;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.pay-badges span { border-radius: 7px; letter-spacing: 0.05em; }

.pay-badges--center { justify-content: center; margin-top: 16px; }

.flag-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    line-height: 1;
}

.flag-row .flag-icon { width: 27px; height: 18px; border-radius: 4px; }

.code-pill {
    display: inline-block;
    margin-top: 18px;
    padding: 6px 10px;
    border: 1px solid rgba(155, 123, 255, 0.22);
    border-radius: 8px;
    background: rgba(155, 123, 255, 0.1);
    color: #c4b5fd;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    letter-spacing: 0.04em;
}

.bento__item--support {
    grid-column: span 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 26px 30px;
    border-color: rgba(155, 123, 255, 0.2);
    background: linear-gradient(115deg, rgba(53, 212, 224, 0.1), rgba(155, 123, 255, 0.11) 60%, rgba(255, 255, 255, 0.02));
}

.bento__item--support::before { display: none; }

.bento__item__text {
    display: flex;
    align-items: center;
    gap: 18px;
}

.bento__item--support h3 { margin: 0 0 5px; font-size: 19px; }
.bento__item--support p { max-width: 62ch; margin: 0; font-size: 13.5px; }
.bento__item--support .bento__icon { flex: none; background: rgba(155, 123, 255, 0.12); border-color: rgba(155, 123, 255, 0.22); color: #c4b5fd; }
.bento__item--support .btn { flex: none; }

/* ---------- steps ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.step {
    position: relative;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.028);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.step:hover { border-color: rgba(155, 123, 255, 0.26); transform: translateY(-3px); }

.step__num {
    display: block;
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
    background: linear-gradient(120deg, rgba(103, 232, 249, 0.85), rgba(167, 139, 250, 0.55));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.step h3 { margin: 18px 0 8px; font-size: 19px; }
.step p { color: var(--muted); font-size: 13.5px; line-height: 1.65; }

/* ---------- servers ---------- */

.servers {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 60px;
}

.servers__copy h2 {
    margin: 20px 0 18px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.servers__copy > p { color: var(--muted); font-size: 15.5px; line-height: 1.7; max-width: 46ch; }

.check-list {
    display: grid;
    gap: 12px;
    margin: 26px 0 30px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd1e9;
    font-size: 14px;
}

.check-list li span {
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    flex: none;
    border: 1px solid rgba(53, 230, 166, 0.25);
    border-radius: 50%;
    background: rgba(53, 230, 166, 0.1);
    color: #7ef0c4;
}

.check-list svg { width: 13px; height: 13px; }

.server-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.server-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.server-card:hover { transform: translateY(-3px); border-color: rgba(53, 212, 224, 0.28); }

.server-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.server-card__flag { display: flex; align-items: center; }
.server-card__flag .flag-icon { width: 30px; height: 20px; border-radius: 4px; }

.server-card__tag {
    padding: 4px 8px;
    border: 1px solid rgba(53, 212, 224, 0.18);
    border-radius: 6px;
    background: rgba(53, 212, 224, 0.08);
    color: #7ee8ef;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.server-card h3 { margin: 16px 0 3px; font-size: 17px; }
.server-card p { color: var(--muted-2); font-size: 11.5px; }

.server-card__bar {
    height: 3px;
    margin-top: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.server-card__bar span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    opacity: 0.65;
}

/* ---------- pricing ---------- */

.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 18px;
    max-width: 980px;
    margin: 0 auto;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.price-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }

.price-card.is-popular {
    border-color: rgba(53, 212, 224, 0.38);
    background: linear-gradient(165deg, rgba(53, 212, 224, 0.12), rgba(155, 123, 255, 0.08) 55%, rgba(255, 255, 255, 0.02));
    box-shadow: 0 30px 80px -44px rgba(53, 212, 224, 0.6);
}

.price-card__badge {
    position: absolute;
    top: -13px;
    left: 28px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(120deg, #4ce3ea, #a78bfa);
    color: #05060f;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px -10px rgba(53, 212, 224, 0.8);
}

.price-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.price-card__title { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.price-card__per { color: var(--muted-2); font-size: 11.5px; white-space: nowrap; }

.price-card__amount {
    margin: 18px 0 4px;
    font-family: var(--font-display);
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
}

.price-card__amount small {
    margin-left: 5px;
    color: var(--muted);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0;
}

.price-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.price-card__save {
    padding: 4px 8px;
    border: 1px solid rgba(53, 230, 166, 0.22);
    border-radius: 6px;
    background: rgba(53, 230, 166, 0.1);
    color: #7ef0c4;
    font-size: 10.5px;
    font-weight: 600;
}

.price-card__until { color: var(--muted-2); font-size: 11.5px; }

.price-card__features {
    display: grid;
    gap: 10px;
    margin: 24px 0 28px;
}

.price-card__features li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 13px;
}

.price-card__features svg { width: 15px; height: 15px; flex: none; color: var(--green); }

.price-card .btn { margin-top: auto; }

.pricing__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    color: var(--muted-2);
    font-size: 12px;
    text-align: center;
}

.pricing__note svg { width: 15px; height: 15px; color: var(--green); flex: none; }

/* ---------- faq ---------- */

.faq {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 60px;
    align-items: start;
}

.faq__head h2 {
    margin: 20px 0 16px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.faq__head p { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin-bottom: 22px; }

.faq__list { display: grid; gap: 9px; }

.faq__item {
    padding: 0 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.028);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.faq__item[open] { border-color: rgba(53, 212, 224, 0.26); background: rgba(53, 212, 224, 0.04); }

.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 19px 0;
    font-size: 14.5px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__icon {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: none;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.faq__icon svg { width: 14px; height: 14px; }
.faq__item[open] .faq__icon { transform: rotate(180deg); color: var(--cyan); border-color: rgba(53, 212, 224, 0.3); }

.faq__answer { padding: 0 0 19px; }
.faq__answer p { max-width: 62ch; color: var(--muted); font-size: 13.5px; line-height: 1.7; animation: fade-up 0.3s ease; }

@keyframes fade-up {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
}

/* ---------- final cta ---------- */

.cta { position: relative; z-index: 1; padding: 30px 0 110px; }

.cta__panel {
    position: relative;
    overflow: hidden;
    padding: 70px 40px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 34px;
    background: linear-gradient(140deg, rgba(53, 212, 224, 0.14), rgba(155, 123, 255, 0.16) 55%, rgba(244, 114, 182, 0.1));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--shadow-lg);
    text-align: center;
}

.cta__glow {
    position: absolute;
    top: -55%;
    left: 50%;
    width: 780px;
    height: 560px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 62%);
    pointer-events: none;
}

.cta__panel h2 {
    position: relative;
    margin: 20px auto 16px;
    max-width: 15ch;
    font-size: clamp(34px, 4.6vw, 54px);
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.cta__panel p {
    position: relative;
    max-width: 48ch;
    margin: 0 auto;
    color: #c6cce5;
    font-size: 15.5px;
    line-height: 1.65;
}

.cta__actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.cta__note {
    position: relative;
    display: block;
    margin-top: 20px;
    color: rgba(230, 235, 255, 0.6);
    font-size: 11.5px;
}

/* ---------- footer ---------- */

.footer {
    position: relative;
    z-index: 1;
    padding: 58px 0 28px;
    border-top: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.18);
}

.footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.footer__brand p { margin-top: 16px; color: var(--muted-2); font-size: 13px; line-height: 1.7; }

.footer__links { display: flex; gap: 72px; }

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

.footer__col > span {
    margin-bottom: 4px;
    color: var(--muted-2);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer__col a { color: var(--muted); font-size: 13px; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--text); }

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted-2);
    font-size: 11.5px;
}

.footer__secure { display: inline-flex; align-items: center; gap: 6px; }
.footer__secure svg { width: 14px; height: 14px; color: var(--green); }

/* ---------- reveal ---------- */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible { opacity: 1; transform: none; }

.bento__item.reveal:nth-child(2),
.steps .step.reveal:nth-child(2),
.pricing .price-card.reveal:nth-child(2) { transition-delay: 0.07s; }

.bento__item.reveal:nth-child(3),
.steps .step.reveal:nth-child(3),
.pricing .price-card.reveal:nth-child(3) { transition-delay: 0.14s; }

.bento__item.reveal:nth-child(4) { transition-delay: 0.05s; }
.bento__item.reveal:nth-child(5) { transition-delay: 0.1s; }
.bento__item.reveal:nth-child(6) { transition-delay: 0.15s; }

/* ============================================================
   Checkout / order flow
   ============================================================ */

.flow-page { display: flex; flex-direction: column; min-height: 100vh; }

.flow-nav {
    position: relative;
    z-index: 10;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 6, 15, 0.55);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.flow-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.flow-nav__secure {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.02em;
}

.flow-nav__secure svg { width: 15px; height: 15px; color: var(--green); }

.flow-main {
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 52px 0 80px;
}

.flow-footer {
    position: relative;
    z-index: 1;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    color: var(--muted-2);
    font-size: 11.5px;
}

.flow-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.flow-footer a { transition: color 0.2s ease; }
.flow-footer a:hover { color: var(--text); }

.flow-head {
    max-width: 1040px;
    margin: 0 auto 30px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 12.5px;
    transition: color 0.2s ease;
}

.back-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.back-link:hover { color: var(--text); }
.back-link:hover svg { transform: translateX(-3px); }

.flow-head h1 {
    margin-bottom: 10px;
    font-size: clamp(32px, 4.2vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.flow-head p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }

.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1040px;
    margin: 0 auto 20px;
    padding: 13px 17px;
    border: 1px solid rgba(248, 113, 113, 0.26);
    border-radius: 14px;
    background: rgba(248, 113, 113, 0.09);
    color: #fecaca;
    font-size: 13px;
    line-height: 1.5;
}

.alert svg { width: 18px; height: 18px; flex: none; }

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    align-items: start;
    gap: 22px;
    max-width: 1040px;
    margin: 0 auto;
}

.checkout-main { display: grid; gap: 14px; }

.panel {
    position: relative;
    margin-bottom: 14px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
}

.panel:last-child { margin-bottom: 0; }
.panel--soft { border-style: dashed; background: rgba(255, 255, 255, 0.018); }

.panel__legend {
    float: left;
    width: 100%;
    padding: 0;
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.plan-picker { clear: both; }

.panel__title { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.02em; }

.panel__hint {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.6;
}

.plan-picker {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.plan-option { position: relative; display: block; cursor: pointer; }

.plan-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.plan-option__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    height: 100%;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.028);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.plan-option:hover .plan-option__body { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.05); }

.plan-option input:checked + .plan-option__body {
    border-color: rgba(53, 212, 224, 0.45);
    background: rgba(53, 212, 224, 0.08);
    box-shadow: inset 0 0 0 1px rgba(53, 212, 224, 0.18);
}

.plan-option input:focus-visible + .plan-option__body { outline: 2px solid var(--cyan); outline-offset: 2px; }

.plan-option__top { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.plan-option__top strong { font-size: 14px; font-weight: 600; }

.tag {
    padding: 2px 6px;
    border: 1px solid rgba(53, 230, 166, 0.22);
    border-radius: 5px;
    background: rgba(53, 230, 166, 0.1);
    color: #7ef0c4;
    font-size: 9.5px;
    font-weight: 700;
}

.plan-option__per { color: var(--muted-2); font-size: 10.5px; }

.plan-option__price {
    margin-top: 7px;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

.field__label { font-size: 13px; font-weight: 600; }
.field__label em { margin-left: 5px; color: var(--muted-2); font-size: 11px; font-style: normal; font-weight: 400; }

.field__input {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.26);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field__input:focus-within {
    border-color: rgba(53, 212, 224, 0.45);
    box-shadow: 0 0 0 3px rgba(53, 212, 224, 0.1);
}

.field__prefix { color: var(--muted-2); font-size: 14px; }

.field__input input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 2px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
}

.field__input input::placeholder { color: var(--muted-2); }

.field small { color: var(--muted-2); font-size: 11px; line-height: 1.6; }

.mini-steps { display: grid; gap: 12px; }

.mini-steps li { display: flex; align-items: flex-start; gap: 11px; }

.mini-steps li > span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex: none;
    border: 1px solid rgba(53, 212, 224, 0.22);
    border-radius: 50%;
    background: rgba(53, 212, 224, 0.09);
    color: #7ee8ef;
    font-size: 11px;
    font-weight: 600;
}

.mini-steps p { color: var(--muted); font-size: 12.5px; line-height: 1.6; }

.summary { position: sticky; top: 24px; }

.summary__card {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    box-shadow: var(--shadow-lg);
}

.summary__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.summary__head svg { width: 16px; height: 16px; color: var(--green); }

.summary__amount {
    margin: 12px 0 18px;
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.045em;
}

.summary__amount small { margin-left: 4px; color: var(--muted); font-size: 18px; font-weight: 500; }

.summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 0;
    color: var(--muted);
    font-size: 12.5px;
}

.summary__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 12px 0 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 13.5px;
}

.summary__total strong { font-family: var(--font-display); font-size: 19px; letter-spacing: -0.02em; }

.check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.5;
    cursor: pointer;
}

.check input {
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    flex: none;
    accent-color: var(--cyan);
}

.summary__safe {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 14px;
    color: var(--muted-2);
    font-size: 10.5px;
    line-height: 1.6;
}

.summary__safe svg { width: 15px; height: 15px; flex: none; color: var(--green); }

/* ---------- order ---------- */

.order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    align-items: start;
    gap: 22px;
    max-width: 1040px;
    margin: 0 auto;
}

.order-main { display: grid; gap: 14px; }

.order-side { position: sticky; top: 24px; display: grid; gap: 14px; }

.order-hero {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
}

.order-hero--paid {
    border-color: rgba(53, 230, 166, 0.24);
    background: linear-gradient(150deg, rgba(53, 230, 166, 0.12), rgba(53, 212, 224, 0.06) 55%, rgba(255, 255, 255, 0.02));
}

.order-hero h1 { margin: 16px 0 10px; font-size: clamp(30px, 4vw, 42px); line-height: 1.05; letter-spacing: -0.035em; }
.order-hero p { max-width: 56ch; color: var(--muted); font-size: 13.5px; line-height: 1.65; }

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.status-badge svg { width: 13px; height: 13px; }

.status-badge--ok {
    border-color: rgba(53, 230, 166, 0.26);
    background: rgba(53, 230, 166, 0.12);
    color: #7ef0c4;
}

.status-badge--wait {
    border-color: rgba(53, 212, 224, 0.24);
    background: rgba(53, 212, 224, 0.1);
    color: #8beef5;
}

.status-badge--error {
    border-color: rgba(248, 113, 113, 0.26);
    background: rgba(248, 113, 113, 0.1);
    color: #fca5a5;
}

.order-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 30px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.order-meta div { display: flex; flex-direction: column; gap: 3px; }

.order-meta span {
    color: var(--muted-2);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.order-meta strong { font-size: 13.5px; font-weight: 600; }

.order-meta--center { justify-content: center; text-align: center; }

.link-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.3);
}

.link-box input {
    flex: 1;
    min-width: 0;
    padding: 6px 8px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #bfe9ee;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    text-overflow: ellipsis;
}

.app-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; }

.app-action { display: flex; flex-direction: column; gap: 4px; }

.app-action__download {
    color: var(--muted-2);
    font-size: 10.5px;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.app-action__download:hover { color: var(--text); }

.renew-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 9px;
}

.renew-grid form { margin: 0; }

.renew-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    text-align: left;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.renew-btn:hover { border-color: rgba(53, 212, 224, 0.3); background: rgba(53, 212, 224, 0.07); transform: translateY(-1px); }
.renew-btn strong { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.renew-btn span { color: var(--muted); font-size: 12px; white-space: nowrap; }

.order-save {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 4px;
    color: var(--muted-2);
    font-size: 11px;
    line-height: 1.6;
}

.order-save svg { width: 15px; height: 15px; flex: none; color: var(--green); }

.qr-card {
    padding: 16px;
    border-radius: 22px;
    background: #fff;
    text-align: center;
    box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.8);
}

.qr-card img { width: 100%; max-width: 220px; height: auto; margin: 0 auto; }

.qr-card p { margin-top: 8px; color: #4a5169; font-size: 10.5px; font-weight: 500; }

.support-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
}

.support-card h3 { margin-bottom: 7px; font-size: 15px; }
.support-card p { margin-bottom: 15px; color: var(--muted); font-size: 12px; line-height: 1.6; }

.order-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 620px;
    margin: 36px auto 0;
    padding: 16px;
    text-align: center;
}

.status-orb {
    position: relative;
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    margin-bottom: 22px;
    border: 1px solid rgba(53, 212, 224, 0.22);
    border-radius: 50%;
    background: rgba(53, 212, 224, 0.07);
    color: #7ee8ef;
    box-shadow: 0 0 50px -10px rgba(53, 212, 224, 0.35);
}

.status-orb > svg { width: 36px; height: 36px; }

.status-orb--failed {
    border-color: rgba(248, 113, 113, 0.26);
    background: rgba(248, 113, 113, 0.08);
    color: #fca5a5;
    box-shadow: 0 0 50px -12px rgba(248, 113, 113, 0.3);
}

.spinner {
    position: absolute;
    inset: -1px;
    border: 2px solid transparent;
    border-top-color: var(--cyan);
    border-right-color: rgba(53, 212, 224, 0.35);
    border-radius: 50%;
    animation: spin 1.1s linear infinite;
}

.order-state h1 { margin: 16px 0 12px; font-size: clamp(30px, 4.2vw, 42px); line-height: 1.05; letter-spacing: -0.035em; }
.order-state > p { max-width: 48ch; color: var(--muted); font-size: 14px; line-height: 1.65; }

.order-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; margin-top: 28px; }

.notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 560px;
    margin-top: 28px;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
    text-align: left;
}

.notice svg { width: 17px; height: 17px; flex: none; color: var(--cyan); }
.notice a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Account, login and legal pages
   ============================================================ */

.text-link { color: var(--cyan); font-size: 12.5px; font-weight: 600; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.nav__login {
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 500;
    padding: 8px 4px;
    transition: color 0.2s ease;
}

.nav__login:hover { color: var(--text); }

.nav__account {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: linear-gradient(135deg, #4ce3ea, #8f7dff 60%, #c084fc);
    color: #05060f;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 22px -12px rgba(53, 212, 224, 0.7);
}

.nav__account img { width: 100%; height: 100%; object-fit: cover; }

.alert--ok {
    border-color: rgba(53, 230, 166, 0.26);
    background: rgba(53, 230, 166, 0.09);
    color: #a7f3d0;
}

.alert--ok svg { color: #7ef0c4; }

/* ---------- login ---------- */

.auth-page { position: relative; z-index: 1; padding: 150px 0 90px; }

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 450px;
    align-items: center;
    gap: 64px;
    max-width: 1080px;
}

.auth-art h1 {
    margin: 22px 0 18px;
    font-size: clamp(38px, 4.8vw, 60px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.auth-art > p {
    max-width: 48ch;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.7;
}

.auth-art__list { margin-top: 30px; }

.auth-card {
    padding: 34px;
    border: 1px solid var(--line-strong);
    border-radius: 28px;
    background: linear-gradient(165deg, rgba(22, 27, 52, 0.94), rgba(8, 10, 22, 0.97));
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.auth-card h2 {
    margin: 18px 0 8px;
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.auth-card__lead { color: var(--muted); font-size: 13px; line-height: 1.6; }

.auth-alert { margin: 18px 0 0; }

.provider-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 50px;
    margin-top: 22px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 13px;
    background: #fff;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.provider-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -14px rgba(255, 255, 255, 0.45); }
.provider-btn__icon { width: 20px; height: 20px; flex: none; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
    color: var(--muted-2);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.telegram-login {
    display: flex;
    justify-content: center;
    margin: 6px 0 2px;
    min-height: 48px;
}

.auth-note { margin-top: 8px; color: var(--muted-2); font-size: 10px; text-align: center; line-height: 1.5; }

.auth-card__foot {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
}

.auth-card__foot a { color: var(--cyan); font-weight: 600; }
.auth-card__foot span { color: var(--muted-2); font-size: 10.5px; }

.auth-legal { margin-top: 16px; color: var(--muted-2); font-size: 10.5px; line-height: 1.6; }
.auth-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- account ---------- */

.account-page { position: relative; z-index: 1; padding: 140px 0 90px; }

.account-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.account-identity { display: flex; align-items: center; gap: 18px; min-width: 0; }

.account-avatar {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    flex: none;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    background: linear-gradient(135deg, #4ce3ea, #8f7dff 60%, #c084fc);
    color: #05060f;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    box-shadow: 0 16px 40px -20px rgba(53, 212, 224, 0.75);
}

.account-avatar img { width: 100%; height: 100%; object-fit: cover; }

.account-identity h1 { margin: 6px 0; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.05; letter-spacing: -0.04em; }

.account-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }

.account-head__actions { display: flex; align-items: center; gap: 9px; }
.account-head__actions form { margin: 0; }

.account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }

.account-stats > div, .account-stats__referrals {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.account-stats strong { display: block; font-family: var(--font-display); font-size: 26px; letter-spacing: -0.03em; }
.account-stats span { display: block; margin-top: 2px; color: var(--muted-2); font-size: 11px; }
.account-stats__referrals { text-align: left; color: var(--text); }
.account-stats__referrals:hover { border-color: var(--cyan); background: var(--cyan-soft); }
.account-stats__referrals small { margin-left: 8px; color: var(--cyan); font-size: 11px; }
.account-history__toggle { margin-top: 16px; }
.referral-dialog h3 { font-size: 14px; margin: 22px 0 12px; }
.referral-summary, .referral-tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.referral-summary > div, .referral-tiers > div { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.referral-summary strong { display: block; font-size: 24px; }
.referral-summary span, .referral-tiers span { display: block; font-size: 11px; color: var(--muted); }
.referral-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.referral-tiers strong { display: block; margin-top: 6px; color: var(--green); font-size: 16px; }
.referral-steps { padding-left: 20px; list-style: decimal; color: var(--muted); font-size: 13px; line-height: 1.7; }
.referral-steps li + li { margin-top: 8px; }

.account-referral { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; margin-bottom: 30px; padding: 26px; border: 1px solid rgba(53, 212, 224, .3); border-radius: var(--radius); background: var(--cyan-soft); }
.account-referral__intro h2 { margin: 12px 0 10px; font-size: 23px; line-height: 1.3; }
.account-referral p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.account-referral__intro .text-link { margin-top: 14px; padding: 0; border: 0; background: none; text-align: left; }
.account-referral__content { min-width: 0; }
.account-referral__content > h3 { margin-bottom: 8px; font-size: 18px; }
.account-referral__content > .btn { margin-top: 16px; }
.account-referral__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.account-referral__stats dt { color: var(--muted); font-size: 11px; }
.account-referral__stats dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.account-referral__reward { color: var(--green); }
.account-referral__label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.account-referral__share { display: flex; align-items: center; gap: 10px; }
.account-referral__share .link-box { flex: 1; min-width: 0; margin: 0; }
.account-referral__share > .btn { flex-shrink: 0; }
.account-referral .account-referral__note { margin-top: 10px; font-size: 11px; }
.account-main .account-referral { grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 26px 0 0; }
.account-referral .account-referral__milestone { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-strong); }
.account-referral__milestone strong { color: var(--text); }
.key-card__remaining { color: var(--muted); font-size: 11px; }
.key-card__remaining--soon { color: #fcd38d; }
.key-card.is-expiring { border-color: rgba(252, 211, 141, .4); }
.key-card__notice { margin-bottom: 14px; padding-left: 12px; border-left: 2px solid #fcd38d; color: #fcd38d; font-size: 12px; line-height: 1.6; }
.key-card__info { margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.65; }
@media (max-width: 1000px) {
    .account-referral { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 600px) {
    .account-referral { padding: 20px; gap: 20px; }
    .account-referral__intro h2 { font-size: 21px; }
    .account-referral__stats { gap: 10px; }
    .account-referral__stats dd { font-size: 21px; }
    .account-referral__share { flex-direction: column; align-items: stretch; }
    .account-referral__share .link-box { flex: auto; width: 100%; }
    .key-card__remaining { font-size: 10px; }
}

.account-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
    gap: 22px;
}

.account-main { min-width: 0; }
.account-side { position: sticky; top: 110px; display: grid; gap: 14px; }

.account-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.account-section-head h2 { font-size: 24px; letter-spacing: -0.03em; }
.account-section-head p { margin-top: 4px; color: var(--muted-2); font-size: 12px; }
.account-section-head--history { margin-top: 34px; }

.subscription-list { display: grid; gap: 13px; }

.key-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
    overflow: hidden;
}

.key-card.is-active {
    border-color: rgba(53, 230, 166, 0.24);
    background: linear-gradient(150deg, rgba(53, 230, 166, 0.1), rgba(53, 212, 224, 0.05) 55%, rgba(255, 255, 255, 0.02));
}

.key-card__summary {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto auto 16px;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    list-style: none;
    cursor: pointer;
}
.key-card__summary::-webkit-details-marker { display: none; }
.key-card__summary:focus-visible { outline: 2px solid var(--accent, #35d4e0); outline-offset: -4px; }
.key-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(53, 212, 224, 0.1); font-size: 19px; }
.key-card__identity { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.key-card__identity strong { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.key-card__identity small { color: var(--muted-2); font-size: 11px; }
.key-card__expiry { font-size: 12px; font-weight: 600; white-space: nowrap; }
.key-card__metrics { display: grid; gap: 4px; text-align: right; }
.key-card__traffic { color: var(--muted); font-size: 11px; font-weight: 400; }
.key-card__chevron { display: grid; place-items: center; width: 16px; height: 16px; color: var(--muted); transform-origin: center; transition: transform .2s ease; }
.key-card__chevron svg { display: block; width: 16px; height: 16px; }
.key-card[open] .key-card__chevron { transform: rotate(180deg); }
.key-card__details { padding: 18px 20px 20px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.key-card__hint { margin: 0; color: var(--muted); font-size: 12px; }
.key-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
body.renewal-open { overflow: hidden; }
.renew-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 28px; border: 1px solid var(--line-strong); border-radius: 24px; background: linear-gradient(145deg, #14252e, #121322 65%); color: var(--text); box-shadow: var(--shadow-lg); overflow-y: auto; }
.renew-dialog::backdrop { background: rgba(2, 4, 12, .78); backdrop-filter: blur(6px); }
.renew-dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.renew-dialog__head h2 { margin-top: 12px; font-size: 25px; }
.renew-dialog__close { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 9px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--muted); }
.renew-dialog__close:hover { color: var(--text); background: var(--surface-strong); }
.renew-dialog__description { margin: 18px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.renew-dialog__plans { display: grid; gap: 10px; }
.renew-dialog__plans legend { margin-bottom: 12px; font-size: 13px; font-weight: 600; }
.renew-option { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); cursor: pointer; }
.renew-option:has(input:checked) { border-color: var(--cyan); background: var(--cyan-soft); }
.renew-option:focus-within { outline: 2px solid var(--cyan); outline-offset: 3px; }
.renew-option input { flex: none; width: 17px; height: 17px; margin: 0; accent-color: var(--cyan); }
.renew-option__body { display: grid; flex: 1; gap: 7px; min-width: 0; }
.renew-option__line { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; font-size: 15px; }
.renew-option__meta { color: var(--muted); font-size: 11px; }
.renew-option__discount { color: var(--green); }
.renew-dialog__note { margin: 20px 0 16px; color: var(--muted); font-size: 12px; }
@media (max-width: 600px) {
    .renew-dialog { padding: 20px; border-radius: 20px; }
    .renew-dialog__head h2 { font-size: 21px; }
    .renew-option { padding: 14px 12px; }
}

.account-link { margin-top: 12px; }
.account-history__source { display: block; margin-top: 4px; color: var(--muted-2); font-size: 11px; }
.order-details { max-width: 760px; margin: 24px auto 0; }
.order-details h1 { margin: 12px 0 18px; }
.order-details__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 22px 28px; margin: 24px 0; padding-top: 24px; border-top: 1px solid var(--line); }
.order-details__fields dt { color: var(--muted); font-size: 12px; }
.order-details__fields dd { margin: 6px 0 0; font-weight: 600; overflow-wrap: anywhere; }

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-pill--ok { border-color: rgba(53, 230, 166, 0.25); background: rgba(53, 230, 166, 0.1); color: #7ef0c4; }
.status-pill--wait { border-color: rgba(251, 191, 36, 0.25); background: rgba(251, 191, 36, 0.1); color: #fcd34d; }
.status-pill--bad { border-color: rgba(248, 113, 113, 0.25); background: rgba(248, 113, 113, 0.1); color: #fca5a5; }
.status-pill--muted { background: rgba(255, 255, 255, 0.04); color: var(--muted); }

.account-empty {
    padding: 40px 24px;
    border: 1px dashed var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.018);
    text-align: center;
}

.account-empty__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border: 1px solid rgba(53, 212, 224, 0.18);
    border-radius: 50%;
    background: rgba(53, 212, 224, 0.08);
    color: #7ee8ef;
}

.account-empty__icon svg { width: 26px; height: 26px; }
.account-empty h3 { font-size: 20px; }
.account-empty p { margin: 8px 0 18px; color: var(--muted); font-size: 13px; }

.table-wrap { overflow: auto; }

.account-history {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
}

.account-history table { width: 100%; min-width: 560px; border-collapse: collapse; }
.account-history th,
.account-history td { padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 12px; text-align: left; }
.account-history th { color: var(--muted-2); font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.account-history tr:last-child td { border-bottom: 0; }
.account-history .text-link { font-size: 11px; white-space: nowrap; }

.account-login-card { padding: 22px; }

.linked-row { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.linked-row:last-of-type { border-bottom: 0; }

.linked-row__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.linked-row__icon svg { width: 18px; height: 18px; }
.linked-row__icon--google { background: #fff; border-color: #fff; }
.linked-row__icon--tg { border-color: rgba(53, 212, 224, 0.18); background: rgba(53, 212, 224, 0.08); color: #67e8f9; }

.linked-row > div { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.linked-row strong { font-size: 13px; }
.linked-row small { overflow: hidden; color: var(--muted-2); font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.linked-row .text-link { font-size: 11px; }

.telegram-link-box {
    margin-top: 12px;
    padding: 14px;
    border: 1px dashed rgba(53, 212, 224, 0.22);
    border-radius: 14px;
    background: rgba(53, 212, 224, 0.04);
}

.telegram-link-box p { color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.telegram-link-box__note { margin-top: 8px; color: var(--muted-2) !important; font-size: 9.5px !important; text-align: center; }

.account-security {
    display: flex;
    gap: 7px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--muted-2);
    font-size: 10px;
    line-height: 1.55;
}

.account-security svg { width: 14px; height: 14px; flex: none; color: var(--green); }

/* checkout account state */

.account-note { display: flex; align-items: center; gap: 12px; }

.account-note__avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    overflow: hidden;
    border-radius: 11px;
    background: linear-gradient(135deg, #4ce3ea, #8f7dff 60%, #c084fc);
    color: #05060f;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
}

.account-note__avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-note__text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.account-note__text strong { font-size: 13px; }
.account-note__text small { color: var(--muted-2); font-size: 11px; line-height: 1.5; }
.account-note .text-link { font-size: 11.5px; white-space: nowrap; }

.auth-hint { margin-top: 14px; color: var(--muted-2); font-size: 11.5px; line-height: 1.5; }
.auth-hint a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

.check-links { display: flex; flex-wrap: wrap; gap: 5px; margin: -8px 0 16px; color: var(--muted-2); font-size: 10.5px; }
.check-links a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

.order-account-note {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px !important;
    color: var(--muted) !important;
    font-size: 12px !important;
}

.order-account-note svg { width: 15px; height: 15px; color: var(--green); }
.order-account-note a { color: var(--cyan); font-weight: 600; }

/* ---------- legal ---------- */

.legal-page { position: relative; z-index: 1; padding: 140px 0 90px; }
.legal-shell { max-width: 860px; }

.legal-head h1 { margin: 18px 0 12px; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.04; letter-spacing: -0.04em; }
.legal-head p { color: var(--muted); font-size: 15px; line-height: 1.6; }

.legal-updated {
    display: inline-block;
    margin-top: 14px;
    color: var(--muted-2);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.legal-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    width: max-content;
    max-width: 100%;
    margin: 28px 0 26px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.legal-switch a { padding: 9px 14px; border: 1px solid transparent; border-radius: 10px; color: var(--muted); font-size: 12px; font-weight: 500; }
.legal-switch a.is-active { border-color: rgba(53, 212, 224, 0.2); background: rgba(53, 212, 224, 0.09); color: var(--text); }

.legal-content { color: #c6cce5; font-size: 14px; line-height: 1.8; }
.legal-content h2 { margin: 32px 0 12px; font-size: 24px; letter-spacing: -0.03em; color: var(--text); }
.legal-content h3 { margin: 24px 0 10px; font-size: 18px; letter-spacing: -0.02em; color: var(--text); }
.legal-content p { margin: 0 0 14px; }
.legal-content ul { margin: 0 0 16px; padding-left: 20px; list-style: disc; }
.legal-content li { margin-bottom: 6px; }

.legal-note a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.legal-note { margin-top: 26px; color: var(--muted-2); font-size: 12px; line-height: 1.7; }

@media (max-width: 1080px) {
    .auth-layout { gap: 36px; }
    .account-grid { grid-template-columns: minmax(0, 1fr); }
    .account-side { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 940px) {
    .nav__login { display: none; }
    .auth-layout { grid-template-columns: 1fr; max-width: 560px; }
    .auth-art__list { display: none; }
    .account-head { align-items: flex-start; }
    .account-head__actions { width: 100%; }
    .account-head__actions .btn { flex: 1; }
}

@media (max-width: 680px) {
    .auth-page,
    .account-page,
    .legal-page { padding-top: 118px; padding-bottom: 60px; }

    .auth-card { padding: 22px; border-radius: 22px; }
    .auth-card h2 { font-size: 26px; }
    .auth-art h1 { font-size: 38px; }

    .account-identity { gap: 13px; }
    .account-avatar { width: 60px; height: 60px; border-radius: 17px; font-size: 20px; }
    .account-identity h1 { font-size: 28px; }
    .account-sub { font-size: 11px; }

    .account-stats { grid-template-columns: 1fr; gap: 8px; }
    .account-stats > div, .account-stats__referrals { display: flex; align-items: baseline; gap: 8px; padding: 13px 16px; }
    .account-stats strong { font-size: 21px; }
    .account-stats span { margin: 0; }

    .account-side { grid-template-columns: 1fr; }
    .key-card__summary { grid-template-columns: 32px minmax(0, 1fr) auto 12px; gap: 6px 8px; padding: 14px; }
    .key-card__icon { grid-row: 1 / 3; }
    .key-card__icon { width: 32px; height: 32px; font-size: 16px; }
    .key-card__identity { grid-column: 2; grid-row: 1; }
    .key-card__identity strong { font-size: 15px; }
    .key-card__metrics { grid-column: 2 / -1; grid-row: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; text-align: left; }
    .key-card__expiry { color: var(--muted); }
    .key-card__summary .status-pill { grid-column: 3; grid-row: 1; }
    .key-card__chevron { grid-column: 4; grid-row: 1; justify-self: end; }
    .key-card__details { padding: 14px; }
    .key-card__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 12px; }
    .key-card__actions > .btn { width: 100%; min-height: 44px; white-space: normal; text-align: center; }
    .key-card__details .account-link { margin-top: 10px; padding: 6px; gap: 4px; }
    .key-card__info { margin-top: 10px; }
    .account-section-head h2 { font-size: 21px; }

    .legal-content { font-size: 13px; }
    .legal-content h2 { font-size: 21px; }
    .legal-content h3 { font-size: 17px; }
}

@media (max-width: 1080px) {
    .hero__grid { gap: 28px; }
    .hero__visual { min-height: 500px; transform: scale(0.94); }
    .float-chip--play { right: -1%; }
    .float-chip--code { left: -3%; }
    .servers { gap: 40px; }
    .faq { gap: 40px; }
}

@media (max-width: 940px) {
    .nav__links { display: none; }
    .nav__burger { display: block; }

    .hero { padding-top: 130px; }
    .hero__grid { grid-template-columns: 1fr; gap: 44px; }
    .hero__copy { max-width: 640px; }
    .hero__visual { min-height: 0; padding: 20px 0 30px; transform: none; }
    .orbit { display: none; }
    .app-card { width: min(400px, 100%); }
    .float-chip--play { top: 0; right: 2%; }
    .float-chip--code { display: none; }

    .strip__grid { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
    .strip__item { padding: 0 22px; }
    .strip__item:nth-child(3) { border-left: 0; padding-left: 0; }

    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento__item--wide { grid-column: span 2; }
    .bento__item--support { grid-column: span 2; }

    .servers { grid-template-columns: 1fr; gap: 34px; }
    .faq { grid-template-columns: 1fr; gap: 30px; }

    .checkout-grid { grid-template-columns: 1fr; max-width: 640px; }
    .summary { position: static; }

    .order-layout { grid-template-columns: 1fr; max-width: 680px; }
    .order-side { position: static; grid-template-columns: 220px 1fr; align-items: start; }
    .qr-card img { max-width: 188px; }
}

@media (max-width: 680px) {
    .container { padding: 0 20px; }
    .section { padding: 82px 0; }
    .section--tight { padding: 56px 0; }

    .hero { padding: 118px 0 56px; }
    .hero__title { font-size: clamp(42px, 12vw, 58px); }
    .hero__lead { font-size: 15.5px; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { width: 100%; }
    .hero__trust { flex-direction: column; gap: 9px; }
    .hero__visual { padding: 14px 0 22px; }
    .float-chip { display: none; }
    .float-chip--play { right: 0; }
    .float-chip--code { left: 0; }

    .strip__item strong { font-size: 23px; }
    .strip__item span { font-size: 11px; }

    .bento { grid-template-columns: 1fr; }
    .bento__item--wide,
    .bento__item--support { grid-column: span 1; }
    .bento__item { padding: 24px; }
    .speed-chart { position: static; width: 100%; height: 64px; margin-top: 20px; }
    .bento__item--support { flex-direction: column; align-items: flex-start; gap: 20px; }
    .bento__item__text { align-items: flex-start; }
    .bento__item--support .btn { width: 100%; }

    .steps { grid-template-columns: 1fr; }

    .server-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .server-card { padding: 17px; }
    .server-card h3 { font-size: 15px; }
    .server-card p { font-size: 10.5px; }
    .server-card__flag .flag-icon { width: 26px; height: 17px; }

    .pricing { grid-template-columns: 1fr; }
    .price-card { padding: 26px; }

    .faq__item { padding: 0 16px; }
    .faq__item summary { padding: 16px 0; font-size: 13.5px; }

    .cta { padding-bottom: 82px; }
    .cta__panel { padding: 48px 22px; border-radius: 26px; }
    .cta__actions { flex-direction: column; }
    .cta__actions .btn { width: 100%; }

    .footer { padding-top: 44px; }
    .footer__top { flex-direction: column; gap: 30px; }
    .footer__links { gap: 44px; flex-wrap: wrap; }
    .footer__bottom { flex-direction: column; align-items: flex-start; margin-top: 34px; }

    .flow-main { padding: 38px 0 60px; }
    .flow-nav__secure { display: none; }
    .flow-nav { padding: 14px 0; }
    .flow-head { margin-bottom: 24px; }
    .panel { padding: 19px; border-radius: 19px; }
    .plan-picker { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
    .summary__card { padding: 21px; border-radius: 20px; }
    .summary__amount { font-size: 40px; }

    .order-hero { padding: 22px; }
    .order-meta { gap: 12px 20px; }
    .order-side { grid-template-columns: 1fr; }
    .qr-card { max-width: 280px; margin: 0 auto; }
    .link-box { flex-direction: column; align-items: stretch; }
    .link-box input { width: 100%; padding: 8px; }
    .link-box .btn { width: 100%; }
    .order-state { margin-top: 18px; padding: 8px 0; }
    .status-orb { width: 84px; height: 84px; }
    .notice { text-align: left; }
}

@media (max-width: 430px) {
    .nav__tg { display: none; }
    .brand__name { font-size: 17px; }
    .nav .btn--sm { padding: 9px 13px; font-size: 12px; }
    .plan-picker { grid-template-columns: 1fr; }
    .server-cards { grid-template-columns: 1fr; }
}

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

    .reveal { opacity: 1; transform: none; }
    .scene__glow { animation: none; }
    .app-card,
    .float-chip { animation: none; }
}
