/* ============================================================
   Taneflit Studio — design system inspired by appg.co
   Dark theme · Satoshi + Instrument Serif italic · #512feb accent
   ============================================================ */

:root {
  --bg: #000000;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: #0d0d0d;
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.7);
  --text-3: #ababab;
  --cream: #fcfcfa;
  --accent: #512feb;
  --accent-soft: rgba(81, 47, 235, 0.12);
  --grad: linear-gradient(141deg, #f99d9f 0%, #9199ff 100%);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.1);
  --r-btn: 10px;
  --r-input: 12px;
  --r-card: 24px;
  --font-sans: "Satoshi", "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-link: cubic-bezier(0.44, 0, 0.56, 1);
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

h1, h2, h3, h4 { color: var(--text); }

h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Reveal-on-scroll ----------
   Keyframe-based so card/button hover `transition` shorthands can't
   override the entrance. Hidden state gated on .js (added inline in
   <head>) so content stays visible without JavaScript. */
.js [data-reveal] {
  opacity: 0;
}
.js [data-reveal].is-visible {
  animation: rise-in 0.9s var(--ease-out) both;
  animation-delay: var(--reveal-delay, 0ms);
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.02em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: var(--r-btn);
  padding: 9px 16px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    background-color 0.35s var(--ease-out), filter 0.35s var(--ease-out);
}
.btn--primary {
  background: var(--accent);
  color: #f9fafb;
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.05), 0 2px 2px -1px rgba(0, 0, 0, 0.1),
    0 0 0 1px var(--accent-soft);
}
.btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
  box-shadow: 0 12px 28px -8px rgba(81, 47, 235, 0.55), 0 0 0 1px var(--accent-soft);
}
.btn--ghost {
  background: var(--surface);
  color: var(--cream);
  box-shadow: inset 0 0 0 1px var(--border-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}
.btn--lg { padding: 13px 26px; font-size: 15px; }
.btn__arrow {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  transition: transform 0.35s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translate(2px, -2px); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
}
.pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

/* ---------- Cards (glass) ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out),
    background-color 0.5s var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav__mark {
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
}
.nav__mark i {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.4s var(--ease-link);
}
.nav__links a:hover { color: var(--text); }
.nav__cta { white-space: nowrap; }
.nav__cta-mobile { display: none; }
.nav__lang {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.4s var(--ease-link), background-color 0.4s var(--ease-link);
}
.nav__lang:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--cream);
  transition: transform 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 96px) 24px 96px;
  text-align: center;
  overflow: hidden;
  overflow: clip;
}
.hero__glow {
  position: absolute;
  top: -240px; left: 50%;
  width: 900px; height: 620px;
  transform: translateX(-50%);
  background:
    radial-gradient(42% 48% at 38% 38%, rgba(249, 157, 159, 0.22) 0%, transparent 100%),
    radial-gradient(50% 55% at 62% 42%, rgba(145, 153, 255, 0.26) 0%, transparent 100%),
    radial-gradient(55% 60% at 50% 30%, rgba(81, 47, 235, 0.3) 0%, transparent 100%);
  filter: blur(57px);
  pointer-events: none;
}
.hero__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(58% 65% at 50% 30%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(58% 65% at 50% 30%, #000 0%, transparent 100%);
  pointer-events: none;
}
.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: 1072px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.hero__title {
  max-width: 880px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(42px, 6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.hero__title .w {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(0.35em);
  animation: word-in 0.85s var(--ease-out) forwards;
  animation-delay: var(--wd, 0ms);
}
@keyframes word-in {
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
.hero__desc {
  max-width: 560px;
  font-size: 18px;
  color: var(--text-2);
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__caption {
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.01em;
}

/* ============================================================
   SHOWCASE — icon ticker + phone collage
   ============================================================ */
.showcase {
  padding: 32px 0 0;
  overflow: hidden;
  overflow: clip;
}
.showcase__caption {
  text-align: center;
  font-size: 14px;
  color: var(--text-3);
  padding: 0 24px;
  margin-bottom: 28px;
}
/* Icon-only marquee, right-to-left, faded edges with side breathing room */
.ticker {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4px 48px 40px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-x 30s linear infinite;
}
.ticker__set {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
}
@keyframes ticker-x {
  to { transform: translateX(-50%); }
}
.ticker__set img {
  width: 64px; height: 64px;
  border-radius: 15px;
  border: 1px solid var(--border);
}

/* Phone collage — columns slowly descend top-to-bottom inside a circular fade */
.collage {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  height: 740px;
  overflow: hidden;
  /* circular reveal: fades out toward all edges, including the top */
  mask-image: radial-gradient(72% 78% at 50% 50%, #000 36%, transparent 96%);
  -webkit-mask-image: radial-gradient(72% 78% at 50% 50%, #000 36%, transparent 96%);
}
.collage__inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
  padding: 0 24px;
}
.collage__col {
  width: clamp(150px, 16vw, 210px);
  flex: 0 0 auto;
  margin-top: var(--arc, 0px); /* dome-shaped arrangement */
}
.collage__track {
  display: flex;
  flex-direction: column;
  animation: collage-descend var(--dur, 50s) linear infinite;
  will-change: transform;
}
.collage__stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 22px;
}
/* track holds two identical stacks: -50% -> 0 reads as endless downward motion */
@keyframes collage-descend {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}
.collage img {
  width: 100%;
  aspect-ratio: 9 / 19.4;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: #0b0b0c;
}
/* dark vignette around the circular area */
.collage__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(68% 72% at 50% 50%, transparent 38%, rgba(0, 0, 0, 0.72) 76%, #000 100%);
}
/* bottom fade so phones dissolve into black on scroll */
.collage__fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(to top, #000 8%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
}
/* top fade so phones emerge softly from black under the marquee */
.collage__fade--top {
  inset: 0 0 auto 0;
  height: 34%;
  background: linear-gradient(to bottom, #000 6%, rgba(0, 0, 0, 0.6) 45%, transparent 100%);
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 24px 64px;
}
.section--tight { padding-top: 64px; }
.section--narrow { max-width: 880px; }
.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 663px;
  margin: 0 auto 56px;
}
.section__head p { color: var(--text-2); font-size: 17px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(50px, 1fr));
  gap: 24px;
}
.step {
  position: relative;
  padding: 28px 28px 32px;
  overflow: hidden;
}
.step__visual {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  background: #0d0d0d;
}
.step__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 40px;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.step p { font-size: 15px; color: var(--text-2); }

