/* ============================================================
   Yalott Studio — стилі
   Фірмові кольори змінюються в :root нижче.
   ============================================================ */

:root {
  --bg: #07070c;
  --bg-2: #0d0d16;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f4fb;
  --muted: #a1a1b8;
  --dim: #6b6b85;

  --violet: #8b5cf6;
  --indigo: #6366f1;
  --blue: #3b82f6;
  --cyan: #22d3ee;

  --gradient: linear-gradient(120deg, #a855f7 0%, #6366f1 50%, #3b82f6 100%);
  --gradient-text: linear-gradient(100deg, #c084fc 0%, #818cf8 45%, #60a5fa 80%, #67e8f9 100%);
  --glow: 0 0 24px rgba(124, 92, 246, 0.45), 0 0 64px rgba(59, 130, 246, 0.2);

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-h: 72px;

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

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

/* ---------- База ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -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;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }

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

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

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

/* ---------- Фон ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

.bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}

.bg__orb--1 {
  width: 520px; height: 520px;
  top: -180px; left: -120px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  animation: float 18s var(--ease) infinite alternate;
}

.bg__orb--2 {
  width: 600px; height: 600px;
  top: 10%; right: -220px;
  background: radial-gradient(circle, #2563eb 0%, transparent 70%);
  animation: float 22s var(--ease) infinite alternate-reverse;
}

@keyframes float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, 80px, 0) scale(1.12); }
}

/* ---------- Кнопки ---------- */
.btn {
  --pad-y: 14px;
  --pad-x: 24px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 16px/1.2 var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s, border-color 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.btn svg {
  flex: none;
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.btn--sm { --pad-y: 10px; --pad-x: 18px; font-size: 14px; }
.btn--lg { --pad-y: 17px; --pad-x: 30px; font-size: 17px; }

.btn--primary {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 8px 30px rgba(99, 102, 241, 0.35);
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--gradient);
  filter: blur(16px);
  opacity: 0.45;
  z-index: -1;
  transition: opacity 0.3s;
}

.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, var(--glow); }
.btn--primary:hover::after { opacity: 0.8; }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--primary:hover .btn__tg { transform: rotate(-12deg); }

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(139, 92, 246, 0.1);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.25);
}

.btn:active { transform: translateY(0) scale(0.98); }

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(7, 7, 12, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 11px;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 0 20px rgba(124, 92, 246, 0.55);
}

.logo__text { display: inline-flex; gap: 6px; }
.logo__accent { color: var(--muted); font-weight: 500; }
.logo--sm { font-size: 16px; }
.logo--sm .logo__mark { width: 30px; height: 30px; font-size: 15px; border-radius: 9px; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}

.nav > a:not(.btn) {
  color: var(--muted);
  position: relative;
  transition: color 0.2s;
}

.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.nav > a:not(.btn):hover,
.nav > a.is-active { color: var(--text); }
.nav > a:not(.btn):hover::after,
.nav > a.is-active::after { transform: scaleX(1); }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* ---------- Головний екран ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 72px;
}

.hero__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  margin-top: 28px;
  font-size: clamp(36px, 7.4vw, 84px);
  font-weight: 800;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.hero__title br { display: none; }

.hero__lead {
  margin-top: 24px;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero__stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
  overflow: hidden;
  width: 100%;
  max-width: 680px;
}

.hero__stats li {
  padding: 20px 12px;
  background: rgba(10, 10, 18, 0.85);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__stats strong {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__stats span { color: var(--muted); font-size: 14px; line-height: 1.35; }

/* ---------- Секції ---------- */
.section { padding: 110px 0; position: relative; }

.section__head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__title { font-size: clamp(30px, 4.6vw, 52px); }
.section__lead { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* ---------- Картки ---------- */
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card,
.feature,
.review,
.step,
.plan {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

/* градієнтна рамка при наведенні */
.card::before,
.feature::before,
.plan::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

@media (hover: hover) {
  .card:hover,
  .feature:hover,
  .plan:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px -20px rgba(99, 102, 241, 0.45);
  }
  .card:hover::before,
  .feature:hover::before,
  .plan:hover::before { opacity: 1; }
}

.card__icon,
.feature__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(59, 130, 246, 0.2));
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 24px rgba(124, 92, 246, 0.25);
  margin-bottom: 24px;
}

.card__icon svg,
.feature__icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: #c4b5fd; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.card__title { font-size: 21px; margin-bottom: 12px; }
.card__text { color: var(--muted); font-size: 16px; }

.card__list {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 8px;
  font-size: 15px;
}

.card__list li,
.plan__list li {
  position: relative;
  padding-left: 26px;
}

.card__list li::before,
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 10px rgba(124, 92, 246, 0.6);
}

.card__list li::after,
.plan__list li::after {
  content: "";
  position: absolute;
  left: 5px; top: calc(0.42em + 4px);
  width: 6px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ---------- Портфоліо ---------- */
.portfolio {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}

.work {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

a.work:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 30px 80px -30px rgba(99, 102, 241, 0.6);
}

.work__preview {
  position: relative;
  padding: 32px 32px 0;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(168, 85, 247, 0.35), transparent 60%),
    radial-gradient(ellipse at 90% 100%, rgba(59, 130, 246, 0.35), transparent 60%),
    #0b0b14;
  overflow: hidden;
}

