:root {
  color-scheme:dark;
  --bg-container-color:#05060a;
  --black-color:#45475a;
  --background-color:#1e1e2e;
  --blue-color:#89b4fa;
  --red-color:#f38ba8;
  --green-color:#a6e3a1;
  --yellow-color:#f9e2af;
  --peach-color:#fab387;
  --pink-color:#f5c2e7;
  --mauve-color:#cba6f7;
  --teal-color:#94e2d5;
  --text-color:#cdd6f4;
  --surface-color:#313244;
  --crust-color:#11111b;
  --primary:var(--blue-color);
  --on-surface-variant:#bac2de;
  --surface-high:#45475a;
  --secondary-container:#244743;
  --surface-lowest:var(--crust-color);
  --outline:#7f849c;
  --outline-variant:#ffffff1a;
  --shadow:rgba(0,0,0,.28);
  --ease:cubic-bezier(.2,0,0,1);
}
[data-theme="light"] {
  color-scheme:light;
  --bg-container-color:#eef2f5;
  --background-color:#eff1f5;
  --blue-color:#1e66f5;
  --red-color:#d20f39;
  --green-color:#40a02b;
  --yellow-color:#df8e1d;
  --peach-color:#fe640b;
  --pink-color:#ea76cb;
  --mauve-color:#8839ef;
  --teal-color:#179299;
  --text-color:#4c4f69;
  --surface-color:#ccd0da;
  --crust-color:#dce0e8;
  --on-surface-variant:#62657b;
  --surface-high:#bcc1cd;
  --secondary-container:#d0eeeb;
  --surface-lowest:#f8f9fc;
  --outline:#8c90a4;
  --outline-variant:#0000001a;
  --shadow:rgba(40,45,65,.14);
}
* { box-sizing:border-box; }
html,body { min-width:320px; margin:0; background:var(--bg-container-color); color:var(--text-color); }
html { scroll-behavior:smooth; scroll-padding-top:88px; }
body {
  min-height:100vh;
  overflow-x:hidden;
  isolation:isolate;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
button,input { font:inherit; }
button { color:inherit; }
a { color:inherit; }
button,a { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:2px solid var(--blue-color); outline-offset:3px; }
.icon { width:22px; height:22px; display:inline-block; flex:none; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.icon.sm { width:18px; height:18px; }
.icon-sprite { position:absolute; width:0; height:0; overflow:hidden; }
.background-container {
  position:fixed;
  z-index:0;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  isolation:isolate;
  background:var(--bg-container-color);
}
.floating-gradients { position:absolute; inset:0; width:100%; height:100%; filter:blur(80px); pointer-events:none; }
.gradient-ball { position:absolute; top:0; left:0; border-radius:50%; opacity:.35; will-change:transform; }
.ball1 { width:70vw; height:70vw; background:radial-gradient(circle,#1e3a8a 0%,#5b21b6 42%,transparent 70%); }
.ball2 { width:60vw; height:60vw; background:radial-gradient(circle,#9d174d 0%,#ea580c 42%,transparent 70%); }
.page-content { position:relative; z-index:1; min-height:100vh; }
.site-header {
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid var(--outline-variant);
  background:color-mix(in srgb,var(--bg-container-color) 84%,transparent);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  animation:.5s cubic-bezier(.22,1,.36,1) both headerDrop;
}
@keyframes headerDrop {
  from { opacity:0; transform:translateY(-100%); }
  to { opacity:1; transform:translateY(0); }
}
.header__wrapper { width:100%; margin-inline:auto; }
.header-row {
  width:100%;
  max-width:1300px;
  min-height:68px;
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 auto;
  padding:12px 20px;
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--text-color);
  text-decoration:none;
  transition:all .5s cubic-bezier(.25,1,.5,1);
  font-size:22px;
  font-weight:700;
  white-space:nowrap;
  flex-shrink:0;
}
.brand-mark { width:30px; height:30px; display:grid; place-items:center; color:var(--text-color); }
.brand-mark .icon { width:29px; height:29px; }
.brand.header__title:hover {
  cursor:pointer;
  filter:drop-shadow(0 10px 15px var(--surface-color)) brightness(1.1);
}
.brand.header__title .header__image {
  transition:transform .5s cubic-bezier(.34,1.56,.64,1);
}
.brand.header__title:hover .header__image { transform:rotate(20deg) scale(1.15); }
.brand-text { display:inline; font-size:22px; line-height:1.15; white-space:nowrap; }
.name-accent { color:var(--blue-color); font-weight:800; letter-spacing:-.35px; }
.header-actions { display:flex; align-items:center; gap:8px; margin-left:auto; }
.lang-switch {
  width:88px;
  height:44px;
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:stretch;
  gap:2px;
  padding:3px;
  overflow:hidden;
  border:1px solid #ffffff1a;
  border-radius:10px;
  background:#ffffff08;
}
.lang-btn {
  display:grid;
  flex:1 1 0;
  place-items:center;
  min-width:0;
  height:100%;
  padding:0;
  border:0;
  border-radius:7px;
  background:transparent;
  color:var(--text-color);
  font-size:13px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  transition:background-color .2s,color .2s;
}
.lang-btn:hover,.icon-btn:hover { background:#ffffff14; }
.lang-btn.active { background:#3b82f626; color:var(--blue-color); }
.icon-btn {
  width:44px;
  min-width:44px;
  height:44px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid #ffffff1a;
  border-radius:10px;
  background:#ffffff08;
  color:var(--text-color);
  cursor:pointer;
  text-decoration:none;
  transition:background-color .2s var(--ease),color .2s var(--ease),transform .2s var(--ease);
}
.icon-btn:hover { color:var(--blue-color); transform:translateY(-2px) scale(1.05); }
.icon-btn:active { transform:scale(.9); }
.icon-btn .icon { width:21px; height:21px; }
.header__theme-container { width:100%; height:100%; display:grid; place-items:center; }
.header__theme-container .icon { width:21px; height:21px; }
.header-divider {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:stretch;
  margin:0 6px;
  color:var(--text-color);
  font-size:22px;
  font-weight:400;
  line-height:1;
  opacity:.48;
  user-select:none;
}
.header-social { display:flex; align-items:center; justify-content:flex-end; gap:9px; }
.header-social a { color:var(--text-color); }
.header-social a:hover { color:var(--blue-color); }
.hero { max-width:1000px; margin:0 auto; padding:58px 20px 16px; text-align:center; }
.hero h1 {
  max-width:100%;
  margin:0;
  overflow-wrap:anywhere;
  font-size:clamp(34px,5vw,48px);
  line-height:1.12;
  letter-spacing:-1.3px;
  font-weight:760;
}
.hero p { max-width:660px; margin:14px auto 0; color:var(--text-color); font-size:15px; line-height:1.7; opacity:.82; }
.card-layout { width:100%; max-width:1000px; min-height:76vh; margin:0 auto; padding:30px 20px 34px; }
.top-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.lower-cards { display:grid; grid-template-columns:minmax(0,1fr); gap:24px; margin-top:24px; }
.lower-cards>.md-card { width:100%; min-height:210px; }
.md-card {
  min-width:0;
  background:color-mix(in srgb,var(--surface-color),transparent 50%);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  border:1px solid color-mix(in srgb,var(--text-color),transparent 90%);
  border-radius:24px;
  padding:24px;
  color:var(--text-color);
  box-shadow:none;
  transition:transform .3s,border-color .3s,background-color .3s;
}
.md-card:hover {
  background:color-mix(in srgb,var(--surface-color),transparent 50%);
  border-color:color-mix(in srgb,var(--blue-color),transparent 50%);
  box-shadow:none;
  transform:translateY(-5px);
}
.proxy-card { display:flex; flex-direction:column; gap:16px; }
.card-title-row { display:flex; align-items:center; gap:8px; min-width:0; }
.card-title-row h3 { margin:0; color:var(--text-color); font-size:1.2rem; font-weight:700; }
.primary-icon { color:var(--blue-color); }
.notice { padding:14px 16px; border-radius:10px; background:var(--surface-high); }
.notice.info { background:color-mix(in srgb,#2d7ff9 14%,var(--surface-high)); }
.notice-title { margin-bottom:7px; font-size:15px; font-weight:750; }
.notice.info.status-notice { background:color-mix(in srgb,#d32f2f 12%,var(--surface-high)); }
.notice.info.status-notice .notice-title { color:#d32f2f; }
.notice p { margin:0; color:var(--on-surface-variant); font-size:13px; line-height:1.7; }
.free-offer {
  display:flex;
  flex:1;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
  padding:2px 0 2px 17px;
  border:0;
  border-left:2px solid color-mix(in srgb,var(--blue-color) 72%,transparent);
  border-radius:0;
  background:transparent;
}
.free-offer-head { width:100%; display:flex; align-items:baseline; justify-content:flex-start; flex-wrap:wrap; gap:10px 14px; }
.free-offer-title { color:var(--text-color); font-size:17px; font-weight:750; }
.free-limit {
  display:inline-flex;
  align-items:center;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--blue-color);
  font-size:12px;
  font-weight:800;
  letter-spacing:.2px;
  white-space:nowrap;
}
.free-offer p { margin:0; color:var(--text-color); font-size:13px; line-height:1.7; opacity:.86; }
.btn {
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 19px;
  border:0;
  border-radius:9999px;
  background:var(--blue-color);
  color:var(--crust-color);
  cursor:pointer;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
  transition:transform .15s var(--ease),filter .2s,box-shadow .25s;
}
.btn:hover:not(:disabled) { transform:translateY(-2px); filter:brightness(.97); box-shadow:0 6px 16px var(--shadow); }
.btn:active:not(:disabled) { transform:scale(.97); }
.btn:disabled { cursor:not-allowed; opacity:.48; }
.btn.tonal { background:var(--secondary-container); color:var(--text-color); }
.btn.copy-vpn { background:var(--blue-color); color:#102238; border:1px solid color-mix(in srgb,var(--blue-color),white 18%); }
.btn.copy-vpn:hover:not(:disabled) { filter:brightness(1.08); }
.btn.outlined { border:1px solid var(--outline); background:transparent; color:var(--text-color); }
.free-cta { align-self:flex-start; min-height:42px; padding-inline:16px; }
.free-placeholder { color:var(--text-color); font-size:11px; line-height:1.45; opacity:.58; }
.auth-content { display:flex; flex-direction:column; gap:15px; }
.auth-tabs {
  display:flex;
  align-items:center;
  gap:5px;
  width:max-content;
  max-width:100%;
  padding:4px;
  border:1px solid var(--outline-variant);
  border-radius:999px;
  background:color-mix(in srgb,var(--crust-color),transparent 35%);
}
.auth-tab { min-height:36px; padding:0 18px; border:0; border-radius:999px; background:transparent; color:var(--on-surface-variant); font-size:13px; font-weight:650; cursor:pointer; }
.auth-tab.active { background:var(--blue-color); color:var(--crust-color); }
.auth-form { display:flex; flex-direction:column; gap:14px; }
.auth-form[hidden] { display:none; }
.auth-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.login-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.auth-field { display:flex; flex-direction:column; min-width:0; gap:6px; }
.field-label { display:block; color:var(--on-surface-variant); font-size:11px; text-transform:uppercase; letter-spacing:.65px; font-weight:750; }
.auth-input {
  width:100%;
  min-width:0;
  min-height:44px;
  padding:0 13px;
  border:1px solid var(--outline-variant);
  border-radius:12px;
  outline:0;
  background:color-mix(in srgb,var(--crust-color),transparent 18%);
  color:var(--text-color);
  font-size:13px;
  transition:border-color .2s,box-shadow .2s;
}
.auth-input::placeholder { color:var(--on-surface-variant); opacity:.65; }
.auth-input:focus { border-color:var(--blue-color); box-shadow:0 0 0 2px color-mix(in srgb,var(--blue-color) 25%,transparent); }
.auth-submit { align-self:flex-start; min-width:175px; }
.auth-message { display:none; margin:0; padding:10px 13px; border-radius:10px; font-size:12px; line-height:1.6; }
.auth-message.info,.auth-message.error { display:block; }
.auth-message.info { background:color-mix(in srgb,var(--blue-color) 12%,var(--surface-high)); color:var(--text-color); }
.auth-message.error { background:color-mix(in srgb,var(--red-color) 15%,var(--surface-high)); color:var(--text-color); }
.account-result { display:flex; flex-direction:column; gap:9px; padding:0; border:0; }
.account-result[hidden] { display:none; }
.account-result-title { font-size:16px; font-weight:750; }
.account-result.subscription-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(250px,1fr);
  align-items:center;
  gap:18px 24px;
  padding:0;
}
.account-result.subscription-layout[hidden] { display:none; }
.subscription-main { min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:14px; }
.subscription-stats {
  width:100%;
  max-width:420px;
  justify-self:end;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.subscription-stat {
  position:relative;
  min-width:0;
  min-height:94px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:12px;
  padding:14px;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--text-color) 9%,transparent);
  border-radius:16px;
  background:linear-gradient(145deg,color-mix(in srgb,var(--surface-high) 82%,transparent),color-mix(in srgb,var(--surface-color) 92%,transparent));
  box-shadow:0 8px 22px rgba(0,0,0,.08);
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.subscription-stat:hover {
  transform:translateY(-2px);
  border-color:color-mix(in srgb,var(--blue-color) 36%,transparent);
  background:linear-gradient(145deg,color-mix(in srgb,var(--blue-color) 13%,var(--surface-high)),color-mix(in srgb,var(--surface-color) 92%,transparent));
}
.subscription-stat-label {
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--on-surface-variant);
  font-size:10px;
  font-weight:750;
  letter-spacing:.55px;
  line-height:1.3;
  text-transform:uppercase;
}
.subscription-stat-value {
  display:block;
  color:var(--text-color);
  font-size:clamp(14px,1.4vw,17px);
  font-weight:800;
  line-height:1.25;
  letter-spacing:-.25px;
  overflow-wrap:anywhere;
}
.button-row { display:flex; flex-wrap:wrap; gap:9px; }
.button-row .btn { min-height:40px; padding-inline:14px; font-size:12px; }
.auth-note { margin:0; color:var(--on-surface-variant); font-size:11px; line-height:1.6; opacity:.72; }
.template-card { min-height:210px; }
footer.empty-footer { display:block; height:150px; margin-top:0; border-top:1px solid var(--outline-variant); background:var(--surface-lowest); }
footer.empty-footer .footer-inner { min-height:149px; }
.toast-host { position:fixed; top:16px; left:0; right:0; z-index:1000; display:flex; flex-direction:column; align-items:center; gap:9px; padding:0 12px; pointer-events:none; }
.toast {
  display:inline-flex;
  align-items:center;
  gap:9px;
  max-width:90vw;
  padding:12px 19px;
  border-radius:999px;
  background:var(--text-color);
  color:var(--crust-color);
  box-shadow:0 6px 20px rgba(0,0,0,.2);
  font-size:13px;
  font-weight:650;
  animation:toastIn .28s var(--ease);
}
@keyframes toastIn { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
[data-reveal] { opacity:0; transform:translateY(22px); transition:opacity .6s var(--ease),transform .6s var(--ease); }
[data-reveal].in { opacity:1; transform:none; }
.md-card[data-reveal].in:hover {
  transform:translateY(-5px);
  border-color:color-mix(in srgb,var(--blue-color),transparent 50%);
}
@media (max-width:768px) {
  .header-row { padding:10px 12px; }
  .brand-text { font-size:clamp(11px,3.5vw,14px); letter-spacing:-.2px; }
  .brand.header__title { gap:6px; }
  .brand-mark,.brand-mark .icon { width:25px; height:25px; }
  .header-actions { gap:6px; }
  .lang-switch { width:80px; height:40px; }
  .icon-btn { width:40px; min-width:40px; height:40px; }
  .header-divider { margin:0 3px; font-size:20px; }
  .header-social { gap:6px; }
  .header-social .icon-btn { width:38px; min-width:38px; height:38px; }
  .hero { padding-top:38px; }
  .top-cards { grid-template-columns:1fr; }
  .card-layout { padding:28px 16px 52px; }
  .md-card { padding:22px; }
}
@media (max-width:560px) {
  .brand-text { font-size:11px; }
  .brand { gap:5px; }
  .header-actions { gap:4px; }
  .header-divider { margin:0 1px; font-size:18px; }
  .header-social { gap:4px; }
  .header-social .icon-btn { width:34px; min-width:34px; height:34px; }
  .header-social .icon { width:18px; height:18px; }
  .auth-grid,.login-grid { grid-template-columns:1fr; }
  .account-result.subscription-layout { grid-template-columns:minmax(0,1fr); gap:14px; }
  .subscription-stats { justify-self:stretch; max-width:none; grid-template-columns:repeat(3,minmax(0,1fr)); text-align:left; }
  .subscription-stat { padding:10px 8px; }
  .subscription-stat-label { font-size:9px; }
  .subscription-stat-value { font-size:12px; }
  .auth-submit { width:100%; }
  .button-row .btn { flex:1 1 100%; }
  .free-cta { width:100%; }
}
@media (max-width:380px) {
  .brand-text { display:none; }
  .lang-switch { width:70px; height:38px; }
  .lang-btn { font-size:11px; }
  .icon-btn { width:38px; min-width:38px; height:38px; }
  .header-social .icon-btn { width:32px; min-width:32px; height:32px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
  [data-reveal] { opacity:1; transform:none; }
}