/* ============================================================
   BIG QUOTE + STATS
   ============================================================ */
.bigquote {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto 72px;
}
.stars {
  display: flex;
  gap: 6px;
}
.stars svg, .stars i {
  width: 20px; height: 20px;
  fill: #f7b733;
}
.stars--sm svg, .stars--sm i { width: 15px; height: 15px; }
.stars i {
  display: inline-block;
  background: #f7b733;
  -webkit-clip-path: polygon(50% 0%, 63% 35%, 100% 38%, 72% 62%, 81% 100%, 50% 78%, 19% 100%, 28% 62%, 0% 38%, 37% 35%);
  clip-path: polygon(50% 0%, 63% 35%, 100% 38%, 72% 62%, 81% 100%, 50% 78%, 19% 100%, 28% 62%, 0% 38%, 37% 35%);
}
.bigquote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--text);
}
.bigquote figcaption {
  font-size: 14px;
  color: var(--text-3);
}

.stats {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.stats__cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 36px 32px;
  border-right: 1px solid var(--border);
}
.stats__cell:last-child { border-right: 0; }
.stats__cell strong {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}
.stats__cell > span:last-child {
  font-size: 14px;
  color: var(--text-3);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
}
.services__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 0;
  max-width: 367px;
}
.service {
  padding: 30px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.service__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #9aa3ab;
}
.service__icon svg { width: 28px; height: 28px; }
.service h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.service p { font-size: 14.5px; color: var(--text-2); max-width: 300px; }

