/* ============================================================
   AnySite — Premium Stylesheet v11
   "Лендинг за 2 дня" positioning
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ===== Variables ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fb;
  --bg-dark: #08090d;
  --bg-dark-alt: #0e1016;
  --text: #0b1020;
  --text-light: #475569;
  --text-muted: #8b95a8;
  --accent: #2f6bff;
  --accent-hover: #1d52e0;
  --accent-light: #edf2ff;
  --accent-glow: rgba(47, 107, 255, 0.35);
  --violet: #7c3aed;
  --cyan: #06b6d4;
  --gold: #e4b667;
  --border: #e5e9f2;
  --border-light: rgba(229, 233, 242, 0.7);
  --red: #ef4444;
  --red-light: #fef2f2;
  --green: #10b981;
  --radius: 24px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --shadow: 0 1px 3px rgba(11,16,32,0.05), 0 1px 2px rgba(11,16,32,0.04);
  --shadow-md: 0 6px 24px rgba(11,16,32,0.06);
  --shadow-lg: 0 16px 48px rgba(11,16,32,0.08);
  --shadow-xl: 0 28px 72px rgba(11,16,32,0.12);
  --shadow-accent: 0 8px 32px rgba(47,107,255,0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: 0.35s var(--ease);
  --container: 1180px;
  --header-h: 72px;
  --display-font: 'Manrope', 'Inter', sans-serif;
}

/* ===== Container ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Typography ===== */
h1, h2, h3, h4 {
  line-height: 1.1;
  font-weight: 700;
  color: var(--text);
  font-family: var(--display-font);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 6.5vw, 4.5rem); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.85rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
p  { color: var(--text-light); }

/* Selection */
::selection { background: var(--accent); color: #fff; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; font-size: 0.975rem; font-weight: 600;
  border-radius: 14px; border: 2px solid var(--accent);
  background: var(--accent); color: #fff; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap; letter-spacing: -0.005em;
  position: relative; overflow: hidden;
}
.btn svg { transition: transform 0.35s var(--ease); }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-accent); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--outline { background: transparent; color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn--sm { padding: 10px 22px; font-size: 0.875rem; border-radius: 10px; }
.btn--ghost {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.18);
  color: #fff;
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.35); color: #fff; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }

/* Mega button — premium CTA */
.btn--mega {
  padding: 18px 38px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent) 0%, #5b8bff 100%);
  border-color: transparent;
  box-shadow: 0 10px 32px rgba(47,107,255,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}
.btn--mega::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: left 0.9s ease;
}
.btn--mega:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(47,107,255,0.45), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn--mega:hover::before { left: 120%; }
.btn--loading { opacity: 0.65; pointer-events: none; }

/* ===== Inputs ===== */
.input {
  width: 100%; padding: 16px 20px; font-size: 1rem; font-family: inherit;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text); outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.input:hover { border-color: #c9d3e3; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47,107,255,0.12); background: #fff; }
.input::placeholder { color: #a9b1c1; }
.input--textarea { resize: vertical; min-height: 110px; line-height: 1.55; }

.input-field { display: block; }
.input-field__label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.input-field__opt {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.75rem;
  margin-left: 4px;
}

/* ===== Topbar announcement ===== */
.topbar {
  background: linear-gradient(90deg, #0b1020 0%, #111a33 50%, #0b1020 100%);
  color: #fff;
  font-size: 0.82rem;
  padding: 9px 0;
  position: relative;
  z-index: 110;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
.topbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(47,107,255,0.12) 50%, transparent 100%);
  animation: topbarGlow 6s linear infinite;
}
@keyframes topbarGlow { from { transform: translateX(-50%); } to { transform: translateX(50%); } }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 10px; position: relative; z-index: 1; }
.topbar__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(16,185,129,0.45);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.45); }
  50% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}
