/* ==========================================================================
   Khazar Code — styles
   ========================================================================== */

:root {
  --bg: #05050f;
  --bg-2: #0a0a1f;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.065);
  --border: rgba(148, 130, 255, 0.16);
  --border-strong: rgba(148, 130, 255, 0.34);
  --text: #eef0ff;
  --muted: #a6abcf;
  --dim: #767ba3;
  --accent: #7dd3fc;

  --grad: linear-gradient(100deg, #2563eb 0%, #6d28d9 55%, #c026d3 100%);
  --grad-text: linear-gradient(95deg, #7dd3fc 0%, #818cf8 40%, #c084fc 75%, #f0abfc 100%);

  --radius: 20px;
  --container: 1200px;
  --header-h: 72px;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Unbounded", var(--font);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55vw 45vw at 88% -8%, rgba(99, 102, 241, 0.2), transparent 62%),
    radial-gradient(45vw 40vw at -8% 35%, rgba(168, 85, 247, 0.12), transparent 62%),
    radial-gradient(45vw 35vw at 60% 105%, rgba(56, 189, 248, 0.08), transparent 60%);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

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

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.btn--primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(124, 58, 237, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn--ghost {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover {
  background: var(--surface-2);
  border-color: rgba(148, 130, 255, 0.6);
  transform: translateY(-2px);
}

.btn--sm {
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
}
.btn--sm .icon { width: 16px; height: 16px; }

/* ---------- Header ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.header.is-scrolled,
.header.nav-open {
  background: rgba(5, 5, 15, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .05em;
  white-space: nowrap;
}
.brand img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.55));
}
.brand b {
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s;
}
.nav a:hover { color: var(--text); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  display: flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}
.lang button {
  border: 0;
  background: none;
  color: var(--dim);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .06em;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s, background-color .2s;
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.75), rgba(147, 51, 234, 0.75));
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  cursor: pointer;
  place-content: center;
  gap: 6px;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .25s;
}
.header.nav-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.header.nav-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 200px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 130, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 130, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 25%, transparent 75%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(10, 10, 31, 0.6);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 10px #22d3ee;
}

h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 22px 0 22px;
}
h1 > span { display: block; }
h1 .grad { filter: drop-shadow(0 0 28px rgba(129, 140, 248, 0.35)); }

.lead {
  max-width: 540px;
  font-size: 18px;
  color: var(--muted);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 36px;
  color: var(--dim);
  font-size: 14px;
  font-weight: 600;
}
.hero__tags li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero__tags .icon {
  width: 16px;
  height: 16px;
  color: #93c5fd;
}

/* Orb */

.hero__visual { position: relative; }

.orb {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1;
  margin-left: auto;
}

.orb__glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.55), rgba(37, 99, 235, 0.25) 45%, transparent 70%);
  filter: blur(30px);
  animation: pulse 6s ease-in-out infinite;
}

.orb__ring {
  position: absolute;
  border-radius: 50%;
}
.orb__ring--outer {
  inset: 0;
  border: 1px dashed rgba(148, 130, 255, 0.22);
  animation: spin 60s linear infinite reverse;
}
.orb__ring--spin {
  inset: 7%;
  border: 1.5px solid rgba(148, 130, 255, 0.12);
  border-top-color: #38bdf8;
  border-right-color: rgba(168, 85, 247, 0.7);
  animation: spin 14s linear infinite;
}

.orb__logo {
  position: absolute;
  inset: 15%;
  width: 70%;
  height: 70%;
  filter: drop-shadow(0 0 26px rgba(99, 102, 241, 0.6)) drop-shadow(0 0 60px rgba(168, 85, 247, 0.35));
  animation: float 7s ease-in-out infinite;
}

.orb__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(12, 11, 36, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.7), 0 0 20px -8px rgba(99, 102, 241, 0.6);
  animation: float 8s ease-in-out infinite;
}
.orb__chip .icon { width: 16px; height: 16px; color: var(--accent); }
.orb__chip--1 { top: 8%; left: -6%; animation-delay: -1s; }
.orb__chip--2 { top: 22%; right: -6%; animation-delay: -3s; }
.orb__chip--3 { bottom: 20%; left: -10%; animation-delay: -5s; }
.orb__chip--4 { bottom: 6%; right: 6%; animation-delay: -2s; }

/* Skyline */

.skyline {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: max(100%, 960px);
  height: auto;
  pointer-events: none;
}
.flames { animation: flicker 5s ease-in-out infinite; }

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: 96px 0;
}