.services__phone {
  flex: 0 0 380px;
  align-self: center;
}
.services__hand {
  width: 100%;
  display: block;
  /* blend the image's dark edges into the page */
  mask-image: radial-gradient(70% 70% at 50% 45%, #000 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000 55%, transparent 100%);
}

/* ============================================================
   SELECTED WORKS
   ============================================================ */
.work {
  position: relative;
  display: flex;
  align-items: center;
  gap: 36px;
  margin-bottom: 28px;
  padding: 36px 40px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface-2);
  overflow: hidden;
}
.work__glow {
  position: absolute;
  inset: auto -20% -55% -20%;
  height: 80%;
  background: radial-gradient(50% 65% at 50% 100%, rgba(81, 47, 235, 0.26) 0%, transparent 100%);
  filter: blur(40px);
  pointer-events: none;
}
@supports (color: color-mix(in srgb, red 50%, blue)) {
  .work__glow {
    background: radial-gradient(50% 65% at 50% 100%, color-mix(in srgb, var(--app-accent, var(--accent)) 26%, transparent) 0%, transparent 100%);
  }
}
.work__top {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex: 1 1 52%;
  min-width: 0;
}
.work__id {
  display: flex;
  align-items: center;
  gap: 14px;
}
.work__id img {
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.work__id h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.work__id span { font-size: 13px; color: var(--text-3); }
.work__metric {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 29px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.work__metric em {
  font-style: italic;
  background: var(--app-accent, var(--accent));
  background: linear-gradient(120deg, #fff 0%, color-mix(in srgb, var(--app-accent, var(--accent)) 75%, #fff) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.work__top > p { font-size: 14.5px; max-width: 520px; }
.work__info {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.work__info li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 18px;
  border-right: 1px solid var(--border);
}
.work__info li:last-child { border-right: 0; }
.work__info strong {
  color: var(--text);
  font-size: 15.5px;
  font-weight: 700;
}
.work__info span { font-size: 11.5px; color: var(--text-3); }

/* fanned, framed phone mockups on the right (appg portfolio style) */
.work__mockups {
  position: relative;
  flex: 1 1 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.work__mockups img {
  width: 42%;
  flex: 0 0 auto;
  aspect-ratio: 9 / 19.4;
  object-fit: cover;
  border-radius: 26px;
  border: 6px solid #161618;
  outline: 1px solid rgba(255, 255, 255, 0.14);
  background: #0b0b0c;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.85);
  transition: transform 0.6s var(--ease-out);
}
.work__mockups img:nth-child(1) { z-index: 3; transform: translateY(-8px); }
.work__mockups img:nth-child(2) { z-index: 2; margin-left: -14%; transform: translateY(14px) scale(0.96); }
.work__mockups img:nth-child(3) { z-index: 1; margin-left: -14%; transform: translateY(36px) scale(0.92); }
.work:hover .work__mockups img:nth-child(1) { transform: translateY(-16px) rotate(-2deg); }
.work:hover .work__mockups img:nth-child(2) { transform: translateY(6px) scale(0.96); }
.work:hover .work__mockups img:nth-child(3) { transform: translateY(28px) scale(0.92) rotate(2deg); }

/* ============================================================
   PRICING — three tilted cards, featured center (cream)
   ============================================================ */
.plans {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0 32px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  width: 320px;
  flex: 0 1 320px;
  padding: 44px 30px 36px;
  border-radius: 28px;
  border: 1px solid rgba(145, 153, 255, 0.32);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.6s var(--ease-out);
}
.plan--left {
  transform: rotate(-7deg) translateY(20px);
  z-index: 1;
}
.plan--right {
  transform: rotate(7deg) translateY(20px);
  z-index: 1;
}
.plan--left:hover { transform: rotate(-3deg) translateY(10px); }
.plan--right:hover { transform: rotate(3deg) translateY(10px); }
.plan--featured {
  z-index: 2;
  width: 350px;
  flex: 0 0 350px;
  margin: 0 -36px;
  padding: 54px 36px 44px;
  background: var(--cream);
  border-color: transparent;
  box-shadow: 0 50px 110px -35px rgba(81, 47, 235, 0.5);
}
.plan--featured:hover { transform: translateY(-8px); }
.plan__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}
.plan--featured .plan__title { color: #0b0b0c; }
.plan__price {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(81, 47, 235, 0.16);
  color: #b9bdff;
  font-size: 14px;
  font-weight: 700;
}
.plan--featured .plan__price {
  background: rgba(81, 47, 235, 0.1);
  color: var(--accent);
}
.plan__items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 6px 0 4px;
  color: var(--text-2);
  font-size: 15.5px;
}
.plan--featured .plan__items { color: rgba(11, 11, 12, 0.78); }
.plan__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-top: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-2);
  color: var(--cream);
  transition: transform 0.35s var(--ease-out), background-color 0.35s var(--ease-out);
}
.plan__go svg { width: 20px; height: 20px; }
.plan__go:hover { transform: translateX(4px); background: rgba(255, 255, 255, 0.12); }
.plan--featured .plan__go {
  background: #0b0b0c;
  border-color: transparent;
  color: var(--cream);
}
.plan--featured .plan__go:hover { background: #26262a; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 24px;
}
.quote {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
}
.quote blockquote {
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.55;
  flex: 1;
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quote figcaption b {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}
.quote figcaption span {
  font-size: 12.5px;
  color: var(--text-3);
}

/* Testimonial cards — avatar + LinkedIn, multilingual */
.tcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
}
.tcard__lang {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-3);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 3px 9px;
}
.tcard blockquote {
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.6;
  flex: 1;
}
.tcard blockquote[dir="rtl"] { text-align: right; }
.tcard__person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  text-decoration: none;
}
.tcard__avatar {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ava, var(--grad));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  overflow: hidden;
}
.tcard__avatar::before { content: attr(data-initials); }
.tcard__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tcard__meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-right: auto;
  min-width: 0;
}
.tcard__meta b {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 700;
}
.tcard__meta span {
  font-size: 12.5px;
  color: var(--text-3);
}
.tcard__li {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--text-3);
  transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