.topbar__text { color: rgba(255,255,255,0.82); }
.topbar__text strong { color: #fff; font-weight: 700; }
.topbar__cta { color: #7aa2ff; font-weight: 600; margin-left: 4px; transition: color 0.2s; }
.topbar__cta:hover { color: #fff; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s, top 0.35s;
}
body.has-topbar .header { top: 38px; }
.header.scrolled { background: rgba(255,255,255,0.85); border-bottom-color: rgba(229,233,242,0.55); box-shadow: 0 1px 20px rgba(11,16,32,0.04); top: 0; }
.header__inner { display: flex; align-items: center; height: var(--header-h); gap: 32px; }
.header__logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: #fff; transition: color 0.35s; font-family: var(--display-font); }
.header.scrolled .header__logo { color: var(--text); }
.header__logo span { color: var(--accent); }
.header__logo em { color: var(--accent); font-style: normal; }
.header__nav { display: flex; gap: 30px; margin-left: auto; align-items: center; }
.header__nav-cta { display: none; }
.header__link {
  font-size: 0.9375rem; font-weight: 500; color: rgba(255,255,255,0.75);
  transition: color var(--transition); position: relative;
}
.header.scrolled .header__link { color: var(--text-light); }
.header__link::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform 0.3s var(--ease);
}
.header__link:hover { color: #fff; }
.header.scrolled .header__link:hover { color: var(--text); }
.header__link:hover::after { transform: scaleX(1); transform-origin: left; }
.header__cta {
  margin-left: 8px;
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #fff;
  backdrop-filter: blur(10px);
}
.header__cta:hover { background: #fff; color: var(--bg-dark); border-color: #fff; box-shadow: 0 8px 32px rgba(255,255,255,0.15); }
.header.scrolled .header__cta { background: var(--accent); border-color: var(--accent); color: #fff; }
.header.scrolled .header__cta:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: var(--shadow-accent); }
.header__burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 38px; height: 38px; background: none; border: none; cursor: pointer; padding: 6px; }
.header__burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s, opacity 0.3s, background 0.35s; }
.header.scrolled .header__burger span { background: var(--text); }

/* ===== HERO v2 ===== */
.hero--v2 {
  position: relative;
  padding: clamp(140px, 18vw, 200px) 0 clamp(60px, 8vw, 100px);
  background: #05070d;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  z-index: 0;
}
.hero__grid-lines {
  position: absolute; inset: -2px;
  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: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
}
.hero__glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}
.hero__glow--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(47,107,255,0.45), transparent 60%);
  top: -180px; left: 50%; transform: translateX(-50%);
  animation: glowDrift 14s ease-in-out infinite alternate;
}
.hero__glow--2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(124,58,237,0.28), transparent 60%);
  bottom: -140px; right: -100px;
  animation: glowDrift2 18s ease-in-out infinite alternate;
}
.hero__glow--3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(6,182,212,0.22), transparent 60%);
  top: 40%; left: -120px;
  animation: glowDrift3 22s ease-in-out infinite alternate;
}
@keyframes glowDrift { 0% { transform: translateX(-50%) translateY(0); } 100% { transform: translateX(-40%) translateY(40px); } }
@keyframes glowDrift2 { 0% { transform: translate(0, 0); } 100% { transform: translate(-60px, -30px); } }
@keyframes glowDrift3 { 0% { transform: translate(0, 0); } 100% { transform: translate(60px, -50px); } }
.hero__noise {
  position: absolute; inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__inner-v2 {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(-10px);
  animation: fadeDown 0.8s var(--ease-out) 0.1s forwards;
}
.hero__pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 0 rgba(16,185,129,0.45);
  animation: pulse 2s ease-in-out infinite;
}

