/* ==========================================================
   BrivoDigital — Premium agency site
   ========================================================== */
:root {
  --ink: #0b0b14;
  --ink-2: #14142a;
  --ink-3: #1d1d38;
  --text: #2a2a3c;
  --muted: #6b6b80;
  --line: #e7e7ef;
  --bg: #ffffff;
  --tint: #f6f5fb;
  --violet: #7c6cff;
  --violet-d: #5b4bf0;
  --cyan: #22d3ee;
  --green: #22c55e;
  --grad: linear-gradient(120deg, #7c6cff 0%, #a78bfa 45%, #22d3ee 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(20, 20, 60, 0.25);
  --shadow-lg: 0 40px 100px -30px rgba(20, 20, 60, 0.45);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lead { font-size: 1.125rem; color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--violet-d);
  background: rgba(124, 108, 255, 0.08);
  border: 1px solid rgba(124, 108, 255, 0.2);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow--dark { color: #c9c2ff; background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

/* ---------- Buttons ---------- */
.btn {
  --pad: 14px 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--pad); border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; cursor: pointer; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { --pad: 10px 18px; font-size: 0.875rem; }
.btn--lg { --pad: 17px 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary {
  color: #fff; background: var(--grad); background-size: 200% 100%;
  box-shadow: 0 10px 30px -10px rgba(124, 108, 255, 0.7);
}
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 16px 40px -12px rgba(124, 108, 255, 0.9); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.08); }
.btn--dark { color: #fff; background: var(--ink); margin-top: 8px; }
.btn--dark:hover { background: var(--ink-3); box-shadow: var(--shadow); }
.btn--outline { color: var(--ink); border-color: var(--line); background: #fff; }
.btn--outline:hover { border-color: var(--ink); }

.link-arrow { display: inline-flex; gap: 6px; font-weight: 600; color: var(--violet-d); font-size: 0.95rem; transition: gap 0.3s var(--ease); }
.link-arrow:hover { gap: 10px; }
.link-arrow--lg { font-size: 1.05rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.header.is-scrolled {
  background: rgba(11, 11, 20, 0.78);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; color: #fff; }
.logo em { font-style: normal; font-weight: 500; opacity: 0.7; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: rgba(255, 255, 255, 0.72); font-size: 0.93rem; font-weight: 500; position: relative; transition: color 0.25s; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #cfcfe0;
  background: radial-gradient(1200px 600px at 80% -10%, #231c5c 0%, transparent 60%), var(--ink);
  padding: 150px 0 0;
}
.hero__glow {
  position: absolute; width: 700px; height: 700px; left: -200px; top: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 108, 255, 0.35), transparent 65%);
  filter: blur(40px); animation: drift 14s ease-in-out infinite alternate;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
@keyframes drift { to { transform: translate(160px, -80px) scale(1.15); } }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.95fr; gap: 60px; align-items: center; padding-bottom: 100px; }
.hero__title { color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -0.045em; margin-bottom: 24px; }
.hero__title .serif { font-weight: 400; letter-spacing: -0.02em; padding-right: 0.08em; }
.hero__lead { font-size: 1.15rem; max-width: 540px; color: #a9a9c2; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 0.9rem; color: #9d9db8; }
.check { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%; font-size: 0.65rem; color: var(--ink); background: var(--cyan); }

.hero__visual { position: relative; perspective: 1400px; }

/* Browser mock */
.browser { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.browser--hero {
  transform: rotateY(-10deg) rotateX(6deg); transform-style: preserve-3d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: rotateY(-6deg) rotateX(3deg) translateY(-12px); } }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #f2f2f7; border-bottom: 1px solid #e6e6ee; }
.browser__bar > span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser__bar > span:nth-child(2) { background: #febc2e; }
.browser__bar > span:nth-child(3) { background: #28c840; }
.browser__url { margin-left: 12px; flex: 1; font-size: 0.75rem; color: #8a8aa0; background: #fff; border-radius: 6px; padding: 4px 12px; max-width: 260px; }
.browser__body { position: relative; }

.mock-site { padding: 20px 22px 24px; background: linear-gradient(180deg, #fbfaff, #f1efff); }
.mock-site__nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.mock-logo { width: 70px; height: 14px; border-radius: 4px; background: var(--ink); }
.mock-links { display: flex; gap: 10px; }
.mock-links i { width: 34px; height: 8px; border-radius: 4px; background: #d6d3ea; }
.mock-site__hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: center; margin-bottom: 22px; }
.mock-line { height: 14px; border-radius: 6px; background: var(--ink); margin-bottom: 10px; }
.mock-line--xl { width: 95%; height: 20px; }
.mock-line--lg { width: 75%; height: 20px; background: var(--violet); }
.mock-line--md { width: 60%; height: 9px; background: #c9c6e0; }
.mock-btns { display: flex; gap: 8px; margin-top: 16px; }
.mock-btns b { width: 72px; height: 24px; border-radius: 999px; background: var(--grad); }
.mock-btns b.alt { background: #fff; border: 1px solid #d6d3ea; }
.mock-img {
  aspect-ratio: 1 / 1; border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, #a78bfa, transparent 55%), radial-gradient(circle at 75% 70%, #22d3ee, transparent 50%), #3b2f9e;
}
.mock-site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-site__cards div { height: 56px; border-radius: 10px; background: #fff; border: 1px solid #e8e6f5; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 16px; font-size: 0.85rem; color: var(--ink);
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.5);
}
.float-card strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.float-card small { color: var(--muted); font-size: 0.75rem; }
.float-card__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #eefcf3; font-size: 1.2rem; }
.float-card--a { left: -36px; bottom: 60px; animation: bob 6s ease-in-out infinite; }
.float-card--b { right: -20px; top: 40px; animation: bob 7s ease-in-out infinite 1s; }
.float-card--c { right: 30px; bottom: -22px; padding: 12px 18px; font-size: 0.8rem; border-radius: 999px; animation: bob 8s ease-in-out infinite 0.5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.score { position: relative; width: 44px; height: 44px; }
.score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score path { fill: none; stroke-width: 3.5; }
.score__bg { stroke: #e9e9f2; }
.score__fg { stroke: var(--green); stroke-dasharray: 98 100; stroke-linecap: round; }
.score span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 0.8rem; color: var(--green); }

.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 8px; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* Marquee */
.marquee { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 26px 0; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: scroll 40s linear infinite; }
.marquee__track span { font-size: 1.05rem; font-weight: 600; color: rgba(255, 255, 255, 0.5); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: "✦"; color: var(--violet); font-size: 0.8rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #b4b4cc; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: #a4a4bf; }
.section__glow { position: absolute; width: 800px; height: 800px; right: -300px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 108, 255, 0.25), transparent 65%); pointer-events: none; }
.section__glow--center { right: auto; left: 50%; top: -300px; transform: translateX(-50%); }

.section__head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section__head h2 { margin-bottom: 18px; }
.section__head p { color: var(--muted); font-size: 1.1rem; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; max-width: none; text-align: left; gap: 24px; }
.section__head--row h2 { margin: 0; }
.section__head--left { text-align: left; margin: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}
.service::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0; transition: opacity 0.45s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { opacity: 1; }
.service__icon {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 24px;
  color: #fff; background: var(--grad); box-shadow: 0 12px 30px -12px rgba(124, 108, 255, 0.8);
}
.service__icon svg { width: 26px; height: 26px; }
.service h3 { margin-bottom: 12px; }
.service p { color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; }
.split--reverse .split__copy { order: 2; }
.split__copy h2 { margin-bottom: 20px; }
.split__copy .lead { margin-bottom: 34px; }

.feature-list { display: grid; gap: 22px; margin-bottom: 36px; }
.feature-list li { display: flex; gap: 18px; }
.feature-list__num { flex: none; font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1; color: var(--violet); width: 36px; }
.feature-list strong { color: var(--ink); display: block; margin-bottom: 2px; }
.feature-list p { color: var(--muted); font-size: 0.95rem; }

.check-list { display: grid; gap: 14px; margin-bottom: 36px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.7rem; font-weight: 800; color: var(--ink); background: var(--cyan);
}
.check-list strong { color: #fff; }
.check-list--compact { gap: 10px; }

/* Device stack */
.device-stack { position: relative; padding: 0 40px 40px 0; }
.device-stack .browser { box-shadow: var(--shadow-lg); }
.phone {
  position: absolute; right: 0; bottom: 0; width: 34%; aspect-ratio: 9 / 18.5;
  border-radius: 30px; padding: 8px; background: var(--ink); box-shadow: var(--shadow-lg);
}
.phone__notch { position: absolute; top: 14px; left: 50%; width: 30%; height: 12px; transform: translateX(-50%); border-radius: 10px; background: var(--ink); z-index: 2; }
.phone__screen { height: 100%; border-radius: 22px; overflow: hidden; }
.phone__rows { display: grid; gap: 8px; margin-top: auto; }
.phone__rows i { height: 34px; border-radius: 10px; background: rgba(255, 255, 255, 0.14); }

/* Concept “screenshots” */
.concept {
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  min-height: 300px; padding: 40px 36px; color: #fff; position: relative; overflow: hidden;
}
.concept::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.18), transparent 45%); pointer-events: none; }
.concept__tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; opacity: 0.8; }
.concept__title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; }
.concept__btn { align-self: flex-start; font-size: 0.8rem; font-weight: 600; padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--ink); }
.concept--mobile { min-height: 0; padding: 40px 14px 16px; justify-content: flex-start; }
.concept--mobile .concept__title { font-size: 1.15rem; }
.concept--mobile .concept__btn { font-size: 0.65rem; padding: 6px 12px; }

.concept--cafe   { background: linear-gradient(135deg, #3b2418, #8a5a3b 60%, #d9a066); }
.concept--dental { background: linear-gradient(135deg, #0e4d64, #1b8fa8 60%, #7fe0e8); }
.concept--realty { background: linear-gradient(135deg, #1a2238, #37476e 55%, #c4a262); }
.concept--gym    { background: linear-gradient(135deg, #111, #3a0d0d 50%, #ef4444); }
.concept--salon  { background: linear-gradient(135deg, #3d1a36, #a14a86 55%, #f5b8d3); }
.concept--law    { background: linear-gradient(135deg, #0d1b2a, #1b3a5c 60%, #9fb4c7); }
.concept--shop   { background: linear-gradient(135deg, #2b2a1f, #6b6a3a 55%, #e3d7a5); }

/* Work grid */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work__item { display: block; }
.work__shot {
  min-height: 280px; border-radius: var(--radius); box-shadow: 0 1px 0 var(--line);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.work__item:hover .work__shot { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-lg); }
.work__meta { padding: 18px 4px 0; }
.work__meta span { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet-d); }
.work__meta h3 { margin-top: 4px; display: flex; justify-content: space-between; }
.work__meta h3::after { content: "↗"; opacity: 0; transform: translate(-6px, 6px); transition: all 0.4s var(--ease); }
.work__item:hover .work__meta h3::after { opacity: 1; transform: none; }

/* Status card */
.status-card {
  position: relative; padding: 28px; border-radius: 24px; color: #d6d6e8;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px);
  box-shadow: 0 40px 120px -40px rgba(124, 108, 255, 0.5);
}
.status-card__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.status-card__head small { display: block; color: #8d8daa; font-size: 0.8rem; }
.status-card__head strong { color: #fff; font-size: 1.05rem; }
.status-card__list li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.08); font-size: 0.92rem; }
.status-card__list b { color: #fff; font-weight: 600; text-align: right; }
.ok { color: #4ade80 !important; }
.status-card__chart { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin: 22px 0; }
.status-card__chart i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: var(--grad); opacity: 0.85; transform-origin: bottom; }
.is-visible .status-card__chart i { animation: grow 1.2s var(--ease) both; }
.status-card__chart i:nth-child(n) { animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes grow { from { transform: scaleY(0); } }
.status-card__foot { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); font-size: 0.85rem; }

.badge { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.badge--live { color: #4ade80; background: rgba(74, 222, 128, 0.12); }
.badge--up { color: #16a34a; background: #eafaf0; }

/* Stats */
.stats { background: var(--ink); border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 70px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { color: #9a9ab5; font-size: 0.95rem; }

/* SEO */
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini { padding: 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; transition: border-color 0.3s, transform 0.3s var(--ease); }
.mini:hover { border-color: var(--violet); transform: translateY(-3px); }
.mini strong { color: var(--ink); }
.mini p { color: var(--muted); font-size: 0.9rem; }

.seo-card { padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.seo-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.seo-card__head small { display: block; color: var(--muted); font-size: 0.8rem; }
.seo-card__head strong { color: var(--ink); }
.seo-card__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.seo-card__kpis div { padding: 14px; border-radius: 12px; background: var(--tint); }
.seo-card__kpis b { display: block; font-size: 1.35rem; color: var(--ink); letter-spacing: -0.02em; }
.seo-card__kpis small { color: var(--muted); font-size: 0.75rem; }
.seo-card__graph { width: 100%; height: 120px; margin-bottom: 14px; }
.seo-line { stroke-dasharray: 400; stroke-dashoffset: 400; }
.is-visible .seo-line { animation: draw 2s var(--ease) forwards 0.3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.seo-card__rows li { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.9rem; }
.seo-card__rows b { color: #16a34a; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 34px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__num { display: block; font-family: var(--serif); font-style: italic; font-size: 3rem; line-height: 1; margin-bottom: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 58px; right: -21px; width: 22px; height: 2px;
  background: linear-gradient(90deg, var(--violet), transparent);
}

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 38px 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan h3 { font-size: 1.35rem; }
.plan__desc { color: var(--muted); font-size: 0.93rem; margin: 6px 0 24px; }
.plan__price { font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; margin-bottom: 26px; }
.plan__price small { font-size: 0.85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { display: grid; gap: 12px; margin-bottom: 32px; flex: 1; }
.plan li { position: relative; padding-left: 28px; font-size: 0.95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--violet); font-weight: 800; }
.plan--featured { background: var(--ink); border-color: transparent; color: #c4c4da; box-shadow: 0 40px 80px -30px rgba(124, 108, 255, 0.6); transform: scale(1.03); }
.plan--featured:hover { transform: scale(1.03) translateY(-6px); }
.plan--featured h3, .plan--featured .plan__price { color: #fff; }
.plan--featured .plan__desc, .plan--featured .plan__price small { color: #9a9ab5; }
.plan--featured li::before { color: var(--cyan); }
.plan--featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.plan__badge { position: absolute; top: -14px; left: 32px; padding: 6px 14px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; color: #fff; background: var(--grad); }

.care-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding: 24px 32px; border-radius: 18px; background: var(--tint); border: 1px dashed #d4d0f0; }
.care-strip strong { display: block; color: var(--ink); font-size: 1.05rem; }
.care-strip span { color: var(--muted); font-size: 0.93rem; }
.care-strip .btn { margin: 0; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { display: flex; flex-direction: column; padding: 34px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stars { color: #f5b301; letter-spacing: 3px; margin-bottom: 16px; }
.quote blockquote { flex: 1; color: var(--ink); font-size: 1.05rem; line-height: 1.6; margin-bottom: 26px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption strong { display: block; color: var(--ink); font-size: 0.95rem; }
.quote figcaption small { color: var(--muted); }
.avatar { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; font-weight: 700; font-size: 0.85rem; color: #fff; background: var(--grad); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
.faq-wrap .section__head { position: sticky; top: 110px; }
.faq-wrap .section__head p { margin-bottom: 26px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: 1.1rem; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  font-size: 1.3rem; font-weight: 400; border: 1px solid var(--line); transition: transform 0.35s var(--ease), background 0.35s, color 0.35s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq details p { color: var(--muted); padding: 0 50px 24px 0; animation: fadeDown 0.4s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* Contact */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; position: relative; }
.contact__copy h2 { margin-bottom: 20px; }
.contact__copy .lead { margin-bottom: 30px; }
.contact__direct { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.contact__direct a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.25); padding-bottom: 2px; transition: border-color 0.3s; }
.contact__direct a:hover { border-color: var(--cyan); }

.form { display: grid; gap: 16px; padding: 38px; border-radius: 24px; background: #fff; box-shadow: 0 40px 120px -40px rgba(124, 108, 255, 0.6); }
.form h3 { font-size: 1.4rem; margin-bottom: 6px; color: var(--ink); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: #fafafe;
  font-weight: 400; font-size: 0.95rem; transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(124, 108, 255, 0.15); }
.form .is-invalid { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12); }
.form__status { min-height: 1.4em; font-size: 0.9rem; text-align: center; }
.form__status.is-success { color: #16a34a; }
.form__status.is-error { color: #dc2626; }

/* Footer */
.footer { background: #07070e; color: #8a8aa5; padding: 80px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.footer__brand p { max-width: 320px; margin-top: 16px; font-size: 0.95rem; }
.footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0; }
.footer__grid a:not(.logo) { display: block; padding: 5px 0; font-size: 0.93rem; transition: color 0.25s; }
.footer__grid a:not(.logo):hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 26px; font-size: 0.85rem; }
.footer__bottom a:hover { color: #fff; }

.plan__price { margin-bottom: 4px; }
.plan__usd { font-size: 0.88rem; color: var(--muted); margin-bottom: 26px; }
.plan--featured .plan__usd { color: #9a9ab5; }
.section__note { margin-top: 14px; max-width: 620px; color: var(--muted); font-size: 0.95rem; }
.nav a[aria-current="page"]:not(.btn) { color: #fff; }
.nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.promise { padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.promise__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; font-size: 1.4rem; background: var(--tint); }
.promise h3 { margin-bottom: 8px; }
.promise p { color: var(--muted); font-size: 0.95rem; }

/* CTA band */
.cta__inner { position: relative; max-width: 760px; text-align: center; }
.cta__inner h2 { margin-bottom: 18px; }
.cta__inner .lead { margin-bottom: 34px; }
.cta__actions { justify-content: center; margin-bottom: 0; }

/* Footer address */
.footer__address { margin-top: 18px; font-style: normal; font-size: 0.9rem; line-height: 1.8; }
.footer__grid .footer__address a { display: inline; padding: 0; color: #c4c4da; }

/* ---------- Inner pages ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: 160px 0 80px; color: #a9a9c2;
  background: radial-gradient(900px 500px at 85% -20%, #231c5c 0%, transparent 60%), var(--ink);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 18px; max-width: 820px; }
.page-hero p { font-size: 1.12rem; max-width: 680px; }
.page-hero .meta { margin-top: 18px; font-size: 0.88rem; color: #8585a3; }

.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { color: #4a4a5e; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; padding-left: 4px; }
.prose a:not(.btn) { color: var(--violet-d); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose .callout { margin: 24px 0; padding: 20px 24px; border-radius: var(--radius-sm); background: var(--tint); border-left: 4px solid var(--violet); }
.prose .callout p:last-child { margin-bottom: 0; }

.prose--spaced { margin-top: 40px; }
.section__head--block { max-width: 820px; margin-bottom: 40px; }
.form__consent { font-size: 0.8rem; color: var(--muted); text-align: center; }
.form__consent a { color: var(--violet-d); text-decoration: underline; }
.info-card small a { font-size: inherit; font-weight: 600; color: var(--violet-d); }

.legal { display: grid; grid-template-columns: 240px 1fr; gap: 70px; align-items: start; }
.legal__toc { position: sticky; top: 110px; padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
.legal__toc strong { display: block; margin-bottom: 10px; color: var(--ink); font-size: 0.9rem; }
.legal__toc a { display: block; padding: 5px 0; font-size: 0.9rem; color: var(--muted); }
.legal__toc a:hover { color: var(--violet-d); }

.table-wrap { overflow-x: auto; margin: 10px 0 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { background: var(--tint); color: var(--ink); font-weight: 700; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td:first-child { font-weight: 600; color: var(--ink); }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.info-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.info-card p, .info-card a, .info-card address { color: var(--ink); font-size: 1.05rem; font-weight: 600; font-style: normal; }
.info-card a:hover { color: var(--violet-d); }
.info-card small { display: block; margin-top: 6px; color: var(--muted); font-size: 0.85rem; font-weight: 400; }

.founder { display: grid; grid-template-columns: 280px 1fr; gap: 50px; align-items: center; }
.founder__card { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 28px; padding: 4px; background: var(--grad); box-shadow: var(--shadow-lg); }
.founder__card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 24px; }
.facts { max-width: 820px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 30px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--line); }
.facts div { padding: 16px 20px; background: #fff; }
.facts dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.facts dd { color: var(--ink); font-weight: 600; }

@media (max-width: 920px) {
  .promises, .info-cards { grid-template-columns: repeat(2, 1fr); }
  .legal, .founder { grid-template-columns: 1fr; gap: 36px; }
  .legal__toc { position: static; }
  .founder__card { max-width: 280px; }
  .page-hero { padding: 130px 0 60px; }
}
@media (max-width: 600px) {
  .promises, .info-cards, .facts { grid-template-columns: 1fr; }
  .cta__actions .btn { width: 100%; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services, .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .work { grid-template-columns: repeat(2, 1fr); }
  .split, .hero__inner, .contact__inner { gap: 50px; }
}

@media (max-width: 920px) {
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 28px; background: rgba(11, 11, 20, 0.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.35s var(--ease);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 18px; }
  .nav-toggle { display: block; }
  .header:has(.nav.is-open) { background: rgba(11, 11, 20, 0.97); }

  .hero { padding-top: 120px; }
  .hero__inner, .split, .contact__inner, .faq-wrap { grid-template-columns: 1fr; }
  .split--reverse .split__copy { order: 0; }
  .hero__visual { max-width: 560px; margin: 20px auto 0; width: 100%; }
  .faq-wrap { gap: 40px; }
  .faq-wrap .section__head { position: static; }
  .pricing, .testimonials { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-6px); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { width: min(1200px, 100% - 36px); }
  .section { padding: 84px 0; }
  .section__head { margin-bottom: 44px; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .services, .steps, .work, .mini-grid, .form__row { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .float-card--a { left: -6px; bottom: 30px; }
  .float-card--b { right: -6px; top: 20px; }
  .float-card--c { display: none; }
  .float-card { padding: 10px 14px; }
  .form { padding: 26px 22px; }
  .care-strip { flex-direction: column; align-items: flex-start; padding: 22px; }
  .seo-card__kpis { grid-template-columns: 1fr 1fr; }
  .seo-card__kpis div:last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 10px; }
  .faq details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .seo-line { stroke-dashoffset: 0; }
}