.mock {
  border-radius: 14px 14px 0 0;
  border: 1px solid var(--border-strong);
  border-bottom: 0;
  background: #0f1015;
  overflow: hidden;
  transform: translateY(8px);
  transition: transform 0.5s var(--ease);
}

a.work:hover .mock { transform: translateY(0); }

.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--dim);
}

.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a2a38; }
.mock__bar span {
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock__body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; padding: 16px; }

.mock__hero {
  border-radius: 10px;
  min-height: 150px;
  background: linear-gradient(180deg, #1e3a2f 0%, #0f2a20 60%, #0a1a14 100%);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.mock__trees { width: 100%; fill: #0b3d2a; opacity: 0.9; }

.mock__cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  align-content: start;
}

.mock__cal i {
  aspect-ratio: 1;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
}

.mock__cal i.on { background: var(--gradient); box-shadow: 0 0 10px rgba(124, 92, 246, 0.6); }
.mock__cal i.busy { background: rgba(255, 255, 255, 0.16); }

.work__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px 32px;
}

.work__badge {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.55);
  background: rgba(10, 10, 18, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 0 16px rgba(124, 92, 246, 0.35);
}

.work__badge--live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-color: rgba(34, 197, 94, 0.55);
  color: #86efac;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.3);
}

.work__badge--live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

/* Широка картка-кейс на весь ряд */
.work--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
}

.work--featured .work__preview {
  display: flex;
  align-items: flex-end;
  padding: 40px 0 0 40px;
}

.work--featured .mock { width: 100%; border-right: 0; border-radius: 14px 0 0 0; }
.work--featured .work__info { padding: 40px; justify-content: center; }
.work--featured .work__title { font-size: 32px; }

