:root {
  color-scheme: dark;
  --bg: #080b15;
  --ink: #f1f8f6;
  --muted: #8b9a9c;
  --muted-2: #657476;
  --mint: #9bd6ff;
  --mint-strong: #718cff;
  --blue: #8eafff;
  --violet: #bb9aff;
  --amber: #ffce83;
  --rose: #ff90b1;
  --line: rgba(222, 255, 249, .105);
  --glass: rgba(18, 31, 34, .58);
  --glass-strong: rgba(20, 36, 38, .76);
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Manrope", var(--font);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding: 0 0 calc(112px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 7% -5%, rgba(50, 207, 184, .15), transparent 36%),
    radial-gradient(ellipse at 104% 28%, rgba(112, 123, 255, .12), transparent 31%),
    radial-gradient(ellipse at 41% 106%, rgba(28, 125, 114, .11), transparent 38%),
    linear-gradient(160deg, #091316 0%, #080e11 48%, #080c10 100%);
  color: var(--ink);
  font: 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
::selection { color: #061012; background: var(--mint); }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.ambient { position: fixed; z-index: -1; width: 340px; height: 340px; border-radius: 50%; opacity: .2; filter: blur(125px); pointer-events: none; }
.ambient-a { top: 10%; left: -250px; background: #39d9bf; }
.ambient-b { top: 49%; right: -260px; background: #8276ff; }
.ambient-c { bottom: -290px; left: 38%; background: #287f80; }
.app-shell { width: min(1060px, 100%); margin: 0 auto; padding: 0 34px; }
.glass {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025) 43%, rgba(255, 255, 255, .035));
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  backdrop-filter: blur(26px) saturate(160%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(118deg, rgba(255,255,255,.075), transparent 24%, transparent 68%, rgba(145,242,220,.045)); pointer-events: none; }
.hidden { display: none !important; }
.topbar { z-index: 10; display: flex; align-items: center; justify-content: space-between; height: 76px; margin-top: 20px; padding: 0 20px 0 8px; border-radius: 21px; background: rgba(9, 20, 22, .58); }
.brand { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(145,242,220,.56); border-radius: 14px; background: linear-gradient(145deg, rgba(145,242,220,.2), rgba(145,242,220,.055)); box-shadow: 0 0 24px rgba(69,217,189,.14), inset 0 1px 0 rgba(255,255,255,.24); color: var(--mint); font: 800 20px var(--display); }
.brand-name { color: var(--ink); font: 800 16px var(--display); letter-spacing: .13em; }
.brand-name span { margin-left: 5px; color: var(--mint); font: 700 10px var(--font); letter-spacing: .2em; vertical-align: 2px; }
.topbar-right { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; }
.secure-label { display: flex; align-items: center; gap: 8px; color: #a8b9b8; font-size: 10px; letter-spacing: .12em; }
.secure-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint-strong); box-shadow: 0 0 12px rgba(69,217,189,.75); }
.round-button { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: rgba(236,255,250,.055); color: #c0d2d0; transition: border-color .2s, background .2s, color .2s, transform .2s; cursor: pointer; }
.round-button svg { width: 18px; height: 18px; }
.round-button:hover { transform: translateY(-1px); border-color: rgba(145,242,220,.36); background: rgba(145,242,220,.09); color: var(--mint); }
.is-spinning svg { animation: spin .8s linear infinite; }
.loading-state { display: grid; min-height: 260px; margin: 55px auto; place-items: center; align-content: center; gap: 17px; border-radius: 28px; color: var(--muted); }
.loading-state p { margin: 0; font-size: 14px; }
.loading-orbit { position: relative; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(145,242,220,.17); border-radius: 50%; animation: orbit 1.5s ease-in-out infinite; }
.loading-orbit::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(145,242,220,.12); border-radius: 50%; }
.loading-orbit i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 16px var(--mint); }
.auth-screen, .error-screen { display: flex; max-width: 560px; min-height: 490px; margin: 56px auto 0; padding: 46px clamp(26px, 7vw, 68px); flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; border-radius: 32px; }
.auth-screen::after { position: absolute; top: -150px; right: -130px; width: 350px; height: 350px; border: 1px solid rgba(145,242,220,.1); border-radius: 50%; box-shadow: 0 0 0 34px rgba(145,242,220,.018), 0 0 0 78px rgba(145,242,220,.014), 0 0 0 128px rgba(145,242,220,.01); content: ""; pointer-events: none; }
.auth-art { position: relative; display: grid; width: 74px; height: 74px; margin-bottom: 28px; place-items: center; }
.auth-ring { position: absolute; inset: 0; border: 1px solid rgba(145,242,220,.37); border-radius: 50%; box-shadow: 0 0 25px rgba(69,217,189,.1), inset 0 0 20px rgba(69,217,189,.07); animation: breathe 4s ease-in-out infinite; }
.auth-core { z-index: 1; display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(145,242,220,.3); border-radius: 18px; background: linear-gradient(145deg, rgba(145,242,220,.18), rgba(71,175,164,.07)); color: var(--mint); }
.auth-core svg { width: 26px; height: 26px; }
.eyebrow { color: #91aaa7; font-size: 10px; font-weight: 700; letter-spacing: .19em; }
.auth-screen h1 { position: relative; z-index: 1; margin: 12px 0 10px; font: 800 clamp(30px, 6vw, 42px)/1.15 var(--display); letter-spacing: -.055em; }
.auth-screen h1 span { color: var(--mint); }
.auth-screen > p { max-width: 370px; margin: 7px 0 24px; color: #a4b3b4; font-size: 15px; line-height: 1.75; }
.button { position: relative; z-index: 1; display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 14px; padding: 0 17px; font-size: 13px; font-weight: 700; text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s, background .2s; cursor: pointer; }
.button svg { width: 17px; height: 17px; }
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: .48; cursor: not-allowed; transform: none; }
.button-primary { border-color: rgba(190,255,244,.56); background: linear-gradient(115deg, #a4f4e3, #70ddc9 66%, #9deed9); box-shadow: 0 9px 25px rgba(69,217,189,.16), inset 0 1px 0 rgba(255,255,255,.66); color: #09211e; }
.button-primary:hover { box-shadow: 0 12px 32px rgba(69,217,189,.24), inset 0 1px 0 rgba(255,255,255,.66); }
.button-secondary, .button-glass { border-color: var(--line); background: rgba(236,255,250,.055); color: var(--ink); }
.auth-button { min-width: 240px; min-height: 52px; }
.text-link, .inline-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; border: 0; background: none; color: #a6bcba; font-size: 13px; cursor: pointer; }
.text-link svg, .inline-link svg { width: 14px; height: 14px; }
.text-link:hover, .inline-link:hover { color: var(--mint); }
.error-screen { min-height: 330px; align-items: center; text-align: center; }
.error-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,144,177,.32); border-radius: 17px; background: rgba(255,144,177,.09); color: var(--rose); font-size: 25px; }
.error-screen h1 { margin: 17px 0 3px; font: 700 23px var(--display); }
.error-screen p { max-width: 400px; margin: 8px 0 22px; color: var(--muted); }

.welcome-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 38px 4px 26px; }
.welcome-row h1, .page-heading h1 { margin: 7px 0 4px; font: 800 clamp(27px, 4vw, 36px)/1.2 var(--display); letter-spacing: -.055em; }
.welcome-row p, .page-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.accent-dot { color: var(--mint); }
.avatar-wrap { position: relative; flex: 0 0 auto; padding: 5px; border: 1px solid rgba(145,242,220,.28); border-radius: 19px; background: linear-gradient(145deg, rgba(145,242,220,.12), rgba(139,189,255,.07)); box-shadow: 0 8px 27px rgba(0,0,0,.14); }
.avatar { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 15px; background: linear-gradient(145deg, #183a39, #17232b); color: var(--mint); font: 800 20px var(--display); }
.avatar img, .profile-avatar img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.avatar-wrap i { position: absolute; right: 2px; bottom: 2px; width: 11px; height: 11px; border: 2px solid #0a1416; border-radius: 50%; background: var(--mint-strong); }
.connection-card { position: relative; min-height: 300px; padding: 25px 29px 21px; overflow: hidden; border-color: rgba(145,242,220,.22); border-radius: 28px; background: linear-gradient(135deg, rgba(28,66,62,.72), rgba(17,34,37,.76) 48%, rgba(23,27,46,.67)); }
.connection-card::after { position: absolute; inset: 1px; border-radius: 27px; background: linear-gradient(130deg, rgba(255,255,255,.06), transparent 31%, transparent 72%, rgba(130,153,255,.07)); content: ""; pointer-events: none; }
.card-glow { position: absolute; top: -145px; right: 4%; width: 390px; height: 390px; border: 1px solid rgba(145,242,220,.2); border-radius: 50%; box-shadow: 0 0 0 28px rgba(145,242,220,.025), 0 0 0 63px rgba(145,242,220,.02), 0 0 0 105px rgba(145,242,220,.016); }
.connection-grid { position: absolute; right: 0; bottom: 0; width: 52%; height: 68%; opacity: .12; background-image: linear-gradient(rgba(188,255,244,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(188,255,244,.12) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(110deg, transparent, black); }
.connection-top, .connection-main, .connection-bottom, .hero-link { position: relative; z-index: 1; }
.connection-top { display: flex; align-items: center; justify-content: space-between; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(145,242,220,.19); border-radius: 999px; padding: 7px 11px; background: rgba(145,242,220,.07); color: var(--mint); font-size: 9px; font-weight: 800; letter-spacing: .11em; }
.status-pill i, .subscription-status i, .order-state i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--mint-strong); box-shadow: 0 0 10px rgba(69,217,189,.72); }
.status-pill.is-off { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.045); color: #9ca9aa; }
.status-pill.is-off i { background: #849191; box-shadow: none; }
.connection-main { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 150px; }
.connection-main h2 { margin: 0; font: 800 clamp(25px, 4vw, 36px)/1.2 var(--display); letter-spacing: -.06em; }
.connection-main p { margin: 10px 0 0; color: #afbfbe; font-size: 14px; }
.shield-orb { position: relative; display: grid; width: 100px; height: 100px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(145,242,220,.55); border-radius: 50%; background: radial-gradient(circle at 34% 25%, rgba(169,255,240,.24), rgba(69,217,189,.07) 53%, rgba(95,112,174,.11)); box-shadow: 0 0 40px rgba(69,217,189,.18), inset 0 0 30px rgba(145,242,220,.1); color: var(--mint); animation: float 6s ease-in-out infinite; }
.shield-orb::before, .shield-orb::after { position: absolute; inset: -11px; border: 1px solid rgba(145,242,220,.15); border-radius: 50%; content: ""; }
.shield-orb::after { inset: -21px; border-color: rgba(145,242,220,.075); }
.shield-orb svg { width: 43px; height: 43px; stroke-width: 1.4; filter: drop-shadow(0 0 14px rgba(145,242,220,.6)); }
.shield-orb span { position: absolute; top: 16px; right: 18px; width: 7px; height: 7px; border-radius: 50%; background: #e3fff7; box-shadow: 0 0 12px #e3fff7; }
.shield-orb.is-off { border-color: rgba(255,255,255,.16); color: #849391; box-shadow: inset 0 0 24px rgba(255,255,255,.025); animation: none; }
.shield-orb.is-off svg { filter: none; }
.shield-orb.is-off span { display: none; }
.connection-bottom { display: flex; align-items: center; gap: 23px; border-top: 1px solid rgba(255,255,255,.11); padding-top: 17px; }
.connection-bottom > div:not(.connection-divider) { display: grid; gap: 3px; }
.micro-label { color: #91aaa7; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.connection-bottom strong { font: 700 14px var(--display); }
.connection-divider { width: 1px; height: 32px; background: rgba(255,255,255,.12); }
.hero-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 17px; border: 0; background: none; color: var(--mint); font-size: 12px; font-weight: 700; cursor: pointer; }
.hero-link svg { width: 14px; height: 14px; }
.overview-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; margin-top: 16px; }
.overview-card { display: grid; min-height: 159px; grid-template-columns: 42px 1fr; align-content: center; align-items: center; column-gap: 12px; padding: 19px; border-radius: 22px; }
.overview-icon, .quick-icon, .help-row-icon { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; }
.overview-icon svg, .quick-icon svg, .help-row-icon svg { width: 19px; height: 19px; }
.mint { background: rgba(90,226,193,.1); color: var(--mint); }
.violet { background: rgba(176,142,255,.12); color: var(--violet); }
.blue { background: rgba(126,173,255,.12); color: var(--blue); }
.amber { background: rgba(255,206,131,.11); color: var(--amber); }
.overview-label { color: #aebbb9; font-size: 12px; }
.overview-card strong { grid-column: 1 / -1; margin-top: 11px; font: 800 25px var(--display); letter-spacing: -.04em; }
.overview-caption { grid-column: 1 / -1; margin-top: 3px; color: var(--muted); font-size: 11px; }
.content-block { margin-top: 38px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.section-heading h2 { margin: 5px 0 0; font: 800 21px var(--display); letter-spacing: -.04em; }
.section-heading .inline-link { margin: 0; }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
.quick-card { display: flex; min-height: 83px; align-items: center; gap: 13px; padding: 15px; border-radius: 18px; text-align: left; transition: transform .2s, border-color .2s, background .2s; cursor: pointer; }
.quick-card:hover, .help-row:hover { transform: translateY(-2px); border-color: rgba(145,242,220,.22); background-color: rgba(145,242,220,.035); }
.quick-card:disabled { opacity: .58; cursor: not-allowed; transform: none; }
.quick-card > span:nth-child(2) { display: grid; min-width: 0; gap: 3px; }
.quick-card strong { font-size: 13px; }
.quick-card small { color: var(--muted); font-size: 11px; }
.quick-arrow { width: 16px; height: 16px; margin-left: auto; color: #758a89; }
.quick-icon { flex: 0 0 auto; }
.mini-subscription-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.subscription-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.subscription-card { min-width: 0; padding: 19px; overflow: hidden; border-radius: 22px; }
.subscription-card::after { position: absolute; top: -72px; right: -88px; width: 190px; height: 190px; border: 1px solid rgba(145,242,220,.11); border-radius: 50%; box-shadow: 0 0 0 20px rgba(145,242,220,.016), 0 0 0 44px rgba(145,242,220,.012); content: ""; pointer-events: none; }
.subscription-card-top, .subscription-title-row, .subscription-meta, .subscription-actions { position: relative; z-index: 1; }
.subscription-card-top { display: flex; align-items: center; justify-content: space-between; }
.subscription-symbol { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid rgba(145,242,220,.16); border-radius: 13px; background: rgba(145,242,220,.08); color: var(--mint); }
.subscription-symbol svg { width: 19px; height: 19px; }
.subscription-status { display: inline-flex; align-items: center; gap: 7px; color: #a5b3b0; font-size: 9px; font-weight: 800; letter-spacing: .11em; }
.subscription-status i { width: 6px; height: 6px; }
.subscription-status.is-ended { color: #84908f; }
.subscription-status.is-ended i { background: #788584; box-shadow: none; }
.subscription-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 17px; }
.subscription-title-row h3 { margin: 0; overflow-wrap: anywhere; font: 700 16px var(--display); }
.subscription-title-row p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.subscription-chevron { width: 17px; height: 17px; flex: 0 0 auto; color: #6f8280; }
.usage-row { position: relative; z-index: 1; margin-top: 15px; }
.usage-row > div:first-child, .term-progress-label { display: flex; align-items: center; justify-content: space-between; gap: 9px; color: var(--muted); font-size: 10px; }
.usage-row strong, .term-progress-label strong { color: #c6d6d3; font-size: 10px; font-weight: 700; }
.usage-meter { height: 4px; margin-top: 7px; overflow: hidden; border-radius: 5px; background: rgba(255,255,255,.08); }
.usage-meter span { display: block; width: var(--used, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8fbdff, #bda3ff); box-shadow: 0 0 10px rgba(153,162,255,.35); transition: width .65s cubic-bezier(.2,.7,.25,1); }
.usage-unavailable { position: relative; z-index: 1; margin-top: 12px; color: #7e9290; font-size: 10px; }
.term-progress-label { position: relative; z-index: 1; margin-top: 15px; }
.subscription-progress { height: 3px; margin-top: 16px; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.09); }
.term-progress-label + .subscription-progress { margin-top: 7px; }
.subscription-progress span { display: block; width: var(--remaining, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint-strong), rgba(145,242,220,.35)); box-shadow: 0 0 9px rgba(69,217,189,.42); transition: width .65s cubic-bezier(.2,.7,.25,1); }
.subscription-progress .is-ended { width: 100%; background: rgba(134,149,147,.25); box-shadow: none; }
.subscription-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; color: var(--muted); font-size: 10px; }
.subscription-meta span:last-child { white-space: nowrap; }
.subscription-actions { display: flex; gap: 8px; margin-top: 17px; }
.subscription-actions .button { min-height: 39px; padding: 0 11px; font-size: 11px; }
.subscription-actions .button svg { width: 15px; height: 15px; }
.subscription-actions .button-primary { flex: 1; }
.subscription-card-compact { padding: 15px; }
.subscription-card-compact .subscription-title-row h3 { font-size: 14px; }
.subscription-card-compact .subscription-actions { display: none; }
.subscription-card-compact .subscription-progress { margin-top: 12px; }
.subscription-card-compact .term-progress-label { margin-top: 10px; }
.subscription-card-compact .usage-row { margin-top: 10px; }
.empty-state { display: flex; min-height: 250px; align-items: center; justify-content: center; flex-direction: column; padding: 27px; border-radius: 24px; text-align: center; }
.empty-orb { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(145,242,220,.2); border-radius: 18px; background: rgba(145,242,220,.07); color: var(--mint); }
.empty-orb svg { width: 24px; height: 24px; }
.empty-state strong { margin-top: 13px; font: 700 17px var(--display); }
.empty-state p { max-width: 370px; margin: 6px 0 17px; color: var(--muted); font-size: 13px; }
.empty-state .button { min-height: 40px; }
.empty-inline { padding: 20px; border: 1px dashed rgba(255,255,255,.12); border-radius: 17px; color: var(--muted); font-size: 13px; text-align: center; }
.page-heading { padding: 40px 4px 25px; }
.page-heading h1 { margin: 8px 0 6px; }
.page-heading p { max-width: 580px; line-height: 1.65; }
.vpn-summary { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 17px; border-radius: 20px; }
.summary-symbol { display: grid; width: 43px; height: 43px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(145,242,220,.17); border-radius: 15px; background: rgba(145,242,220,.08); color: var(--mint); }
.summary-symbol svg { width: 21px; height: 21px; }
.vpn-summary > div { min-width: 0; }
.vpn-summary strong { font: 700 14px var(--display); }
.vpn-summary p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.count-chip { display: grid; width: 35px; height: 35px; margin-left: auto; place-items: center; border: 1px solid rgba(145,242,220,.16); border-radius: 12px; background: rgba(145,242,220,.075); color: var(--mint); font: 700 13px var(--display); }
.install-help { display: flex; align-items: flex-start; gap: 14px; margin-top: 18px; padding: 18px; border-radius: 20px; }
.help-icon { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(139,189,255,.14); border-radius: 13px; background: rgba(139,189,255,.08); color: var(--blue); }
.help-icon svg { width: 19px; height: 19px; }
.install-help strong { font-size: 13px; }
.install-help p { margin: 4px 0 8px; color: var(--muted); font-size: 12px; }
.install-help a { display: inline-flex; align-items: center; gap: 5px; color: var(--mint); font-size: 12px; font-weight: 700; }
.install-help a svg { width: 14px; height: 14px; }
.payment-note { display: flex; align-items: center; gap: 12px; margin: 0 0 17px; padding: 14px 16px; border-radius: 17px; color: #aebdbb; font-size: 12px; }
.payment-note-icon { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(145,242,220,.15); border-radius: 11px; background: rgba(145,242,220,.07); color: var(--mint); }
.payment-note-icon svg { width: 16px; height: 16px; }
.plan-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.plan-card { padding: 20px; overflow: hidden; border-radius: 22px; cursor: pointer; }
.plan-card[aria-pressed="true"] { border-color: rgba(116,229,255,.72); background: linear-gradient(145deg, rgba(26,69,82,.72), rgba(20,32,51,.88)); box-shadow: 0 0 0 2px rgba(107,226,248,.12), 0 18px 50px rgba(43,177,211,.12); }
.plan-featured { border-color: rgba(145,242,220,.35); background: linear-gradient(143deg, rgba(35,73,68,.68), rgba(19,36,39,.77) 58%, rgba(31,36,57,.72)); box-shadow: 0 22px 65px rgba(69,217,189,.075), inset 0 1px 0 rgba(255,255,255,.11); }
.plan-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-period { color: #a6b6b3; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.best-value { display: inline-flex; align-items: center; gap: 5px; color: var(--mint); font-size: 9px; font-weight: 700; }
.best-value svg { width: 13px; height: 13px; }
.plan-price { margin-top: 17px; font: 800 36px/1 var(--display); letter-spacing: -.06em; }
.plan-price span { color: var(--mint); font-size: 17px; }
.plan-period-detail { margin-top: 7px; color: var(--muted); font-size: 12px; }
.plan-divider { height: 1px; margin: 17px 0 13px; background: rgba(255,255,255,.09); }
.plan-pay-label { margin-bottom: 9px; color: #94a5a3; font-size: 10px; font-weight: 700; letter-spacing: .07em; }
.plan-payments { display: grid; gap: 7px; }
.payment-unavailable { border: 1px solid rgba(255,255,255,.07); border-radius: 13px; padding: 12px; background: rgba(255,255,255,.025); color: var(--muted); font-size: 11px; line-height: 1.5; }
.pay-option { display: flex; min-height: 43px; align-items: center; justify-content: space-between; gap: 9px; border: 1px solid rgba(255,255,255,.09); border-radius: 13px; padding: 0 12px; background: rgba(255,255,255,.035); color: #d6e0de; font-size: 12px; cursor: pointer; transition: border-color .18s, background .18s, transform .18s; }
.pay-option:hover { transform: translateY(-1px); border-color: rgba(145,242,220,.3); background: rgba(145,242,220,.07); }
.purchase-sheet { position: fixed; z-index: 30; right: 50%; bottom: calc(94px + env(safe-area-inset-bottom)); width: min(600px, calc(100% - 28px)); max-height: min(48vh, 390px); padding: 17px; transform: translateX(50%); overflow-y: auto; border-color: rgba(116,224,245,.23); border-radius: 22px; background: rgba(10,20,31,.96); box-shadow: 0 22px 75px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.08); -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px); }
.purchase-sheet-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.purchase-sheet-top > div { min-width: 0; }
.purchase-sheet-title { display: block; font: 750 15px var(--display); }
.purchase-sheet-detail { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.purchase-sheet-close { width: 31px; height: 31px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(255,255,255,.05); color: #c4d1d0; font-size: 19px; cursor: pointer; }
.purchase-sheet-payments { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-top: 14px; }
.purchase-sheet-payments .pay-option { min-height: 47px; padding: 0 10px; }
.plan-card:focus-visible, .purchase-sheet button:focus-visible { outline: 2px solid #74e5ff; outline-offset: 3px; }
.subscription-actions { flex-wrap: wrap; }
.subscription-card-compact .subscription-actions { display: flex; }
.subscription-actions .button-addon { flex: 1 0 100%; border-color: rgba(116,224,245,.22); color: #a9edff; }
.pay-option b { color: var(--ink); font-size: 12px; }
.pay-stars b { color: #ffda83; }
.fine-print { margin: 14px 3px 0; color: #738482; font-size: 11px; line-height: 1.65; }
.orders-shortcut { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding: 19px; border-radius: 20px; }
.orders-shortcut > div { display: grid; gap: 4px; }
.orders-shortcut strong { margin-top: 2px; font: 700 15px var(--display); }
.orders-shortcut p { margin: 0; color: var(--muted); font-size: 11px; }
.profile-card { display: grid; grid-template-columns: 54px 1fr 32px; align-items: center; gap: 13px; padding: 19px; border-radius: 22px; }
.profile-avatar { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid rgba(145,242,220,.3); border-radius: 18px; background: linear-gradient(145deg, rgba(145,242,220,.19), rgba(139,189,255,.1)); color: var(--mint); font: 800 22px var(--display); }
.profile-data { display: grid; min-width: 0; gap: 3px; }
.profile-data strong { overflow: hidden; font: 700 15px var(--display); text-overflow: ellipsis; white-space: nowrap; }
.profile-data span { color: var(--muted); font-size: 12px; }
.profile-verified { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(145,242,220,.15); border-radius: 10px; background: rgba(145,242,220,.07); color: var(--mint); }
.profile-verified svg { width: 16px; height: 16px; }
.profile-id { display: flex; grid-column: 1 / -1; align-items: center; gap: 9px; margin-top: 3px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; }
.profile-id span { color: var(--muted); font-size: 12px; }
.profile-id strong { margin-left: auto; font: 600 12px ui-monospace, monospace; }
.profile-id button { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.04); color: #b4c3c1; cursor: pointer; }
.profile-id button svg { width: 15px; height: 15px; }
.profile-trial { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 13px; margin-top: 13px; padding: 17px; border-color: rgba(194,164,255,.16); border-radius: 20px; }
.trial-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(194,164,255,.17); border-radius: 14px; background: rgba(194,164,255,.09); color: var(--violet); }
.trial-mark svg { width: 20px; height: 20px; }
.trial-copy { display: grid; gap: 3px; }
.trial-copy .eyebrow { color: #bba5e7; font-size: 8px; }
.trial-copy strong { font-size: 12px; }
.trial-copy p { margin: 0; color: var(--muted); font-size: 11px; }
.trial-copy .inline-link { justify-self: start; margin-top: 5px; padding: 0; font-size: 11px; }
.profile-trial .button { min-height: 38px; padding: 0 13px; font-size: 11px; }
.profile-orders { margin-top: 30px; }
.order-list { display: grid; gap: 9px; }
.order-row { display: flex; align-items: flex-start; gap: 12px; padding: 15px; border-radius: 18px; }
.order-icon { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.035); color: #a6b4b2; }
.order-icon svg { width: 17px; height: 17px; }
.order-icon.success { border-color: rgba(145,242,220,.15); background: rgba(145,242,220,.075); color: var(--mint); }
.order-icon.pending, .order-icon.processing { border-color: rgba(255,206,131,.14); background: rgba(255,206,131,.07); color: var(--amber); }
.order-icon.warning { color: var(--rose); }
.order-main { min-width: 0; flex: 1; }
.order-title, .order-subtitle, .order-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.order-title strong { min-width: 0; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.order-price { flex: 0 0 auto; font: 700 13px var(--display); }
.order-price small { color: var(--muted); font: 400 10px var(--font); }
.order-subtitle { justify-content: flex-start; margin-top: 4px; color: var(--muted); font-size: 10px; }
.order-subtitle i { width: 3px; height: 3px; border-radius: 50%; background: #6b7e7c; }
.order-subtitle time { white-space: nowrap; }
.order-bottom { margin-top: 9px; }
.order-state { display: inline-flex; align-items: center; gap: 6px; color: #a8b6b4; font-size: 10px; }
.order-state i { width: 6px; height: 6px; background: #869391; box-shadow: none; }
.order-state.success { color: var(--mint); }
.order-state.success i { background: var(--mint-strong); box-shadow: 0 0 8px rgba(69,217,189,.5); }
.order-state.pending, .order-state.processing { color: var(--amber); }
.order-state.pending i, .order-state.processing i { background: var(--amber); box-shadow: 0 0 7px rgba(255,206,131,.44); }
.order-state.warning { color: var(--rose); }
.order-state.warning i { background: var(--rose); }
.order-actions { display: flex; align-items: center; gap: 10px; }
.order-action { border: 0; background: none; color: var(--mint); font-size: 10px; font-weight: 700; cursor: pointer; }
.order-action:hover { text-decoration: underline; }
.order-action.subtle { color: #97aaa8; }
.orders-count { margin: -5px 0 12px; color: var(--muted); font-size: 11px; }
.load-more { display: flex; min-height: 42px; width: 100%; align-items: center; justify-content: center; margin-top: 12px; border: 1px solid rgba(145,242,220,.15); border-radius: 14px; background: rgba(145,242,220,.045); color: var(--mint); font-size: 12px; font-weight: 700; cursor: pointer; transition: background .18s, border-color .18s; }
.load-more:hover:not(:disabled) { border-color: rgba(145,242,220,.3); background: rgba(145,242,220,.08); }
.load-more:disabled { opacity: .58; cursor: progress; }
.order-row-compact { padding: 12px; }
.order-row-compact .order-icon { width: 31px; height: 31px; }
.order-row-compact .order-bottom { margin-top: 6px; }
.help-list { display: grid; gap: 8px; margin-top: 24px; }
.help-row { display: flex; align-items: center; gap: 12px; padding: 13px; border-radius: 17px; transition: transform .2s, border-color .2s, background .2s; }
.help-row > span:nth-child(2) { display: grid; gap: 2px; }
.help-row strong { font-size: 12px; }
.help-row small { color: var(--muted); font-size: 10px; }
.help-row-icon { width: 37px; height: 37px; flex: 0 0 auto; border-radius: 13px; }
.logout-wide { display: flex; width: 100%; min-height: 46px; align-items: center; justify-content: center; gap: 9px; margin-top: 18px; border: 1px solid rgba(255,144,177,.14); border-radius: 14px; background: rgba(255,144,177,.045); color: #c98e9e; font-size: 12px; cursor: pointer; }
.logout-wide svg { width: 17px; height: 17px; }
.app-footer { display: flex; align-items: center; justify-content: center; gap: 11px; margin: 46px 0 0; color: #8997b1; font-size: 11px; }
.app-footer i { width: 3px; height: 3px; border-radius: 50%; background: #617673; }
.footer-mark { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid rgba(145,242,220,.27); border-radius: 7px; color: var(--mint); font: 800 12px var(--display); }
.brand-logo { position: relative; display: block; width: 142px; height: 56px; overflow: hidden; }
.brand-logo img { position: absolute; inset: 50% auto auto 50%; display: block; width: 142px; height: 142px; object-fit: cover; object-position: center 48%; transform: translate(-50%, calc(-50% + 3px)); filter: contrast(1.2) saturate(1.12); user-select: none; -webkit-user-select: none; -webkit-user-drag: none; mask-image: url("/fotur-logo.png"); mask-mode: luminance; mask-size: 100% 100%; mask-position: center; mask-repeat: no-repeat; -webkit-mask-image: url("/fotur-logo.png"); -webkit-mask-size: 100% 100%; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; }
.footer-logo { position: relative; display: block; width: 108px; height: 56px; flex: 0 0 auto; overflow: hidden; }
.footer-logo img { position: absolute; inset: 50% auto auto 50%; display: block; width: 128px; height: 128px; object-fit: cover; object-position: center 48%; transform: translate(-50%, -50%); filter: contrast(1.2) saturate(1.12); user-select: none; -webkit-user-select: none; -webkit-user-drag: none; mask-image: url("/fotur-logo.png"); mask-mode: luminance; mask-size: 100% 100%; mask-position: center; mask-repeat: no-repeat; -webkit-mask-image: url("/fotur-logo.png"); -webkit-mask-size: 100% 100%; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; }
.bottom-nav { position: fixed; z-index: 20; right: 50%; bottom: max(14px, env(safe-area-inset-bottom)); display: grid; width: min(510px, calc(100% - 28px)); height: 72px; grid-template-columns: repeat(4, 1fr); align-items: stretch; transform: translateX(50%); overflow: hidden; border-color: rgba(207,255,246,.16); border-radius: 23px; background: rgba(14,27,29,.74); box-shadow: 0 18px 55px rgba(0,0,0,.44), inset 0 1px 0 rgba(255,255,255,.09); }
.bottom-nav::before { z-index: 0; background: linear-gradient(110deg, rgba(145,242,220,.07), transparent 48%, rgba(153,154,255,.055)); }
.nav-item { position: relative; z-index: 2; display: flex; min-width: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 0; background: none; color: #869795; font-size: 10px; font-weight: 600; cursor: pointer; transition: color .2s; }
.nav-item svg { width: 19px; height: 19px; transition: transform .22s, filter .22s; }
.nav-item.active { color: var(--mint); }
.nav-item.active svg { transform: translateY(-1px); filter: drop-shadow(0 0 7px rgba(145,242,220,.56)); }
.nav-indicator { position: absolute; z-index: 1; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 4); border: 1px solid rgba(145,242,220,.12); border-radius: 18px; background: linear-gradient(145deg, rgba(145,242,220,.105), rgba(145,242,220,.028)); box-shadow: 0 0 25px rgba(69,217,189,.065), inset 0 1px 0 rgba(255,255,255,.08); transform: translateX(calc(var(--nav-index, 0) * 100%)); transition: transform .35s cubic-bezier(.2,.75,.24,1); }
.toast { position: fixed; z-index: 40; right: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); max-width: min(450px, calc(100% - 32px)); padding: 12px 16px; transform: translate(50%, 12px); border: 1px solid rgba(203,255,245,.16); border-radius: 14px; background: rgba(17,31,33,.92); box-shadow: 0 12px 35px rgba(0,0,0,.35); color: var(--ink); font-size: 12px; text-align: center; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.toast.show { transform: translate(50%, 0); opacity: 1; }
.modal { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(2,8,9,.68); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.modal-card { width: min(430px, 100%); padding: 28px; border-radius: 27px; }
.modal-close { position: absolute; top: 13px; right: 15px; z-index: 1; width: 33px; height: 33px; border: 0; border-radius: 11px; background: rgba(255,255,255,.055); color: #9daead; font-size: 22px; cursor: pointer; }
.modal-symbol { display: grid; width: 45px; height: 45px; margin-bottom: 16px; place-items: center; border: 1px solid rgba(145,242,220,.2); border-radius: 15px; background: rgba(145,242,220,.08); color: var(--mint); }
.modal-card h2 { margin: 8px 0; font: 800 22px var(--display); }
.modal-card p { margin: 0; color: #a1b0ae; font-size: 13px; line-height: 1.7; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.view-enter { animation: rise-in .34s cubic-bezier(.2,.72,.22,1) both; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbit { 50% { transform: rotate(180deg) scale(.92); opacity: .7; } }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .7; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes rise-in { from { transform: translateY(9px); opacity: .25; } to { transform: translateY(0); opacity: 1; } }

@media (min-width: 820px) {
  body { padding-bottom: 132px; }
  .app-shell { padding-right: 48px; padding-left: 48px; }
  .welcome-row { padding-top: 48px; }
  .overview-card { min-height: 174px; padding: 22px; }
  .content-block { margin-top: 46px; }
  .bottom-nav { height: 76px; }
}
@media (max-width: 650px) {
  body { padding-bottom: calc(103px + env(safe-area-inset-bottom)); }
  .app-shell { padding: 0 17px; }
  .topbar { height: 64px; margin-top: 10px; padding: 0 13px 0 6px; border-radius: 18px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 12px; }
  .brand-logo { width: 126px; height: 50px; }
  .brand-logo img { width: 126px; height: 126px; }
  .brand-name { font-size: 14px; }
  .brand-name span { font-size: 9px; }
  .secure-label { font-size: 8px; letter-spacing: .08em; }
  .topbar-right { gap: 7px; }
  .round-button { width: 36px; height: 36px; border-radius: 12px; }
  .welcome-row { padding: 30px 2px 20px; }
  .welcome-row .eyebrow, .page-heading .eyebrow { font-size: 8px; }
  .welcome-row h1 { font-size: 27px; }
  .welcome-row p { font-size: 12px; }
  .avatar { width: 42px; height: 42px; }
  .connection-card { min-height: 267px; padding: 19px 18px 17px; border-radius: 24px; }
  .connection-top .eyebrow { max-width: 45%; font-size: 8px; line-height: 1.5; }
  .status-pill { gap: 6px; padding: 6px 8px; font-size: 8px; }
  .connection-main { min-height: 135px; gap: 14px; }
  .connection-main h2 { font-size: 24px; }
  .connection-main p { max-width: 235px; font-size: 12px; line-height: 1.5; }
  .shield-orb { width: 72px; height: 72px; }
  .shield-orb svg { width: 32px; height: 32px; }
  .shield-orb::before { inset: -7px; }
  .shield-orb::after { inset: -14px; }
  .connection-bottom { gap: 12px; padding-top: 13px; }
  .micro-label { font-size: 7px; letter-spacing: .09em; }
  .connection-bottom strong { font-size: 12px; }
  .hero-link { margin-top: 13px; font-size: 11px; }
  .overview-grid { gap: 8px; margin-top: 10px; }
  .overview-card { min-height: 132px; grid-template-columns: 1fr; justify-items: start; padding: 12px; border-radius: 17px; }
  .overview-card > * { min-width: 0; max-width: 100%; }
  .overview-icon { width: 32px; height: 32px; border-radius: 11px; }
  .overview-icon svg { width: 16px; height: 16px; }
  .overview-label { margin-top: 9px; font-size: 9px; }
  .overview-card strong { margin-top: 5px; font-size: 17px; }
  .overview-caption { margin-top: 1px; font-size: 8px; line-height: 1.35; }
  .overview-card #stat-trial { font-size: 9px; line-height: 1.2; letter-spacing: -.03em; white-space: nowrap; overflow-wrap: normal; word-break: keep-all; }
  .overview-card #stat-trial-caption { font-size: clamp(7px, 2.2vw, 8px); line-height: 1.3; overflow-wrap: anywhere; }
  .content-block { margin-top: 31px; }
  .section-heading { margin-bottom: 12px; }
  .section-heading h2 { font-size: 18px; }
  .eyebrow { font-size: 8px; }
  .quick-grid { gap: 8px; }
  .quick-card { min-height: 77px; gap: 9px; padding: 10px; border-radius: 15px; }
  .quick-icon { width: 34px; height: 34px; border-radius: 12px; }
  .quick-icon svg { width: 16px; height: 16px; }
  .quick-card strong { font-size: 10px; }
  .quick-card small { font-size: 9px; line-height: 1.4; }
  .quick-arrow { width: 13px; height: 13px; }
  .mini-subscription-list, .subscription-list { grid-template-columns: 1fr; gap: 9px; }
  .plan-list { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .subscription-card { padding: 15px; border-radius: 19px; }
  .subscription-card-compact .subscription-actions { display: flex; }
  .subscription-card-compact .subscription-actions .button { min-height: 36px; font-size: 10px; }
  .subscription-card-compact .subscription-title-row h3 { font-size: 14px; }
  .subscription-card-compact .subscription-meta span:last-child { display: inline; }
  .subscription-card-compact .term-progress-label { margin-top: 10px; }
  .subscription-card-compact .usage-row > div:first-child, .subscription-card-compact .term-progress-label { font-size: 9px; }
  .subscription-card-compact .usage-row strong, .subscription-card-compact .term-progress-label strong { font-size: 9px; }
  .subscription-card-compact .subscription-status { font-size: 8px; }
  .subscription-title-row h3 { font-size: 15px; }
  .subscription-meta { font-size: 9px; }
  .order-row { gap: 9px; padding: 12px; border-radius: 16px; }
  .order-icon { width: 31px; height: 31px; border-radius: 11px; }
  .order-title strong { font-size: 11px; }
  .order-price { font-size: 12px; }
  .order-subtitle { font-size: 9px; }
  .order-state { font-size: 9px; }
  .page-heading { padding: 31px 2px 19px; }
  .page-heading h1 { font-size: 27px; }
  .page-heading p { font-size: 12px; }
  .vpn-summary { gap: 10px; padding: 13px; border-radius: 17px; }
  .summary-symbol { width: 38px; height: 38px; }
  .vpn-summary strong { font-size: 12px; }
  .vpn-summary p { font-size: 10px; }
  .count-chip { width: 31px; height: 31px; font-size: 11px; }
  .install-help { padding: 14px; }
  .payment-note { align-items: flex-start; padding: 12px; font-size: 10px; line-height: 1.5; }
  .plan-card { padding: 12px 10px; border-radius: 16px; }
  .plan-price { margin-top: 12px; font-size: clamp(22px, 7vw, 30px); }
  .plan-period { font-size: 8px; letter-spacing: .08em; }
  .best-value { font-size: 7px; }
  .plan-period-detail { font-size: 9px; line-height: 1.35; }
  .pay-option { min-height: 41px; font-size: 11px; }
  .purchase-sheet { bottom: calc(82px + env(safe-area-inset-bottom)); max-height: min(45vh, 330px); padding: 14px; }
  .purchase-sheet-payments { grid-template-columns: 1fr; gap: 7px; margin-top: 11px; }
  .purchase-sheet-payments .pay-option { min-height: 40px; }
  .profile-card { grid-template-columns: 46px 1fr 28px; gap: 10px; padding: 15px; border-radius: 19px; }
  .profile-avatar { width: 46px; height: 46px; border-radius: 15px; font-size: 19px; }
  .profile-data strong { font-size: 13px; }
  .profile-data span { font-size: 11px; }
  .profile-trial { grid-template-columns: 36px minmax(0,1fr); gap: 10px; padding: 13px; }
  .trial-mark { width: 36px; height: 36px; border-radius: 12px; }
  .trial-mark svg { width: 17px; height: 17px; }
  .trial-copy strong { font-size: 11px; }
  .trial-copy p { font-size: 10px; }
  .profile-trial > .button { grid-column: 1 / -1; justify-self: stretch; }
  .profile-id { gap: 7px; }
  .profile-id span { font-size: 11px; }
  .profile-id strong { font-size: 11px; }
  .help-row { gap: 10px; padding: 11px; }
  .help-row-icon { width: 34px; height: 34px; }
  .help-row strong { font-size: 11px; }
  .help-row small { font-size: 9px; }
  .app-footer { flex-wrap: wrap; gap: 9px; margin-top: 34px; font-size: 10px; }
  .bottom-nav { width: calc(100% - 24px); height: 67px; bottom: max(9px, env(safe-area-inset-bottom)); border-radius: 20px; }
  .nav-item { gap: 3px; font-size: 9px; }
  .nav-item svg { width: 18px; height: 18px; }
  .toast { bottom: calc(88px + env(safe-area-inset-bottom)); font-size: 11px; }
  .auth-screen, .error-screen { min-height: 450px; margin-top: 30px; padding: 32px 25px; border-radius: 27px; }
  .auth-screen h1 { font-size: 31px; }
  .auth-screen > p { font-size: 13px; }
  .auth-button { width: 100%; }
  .modal-card { padding: 23px; border-radius: 23px; }
}
@media (max-width: 360px) {
  .app-shell { padding-right: 13px; padding-left: 13px; }
  .brand-logo { width: 112px; height: 46px; }
  .brand-logo img { width: 112px; height: 112px; }
  .secure-label span { display: none; }
  .connection-main h2 { font-size: 21px; }
  .shield-orb { width: 62px; height: 62px; }
  .overview-card { padding: 10px; }
  .overview-card #stat-trial { font-size: 8px; }
  .overview-caption { font-size: 7px; }
  .quick-card { gap: 7px; padding: 8px; }
  .quick-card strong { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Визуальный стиль FOTUR: темная основа, мягкий бирюзовый свет и полупрозрачные панели. */
:root {
  --bg: #05080c;
  --ink: #f1fbff;
  --muted: #93a4b1;
  --muted-2: #627581;
  --mint: #72f1ff;
  --mint-strong: #21d7eb;
  --blue: #7bbcff;
  --violet: #c797ff;
  --line: rgba(182, 230, 247, .12);
  --glass: rgba(12, 20, 29, .62);
  --glass-strong: rgba(12, 21, 30, .84);
  --shadow: 0 28px 85px rgba(0, 0, 0, .42);
  --display: "Unbounded", "DM Sans", system-ui, sans-serif;
}
body {
  background:
    radial-gradient(ellipse at 4% 3%, rgba(0, 209, 230, .13), transparent 34%),
    radial-gradient(ellipse at 100% 31%, rgba(67, 113, 255, .12), transparent 32%),
    radial-gradient(ellipse at 50% 94%, rgba(0, 123, 152, .12), transparent 42%),
    linear-gradient(155deg, #05080c, #080d14 54%, #05080c);
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(155, 222, 241, .022) 1px, transparent 1px), linear-gradient(90deg, rgba(155, 222, 241, .022) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.56), transparent 68%);
  pointer-events: none;
}
.ambient { opacity: .26; filter: blur(145px); animation: ambient-drift 16s ease-in-out infinite alternate; }
.ambient-b { animation-delay: -7s; }
.ambient-c { animation-delay: -11s; }
.glass {
  border-color: rgba(183, 229, 248, .105);
  background: linear-gradient(138deg, rgba(255,255,255,.075), rgba(255,255,255,.022) 39%, rgba(67,151,185,.035));
  box-shadow: 0 22px 70px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.09);
}
.glass::before { background: linear-gradient(118deg, rgba(255,255,255,.09), transparent 23%, transparent 70%, rgba(75,213,239,.055)); }
.topbar {
  border-color: rgba(99, 220, 246, .18);
  background: linear-gradient(110deg, rgba(6,19,25,.82), rgba(10,16,27,.77));
  box-shadow: 0 16px 46px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.07);
}
.brand-mark {
  border-color: rgba(113,241,255,.62);
  background: linear-gradient(145deg, rgba(72,226,247,.25), rgba(72,226,247,.055));
  box-shadow: 0 0 28px rgba(33,215,235,.2), inset 0 1px 0 rgba(255,255,255,.26);
}
.secure-label i { background: #58efff; box-shadow: 0 0 13px rgba(88,239,255,.85); }
.auth-screen, .error-screen {
  border-color: rgba(99,220,246,.2);
  background: linear-gradient(145deg, rgba(10,29,36,.82), rgba(10,16,28,.83) 58%, rgba(15,19,35,.82));
  box-shadow: 0 35px 100px rgba(0,0,0,.42), inset 0 1px 0 rgba(240,253,255,.12);
}
.auth-screen::after {
  top: -164px;
  right: -95px;
  width: 390px;
  height: 390px;
  border-color: rgba(77,224,247,.16);
  box-shadow: 0 0 0 33px rgba(77,224,247,.025), 0 0 0 76px rgba(85,142,255,.023), 0 0 0 123px rgba(77,224,247,.014);
}
.auth-art { width: 82px; height: 82px; margin-bottom: 31px; }
.auth-ring { border-color: rgba(91,233,255,.45); box-shadow: 0 0 35px rgba(33,215,235,.18), inset 0 0 22px rgba(33,215,235,.1); }
.auth-ring::before, .auth-ring::after {
  position: absolute;
  inset: 11px -10px;
  border: 1px solid rgba(113,177,255,.23);
  border-radius: 50%;
  content: "";
  transform: rotate(-34deg);
}
.auth-ring::after { inset: -10px 11px; border-color: rgba(194,151,255,.16); transform: rotate(48deg); }
.auth-core {
  border-color: rgba(113,241,255,.44);
  background: linear-gradient(145deg, rgba(69,221,244,.25), rgba(75,102,190,.12));
  box-shadow: 0 0 30px rgba(33,215,235,.16), inset 0 1px 0 rgba(255,255,255,.17);
}
.eyebrow { color: #8faab9; }
.auth-screen .eyebrow { color: #72e8fb; }
.auth-screen h1 { font-size: clamp(28px, 5.5vw, 39px); letter-spacing: -.075em; }
.auth-screen h1 span { color: #72edff; text-shadow: 0 0 34px rgba(60,220,246,.18); }
.auth-screen > p { color: #a9bac4; }
.button-primary {
  border-color: rgba(177,250,255,.74);
  background: linear-gradient(112deg, #a3f7ff, #56e6f4 58%, #83dcff);
  box-shadow: 0 10px 31px rgba(31,211,237,.2), inset 0 1px 0 rgba(255,255,255,.72);
  color: #041116;
}
.button-primary:hover { box-shadow: 0 14px 38px rgba(31,211,237,.3), inset 0 1px 0 rgba(255,255,255,.72); }
.text-link, .inline-link, .hero-link, .install-help a { color: #79eaff; }
.connection-card {
  border-color: rgba(90,220,246,.24);
  background: linear-gradient(126deg, rgba(8,54,63,.73), rgba(10,26,37,.85) 49%, rgba(17,20,40,.82));
}
.card-glow { border-color: rgba(89,226,249,.25); box-shadow: 0 0 0 28px rgba(89,226,249,.025), 0 0 0 63px rgba(81,137,255,.021), 0 0 0 105px rgba(89,226,249,.015); }
.status-pill { border-color: rgba(110,233,251,.23); background: rgba(68,217,239,.08); color: #8ef3ff; }
.shield-orb { border-color: rgba(111,237,255,.62); background: radial-gradient(circle at 34% 25%, rgba(190,250,255,.29), rgba(42,201,229,.09) 53%, rgba(95,112,174,.12)); box-shadow: 0 0 48px rgba(33,215,235,.2), inset 0 0 30px rgba(145,242,255,.12); color: #8ef3ff; }
.overview-icon.mint, .quick-icon.mint, .help-row-icon.mint { background: rgba(39,209,230,.1); color: #80efff; }
.overview-icon.violet, .quick-icon.violet, .help-row-icon.violet { background: rgba(177,124,255,.12); color: #cbaaff; }
.overview-icon.blue, .quick-icon.blue, .help-row-icon.blue { background: rgba(87,164,255,.12); color: #93c6ff; }
.overview-card, .subscription-card, .plan-card, .profile-card, .order-row, .quick-card, .help-row, .profile-trial { transition: border-color .24s ease, background .24s ease, box-shadow .24s ease, transform .24s cubic-bezier(.2,.7,.25,1); }
.overview-card:hover, .subscription-card:hover, .plan-card:hover, .profile-card:hover, .order-row:hover { border-color: rgba(107,226,248,.2); box-shadow: 0 18px 54px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.08); }
.subscription-symbol, .summary-symbol, .payment-note-icon { border-color: rgba(102,225,248,.2); background: rgba(53,197,228,.09); color: #81ecff; }
.usage-meter span { background: linear-gradient(90deg, #68c8ff, #c18bff); box-shadow: 0 0 13px rgba(112,183,255,.42); }
.subscription-progress span { background: linear-gradient(90deg, #35d9ee, #8af5ff); box-shadow: 0 0 10px rgba(69,217,239,.45); }
.profile-avatar { border-color: rgba(110,230,248,.34); background: linear-gradient(145deg, rgba(41,208,232,.2), rgba(107,137,255,.14)); color: #8ef3ff; }
.profile-verified { border-color: rgba(112,232,248,.2); background: rgba(40,208,231,.09); color: #89efff; }
.trial-mark { border-color: rgba(194,151,255,.24); background: rgba(158,103,255,.13); }
.bottom-nav {
  border-color: rgba(113,223,245,.21);
  background: rgba(7,15,23,.78);
  box-shadow: 0 20px 60px rgba(0,0,0,.53), inset 0 1px 0 rgba(255,255,255,.11);
}
.nav-item.active { color: #86f2ff; }
.nav-indicator { border-color: rgba(95,226,247,.2); background: linear-gradient(145deg, rgba(53,208,232,.13), rgba(87,146,255,.045)); box-shadow: 0 0 28px rgba(55,208,233,.1), inset 0 1px 0 rgba(255,255,255,.1); }
.toast { border-color: rgba(115,225,245,.22); background: rgba(9,19,28,.94); }
.modal-backdrop { background: rgba(2,5,10,.76); }
.modal-card { border-color: rgba(116,224,245,.19); background: linear-gradient(145deg, rgba(14,30,40,.96), rgba(12,15,28,.96)); }
.modal-symbol { border-color: rgba(110,227,247,.22); background: rgba(47,204,229,.1); color: #89edff; }
.footer-mark { border-color: rgba(106,226,248,.31); color: #80eaff; }
.page-view { min-height: 52vh; }
.view-enter { animation: view-arrive .4s cubic-bezier(.18,.7,.22,1) both; }
@keyframes view-arrive { from { transform: translateY(13px) scale(.994); opacity: 0; filter: blur(3px); } to { transform: translateY(0) scale(1); opacity: 1; filter: blur(0); } }
@keyframes ambient-drift { from { transform: translate3d(-10px,-7px,0) scale(.96); } to { transform: translate3d(16px,14px,0) scale(1.06); } }
@media (min-width: 820px) {
  .app-shell { width: min(1180px, 100%); }
  .welcome-row { padding-top: 55px; padding-bottom: 31px; }
  .connection-card { min-height: 324px; padding: 29px 35px 23px; }
  .overview-grid { gap: 16px; margin-top: 18px; }
  .overview-card { min-height: 184px; }
  .bottom-nav { width: min(560px, calc(100% - 40px)); }
}
@media (max-width: 650px) {
  .auth-screen, .error-screen { border-color: rgba(99,220,246,.19); }
  .auth-screen h1 { font-family: var(--display); font-size: clamp(26px, 8vw, 31px); line-height: 1.3; }
  .connection-card { background: linear-gradient(135deg, rgba(10,53,62,.8), rgba(10,23,34,.9) 55%, rgba(15,19,36,.86)); }
  .bottom-nav { -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%); }
  .overview-card, .subscription-card, .plan-card, .profile-card, .order-row, .quick-card, .help-row, .profile-trial { -webkit-tap-highlight-color: transparent; }
}

/* Палитра бренда подобрана к сине-фиолетовому логотипу FOTUR. */
:root {
  --bg: #080b15;
  --mint: #a8d8ff;
  --mint-strong: #718cff;
  --blue: #8eadff;
  --violet: #bd9aff;
  --line: rgba(199, 216, 255, .12);
  --glass: rgba(18, 23, 41, .62);
  --glass-strong: rgba(23, 29, 51, .78);
}
body {
  background:
    radial-gradient(ellipse at 7% -5%, rgba(71, 116, 255, .17), transparent 36%),
    radial-gradient(ellipse at 104% 28%, rgba(149, 98, 255, .14), transparent 31%),
    radial-gradient(ellipse at 41% 106%, rgba(62, 85, 194, .13), transparent 38%),
    linear-gradient(160deg, #0a0e1b 0%, #080c15 48%, #080b12 100%);
}
.ambient-a { background: #4c87ff; }
.ambient-b { background: #9871ff; }
.ambient-c { background: #555bd2; }
.topbar { border-color: rgba(139, 177, 255, .16); background: rgba(10, 15, 29, .68); }
.avatar-wrap { border-color: rgba(140, 173, 255, .3); background: linear-gradient(145deg, rgba(120, 155, 255, .13), rgba(186, 143, 255, .09)); }
.avatar { background: linear-gradient(145deg, #202a4b, #172034); color: #a8d8ff; }
.avatar-wrap i { background: #718cff; }
.button-primary {
  border-color: rgba(202, 218, 255, .72);
  background: linear-gradient(112deg, #c6eaff, #93b4ff 58%, #c0a2ff);
  box-shadow: 0 10px 31px rgba(93, 119, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .72);
  color: #10152c;
}
.button-primary:hover { box-shadow: 0 14px 38px rgba(93, 119, 255, .3), inset 0 1px 0 rgba(255, 255, 255, .72); }
.text-link, .inline-link, .hero-link, .install-help a { color: #a4caff; }
.connection-card {
  border-color: rgba(130, 162, 255, .25);
  background: linear-gradient(126deg, rgba(29, 47, 87, .77), rgba(13, 25, 46, .88) 49%, rgba(34, 25, 64, .84));
}
.card-glow { border-color: rgba(126, 165, 255, .24); box-shadow: 0 0 0 28px rgba(126, 165, 255, .025), 0 0 0 63px rgba(151, 114, 255, .025), 0 0 0 105px rgba(126, 165, 255, .016); }
.status-pill { border-color: rgba(142, 178, 255, .26); background: rgba(100, 132, 255, .1); color: #b5dbff; }
.shield-orb { border-color: rgba(154, 187, 255, .62); background: radial-gradient(circle at 34% 25%, rgba(210, 231, 255, .29), rgba(72, 117, 255, .12) 53%, rgba(128, 89, 216, .14)); box-shadow: 0 0 48px rgba(89, 117, 255, .24), inset 0 0 30px rgba(167, 192, 255, .13); color: #b8d9ff; }
.overview-icon.mint, .quick-icon.mint, .help-row-icon.mint { background: rgba(91, 143, 255, .13); color: #a9d9ff; }
.subscription-symbol, .summary-symbol, .payment-note-icon { border-color: rgba(134, 168, 255, .24); background: rgba(86, 122, 255, .12); color: #afd3ff; }
.profile-avatar { border-color: rgba(144, 177, 255, .38); background: linear-gradient(145deg, rgba(91, 134, 255, .23), rgba(157, 110, 255, .18)); color: #b6d8ff; }
.profile-verified { border-color: rgba(144, 177, 255, .25); background: rgba(91, 134, 255, .12); color: #b6d8ff; }
.bottom-nav { border-color: rgba(139, 166, 255, .24); background: rgba(9, 13, 26, .82); }
.nav-item.active { color: #b6d8ff; }
.nav-indicator { border-color: rgba(143, 164, 255, .28); background: linear-gradient(145deg, rgba(85, 130, 255, .2), rgba(164, 111, 255, .09)); box-shadow: 0 0 28px rgba(89, 117, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .1); }
