:root {
  --bg: #0a0a16;
  --bg-soft: #11112a;
  --card: #15152f;
  --card-2: #191938;
  --text: #ecebf5;
  --muted: #a3a2c2;
  --muted-2: #7d7ca0;
  --accent: #7c5cff;
  --accent-2: #c84dff;
  --good: #36d399;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --grad: linear-gradient(135deg, var(--accent), var(--accent-2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 560px at 82% -8%, rgba(200, 77, 255, 0.22), transparent 60%),
    radial-gradient(900px 480px at -8% 6%, rgba(124, 92, 255, 0.20), transparent 55%),
    var(--bg);
  line-height: 1.62;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  letter-spacing: -0.02em;
  line-height: 1.12;
}

/* gradient text helper */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 22, 0.66);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  width: 30px;
  height: 30px;
  display: block;
}
.brand .vps {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  text-decoration: none;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
}
.lang-switch a {
  padding: 6px 12px;
  color: var(--muted);
}
.lang-switch a:hover {
  text-decoration: none;
  color: var(--text);
}
.lang-switch a.active {
  background: var(--grad);
  color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    border-color 0.15s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 34px rgba(124, 92, 255, 0.34);
}
.btn-ghost {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover {
  border-color: var(--accent);
}

/* store button */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  background: #fff;
  color: #0a0a16;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.store-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.store-btn svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.store-btn .st {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.store-btn .st small {
  font-size: 11px;
  color: #4a4a66;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.store-btn .st b {
  font-size: 17px;
  font-weight: 700;
}

/* ---------- Badge / eyebrow ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: #d8caff;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.32);
  padding: 6px 14px;
  border-radius: 999px;
}
.badge .ping {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(54, 211, 153, 0.18);
}

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 58px);
  margin: 20px 0 18px;
}
.hero p.lead {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--muted);
  margin: 0 0 30px;
  max-width: 540px;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted-2);
}

/* phones */
.phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  min-height: 480px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.phones::before {
  content: "";
  position: absolute;
  inset: 6% 8% 6% 8%;
  background: radial-gradient(closest-side, rgba(124, 92, 255, 0.30), transparent 72%);
  filter: blur(8px);
  z-index: 0;
}
.phones img {
  position: relative;
  z-index: 1;
  width: clamp(118px, 36vw, 232px);
  max-width: 46%;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}
.phones img.front {
  margin-left: clamp(-22px, -6vw, -64px);
  margin-bottom: 26px;
  z-index: 2;
}
.phones img.back {
  margin-bottom: 0;
  transform: translateY(-8px);
  opacity: 0.96;
}

/* ---------- Sections ---------- */
.section {
  padding: 64px 0;
}
.section-head {
  max-width: 660px;
  margin-bottom: 42px;
}
.section h2 {
  font-size: clamp(27px, 3.6vw, 36px);
  margin: 10px 0 12px;
}
.section .sub {
  color: var(--muted);
  margin: 0;
}

/* stats band */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: center;
}
.stat .num {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.stat .lbl {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

/* features grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.30);
}
.feat-icon svg {
  width: 23px;
  height: 23px;
  stroke: #d8caff;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* servers */
.servers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.server {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.server .flag {
  font-size: 0;
  width: 40px;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  margin-bottom: 8px;
}
.server .flag svg {
  width: 40px;
  height: 28px;
  display: block;
}
.server .country {
  font-weight: 700;
  font-size: 17px;
}
.server .meta {
  color: var(--muted);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.server .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
}

/* CTA */
.cta-band {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.16), rgba(200, 77, 255, 0.14));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 46px 40px;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  margin: 0 0 10px;
}
.cta-band p {
  color: var(--muted);
  margin: 0 0 26px;
}
.cta-band .app-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  display: block;
  margin: 0 auto 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

/* ---------- Inner page / prose ---------- */
.page {
  flex: 1;
  padding: 56px 0 64px;
}
.prose {
  max-width: 760px;
}
.prose h1 {
  font-size: clamp(30px, 4.4vw, 42px);
  margin: 14px 0 18px;
}
.prose h2 {
  font-size: 22px;
  margin: 34px 0 12px;
}
.prose p,
.prose li {
  color: var(--muted);
}
.prose ul {
  padding-left: 20px;
}
.prose li {
  margin: 6px 0;
}
.prose h3 {
  font-size: 17px;
  margin: 22px 0 8px;
  color: var(--text);
}
.prose a {
  color: #c8b6ff;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.22);
  color: #d8caff;
}

/* notice box (placeholder pages) */
.notice {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 22px 0;
}
.notice p {
  margin: 0 0 10px;
}
.notice p:last-child {
  margin: 0;
}
.meta-line {
  color: var(--muted-2);
  font-size: 14px;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
}
.faq details {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq .answer {
  padding: 0 0 18px;
  color: var(--muted);
}
.faq .answer p {
  margin: 0 0 10px;
}
.faq .answer p:last-child {
  margin: 0;
}

/* contact card */
.contact-card {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 18px 0 26px;
}
.contact-card .row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 10px;
  padding: 8px 0;
  color: var(--muted);
}
.contact-card .row b {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 46px 0 30px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}
.footer-grid h4 {
  color: var(--text);
  font-size: 14px;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}
.footer-grid a {
  display: block;
  color: var(--muted);
  padding: 5px 0;
}
.footer-grid a:hover {
  color: var(--text);
  text-decoration: none;
}
.footer-about {
  max-width: 320px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted-2);
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .phones {
    min-height: 420px;
    margin-top: 8px;
  }
  .servers {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 56px 0 40px;
  }
  .nav-links {
    display: none;
  }
  .grid,
  .stats {
    grid-template-columns: 1fr;
  }
  .servers {
    grid-template-columns: 1fr;
  }
  .phones {
    min-height: 340px;
  }
  .cta-band {
    padding: 34px 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-card .row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