.hero__mega {
  color: #fff;
  font-size: clamp(3rem, 10vw, 8.5rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.05em;
  margin: 28px 0 24px;
  font-family: var(--display-font);
}
.hero__line {
  display: block;
  opacity: 0; transform: translateY(40px);
  animation: heroLineUp 1s var(--ease-out) forwards;
}
.hero__line:nth-child(1) { animation-delay: 0.25s; }
.hero__line:nth-child(2) { animation-delay: 0.4s; }
.hero__line--accent {
  display: inline-flex; align-items: baseline; justify-content: center;
  gap: clamp(12px, 2vw, 22px);
}
.hero__prefix, .hero__suffix {
  background: linear-gradient(180deg, #f8faff 0%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 0.85em;
}
.hero__number {
  display: inline-block;
  background: linear-gradient(135deg, #5b8bff 0%, #7c3aed 50%, #06b6d4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  font-size: 1.35em;
  position: relative;
  filter: drop-shadow(0 0 40px rgba(91,139,255,0.35));
  animation: numberPop 1.2s var(--ease-bounce) 0.55s both;
}
@keyframes numberPop {
  0% { opacity: 0; transform: scale(0.4) rotate(-6deg); }
  60% { transform: scale(1.08) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes heroLineUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  to { opacity: 1; transform: translateY(0); }
}

.hero__tagline {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeDown 0.9s var(--ease-out) 0.85s forwards;
}
.hero__tag-dot { color: rgba(91,139,255,0.6); }

.hero__lead {
  max-width: 640px;
  margin: 0 auto 40px;
  color: rgba(255,255,255,0.7);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  opacity: 0;
  animation: fadeDown 0.9s var(--ease-out) 1s forwards;
}
.hero__lead strong { color: #fff; font-weight: 700; }

.hero__cta-row {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeDown 0.9s var(--ease-out) 1.15s forwards;
}

.hero__trustbar {
  display: inline-flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center;
  padding: 14px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeDown 0.9s var(--ease-out) 1.3s forwards;
}
.hero__trust-item {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.78);
  font-size: 0.875rem;
  font-weight: 500;
}
.hero__trust-item svg { color: var(--green); flex-shrink: 0; }
.hero__trust-divider {
  width: 1px; height: 14px;
  background: rgba(255,255,255,0.15);
}

/* Hero marquee */
.hero__marquee {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.2);
  z-index: 3;
}
.hero__marquee-track {
  display: inline-flex; align-items: center; gap: 32px;
  animation: marquee 38s linear infinite;
  padding-left: 32px;
}
.hero__marquee-track span {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--display-font);
}
.hero__marquee-dot {
  color: rgba(91,139,255,0.7) !important;
  font-size: 0.85rem !important;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Stats bar ===== */
.stats-bar {
  padding: 56px 0;
  background: linear-gradient(180deg, #05070d 0%, #080b14 100%);
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stats-bar__item {
  position: relative;
}
.stats-bar__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px; top: 12px; bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.1), transparent);
}
.stats-bar__value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  font-family: var(--display-font);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stats-bar__value span {
  background: linear-gradient(135deg, #5b8bff, #7c3aed);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 2px;
}
.stats-bar__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}

/* ===== Sections ===== */
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  padding: 5px 14px;
  background: var(--accent-light);
  border-radius: 100px;
}
.section__label--accent { background: rgba(16,185,129,0.12); color: var(--green); }
.section__label--dark { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.12); }
.section__title-v2 {
  margin-bottom: 20px;
}
.section__subtitle {
  max-width: 580px; margin: 0 auto;
  font-size: 1.1rem; line-height: 1.65; color: var(--text-light);
}

/* ===== Reveal animations ===== */
.will-reveal { opacity: 0; transform: translateY(36px); }
.will-reveal.revealed {
  opacity: 1; transform: none;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal="fade-up"] { opacity: 0; transform: translateY(28px); }
[data-reveal].is-visible {
  opacity: 1; transform: none;
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

/* ===== Cases v2 ===== */
.cases--v2 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}
.cases--v2 .case {
  grid-column: span 3;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
  position: relative;
  color: inherit;
}
.cases--v2 .case--featured {
  grid-column: span 6;
  background: linear-gradient(135deg, #0a0c14 0%, #111420 50%, #0a0c14 100%);
  border-color: rgba(255,255,255,0.08);
  flex-direction: row;
  align-items: stretch;
  min-height: 460px;
}
.cases--v2 .case--featured::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(228,182,103,0.12), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(47,107,255,0.12), transparent 50%);
  pointer-events: none;
  opacity: 0.8;
}
.cases--v2 .case:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.cases--v2 .case--featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  border-color: rgba(228,182,103,0.25);
}