.section__head {
  max-width: 720px;
  margin-bottom: 52px;
}
.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #a5b4fc;
}
.kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-text);
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.14;
  letter-spacing: -.015em;
  margin: 16px 0;
  text-wrap: balance;
}

.section__lead {
  font-size: 17px;
  color: var(--muted);
  text-wrap: pretty;
}

h3 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
}

/* ---------- Services ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22), transparent 65%);
  opacity: .5;
  transition: opacity .3s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 50px -24px rgba(99, 102, 241, 0.55);
}
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

.card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 14px;
  color: #c7d2fe;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(168, 85, 247, 0.22));
  border: 1px solid rgba(148, 130, 255, 0.3);
  box-shadow: 0 0 24px -6px rgba(99, 102, 241, 0.55);
}
.card__icon .icon { width: 24px; height: 24px; }

/* ---------- Works ---------- */

.works {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.work {
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.work:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 30px 60px -30px rgba(99, 102, 241, 0.6);
}

.work__frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 130, 255, 0.2);
  background: #0b0a22;
}

.work__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(148, 130, 255, 0.14);
}
.work__bar span {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.work__bar em {
  flex: 1;
  min-width: 0;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  font-style: normal;
  font-size: 12px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work__shot {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.work__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .6s ease;
}
.work:hover .work__shot img { transform: scale(1.04); }

.work__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 22px 10px 8px;
}
.work__tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #a5b4fc;
}
.work h3 { font-size: 22px; }
.work p { font-size: 15px; color: var(--muted); }

.work__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}
.work__link .icon {
  width: 16px;
  height: 16px;
  transition: transform .2s;
}
.work:hover .work__link .icon { transform: translate(2px, -2px); }

/* ---------- Pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
}

.plan--featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, #120f35, #0a0920) padding-box,
    linear-gradient(160deg, #38bdf8, #6366f1 45%, #d946ef) border-box;
  box-shadow: 0 30px 80px -30px rgba(124, 58, 237, 0.65);
}

.plan__badge {
  position: absolute;
  top: -14px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 8px 20px -8px rgba(124, 58, 237, 0.9);
}
.plan__badge .icon { width: 14px; height: 14px; }

.plan__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.plan__head .card__icon { margin-bottom: 0; }

.plan__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}

.plan__price {
  margin: 4px 0 24px;
  font-size: clamp(28px, 2.9vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.plan__price .cur {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plan ul {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.plan li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: #d5d8f2;
}
.plan li .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--accent);
}

.plan__note {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(148, 130, 255, 0.3);
  background: rgba(255, 255, 255, 0.025);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.plan__note .icon { width: 16px; height: 16px; margin-top: 2px; color: #c4b5fd; }

.plan .btn {
  margin-top: auto;
  width: 100%;
}

.extras {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.extra {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.extra .card__icon { margin-bottom: 0; }
.extra__body { flex: 1; min-width: 0; }
.extra__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.extra__title h3 { font-size: 17px; }
.extra p { font-size: 14px; color: var(--muted); line-height: 1.5; }

.tag {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(217, 70, 239, 0.45);
  background: rgba(217, 70, 239, 0.12);
  color: #f0abfc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.extra__value {
  flex: none;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.01em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.extra__period {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: right;
  color: var(--muted);
}
.extra__value--sm {
  font-size: 15px;
  max-width: 150px;
  white-space: normal;
  text-align: right;
  line-height: 1.3;
}

/* ---------- Process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50px;
  right: -21px;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(129, 140, 248, 0.6), transparent);
}
.step__num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq details {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .2s, background-color .2s;
}
.faq details[open] {
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  color: var(--accent);
  transition: transform .25s;
}
.faq__toggle .icon { width: 16px; height: 16px; }
.faq details[open] .faq__toggle { transform: rotate(45deg); }
.faq details p {
  padding: 0 24px 22px;
  color: var(--muted);
}

/* ---------- Contact ---------- */

