/* =========================================================
   Mitchell — AI Automation Portfolio
   Dark / Light premium SaaS theme
   ========================================================= */

/* ---------- Theme tokens ---------- */
:root {
  --bg: #08090d;
  --bg-alt: #0c0e14;
  --surface: #101320;
  --surface-2: #141827;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f4f8;
  --text-muted: #9aa3b2;
  --text-dim: #6b7280;

  --accent: #6d8bff;      /* blue */
  --accent-2: #a473ff;    /* violet */
  --accent-3: #3fe0d0;    /* cyan */
  --accent-glow: rgba(109, 139, 255, 0.35);

  --grad: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-3) 100%);
  --grad-soft: linear-gradient(120deg, rgba(109,139,255,0.14), rgba(164,115,255,0.10) 55%, rgba(63,224,208,0.12));

  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-alt: #eef0f7;
  --surface: #ffffff;
  --surface-2: #f4f6fc;
  --border: rgba(15, 20, 40, 0.09);
  --border-strong: rgba(15, 20, 40, 0.16);
  --text: #0d1220;
  --text-muted: #4b5568;
  --text-dim: #8a93a5;
  --accent-glow: rgba(109, 139, 255, 0.28);
  --shadow: 0 24px 55px -28px rgba(30, 40, 90, 0.28);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
h1, h2, h3, .brand__text { font-family: "Space Grotesk", sans-serif; letter-spacing: -0.02em; line-height: 1.1; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent-2); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
html[data-theme="dark"] .section--alt { background: rgba(16, 19, 32, 0.55); }
#services { background-image: radial-gradient(700px 420px at 88% 0%, rgba(164,115,255,0.08), transparent); }
#clients { background-image: radial-gradient(700px 420px at 8% 30%, rgba(63,224,208,0.06), transparent); }
#testimonials { background-image: radial-gradient(700px 420px at 90% 30%, rgba(109,139,255,0.07), transparent); }

