/* ==========================================================================
   SayVPN — design system
   ========================================================================== */

:root {
  --bg: #070b12;
  --bg-2: #0b1219;
  --bg-3: #0f1822;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #eef4f6;
  --text-2: #b7c3cc;
  --muted: #7f8d98;

  --cyan: #6ff2ff;
  --cyan-2: #36d6e8;
  --teal: #0c9aa3;
  --teal-deep: #005456;
  --amber: #feb737;
  --blue: #71aff8;
  --purple: #a78bfa;

  --accent: var(--cyan);

  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 24px;
  --radius-sm: 14px;
  --container: 1180px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(111, 242, 255, 0.35); color: #fff; }

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

/* ---------- Background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.bg__orb--1 {
  width: 720px; height: 720px;
  left: -220px; top: -260px;
  background: radial-gradient(circle, rgba(111, 242, 255, 0.55), rgba(12, 154, 163, 0.15) 60%, transparent 70%);
  animation: drift 26s ease-in-out infinite alternate;
}
.bg__orb--2 {
  width: 620px; height: 620px;
  right: -200px; top: 10vh;
  background: radial-gradient(circle, rgba(113, 175, 248, 0.45), rgba(84, 55, 135, 0.25) 60%, transparent 72%);
  animation: drift 32s ease-in-out infinite alternate-reverse;
}
.bg__orb--3 {
  width: 520px; height: 520px;
  left: 30vw; bottom: -300px;
  background: radial-gradient(circle, rgba(254, 183, 55, 0.22), transparent 70%);
  animation: drift 38s ease-in-out infinite alternate;
}
.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 80%);
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, 40px, 0) scale(1.08); }
}

main, .footer, .nav { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
  position: relative;
  isolation: isolate;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn__icon { width: 20px; height: 20px; }

.btn--primary {
  color: #041014;
  background: linear-gradient(135deg, #8ff7ff 0%, var(--cyan) 40%, #2fc6da 100%);
  box-shadow:
    0 10px 30px -8px rgba(111, 242, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(111, 242, 255, 0.75), inset 0 1px 0 rgba(255,255,255,0.7);
}
.btn--primary:hover::after { opacity: 1; }

.btn--ghost {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--border-2);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.btn--dark {
  color: #eef4f6;
  background: #0a1116;
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 16px 40px -14px rgba(0,0,0,0.6);
}
.btn--dark:hover { transform: translateY(-2px); background: #101a22; border-color: rgba(255,255,255,0.22); }

.btn--lg { padding: 19px 36px; font-size: 17px; }
.btn--sm { padding: 12px 20px; font-size: 14.5px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  transition: padding 0.35s var(--ease), background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 8px 0;
  background: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
}
.brand__mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 6px 18px -6px rgba(111,242,255,0.6);
}
.brand__text span { color: var(--cyan); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__links a:not(.btn) {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--text-2);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.25s, background 0.25s;
}
.nav__links a:not(.btn):hover { color: var(--text); background: var(--surface-2); }
.nav__cta-mobile { display: none; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 96px;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  gap: 0.05em;
}
.hero__title .line { display: block; }
.hero__title .line--accent {
  background: linear-gradient(95deg, #b9fbff 0%, var(--cyan) 35%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 520px;
  width: 100%;
  margin-left: auto;
}
.hero__card {
  position: relative;
  width: 68%;
  border-radius: 22%;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.15),
    0 40px 90px -30px rgba(111, 242, 255, 0.55),
    0 30px 60px -30px rgba(0,0,0,0.8);
  transform: rotate(-6deg);
  animation: float 7s ease-in-out infinite;
  z-index: 2;
}
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 6s ease-in-out infinite 1.5s;
}
.hero__glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111,242,255,0.45), rgba(111,242,255,0) 70%);
  filter: blur(40px);
  z-index: 0;
}
.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.09);
  z-index: 1;
}
.orbit::before {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  top: -5px; left: 50%;
  margin-left: -5px;
  background: var(--cyan);
  box-shadow: 0 0 14px 3px rgba(111,242,255,0.6);
}
.orbit--1 { inset: 0; animation: spin 22s linear infinite; }
.orbit--2 { inset: 9%; animation: spin 16s linear infinite reverse; }
.orbit--2::before { background: var(--amber); box-shadow: 0 0 14px 3px rgba(254,183,55,0.55); }
.orbit--3 { inset: 20%; animation: spin 11s linear infinite; }
.orbit--3::before { background: var(--blue); box-shadow: 0 0 14px 3px rgba(113,175,248,0.55); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-14px); }
}
@keyframes shine {
  0%, 60% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 24px; height: 38px;
  margin-left: -12px;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute;
  left: 50%; top: 7px;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--cyan);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section__head { margin-bottom: 52px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(111,242,255,0.35);
  background: rgba(111,242,255,0.08);
  color: var(--cyan);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
.eyebrow--ghost {
  color: var(--text-2);
  border-color: var(--border-2);
  background: var(--surface);
  margin-bottom: 0;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 820px;
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  --accent: var(--cyan);
  position: relative;
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.3s, background 0.3s;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 22%, transparent), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.feature::after {
  content: "";
  position: absolute;
  left: 26px; right: 26px; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.8;
}
.feature:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: var(--surface-2); }
.feature:hover::before { opacity: 1; }

.feature__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
}
.feature__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.feature__icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.22;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  margin-top: auto;
}
.feature__text { color: var(--text-2); font-size: 16px; line-height: 1.55; }

/* ---------- Pricing ---------- */
.section--pricing {
  position: relative;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  --accent: var(--cyan);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s var(--ease);
}
.plan:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--accent) 45%, transparent);
}
.plan::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, -20%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.plan:hover::before { opacity: 1; }