.case__media {
  position: relative;
  overflow: hidden;
}
.cases--v2 .case--featured .case__media {
  flex: 1.15;
  min-width: 0;
  padding: 36px 0 36px 40px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}
.case__browser {
  width: 100%;
  background: var(--bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 0 var(--border-light);
  position: relative;
}
.cases--v2 .case--featured .case__browser {
  border-radius: 12px 0 0 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08);
  transform: perspective(1200px) rotateY(-4deg);
  transition: transform 0.6s var(--ease);
}
.cases--v2 .case--featured:hover .case__browser {
  transform: perspective(1200px) rotateY(-2deg) translateY(-4px);
}
.case__browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px;
  background: #f1f4f9;
  border-bottom: 1px solid var(--border);
}
.case__browser-bar > span {
  width: 9px; height: 9px; border-radius: 50%;
}
.case__browser-bar > span:nth-child(1) { background: #ff6159; }
.case__browser-bar > span:nth-child(2) { background: #ffbd2e; }
.case__browser-bar > span:nth-child(3) { background: #28c941; }
.case__browser-url {
  flex: 1;
  margin-left: 10px;
  padding: 4px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.case__browser-url svg { color: var(--green); flex-shrink: 0; }
.case__browser-body {
  overflow: hidden;
  max-height: 340px;
  background: #000;
}
.cases--v2 .case--featured .case__browser-body { max-height: 400px; }
.case__browser-body img {
  width: 100%; height: auto; display: block;
  transition: transform 0.9s var(--ease);
}
.case:hover .case__browser-body img { transform: scale(1.035); }

.case__glow {
  position: absolute;
  width: 60%; height: 80%;
  bottom: -30%; right: -10%;
  background: radial-gradient(circle, rgba(228,182,103,0.22), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.case__content {
  padding: 26px 28px 28px;
  display: flex; flex-direction: column;
  flex: 1;
}
.cases--v2 .case--featured .case__content {
  padding: 56px 48px 56px 40px;
  flex: 1;
  justify-content: center;
  color: #fff;
  position: relative;
  z-index: 2;
}
.cases--v2 .case--featured .case__name { color: #fff; font-size: 2rem; }
.cases--v2 .case--featured .case__desc { color: rgba(255,255,255,0.72); font-size: 1.05rem; line-height: 1.65; }

.case__meta { display: inline-flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.case__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 0;
}
.case__tag--multi { color: var(--green); background: rgba(16,185,129,0.1); }
.case__tag--premium {
  background: rgba(228,182,103,0.12);
  color: #e4b667;
  border: 1px solid rgba(228,182,103,0.25);
}
.case__tag--neutral {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.12);
}
.case__pages {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 10px;
  background: #eef1f7;
  border-radius: 100px;
}
.case__name {
  font-size: 1.35rem;
  font-family: var(--display-font);
  margin: 8px 0 10px;
  letter-spacing: -0.02em;
}
.case__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 16px;
}
.case__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.875rem; font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  transition: gap 0.3s var(--ease);
}
.cases--v2 .case--featured .case__link { color: #e4b667; }
.case:hover .case__link { gap: 12px; }

.cases__footer {
  text-align: center;
  margin-top: 48px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===== Timeline (process) ===== */
.timeline {
  position: relative;
  max-width: 860px; margin: 0 auto;
}
.timeline__line {
  position: absolute;
  left: 28px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--border) 10%, var(--border) 90%, transparent);
}
.timeline__step {
  display: flex; gap: 28px;
  padding: 12px 0;
  margin-bottom: 24px;
  position: relative;
}
.timeline__step:last-child { margin-bottom: 0; }
.timeline__dot {
  flex-shrink: 0;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent);
  display: grid; place-items: center;
  font-weight: 800;
  font-family: var(--display-font);
  font-size: 1.35rem;
  box-shadow: 0 6px 24px rgba(47,107,255,0.18);
  position: relative;
  z-index: 2;
  transition: all 0.4s var(--ease);
}
.timeline__dot--final {
  background: linear-gradient(135deg, var(--accent), #5b8bff);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 32px rgba(47,107,255,0.4);
}
.timeline__step:hover .timeline__dot {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(47,107,255,0.35);
}
.timeline__card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 32px;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  position: relative;
}
.timeline__card::before {
  content: '';
  position: absolute;
  left: -9px; top: 24px;
  width: 16px; height: 16px;
  background: #fff;
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(45deg);
}
.timeline__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #c8d4ee;
}
.timeline__card--final {
  background: linear-gradient(135deg, #f6f9ff, #fff);
  border-color: rgba(47,107,255,0.2);
}
.timeline__time {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}
.timeline__title {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.timeline__text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-light);
  margin-bottom: 14px;
}
.timeline__meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--text-muted); font-weight: 500;
}
.timeline__meta span { color: var(--green); font-weight: 600; }