/* ---------- Fixed ambient video background ---------- */
#bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
#bgVideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#bgOverlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 700px at 78% 12%, rgba(109,139,255,0.10), transparent 60%),
    linear-gradient(180deg, rgba(6,7,11,0.72) 0%, rgba(6,7,11,0.80) 45%, rgba(6,7,11,0.88) 100%);
}
html[data-theme="light"] #bg { display: none; }

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-3); margin-bottom: 16px;
}
.section__title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; }
.section__head { max-width: 640px; margin-bottom: 56px; }
.section__sub { color: var(--text-muted); font-size: 1.05rem; margin-top: 14px; }
.lead { font-size: 1.15rem; color: var(--text); margin: 20px 0 18px; }
.muted { color: var(--text-muted); margin-bottom: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  font-family: "Space Grotesk", sans-serif; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--primary { background: var(--grad); color: #0b0d16; box-shadow: 0 10px 30px -8px var(--accent-glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px var(--accent-glow); color: #0b0d16; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--text); background: var(--surface); }

/* ---------- Pill ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: var(--grad-soft); border: 1px solid var(--border); color: var(--text-muted);
  font-size: 0.85rem; font-weight: 600; margin-bottom: 26px;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-3); box-shadow: 0 0 12px var(--accent-3); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.brand:hover { color: var(--text); }
.brand__mark {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px;
  background: var(--grad); color: #0b0d16; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.05rem;
}
.brand__text { font-size: 1.15rem; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; position: relative; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--grad); transition: width 0.25s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text); cursor: pointer;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.icon-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.icon-moon { display: none; }
html[data-theme="light"] .icon-sun { display: none; }
html[data-theme="light"] .icon-moon { display: block; }

.burger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; border: 1px solid var(--border); background: var(--surface); border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (video background) ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 90px; overflow: hidden; isolation: isolate;
}

/* Collapse hero to single column earlier so floating cards never poke out on tablet widths */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,7,11,0.92) 0%, rgba(6,7,11,0.72) 42%, rgba(6,7,11,0.35) 72%, rgba(6,7,11,0.55) 100%),
    radial-gradient(140% 120% at 20% 40%, transparent 40%, rgba(6,7,11,0.55) 100%),
    linear-gradient(180deg, rgba(6,7,11,0.55) 0%, rgba(6,7,11,0.15) 35%, var(--bg-alt) 100%);
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero__copy { max-width: 640px; }
.hero__pill { color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); white-space: nowrap; }
.hero__title {
  font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 700; margin-bottom: 24px; color: #fff;
  text-transform: uppercase; letter-spacing: -0.015em; line-height: 1.04;
  display: flex; flex-wrap: wrap; gap: 0.12em 0.28em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.hero__title .word { display: inline-block; opacity: 0; transform: translateY(32px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.hero__title .word--accent {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__title.in .word { opacity: 1; transform: none; }
.hero__subtitle { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: rgba(255,255,255,0.82); max-width: 600px; margin-bottom: 32px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 600; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.trust { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }
.trust__avatars { display: flex; }
.trust__avatars span {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-family: "Space Grotesk", sans-serif; font-size: 0.72rem; font-weight: 700; color: #fff;
  background: var(--grad); border: 2px solid rgba(10,12,20,0.9); margin-left: -10px;
}
.trust__avatars span:first-child { margin-left: 0; }
.trust__text { font-size: 0.88rem; color: rgba(255,255,255,0.72); }
.hero__stats { display: flex; gap: 44px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: "Space Grotesk", sans-serif; font-size: 2rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { color: rgba(255,255,255,0.72); font-size: 0.9rem; max-width: 160px; }

/* fade-up helper (delay via --d) */
.hero__fade { opacity: 0; transform: translateY(24px); animation: heroFade 0.7s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes heroFade { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero__title .word { opacity: 1; transform: none; transition: none; }
  .hero__fade { opacity: 1; transform: none; animation: none; }
  /* decorative looping visuals keep animating on purpose */
}

/* ---------- Hero visual: planet, orbits, floating glass cards ---------- */
.hero__visual { position: relative; height: 540px; }
.orbit {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border: 1px dashed rgba(255,255,255,0.16); border-radius: 50%;
  animation: spin 60s linear infinite;
}
.orbit--1 { width: 400px; height: 400px; }
.orbit--2 { width: 560px; height: 560px; border-color: rgba(255,255,255,0.09); animation-duration: 100s; animation-direction: reverse; }
.orbit--1::after {
  content: ""; position: absolute; top: -5px; left: 50%; margin-left: -5px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent-3);
  box-shadow: 0 0 14px var(--accent-3);
}
.orbit--2::after {
  content: ""; position: absolute; top: 50%; right: -4px; margin-top: -4px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.planet {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 190px; height: 190px; border-radius: 50%; overflow: hidden;
  background:
    radial-gradient(circle at 34% 28%, #9fb0ff 0%, #5a63d8 30%, #3b2f8f 55%, #1a1650 78%, #0a0b2e 100%);
  box-shadow:
    0 0 90px rgba(109,139,255,0.45),
    0 0 40px rgba(164,115,255,0.35),
    inset -26px -22px 62px rgba(0,0,0,0.7),
    inset 8px 10px 34px rgba(255,255,255,0.22);
}
/* meridian / parallel grid */
.planet::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 21px, rgba(180,200,255,0.10) 21px 22px),
    repeating-linear-gradient(90deg, transparent 0 21px, rgba(180,200,255,0.07) 21px 22px);
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 62%, transparent 78%);
  mask: radial-gradient(circle at 50% 50%, #000 62%, transparent 78%);
  opacity: 0.7;
}
/* rotating sheen */
.planet::after {
  content: ""; position: absolute; inset: -30%; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(63,224,208,0.18) 60deg, transparent 140deg, transparent 360deg);
  animation: spinPlain 14s linear infinite; mix-blend-mode: screen;
}
@keyframes spinPlain { to { transform: rotate(360deg); } }
.float { animation: floaty 7s ease-in-out infinite alternate; animation-delay: var(--fd, 0s); }
@keyframes floaty { from { transform: translateY(-8px); } to { transform: translateY(10px); } }

.fcard {
  position: absolute; border-radius: 16px; padding: 16px 18px;
  background: rgba(12, 14, 24, 0.55); border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
  color: rgba(255,255,255,0.85);
}
.fcard__head { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: rgba(255,255,255,0.8); margin-bottom: 12px; white-space: nowrap; }
.fcard__sub { display: block; font-size: 0.72rem; color: var(--accent-3); margin-top: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot--live { background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2s ease-in-out infinite; }
.dot--ok { background: #4ade80; box-shadow: 0 0 10px #4ade80; }
@keyframes pulse { 50% { opacity: 0.4; } }

.fcard--dash { top: 6%; left: 0; width: 220px; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 64px; }
.bars i { flex: 1; height: var(--h, 50%); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--accent-3), var(--accent)); opacity: 0.9; }

.fcard--call { bottom: 10%; right: 2%; width: 200px; }
.wave { display: flex; align-items: center; gap: 4px; height: 30px; }
.wave i { width: 4px; border-radius: 3px; background: var(--grad); height: 30%; animation: waveup 1.1s ease-in-out infinite alternate; }
.wave i:nth-child(2) { animation-delay: .12s; } .wave i:nth-child(3) { animation-delay: .24s; }
.wave i:nth-child(4) { animation-delay: .36s; } .wave i:nth-child(5) { animation-delay: .48s; }
.wave i:nth-child(6) { animation-delay: .6s; }  .wave i:nth-child(7) { animation-delay: .72s; }
.wave i:nth-child(8) { animation-delay: .84s; }
@keyframes waveup { from { height: 22%; } to { height: 95%; } }

.fcard--metric { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; }
.fcard--metric strong { font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fcard--metric span { font-size: 0.72rem; color: rgba(255,255,255,0.65); }
.fcard--metric { top: 16%; right: 6%; }
.fcard--metric2 { top: auto; right: auto; bottom: 6%; left: 10%; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start; }
.about__cards { display: flex; flex-direction: column; gap: 16px; }
.mini-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 22px 24px; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.mini-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.mini-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.mini-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Service card ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.35s var(--ease); pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--grad-soft); border: 1px solid var(--border); color: var(--accent-3);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.96rem; }
.services__cta { text-align: center; margin-top: 40px; color: var(--text-muted); font-size: 1.05rem; }
.services__cta a { font-weight: 600; white-space: nowrap; }

/* ---------- Project card ---------- */
.project {
  background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex; flex-direction: column;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.project:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.project__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.project__tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; color: var(--accent-3); background: var(--grad-soft); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.project__num { font-family: "Space Grotesk", sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--border-strong); line-height: 1; }
.project h3 { font-size: 1.4rem; margin-bottom: 12px; }
.project__task { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 10px; padding: 12px 14px; border-radius: 10px; background: var(--grad-soft); border: 1px solid var(--border); }
.project__task strong { color: var(--text); font-weight: 600; }
.project__visual {
  height: 92px; border-radius: 12px; margin-bottom: 20px; padding: 18px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: linear-gradient(135deg, rgba(109,139,255,0.10), rgba(164,115,255,0.06) 55%, rgba(63,224,208,0.10));
  border: 1px solid var(--border);
}
.project__visual .bars { width: 70%; height: 100%; }
.project__visual .wave { height: 46px; gap: 5px; }
.project__visual .wave i { width: 5px; }
.qalines { display: flex; flex-direction: column; gap: 10px; width: 70%; }
.qalines i { display: flex; align-items: center; height: 10px; border-radius: 5px; background: var(--border-strong); position: relative; }
.qalines i::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 60%); border-radius: 5px; background: var(--grad); opacity: 0.75; }
.flownodes { display: flex; align-items: center; gap: 0; width: 72%; }
.flownodes b { width: 14px; height: 14px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px var(--accent-glow); flex-shrink: 0; }
.flownodes u { flex: 1; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); opacity: 0.5; text-decoration: none; }

/* Animated "alive" project mini-visuals */
.project__visual .bars i { animation: barPulse 2.2s var(--ease) infinite alternate; transform-origin: bottom; }
.project__visual .bars i:nth-child(1){animation-delay:0s}.project__visual .bars i:nth-child(2){animation-delay:.15s}
.project__visual .bars i:nth-child(3){animation-delay:.3s}.project__visual .bars i:nth-child(4){animation-delay:.45s}
.project__visual .bars i:nth-child(5){animation-delay:.6s}.project__visual .bars i:nth-child(6){animation-delay:.75s}
.project__visual .bars i:nth-child(7){animation-delay:.9s}
@keyframes barPulse { from { transform: scaleY(0.55); opacity: 0.6; } to { transform: scaleY(1); opacity: 1; } }

.project__visual .qalines i::before { animation: qaFill 3s var(--ease) infinite alternate; }
.project__visual .qalines i:nth-child(2)::before { animation-delay: .5s; }
.project__visual .qalines i:nth-child(3)::before { animation-delay: 1s; }
@keyframes qaFill { from { width: 25%; opacity: 0.5; } to { width: var(--w, 60%); opacity: 0.9; } }

.project__visual .flownodes b { animation: nodePulse 2s ease-in-out infinite; }
.project__visual .flownodes b:nth-child(3){animation-delay:.4s}.project__visual .flownodes b:nth-child(5){animation-delay:.8s}.project__visual .flownodes b:nth-child(7){animation-delay:1.2s}
@keyframes nodePulse { 0%,100% { box-shadow: 0 0 8px var(--accent-glow); transform: scale(1); } 50% { box-shadow: 0 0 18px var(--accent); transform: scale(1.25); } }
.project__visual .flownodes u { position: relative; overflow: hidden; }
.project__visual .flownodes u::after { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, #fff, transparent); opacity: 0.7; animation: flowDot 2.4s linear infinite; }
@keyframes flowDot { to { left: 120%; } }
.project__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.project__tags span { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); border: 1px solid var(--border-strong); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.project__link {
  display: inline-flex; align-items: center; font-size: 0.9rem; font-weight: 600; margin-bottom: 18px;
  padding: 12px 16px; border-radius: 10px; background: var(--grad-soft); border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.project__link:hover { border-color: var(--accent); transform: translateY(-2px); }
.project__desc { color: var(--text-muted); margin-bottom: 22px; }
.project__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-bottom: 22px; }
.project__block h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 10px; font-family: "Manrope", sans-serif; font-weight: 700; }
.project__list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.project__list li { color: var(--text-muted); font-size: 0.92rem; padding-left: 20px; position: relative; }
.project__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 2px; background: var(--grad); }
.project__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 0.88rem; }
.project__foot strong { color: var(--text); font-weight: 600; }