.section--contact { padding-bottom: 90px; }

.contact {
  position: relative;
  padding: 64px 40px;
  border-radius: 32px;
  border: 1px solid var(--border-strong);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(99, 102, 241, 0.28), transparent 70%),
    radial-gradient(40% 60% at 100% 100%, rgba(192, 38, 211, 0.18), transparent 70%),
    linear-gradient(160deg, #0f0c30, #0a0920);
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 130, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 130, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000, transparent 75%);
}
.contact > * { position: relative; }
.contact__logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 0 22px rgba(99, 102, 241, 0.7));
}
.contact h2 { max-width: 640px; margin-left: auto; margin-right: auto; }
.contact .section__lead { max-width: 520px; margin: 0 auto; }

.contact__phone {
  display: inline-block;
  margin: 28px 0 32px;
  font-family: var(--font-display);
  font-size: clamp(22px, 4.2vw, 50px);
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(129, 140, 248, 0.35));
  transition: filter .2s;
}
.contact__phone:hover { filter: drop-shadow(0 0 34px rgba(129, 140, 248, 0.6)); }

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}
.footer .brand { font-size: 14px; }
.footer .brand img { width: 32px; height: 32px; }
.footer__tag { color: var(--dim); font-size: 14px; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.footer__links a:hover { color: var(--text); }
.footer__copy { width: 100%; color: var(--dim); font-size: 13px; }

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Animations ---------- */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: .85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: .82; }
}

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

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
  .nav { gap: 22px; }
  .header__cta span { display: none; }
  .header__cta { width: 40px; padding: 0; }
}

@media (max-width: 1080px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .plan--featured { order: -1; }
  .extras { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
}

@media (max-width: 1100px) {
  .nav {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    margin: 0;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(10, 10, 28, 0.97);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .header.nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav a {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
    color: var(--text);
  }
  .nav a:hover { background: var(--surface-2); }
  .header__actions { margin-left: auto; }
  .burger { display: grid; }
}

@media (max-width: 920px) {
  .hero { padding-bottom: 150px; }
  .hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .hero__visual { order: -1; }
  .orb { width: min(300px, 78vw); margin: 0 auto; }
  .orb__chip { padding: 8px 11px; font-size: 12px; }
  .orb__chip--1 { left: -4%; }
  .orb__chip--2 { right: -4%; }
  .orb__chip--3 { left: -6%; }

  .services { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .brand { font-size: 14px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .header__actions { gap: 8px; }
  .header__cta { display: none; }
  .lang button { padding: 7px 8px; font-size: 11px; }

  .hero { padding-top: calc(var(--header-h) + 24px); padding-bottom: 120px; }
  .orb { width: min(250px, 70vw); }
  .orb__chip--3, .orb__chip--4 { display: none; }
  .lead { font-size: 16px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__tags { margin-top: 28px; gap: 8px 14px; font-size: 13px; }

  .section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .services { grid-template-columns: 1fr; }
  .works { grid-template-columns: 1fr; gap: 20px; }
  .work { padding: 10px; border-radius: 20px; }
  .work__body { padding: 18px 8px 6px; }
  .work h3 { font-size: 20px; }
  .card { padding: 24px; }
  .plan { padding: 30px 22px 22px; }
  .plan__price { font-size: 30px; }
  .extra { flex-wrap: wrap; align-items: flex-start; padding: 20px; }
  .extra__value, .extra__value--sm { width: 100%; max-width: none; text-align: left; padding-left: 70px; margin-top: -6px; }
  .extra__period { text-align: left; }
  .steps { grid-template-columns: 1fr; }

  .contact { padding: 48px 20px; border-radius: 24px; }
  .contact__actions .btn { flex: 1 1 100%; }
  .footer__links { margin-left: 0; }
}