.mock__shot {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.mock__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.work__subtitle {
  margin: -2px 0 14px;
  font-weight: 600;
  color: var(--text);
  opacity: 0.85;
}

.work__tag {
  font-size: 13px;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.work__title { font-size: 26px; margin-bottom: 10px; }
.work__text { color: var(--muted); font-size: 16px; }

.work__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.work__link svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

a.work:hover .work__link svg { transform: translate(3px, -3px); }

.work--soon {
  border-style: dashed;
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.015);
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 320px;
}

.work__soon-inner {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.work__soon-inner .btn { margin-top: 20px; }

.work__plus {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 1px dashed rgba(139, 92, 246, 0.6);
  font-size: 28px;
  color: #c4b5fd;
  font-family: var(--font-display);
}

/* ---------- Переваги ---------- */
.feature { padding: 30px 26px; }

.feature__num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 24px;
  height: 56px;
  display: flex;
  align-items: center;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature__num small { font-size: 18px; margin-left: 6px; font-weight: 600; }
.feature__title { font-size: 18px; margin-bottom: 10px; }
.feature__text { color: var(--muted); font-size: 15px; }

/* ---------- Ціни ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
}

.plan--featured {
  background:
    linear-gradient(180deg, rgba(139, 92, 246, 0.16), rgba(59, 130, 246, 0.05)),
    var(--bg-2);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.2), 0 30px 80px -30px rgba(124, 92, 246, 0.6);
}

.plan--featured::before { opacity: 1; }

.plan__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--glow);
  white-space: nowrap;
}

.plan__name { font-size: 22px; }
.plan__desc { margin-top: 10px; color: var(--muted); font-size: 15px; min-height: 48px; }

.plan__price {
  margin: 24px 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.plan__from { color: var(--muted); font-size: 16px; }

.plan__amount {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan__currency { color: var(--muted); font-weight: 600; }

.plan__note {
  flex-basis: 100%;
  margin-top: 4px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.4;
}

.plan__list { display: grid; gap: 12px; font-size: 15px; margin-bottom: 32px; }
.plan .btn { margin-top: auto; width: 100%; }

.pricing noscript { display: contents; }

.plan--fallback {
  grid-column: 1 / -1;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  align-items: center;
  text-align: center;
}

.plan--fallback .plan__desc { min-height: 0; margin-bottom: 28px; }
.plan--fallback .btn { width: auto; }

.support {
  margin-top: 20px;
  padding: 26px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.support__info { display: flex; align-items: center; gap: 18px; }

.support__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(59, 130, 246, 0.2));
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.support__icon svg { width: 22px; height: 22px; fill: none; stroke: #c4b5fd; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.support__name { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.support__desc { color: var(--muted); font-size: 15px; }

.support__price {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  white-space: nowrap;
}

.support__price small { font-family: var(--font-body); font-size: 15px; color: var(--muted); font-weight: 600; }

/* ---------- Процес ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 62px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.6), rgba(59, 130, 246, 0.6), transparent);
  z-index: -1;
}

.step { background: rgba(10, 10, 18, 0.9); }

.step__num {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  margin-bottom: 22px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  background: var(--gradient);
  box-shadow: var(--glow);
}

.step__title { font-size: 20px; margin-bottom: 10px; }
.step__text { color: var(--muted); font-size: 15px; }

/* ---------- Відгуки ---------- */
.review { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.review blockquote { margin: 0; font-size: 17px; }
.review figcaption { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.review figcaption strong { color: var(--text); font-size: 16px; }

/* ---------- CTA / Контакти ---------- */
.cta {
  position: relative;
  padding: 80px 32px;
  border-radius: 32px;
  text-align: center;
  border: 1px solid rgba(139, 92, 246, 0.35);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(139, 92, 246, 0.3), transparent 70%),
    radial-gradient(ellipse 50% 60% at 50% 110%, rgba(59, 130, 246, 0.3), transparent 70%),
    var(--bg-2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  pointer-events: none;
}

.cta > * { position: relative; z-index: 1; }
.cta__title { font-size: clamp(30px, 5vw, 56px); max-width: 16ch; }
.cta__text { margin: 20px 0 36px; max-width: 520px; color: var(--muted); font-size: 18px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.btn--wa:hover {
  border-color: rgba(37, 211, 102, 0.6);
  background: rgba(37, 211, 102, 0.1);
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.25);
}

.cta__handles {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 12px;
  color: var(--dim);
  font-weight: 600;
}

.cta__handles a { color: var(--muted); transition: color 0.2s; white-space: nowrap; }
.cta__handles a:hover { color: var(--text); }
.cta__role { color: var(--dim); font-weight: 500; }
.cta__manager { white-space: normal !important; }
.cta__num { white-space: nowrap; }

/* ---------- Футер ---------- */
.footer {
  padding: 36px 0 calc(36px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 14px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer .logo { color: var(--text); }
.footer a:last-child { transition: color 0.2s; }
.footer a:last-child:hover { color: var(--text); }

/* ---------- Плаваюча кнопка (мобільна) ---------- */
.fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: var(--glow);
  transform: scale(0);
  transition: transform 0.4s var(--ease);
}

.fab.is-visible { transform: scale(1); }
.fab svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; margin-left: -2px; }

/* ---------- Анімації появи ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

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

/* ============================================================
   Адаптивність
   ============================================================ */
@media (max-width: 1080px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .burger { display: block; }

  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
    background: rgba(7, 7, 12, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
    overflow-y: auto;
  }

  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav > a:not(.btn) {
    padding: 16px 4px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--border);
  }

  .nav > a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 24px; --pad-y: 16px; font-size: 17px; }

  body.menu-open { overflow: hidden; }
  body.menu-open .header { background: rgba(7, 7, 12, 0.96); }

  .cards--3,
  .pricing,
  .portfolio { grid-template-columns: 1fr; }
  .work--featured { grid-template-columns: 1fr; }
  .work--featured .work__preview { padding: 28px 28px 0; }
  .work--featured .mock { border-right: 1px solid var(--border-strong); border-radius: 14px 14px 0 0; }
  .work--featured .work__info { padding: 28px 32px 32px; }

  .pricing { max-width: 520px; margin: 0 auto; gap: 28px; }
  .support { max-width: 520px; margin-left: auto; margin-right: auto; }
  .plan__desc { min-height: 0; }

  .fab { display: grid; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }

  .container { padding: 0 16px; }

  .hero { padding: calc(var(--header-h) + 32px) 0 56px; }
  .hero__title br { display: inline; }
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { margin-top: 48px; }
  .hero__stats li { padding: 16px 6px; }
  .hero__stats span { font-size: 12px; }

  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
  .section__lead { font-size: 16px; }

  .cards--4,
  .steps { grid-template-columns: 1fr; }

  .card, .feature, .step, .plan { padding: 26px 22px; }

  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: start; }
  .step__num { grid-row: span 2; width: 48px; height: 48px; font-size: 15px; margin: 0; }
  .step__title { margin: 4px 0 6px; }

  .work__preview { padding: 20px 20px 0; }
  .work__info { padding: 22px; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__hero { min-height: 110px; }
  .mock__cal { grid-template-columns: repeat(14, 1fr); gap: 4px; }
  .work--soon { min-height: 260px; }
  .work--featured .work__preview { padding: 20px 20px 0; }
  .work--featured .work__info { padding: 22px; }
  .work--featured .work__title { font-size: 26px; }

  .support { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
  .support__info { align-items: flex-start; }

  .cta { padding: 56px 20px; border-radius: 24px; }
  .cta__actions { width: 100%; flex-direction: column; }
  .cta__sep-wrap { display: none; }
  .cta__manager { flex-basis: 100%; }
  .cta .btn { width: 100%; }

  .footer__inner { flex-direction: column; text-align: center; }

  .bg__orb--1 { width: 360px; height: 360px; }
  .bg__orb--2 { width: 400px; height: 400px; right: -200px; }
}

@media (max-width: 360px) {
  .logo { font-size: 17px; }
  .hero__title { font-size: 32px; }
  .hero__stats span { font-size: 11px; }
}