/* ---------- Live Demo (AI intake agent) ---------- */
.demo { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 24px; align-items: stretch; }
.demo__chat {
  display: flex; flex-direction: column; height: 500px; overflow: hidden;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.demo__bar { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.demo__ava { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #0b0d16; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 0.9rem; }
.demo__id { display: flex; flex-direction: column; }
.demo__id strong { font-size: 0.98rem; }
.demo__status { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--text-muted); }
.demo__status i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.demo__log { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 82%; padding: 12px 16px; border-radius: 16px; font-size: 0.92rem; line-height: 1.5; animation: bubbleIn 0.3s var(--ease); }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(8px); } }
.bubble--bot { align-self: flex-start; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-bottom-left-radius: 4px; color: var(--text); }
.bubble--user { align-self: flex-end; background: var(--grad); color: #0b0d16; border-bottom-right-radius: 4px; font-weight: 600; }
.bubble.typing { display: flex; gap: 5px; align-items: center; }
.bubble.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); animation: blink 1.2s infinite; }
.bubble.typing span:nth-child(2) { animation-delay: .2s; } .bubble.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.demo__replies { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--border); min-height: 20px; }
.chip {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border-strong); background: transparent;
  color: var(--text); font-size: 0.86rem; font-weight: 600; cursor: pointer; font-family: "Manrope", sans-serif;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.chip:hover { border-color: var(--accent); background: var(--surface); transform: translateY(-2px); }