a.tcard__person:hover .tcard__li { color: #0a66c2; transform: translateY(-1px); }
a.tcard__person:hover .tcard__meta b { color: #fff; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  overflow: hidden;
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  color: var(--text);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px; /* fallback when summary isn't a flex container (Safari <= 16) */
  height: 18px;
  float: right; /* ignored on flex items; right-aligns icon in Safari <= 16 */
  transition: transform 0.4s var(--ease-out);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 18px; height: 2px;
  margin-top: -1px;
  border-radius: 8px;
  background: var(--cream);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__body {
  padding: 0 24px 22px;
  color: var(--text-2);
  font-size: 15px;
  max-width: 760px;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  text-align: center;
  padding: 140px 24px 150px;
  overflow: hidden;
  overflow: clip;
}
.cta__glow {
  position: absolute;
  left: 50%; bottom: -320px;
  width: 1100px; height: 600px;
  transform: translateX(-50%);
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(81, 47, 235, 0.4) 0%, transparent 100%),
    radial-gradient(40% 45% at 38% 45%, rgba(249, 157, 159, 0.18) 0%, transparent 100%);
  filter: blur(80px);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.cta h2 em {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta p { font-size: 17px; max-width: 560px; }
.cta__caption { font-size: 13px !important; color: var(--text-3) !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(84% 60% at 50% 120%, rgba(81, 47, 235, 0.16) 0%, transparent 60%),
    #050505;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 0.7fr 0.7fr;
  gap: 48px;
}
.footer__brand p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-3);
  max-width: 280px;
}
.footer__news h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.footer__news p {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 18px;
}
.footer__form {
  display: flex;
  gap: 10px;
}
.footer__form input {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 0;
  border-radius: var(--r-input);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.35s var(--ease-out);
}
.footer__form input::placeholder { color: var(--text-3); }
.footer__form input:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--border-2);
}
.footer__form .btn { border-radius: var(--r-input); }
.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14.5px;
  padding: 5px 0;
  transition: color 0.4s var(--ease-link);
}
.footer__col a:hover { color: var(--text); }
.footer__bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--text-3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199.98px) {
  .services__phone { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 809.98px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #050505;
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    max-height: calc(100vh - var(--nav-h));
    max-height: calc(100dvh - var(--nav-h));
    overflow: auto;
    z-index: 99;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out), visibility 0.4s;
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__links a {
    padding: 13px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav__links a:last-of-type { border-bottom: 0; }
  .nav__cta { display: none; }
  .nav__cta-mobile {
    display: inline-flex;
    margin-top: 12px;
    justify-content: center;
  }
  .nav__lang { margin-left: auto; }
  .nav__burger { display: flex; }
  .nav__links { margin-left: 0; }

  .hero { padding: calc(var(--nav-h) + 56px) 20px 64px; }
  .hero__inner { gap: 24px; }
  .hero__desc { font-size: 16px; }

  .ticker { padding: 4px 20px 32px; }
  .ticker__set img { width: 52px; height: 52px; border-radius: 12px; }

  .collage { height: 540px; }
  .collage__inner { gap: 14px; padding: 0 12px; }
  .collage__col { width: clamp(118px, 29vw, 165px); }
  .collage__stack { gap: 14px; padding-bottom: 14px; }
  .collage__col:nth-child(4), .collage__col:nth-child(5) { display: none; }

  .section { padding: 64px 20px 48px; }
  .section__head { margin-bottom: 40px; }

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

  .bigquote { margin-bottom: 48px; }
  .stats { flex-direction: column; }
  .stats__cell {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 26px 28px;
  }
  .stats__cell:last-child { border-bottom: 0; }

  .services { flex-direction: column; align-items: stretch; }
  .services__col { max-width: none; }

  .work { flex-direction: column; align-items: stretch; padding: 26px 20px; gap: 28px; }
  .work__mockups { padding: 8px 0 24px; }
  .work__info li { padding: 9px 12px; }

  .plans { flex-direction: column; gap: 20px; padding: 8px 0 8px; }
  .plan, .plan--featured {
    width: 100%;
    max-width: 420px;
    flex: 0 1 auto;
    margin: 0;
    transform: none;
  }
  .plan--left:hover, .plan--right:hover { transform: none; }

  .quotes { grid-template-columns: 1fr; }

  .cta { padding: 96px 20px 110px; }

  .footer__inner { grid-template-columns: 1fr; gap: 36px; padding: 48px 20px 36px; }
  .footer__bar { flex-direction: column; gap: 6px; }
}

@media (min-width: 810px) and (max-width: 1199.98px) {
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal],
  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .hero__title .w {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }
  .ticker__track, .collage__track { animation: none; }
  .hero__particles { display: none; }
}