/* ===== Why grid ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: -40%; right: -30%;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,107,255,0.08), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c8d4ee; }
.why-card:hover::before { opacity: 1; }
.why-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-light), #fff);
  border: 1px solid rgba(47,107,255,0.15);
  color: var(--accent);
  margin-bottom: 20px;
  transition: transform 0.4s var(--ease);
}
.why-card:hover .why-card__icon { transform: rotate(-6deg) scale(1.05); }
.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ===== Pricing v2 ===== */
.pricing--v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.pricing__card {
  position: relative;
  padding: 44px 40px 40px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
}
.pricing__card--featured {
  border-color: transparent;
  background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 40%, #faf5ff 100%);
  box-shadow: var(--shadow-md), 0 0 0 1.5px var(--accent);
}
.pricing__card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--violet), var(--cyan));
}
.pricing__glow {
  position: absolute;
  top: -40%; right: -30%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,107,255,0.12), transparent 65%);
  pointer-events: none;
}
.pricing__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.pricing__card--featured:hover { box-shadow: var(--shadow-xl), 0 0 0 1.5px var(--accent); }
.pricing__badge {
  position: absolute;
  top: 18px; right: 24px;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 100px;
  box-shadow: 0 6px 20px rgba(47,107,255,0.35);
}
.pricing__name {
  font-size: 1.65rem;
  font-weight: 800;
  font-family: var(--display-font);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.pricing__desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 28px;
}
.pricing__price { margin-bottom: 4px; }
.pricing__amount {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  font-family: var(--display-font);
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.pricing__currency {
  font-weight: 700;
  color: var(--text-light);
}
.pricing__note {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  margin-left: 6px;
}
.pricing__regular {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  text-decoration: line-through;
  text-decoration-color: rgba(139,149,168,0.5);
}
.pricing__features {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 32px;
}
.pricing__features li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.93rem;
  color: var(--text-light);
}
.pricing__features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  background: var(--green) url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17L4 12' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: 11px;
  border-radius: 50%;
  margin-top: 2px;
}
.pricing__features li strong { color: var(--text); font-weight: 700; }
.pricing__btn { width: 100%; }

.pricing__guarantees {
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
  margin-top: 44px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.pricing__guarantee {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-light);
}
.pricing__guarantee svg { color: var(--accent); flex-shrink: 0; }

.pricing__note-block {
  max-width: 720px;
  margin: 24px auto 0;
  text-align: center;
}
.pricing__note-block p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 8px;
}
.pricing__note-block strong { color: var(--text); }

/* ===== Pricing 3-col variant (EN) ===== */
.pricing--three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1140px;
}
@media (max-width: 1024px) {
  .pricing--three { grid-template-columns: 1fr; max-width: 440px; }
}

/* ===== FAQ ===== */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}
.faq__item[open] { border-color: rgba(47,107,255,0.3); }
.faq__question {
  padding: 22px 0;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  color: var(--text);
  transition: color 0.2s;
}
.faq__question:hover { color: var(--accent); }
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '';
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-light) url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%232f6bff' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: 12px;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
details[open] .faq__question::after {
  transform: rotate(45deg);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5v14M5 12h14' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.faq__answer {
  padding: 0 0 24px;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 640px;
}