.plan--hit {
  background:
    linear-gradient(160deg, rgba(111,242,255,0.14), rgba(12,154,163,0.06) 40%, rgba(0,84,86,0.25) 100%),
    var(--surface);
  border-color: rgba(111,242,255,0.45);
  box-shadow: 0 30px 70px -30px rgba(111,242,255,0.5), inset 0 1px 0 rgba(255,255,255,0.12);
}
.plan--hit::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(111,242,255,0.9), rgba(111,242,255,0.1) 40%, rgba(113,175,248,0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.plan__badge {
  position: absolute;
  top: 22px; right: 22px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.plan__badge--hit {
  color: #1b1200;
  background: linear-gradient(135deg, #ffd27a, var(--amber));
  border-color: transparent;
  box-shadow: 0 8px 22px -8px rgba(254,183,55,0.9);
}
.plan__head { margin-bottom: 26px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.plan__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  padding-right: 90px;
}
.plan__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.plan__cur { font-size: 26px; font-weight: 600; color: var(--accent); }
.plan__list { display: flex; flex-direction: column; gap: 14px; flex: 1; margin-bottom: 30px; }
.plan__list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.55;
}
.plan__list li b { color: var(--text); font-weight: 700; }
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.plan__list li::after {
  content: "";
  position: absolute;
  left: 6px; top: 9px;
  width: 6px; height: 3px;
  border-left: 1.8px solid var(--accent);
  border-bottom: 1.8px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */
.faq {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq__item + .faq__item { border-top: 1px solid var(--border); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  transition: background 0.25s, color 0.25s;
}
.faq__q:hover { background: var(--surface-2); }
.faq__q[aria-expanded="true"] { color: var(--cyan); }
.faq__icon {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 50%;
  position: relative;
  background: linear-gradient(135deg, #ffd27a, var(--amber));
  box-shadow: 0 8px 20px -8px rgba(254,183,55,0.9);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: #1b1200;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; transition: transform 0.35s var(--ease); }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(180deg); background: linear-gradient(135deg, #b9fbff, var(--cyan)); box-shadow: 0 8px 20px -8px rgba(111,242,255,0.9); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.faq__a-inner { overflow: hidden; }
.faq__a p {
  padding: 0 28px 28px;
  color: var(--text-2);
  font-size: 16px;
  max-width: 720px;
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ---------- CTA ---------- */
.section--cta { padding-top: 40px; }
.cta {
  position: relative;
  overflow: hidden;
  padding: 88px 40px;
  border-radius: 36px;
  text-align: center;
  color: #041014;
  background:
    radial-gradient(900px 400px at 20% 0%, rgba(255,255,255,0.55), transparent 60%),
    linear-gradient(135deg, #b9fbff 0%, var(--cyan) 45%, #3ec8dc 100%);
  box-shadow: 0 50px 120px -50px rgba(111,242,255,0.8);
}
.cta__rings { position: absolute; inset: 0; pointer-events: none; }
.cta__rings span {
  position: absolute;
  left: 50%; top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(4,16,20,0.12);
  transform: translate(-50%, -50%);
  animation: ripple 6s ease-out infinite;
}
.cta__rings span:nth-child(1) { width: 420px; height: 420px; }
.cta__rings span:nth-child(2) { width: 720px; height: 720px; animation-delay: 1.5s; }
.cta__rings span:nth-child(3) { width: 1020px; height: 1020px; animation-delay: 3s; }
@keyframes ripple { 0% { opacity: 0; transform: translate(-50%,-50%) scale(0.85); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,-50%) scale(1.1); } }
.cta__title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.6vw, 56px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.cta__text { position: relative; margin: 18px 0 34px; font-size: 20px; font-weight: 600; color: rgba(4,16,20,0.8); }
.cta .btn { position: relative; }

/* ---------- Footer ---------- */
.footer {
  padding: 40px 0 44px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02));
}
.footer__top {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 26px;
}
.footer__support { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer__mail {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: -0.01em;
  background: linear-gradient(95deg, #fff, #b9fbff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 0.25s;
}
.footer__mail:hover { opacity: 0.8; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14.5px;
}
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__links a { color: var(--text-2); font-weight: 600; transition: color 0.25s; }
.footer__links a:hover { color: var(--cyan); }

/* ---------- Legal pages ---------- */
.legal { padding: 60px 0 100px; }
.legal__head { margin-bottom: 40px; }
.legal__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.legal__body {
  padding: 48px 48px 40px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.legal__body > p { color: var(--text-2); margin-bottom: 18px; }
.legal__body > p.lead { font-size: 18px; color: var(--text); margin-bottom: 36px; }
.legal__body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin: 40px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--cyan);
}
.legal__body h3 { font-weight: 800; font-size: 16.5px; margin: 22px 0 10px; color: var(--text); }
.legal__body ul { list-style: none; margin: 8px 0 18px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.legal__body ul li { position: relative; padding-left: 22px; color: var(--text-2); }
.legal__body ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(111,242,255,0.7);
}
.legal__body a { color: var(--cyan); }
.legal__contacts {
  margin: 8px 0 18px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  background: rgba(111,242,255,0.06);
  border: 1px solid rgba(111,242,255,0.2);
  display: grid;
  gap: 8px;
}
.legal__contacts div { color: var(--text-2); }
.legal__contacts b { color: var(--text); }
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-weight: 600;
  margin-bottom: 26px;
  transition: color 0.25s;
}
.legal__back:hover { color: var(--cyan); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature { min-height: 0; }
}

@media (max-width: 960px) {
  .hero { min-height: 0; padding: 40px 0 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 380px; margin: 0 auto; order: -1; }
  .hero__content { text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__scroll { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .section { padding: 80px 0; }
}

@media (max-width: 820px) {
  .nav__cta { display: none; }
  .burger { display: flex; }
  .nav__links {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(11, 18, 25, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-2);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s var(--ease);
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a:not(.btn) { padding: 14px 16px; font-size: 16px; }
  .nav__cta-mobile { display: inline-flex; margin-top: 8px; }
  .nav { position: sticky; }
  .nav:not(.is-scrolled) { background: rgba(7, 11, 18, 0.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .features { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(30px, 8.4vw, 44px); }
  .hero__visual { max-width: 300px; }
  .plan { padding: 28px 22px 24px; }
  .plan__name { font-size: 19px; padding-right: 80px; }
  .plan__price { font-size: 40px; }
  .faq__q { padding: 20px 18px; font-size: 15.5px; }
  .faq__a p { padding: 0 18px 22px; }
  .cta { padding: 60px 22px; border-radius: 28px; }
  .legal__body { padding: 28px 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