.demo__side {
  display: flex; flex-direction: column; gap: 16px; padding: 30px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.demo__side h3 { font-size: 1.15rem; }
.demo__list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.demo__list li { color: var(--text-muted); font-size: 0.94rem; padding-left: 28px; position: relative; }
.demo__list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--accent-3); font-weight: 700; }
.demo__note { margin-top: auto; font-size: 0.82rem; color: var(--text-dim); line-height: 1.6; padding-top: 16px; border-top: 1px solid var(--border); }

/* ---------- Pricing / packages ---------- */
.plan {
  background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; position: relative; overflow: hidden;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.plan:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.plan--featured { border-color: transparent; }
.plan--featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; 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 { display: inline-block; align-self: flex-start; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-3); background: var(--grad-soft); border: 1px solid var(--border); padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; white-space: nowrap; }
.plan__name { font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; font-weight: 600; margin-bottom: 6px; }
.plan__for { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.plan__price { font-family: "Space Grotesk", sans-serif; font-size: 1.9rem; font-weight: 700; margin-bottom: 4px; }
.plan__price span { font-size: 0.95rem; font-weight: 500; color: var(--text-dim); }
.plan__note { color: var(--text-dim); font-size: 0.82rem; margin-bottom: 22px; }
.plan__list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.plan__list li { color: var(--text-muted); font-size: 0.92rem; padding-left: 26px; position: relative; }
.plan__list li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent-3); font-weight: 700; }
.plan .btn { margin-top: auto; width: 100%; }