/* ===== About me ===== */
.aboutme { padding: clamp(70px, 9vw, 110px) 0 clamp(20px, 3vw, 40px); }
.aboutme__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}
.aboutme__photo img {
  width: 320px; height: 320px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: block;
}
.aboutme__title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
  font-family: var(--display-font);
}
.aboutme__text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 12px;
}
.aboutme__text p:last-child { margin-bottom: 0; }
.aboutme__location {
  font-size: 0.87rem !important;
  font-weight: 500 !important;
  margin-top: 18px !important;
  color: var(--text-muted) !important;
}

@media (max-width: 768px) {
  .aboutme__inner { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .aboutme__photo img { width: 200px; height: 200px; margin: 0 auto; }
}

/* ===== Fit v2 ===== */
.fit--v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.fit__col {
  padding: 40px 36px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.fit__col:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.fit__col--yes { border-color: rgba(16,185,129,0.25); background: linear-gradient(180deg, rgba(16,185,129,0.035), transparent); }
.fit__col--no  { border-color: rgba(239,68,68,0.2); background: linear-gradient(180deg, rgba(239,68,68,0.03), transparent); }
.fit__heading {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
  width: 100%;
}
.fit__col--yes .fit__heading { color: var(--green); border-bottom-color: rgba(16,185,129,0.3); }
.fit__col--yes .fit__heading svg { background: var(--green); color: #fff; border-radius: 50%; padding: 3px; }
.fit__col--no  .fit__heading { color: var(--red); border-bottom-color: rgba(239,68,68,0.3); }
.fit__col--no  .fit__heading svg { background: var(--red); color: #fff; border-radius: 50%; padding: 3px; }
.fit__list {
  display: flex; flex-direction: column; gap: 14px;
}
.fit__list li {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.55;
  padding-left: 22px;
  position: relative;
}
.fit__col--yes .fit__list li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
}
.fit__col--no .fit__list li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
}

/* ===== CTA v2 ===== */
.cta--v2 {
  text-align: center;
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0;
  background: #05070d;
  overflow: hidden;
  isolation: isolate;
}
.cta__bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.cta__glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.cta__glow--a {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(47,107,255,0.28), transparent 60%);
  top: -250px; left: 50%; transform: translateX(-50%);
}
.cta__glow--b {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.22), transparent 60%);
  bottom: -150px; right: -80px;
}
.cta__inner { position: relative; z-index: 1; }
.cta__title {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 20px 0 20px;
  letter-spacing: -0.03em;
}
.cta__accent {
  background: linear-gradient(135deg, #5b8bff, #a78bfa);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta__text {
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin: 0 auto 36px;
  font-size: 1.1rem; line-height: 1.7;
}
.cta__btn {
  background: linear-gradient(135deg, #fff, #f0f4ff);
  color: var(--text);
  border-color: transparent;
  box-shadow: 0 10px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.8);
}
.cta__btn:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.8); }

/* ===== Contact ===== */
.contact.section { padding-top: clamp(80px, 10vw, 120px); }
.contact .section__head { margin-bottom: 48px; }

.contact__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.contact__form-card {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.contact__form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--violet), var(--cyan));
}
.contact__form { display: flex; flex-direction: column; gap: 18px; }
.contact__btn { width: 100%; margin-top: 6px; }
.contact__note {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}
.contact__honey {
  position: absolute; left: -9999px;
  opacity: 0; height: 0; width: 0; overflow: hidden;
}
.contact__status {
  display: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
}
.contact__status--loading { display: block; background: var(--accent-light); color: var(--accent); border: 1px solid rgba(47,107,255,0.18); }
.contact__status--success { display: block; background: rgba(16,185,129,0.1); color: #047857; border: 1px solid rgba(16,185,129,0.22); }
.contact__status--error   { display: block; background: #fef2f2; color: #dc2626; border: 1px solid rgba(220,38,38,0.18); }

.contact__info {
  display: flex; flex-direction: column; gap: 18px;
  padding-top: 8px;
}
.contact__tg-btn {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--accent), #5b8bff);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(47,107,255,0.25);
  position: relative;
  overflow: hidden;
}
.contact__tg-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.8s ease;
}
.contact__tg-btn:hover::before { left: 120%; }
.contact__tg-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(47,107,255,0.35); }
.contact__tg-btn svg { flex-shrink: 0; }
.contact__tg-btn > div { flex: 1; }
.contact__tg-title { display: block; font-size: 1rem; font-weight: 700; }
.contact__tg-sub { display: block; font-size: 0.8125rem; opacity: 0.82; margin-top: 2px; }
.contact__tg-arrow { transition: transform 0.3s var(--ease); }
.contact__tg-btn:hover .contact__tg-arrow { transform: translateX(4px); }

