:root {
  --bg: #0b0620;
  --bg-2: #160b3a;
  --panel: rgba(28, 18, 78, 0.62);
  --line: rgba(120, 220, 255, 0.28);
  --text: #eef0ff;
  --muted: #a9a6d6;
  --cyan: #45e3ff;
  --pink: #ff4fc3;
  --violet: #9b6bff;
  --radius: 22px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(155, 107, 255, 0.28), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(69, 227, 255, 0.14), transparent 60%),
    radial-gradient(800px 500px at 50% 110%, rgba(255, 79, 195, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 55%);
  background-repeat: no-repeat;
  overflow-x: hidden;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
}

a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #9cf1ff; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 15px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 18px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding: 36px 0 64px; }
.hero-icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 0 0 1px var(--line), 0 12px 40px rgba(69, 227, 255, 0.25); }
.title {
  margin: 22px 0 4px;
  font-size: clamp(56px, 11vw, 104px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-shadow: 0 0 18px rgba(69, 227, 255, 0.55), 0 0 42px rgba(69, 227, 255, 0.3);
}
.title span { color: var(--pink); text-shadow: 0 0 18px rgba(255, 79, 195, 0.6), 0 0 42px rgba(255, 79, 195, 0.35); }
.tagline { margin: 0 0 18px; color: var(--muted); letter-spacing: 0.32em; text-transform: uppercase; font-size: 14px; }
.lead { font-size: 19px; max-width: 34em; margin: 0 0 28px; }

.cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(69, 227, 255, 0.18), rgba(155, 107, 255, 0.28));
  color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.06em;
  box-shadow: 0 0 22px rgba(69, 227, 255, 0.35), inset 0 0 18px rgba(69, 227, 255, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta:hover { color: var(--text); transform: translateY(-1px); box-shadow: 0 0 32px rgba(69, 227, 255, 0.55), inset 0 0 18px rgba(69, 227, 255, 0.2); }
.cta svg { width: 22px; height: 22px; }
.cta small { display: block; font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); line-height: 1.1; }
.cta strong { display: block; line-height: 1.2; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.facts li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; background: rgba(20, 12, 60, 0.5); }

/* Phones */
.phones { position: relative; height: 560px; overflow: clip; overflow-clip-margin: 40px; }
.phone {
  position: absolute; width: 238px; aspect-ratio: 576 / 1248;
  border-radius: 30px; overflow: hidden;
  border: 1px solid rgba(160, 200, 255, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(155, 107, 255, 0.25);
  background: #120a33;
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; }
.phone.a { left: 0; top: 46px; transform: rotate(-6deg); }
.phone.b { left: 50%; top: 0; transform: translateX(-50%); z-index: 2; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(69, 227, 255, 0.3); }
.phone.c { right: 0; top: 46px; transform: rotate(6deg); }

/* Sections */
section { padding: 32px 0 56px; }
h2 { font-size: 28px; letter-spacing: 0.04em; margin: 0 0 22px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(6px); }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.dot.pink { background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.dot.violet { background: var(--violet); box-shadow: 0 0 10px var(--violet); }

/* Footer */
.site-footer { border-top: 1px solid rgba(160, 200, 255, 0.14); padding: 26px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* Text pages (privacy policy) */
.doc { max-width: 760px; padding: 24px 28px 34px; margin: 10px auto 56px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.doc h1 { font-size: clamp(28px, 5vw, 38px); line-height: 1.2; margin: 6px 0 4px; }
.doc h2 { font-size: 21px; margin: 30px 0 8px; letter-spacing: 0; }
.doc p, .doc li { color: #d9daf5; }
.doc ul { padding-left: 22px; }
.meta { color: var(--muted); font-size: 14px; margin-top: 0; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 12px; gap: 28px; text-align: center; }
  .hero-icon { margin-inline: auto; }
  .lead { margin-inline: auto; }
  .facts { justify-content: center; }
  .phones { height: 430px; max-width: 400px; width: calc(100% - 12px); margin-inline: auto; }
  .phone { width: 180px; border-radius: 24px; }
  .grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav { gap: 14px; font-size: 14px; }
  .phones { height: 360px; }
  .phone { width: 150px; border-radius: 20px; }
  .grid { grid-template-columns: 1fr; }
  .doc { padding: 20px 18px 26px; }
}