/* ---------- FAQ ---------- */
.faq__wrap { max-width: 820px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--surface) 70%, transparent); overflow: hidden; transition: border-color 0.3s var(--ease); }
.faq__item[open] { border-color: var(--border-strong); }
.faq__q { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.02rem; color: var(--text); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; font-size: 1.5rem; color: var(--accent-3); transition: transform 0.3s var(--ease); line-height: 1; }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 24px 22px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ---------- Contact form ---------- */
.cform { display: flex; flex-direction: column; gap: 12px; margin: 30px 0 24px; max-width: 560px; }
.cform__row { display: flex; gap: 12px; }
.cform__row .cform__input { flex: 1; }
.cform__input {
  width: 100%; padding: 14px 16px; border-radius: 12px; font-family: "Manrope", sans-serif; font-size: 0.95rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); color: #fff; resize: vertical;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.cform__input::placeholder { color: rgba(255,255,255,0.5); }
.cform__input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.1); }
.cform__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.cform__status { font-size: 0.9rem; min-height: 1.2em; margin: 0; }
.cform__status.ok { color: #4ade80; }
.cform__status.err { color: #ff8a8a; }

/* ---------- Flagship product: ARI ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.product__tagline { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; margin-bottom: 16px; line-height: 1.2; }
.product__desc { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 22px; }
.product__list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.product__list li { color: var(--text-muted); font-size: 0.95rem; padding-left: 28px; position: relative; }
.product__list li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent-3); font-weight: 700; }
.product__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.product__panel { display: flex; justify-content: center; }
.rpt {
  width: 100%; max-width: 440px; border-radius: var(--radius); overflow: hidden;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.rpt__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.03); }
.rpt__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.rpt__dot:nth-child(1) { background: #ff5f57; } .rpt__dot:nth-child(2) { background: #febc2e; } .rpt__dot:nth-child(3) { background: #28c840; }
.rpt__title { margin-left: 8px; font-size: 0.8rem; color: var(--text-dim); font-family: "Space Grotesk", sans-serif; letter-spacing: 0.03em; }
.rpt__body { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.rpt__verdict { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.rpt__badge { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.05em; padding: 8px 16px; border-radius: 10px; color: #ff8a8a; background: rgba(255,90,90,0.12); border: 1px solid rgba(255,90,90,0.35); }
.rpt__conf { font-size: 0.85rem; color: var(--text-muted); }
.rpt__row { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--text); padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); }
.rpt__row b { font-family: "Space Grotesk", sans-serif; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: 0.85rem; color: #0b0d16; }
.rpt__row--bug b { background: #ff8a8a; } .rpt__row--warn b { background: #febc2e; } .rpt__row--sec b { background: var(--accent-2); color: #fff; } .rpt__row--ok b { background: #28c840; }
.rpt__foot { font-size: 0.78rem; color: var(--text-dim); margin-top: 6px; }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.client {
  display: flex; align-items: center; gap: 14px; padding: 20px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.client:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.client__logo {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--grad-soft); border: 1px solid var(--border);
  font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--accent-3);
}
.client__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.client__meta strong { font-size: 0.95rem; }
.client__meta span { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- Testimonials ---------- */
.quote {
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.quote:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.quote--featured { grid-column: 1 / -1; background: var(--surface); position: relative; }
.quote--featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  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;
}
.quote--featured .quote__text { font-size: 1.22rem; }
.quote__badge { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: var(--accent-3); background: var(--grad-soft); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.quote__mark { font-family: "Space Grotesk", sans-serif; font-size: 3rem; line-height: 0.6; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block; margin-bottom: 10px; }
.quote__text { font-size: 1.1rem; color: var(--text); margin-bottom: 22px; }
.quote__who { display: flex; align-items: center; gap: 12px; }
.quote__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #0b0d16; font-weight: 700; font-family: "Space Grotesk", sans-serif; }
.quote__role { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; position: relative; transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step__num {
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 0.95rem;
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad-soft); border: 1px solid var(--border); color: var(--accent-3);
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.94rem; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 28px;
  padding: 72px 40px;
}
.cta__glow { position: absolute; inset: 0; background: var(--grad-soft); opacity: 0.7; pointer-events: none; }
.cta > *:not(.cta__glow) { position: relative; z-index: 1; }
.cta__title { font-size: clamp(1.7rem, 4vw, 2.7rem); font-weight: 700; margin-bottom: 16px; }
.cta__sub { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 34px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Immersive closing: video bg + CTA + liquid-glass footer ---------- */
.closing {
  position: relative; width: 100%; min-height: 108vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px 0 40px; overflow: hidden; isolation: isolate;
}
.closing__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.closing__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, var(--bg-alt) 0%, rgba(8,9,13,0.35) 22%, rgba(8,9,13,0.28) 55%, rgba(8,9,13,0.72) 100%);
}
html[data-theme="light"] .closing__scrim {
  background: linear-gradient(180deg, var(--bg-alt) 0%, rgba(10,14,26,0.30) 22%, rgba(10,14,26,0.30) 55%, rgba(10,14,26,0.62) 100%);
}
.closing__inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 80px; }

/* Glass button variant for the video zone */
.btn--glass {
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1px solid rgba(255,255,255,0.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.btn--glass:hover { background: rgba(255,255,255,0.16); color: #fff; transform: translateY(-2px); border-color: rgba(255,255,255,0.4); }

/* CTA on video */
.cta-glass { max-width: 760px; color: #fff; }
.cta-glass .pill { color: rgba(255,255,255,0.82); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); }
.cta-glass .cta__title { font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 700; margin-bottom: 16px; color: #fff; }
.cta-glass .cta__sub { color: rgba(255,255,255,0.72); font-size: 1.12rem; margin-bottom: 32px; }
.cta-glass .cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- LIQUID GLASS (exact spec) ---------- */
.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- Liquid-glass footer layout ---------- */
.footer-glass {
  width: 100%; border-radius: 28px; padding: 44px; color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.04);
}
.fg__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; margin-bottom: 40px; }
.fg__brandrow { display: flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 16px; }
.fg__name { font-family: "Space Grotesk", sans-serif; font-size: 1.35rem; font-weight: 600; letter-spacing: 0.04em; }
.fg__desc { font-size: 0.95rem; line-height: 1.7; max-width: 380px; color: rgba(255,255,255,0.66); }
.fg__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.fg__col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: #fff; font-weight: 600; margin-bottom: 16px; font-family: "Manrope", sans-serif; }
.fg__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fg__col a { font-size: 0.85rem; color: rgba(255,255,255,0.62); transition: color 0.2s var(--ease); }
.fg__col a:hover { color: #fff; }
.fg__bottom {
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.fg__copy { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.5); }
.fg__social { display: flex; align-items: center; gap: 14px; }
.fg__sociallabel { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255,255,255,0.5); }
.fg__social a { color: rgba(255,255,255,0.7); display: inline-flex; transition: color 0.2s var(--ease), transform 0.2s var(--ease); }
.fg__social a:hover { color: #fff; transform: translateY(-2px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .demo { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; gap: 32px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
}
@media (max-width: 980px) {
  .nav__links {
    position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; gap: 4px;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 14px 24px 22px;
    transform: translateY(-140%); transition: transform 0.35s var(--ease); z-index: 90;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 12px 0; font-size: 1.05rem; }
  .burger { display: flex; }
  .nav__cta { display: none; }
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .grid--2, .grid--3, .steps, .clients { grid-template-columns: 1fr; }
  .project__cols { grid-template-columns: 1fr; }
  .hero__stats { gap: 28px; }
  .hero { padding: 96px 0 64px; min-height: 92vh; }
  .cta { padding: 54px 24px; }
  .closing { min-height: auto; padding: 90px 0 32px; }
  .closing__inner { gap: 56px; }
  .footer-glass { padding: 30px 22px; border-radius: 22px; }
  .fg__grid { grid-template-columns: 1fr; gap: 34px; }
  .fg__links { grid-template-columns: 1fr 1fr; gap: 26px; }
  .fg__bottom { flex-direction: column; align-items: flex-start; }
}