.contact__email {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.95rem; color: var(--text-light);
  padding: 0 4px;
}
.contact__email svg { color: var(--text-muted); flex-shrink: 0; }
.contact__email a { color: var(--text); font-weight: 600; transition: color var(--transition); }
.contact__email a:hover { color: var(--accent); }

.contact__steps {
  padding: 24px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.contact__steps-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; }
.contact__step {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
}
.contact__step:not(:last-child) { border-bottom: 1px solid var(--border); }
.contact__step-num {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.contact__step > span:last-child { font-size: 0.9rem; color: var(--text-light); }

/* ===== Footer ===== */
.footer {
  padding: 56px 0 32px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.footer__brand { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.footer__logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); font-family: var(--display-font); }
.footer__logo span { color: var(--accent); }
.footer__logo em { color: var(--accent); font-style: normal; }
.footer__desc { font-size: 0.875rem; color: var(--text-light); line-height: 1.55; }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__nav a { font-size: 0.9375rem; color: var(--text-light); transition: color var(--transition); }
.footer__nav a:hover { color: var(--accent); }
.footer__contacts { display: flex; flex-direction: column; gap: 8px; text-align: right; }
.footer__contacts a { font-size: 0.9375rem; color: var(--text-light); transition: color var(--transition); }
.footer__contacts a:hover { color: var(--accent); }
.footer__bottom { text-align: center; }
.footer__copy { font-size: 0.82rem; color: var(--text-muted); }

/* ===== Mobile Overlay ===== */
.mobile-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(11,16,32,0.5);
  z-index: 99;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.mobile-overlay.active { display: block; }

/* ===== Focus visibility (a11y) ===== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 4px; }
.input:focus-visible { outline: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .cases--v2 { grid-template-columns: repeat(2, 1fr); }
  .cases--v2 .case { grid-column: span 1; }
  .cases--v2 .case--featured { grid-column: span 2; flex-direction: column; min-height: auto; }
  .cases--v2 .case--featured .case__media { padding: 32px 32px 0; }
  .cases--v2 .case--featured .case__browser { transform: none; border-radius: 12px; }
  .cases--v2 .case--featured:hover .case__browser { transform: translateY(-4px); }
  .cases--v2 .case--featured .case__content { padding: 32px 36px 36px; }
  .cases--v2 .case--featured .case__name { font-size: 1.65rem; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .stats-bar__item:nth-child(2)::after { display: none; }
  .contact__inner { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .topbar { font-size: 0.75rem; padding: 7px 0; }
  .topbar__text { font-size: 0.75rem; }

  .header__inner { height: 60px; gap: 16px; }
  .header__nav {
    position: fixed;
    top: 0; right: -320px;
    width: 320px; max-width: 88vw;
    height: 100vh; height: 100dvh;
    background: #fff;
    flex-direction: column;
    padding: 88px 32px 32px;
    gap: 20px;
    transition: right 0.35s var(--ease);
    z-index: 101;
    box-shadow: var(--shadow-xl);
    align-items: flex-start;
  }
  .header__nav.open { right: 0; }
  .header__nav .header__link { font-size: 1.05rem; color: var(--text); padding: 4px 0; }
  .header__nav .header__link::after { display: none; }
  .header__nav-cta { display: inline-flex; margin-top: auto; width: 100%; justify-content: center; }
  .header__cta { display: none; }
  .header__burger { display: flex; }
  .header__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .header__burger.active span:nth-child(2) { opacity: 0; }
  .header__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  /* Hero mobile */
  .hero--v2 { padding-top: 120px; padding-bottom: 80px; }
  .hero__mega { font-size: clamp(2.5rem, 14vw, 4.5rem); }
  .hero__line--accent { gap: 10px; }
  .hero__tagline { font-size: 0.88rem; gap: 8px; }
  .hero__tag-dot { display: inline; }
  .hero__lead { font-size: 1rem; }
  .hero__trustbar { padding: 12px 18px; gap: 10px; }
  .hero__trust-divider { display: none; }
  .hero__trust-item { font-size: 0.82rem; width: 100%; justify-content: flex-start; }
  .hero__marquee { padding: 14px 0; }
  .hero__marquee-track { gap: 20px; }
  .hero__marquee-track span { font-size: 0.75rem; }
  .hero__cta-row .btn { flex: 1; min-width: 160px; }

  .stats-bar { padding: 40px 0; }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .stats-bar__item::after { display: none; }
  .stats-bar__value { font-size: 2rem; }

  .section { padding: 72px 0; }
  .section__head { margin-bottom: 44px; }

  .cases--v2 { grid-template-columns: 1fr; }
  .cases--v2 .case, .cases--v2 .case--featured { grid-column: span 1; }
  .cases--v2 .case--featured .case__media { padding: 28px 22px 0; }
  .cases--v2 .case--featured .case__content { padding: 28px 26px 32px; }
  .case__content { padding: 22px 24px 24px; }
  .case__browser-body, .cases--v2 .case--featured .case__browser-body { max-height: 280px; }
  .cases--v2 .case--featured .case__name { font-size: 1.4rem; }
  .cases--v2 .case--featured .case__desc { font-size: 0.95rem; }

  .timeline__line { left: 22px; }
  .timeline__dot { width: 44px; height: 44px; font-size: 1.1rem; }
  .timeline__step { gap: 18px; margin-bottom: 18px; }
  .timeline__card { padding: 22px 24px; }
  .timeline__card::before { top: 18px; }
  .timeline__title { font-size: 1.15rem; }

  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 26px 24px; }

  .pricing--v2 { grid-template-columns: 1fr; max-width: 440px; }
  .pricing__card { padding: 36px 28px; }
  .pricing__badge { top: 14px; right: 18px; font-size: 0.68rem; padding: 5px 12px; }
  .pricing__guarantees { gap: 14px; flex-direction: column; align-items: center; margin-top: 32px; }
  .pricing__guarantee { font-size: 0.85rem; }

  .fit--v2 { grid-template-columns: 1fr; }
  .fit__col { padding: 32px 28px; }

  .cta--v2 { padding: 80px 0; }
  .cta__title { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .cta__text { font-size: 1rem; margin-bottom: 28px; }

  .contact__form-card { padding: 30px 24px; }

  .footer__inner { flex-direction: column; gap: 28px; align-items: flex-start; }
  .footer__contacts { text-align: left; }
  .footer__nav { gap: 18px; }
}

@media (max-width: 480px) {
  .hero--v2 { padding-top: 100px; padding-bottom: 72px; }
  .hero__eyebrow { font-size: 0.7rem; padding: 6px 14px; }
  .hero__mega { font-size: clamp(2.2rem, 15vw, 3.8rem); }
  .hero__line--accent { gap: 6px; }
  .hero__cta-row { flex-direction: column; width: 100%; }
  .hero__cta-row .btn { width: 100%; }
  .btn--mega { padding: 16px 28px; font-size: 0.98rem; }
  .pricing__amount { font-size: 2rem; }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .will-reveal { opacity: 1; transform: none; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .hero__glow--1, .hero__glow--2, .hero__glow--3 { animation: none; }
  .topbar::before { animation: none; }
  .hero__marquee-track { animation: none; }
  .hero__number { animation: none; opacity: 1; transform: none; }
  .hero__line { opacity: 1; transform: none; }
  .hero__eyebrow, .hero__tagline, .hero__lead, .hero__cta-row, .hero__trustbar { opacity: 1; transform: none; }
}
