/* =========================================================
   Platform Advertising Agency — brand colours from color.pdf
   Cyan  #02e9eb  (RGB 2,233,235)
   Navy  #04253f  (RGB 4,37,63)
   ========================================================= */
:root {
  --cyan: #02e9eb;
  --cyan-soft: rgba(2, 233, 235, 0.14);
  --cyan-line: rgba(2, 233, 235, 0.28);
  --navy: #04253f;
  --navy-deep: #021829;
  --navy-mid: #1e3350;
  --ink: #ffffff;
  --muted: #a9bccd;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.09);
  --radius: 20px;
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--navy-deep);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
main { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 700; }
p { margin: 0 0 1em; }

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

.text-accent { color: var(--cyan); }
.text-glow {
  background: linear-gradient(90deg, #fff 0%, #9ffcfd 35%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(2, 233, 235, 0.25);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--cyan);
  border: 1.5px solid var(--cyan);
  box-shadow: 0 10px 30px -10px rgba(2, 233, 235, 0.7);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(2, 233, 235, 0.9); }
.btn svg { width: 20px; height: 20px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(255, 255, 255, 0.25); box-shadow: none; }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: none; }
.btn--sm { padding: 9px 20px; font-size: 0.85rem; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}
.header.is-scrolled {
  background: rgba(2, 24, 41, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--card-border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.header__logo img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 32px; font-size: 0.92rem; font-weight: 500; }
.nav a:not(.btn) { position: relative; color: var(--muted); transition: color .25s; }
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover,
.nav a.is-active { color: #fff; }
.nav a:not(.btn):hover::after,
.nav a.is-active::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; margin: 6px 0; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 120px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #1f3654 0%, var(--navy) 45%, var(--navy-deep) 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.blob--1 { width: 620px; height: 620px; background: #0e8ea0; left: -160px; bottom: -260px; animation: float1 18s ease-in-out infinite; }
.blob--2 { width: 520px; height: 520px; background: #2a4870; right: -120px; top: -120px; animation: float2 22s ease-in-out infinite; }
.blob--3 { width: 900px; height: 260px; background: var(--cyan); left: 50%; bottom: -230px; transform: translateX(-50%); opacity: .45; filter: blur(110px); }
@keyframes float1 { 50% { transform: translate(120px, -80px) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(-100px, 90px) scale(.9); } }

.hero__shapes {
  position: absolute;
  right: -160px; top: 50%;
  width: min(900px, 80vw);
  transform: translateY(-50%);
  opacity: .5;
}
.hero__shapes rect { stroke: var(--cyan); stroke-opacity: .35; stroke-width: 2; }
.hero__shapes rect:nth-child(2) { animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 50% { stroke-opacity: .7; } }

.hero__content { position: relative; z-index: 1; }
.hero__title { font-size: clamp(2.8rem, 8vw, 6.4rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 26px; }
.hero__lead { max-width: 560px; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero__tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; }
.hero__tags li {
  padding: 6px 16px;
  font-size: 0.8rem;
  border: 1px solid var(--cyan-line);
  border-radius: 999px;
  color: #d6fbfc;
  background: rgba(2, 233, 235, 0.06);
}

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 30px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; margin-left: -2px;
  background: var(--cyan); border-radius: 2px;
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  background: var(--cyan);
  color: var(--navy);
  padding: 16px 0;
  transform: rotate(-1.5deg) scale(1.03);
  margin: -24px 0 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 60px -20px rgba(2, 233, 235, 0.6);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  animation: scroll 32s linear infinite;
}
.ticker__track i { font-style: normal; font-size: .9rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 12vw, 140px) 0; }
.section__head { max-width: 680px; margin-bottom: 56px; }
.section__title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.section__lead { color: var(--muted); font-size: 1.05rem; }

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%); }
.about__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.about__head { position: sticky; top: 120px; }
.about__mark { width: 110px; margin-top: 30px; filter: drop-shadow(0 0 30px rgba(2, 233, 235, 0.45)); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-3deg); } }
.about__body p { color: var(--muted); font-size: 1.05rem; }
.about__body .about__big { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.4; color: #fff; font-weight: 500; margin-bottom: 28px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.stat {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 20px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--card-border);
}
.stat__n { color: var(--cyan); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1; text-shadow: 0 0 24px rgba(2, 233, 235, 0.45); }
.stat__l { color: #d3e2ee; font-size: .9rem; font-weight: 500; }

/* ---------- Services ---------- */
.services { background: var(--navy); overflow: hidden; }
.services::before {
  content: "";
  position: absolute;
  right: -200px; top: 10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 233, 235, 0.16), transparent 70%);
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.card {
  position: relative;
  padding: 34px 30px 30px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--card-border);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(2, 233, 235, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.card:hover { transform: translateY(-8px); border-color: var(--cyan-line); box-shadow: 0 30px 60px -30px rgba(2, 233, 235, 0.5); }
.card:hover::after { opacity: 1; }
.card__icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--cyan-soft);
  border: 1px solid var(--cyan-line);
  margin-bottom: 24px;
  transition: background .4s, transform .4s var(--ease);
}
.card:hover .card__icon { background: var(--cyan); transform: rotate(-6deg) scale(1.05); }
.card__icon svg { width: 36px; height: 36px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.card:hover .card__icon svg { stroke: var(--navy); }
.card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .95rem; }
.card__list { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--card-border); display: grid; gap: 8px; font-size: .88rem; color: #d3e2ee; }
.card__list li { display: flex; align-items: center; gap: 10px; }
.card__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* ---------- Software (new service) ---------- */
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(2, 233, 235, 0.6);
  vertical-align: middle;
}
.nav__new .badge { margin-left: 4px; font-size: .55rem; padding: 1px 6px; }
.hero__tags .tag--new { background: var(--cyan); color: var(--navy); font-weight: 600; border-color: var(--cyan); }

.software {
  overflow: hidden;
  background: radial-gradient(80% 60% at 85% 20%, rgba(2, 233, 235, 0.14), transparent 60%), var(--navy-deep);
  border-top: 1px solid var(--cyan-line);
  border-bottom: 1px solid var(--cyan-line);
}
.software__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(2, 233, 235, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 233, 235, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%);
  animation: grid-move 20s linear infinite;
  pointer-events: none;
}
@keyframes grid-move { to { background-position: 48px 48px; } }
.software .container { position: relative; }
.software .eyebrow::before { display: none; }
.software__top { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; margin-bottom: 64px; }
.software__intro { min-width: 0; }
.software__intro .section__lead { margin-bottom: 30px; }
.software__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.software__note { color: var(--muted); font-size: .88rem; }

.code-window {
  min-width: 0;
  border-radius: 18px;
  background: rgba(4, 37, 63, 0.85);
  border: 1px solid var(--cyan-line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 60px -20px rgba(2, 233, 235, 0.45);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .6s var(--ease);
}
.code-window:hover { transform: none; }
.code-window__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--card-border); background: rgba(2, 24, 41, 0.6); }
.code-window__bar span { width: 11px; height: 11px; border-radius: 50%; background: #2c4864; }
.code-window__bar span:first-child { background: var(--cyan); }
.code-window__bar em { margin-left: 10px; font-style: normal; font-size: .78rem; color: var(--muted); }
.code-window__body {
  margin: 0;
  padding: 20px 22px;
  height: 290px;
  overflow: hidden;
  font: 500 .86rem/1.7 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #cfe6f2;
  white-space: pre-wrap;
}
.code-window__body code { font: inherit; }
.code-window__body .k { color: var(--cyan); }
.code-window__body .s { color: #9ffcfd; }
.code-window__body .c { color: #6f8aa3; }
.caret { display: inline-block; width: 8px; height: 1.1em; margin-left: 2px; vertical-align: text-bottom; background: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.code-window__status { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--card-border); font-size: .78rem; color: var(--muted); }
.code-window__status b { color: var(--cyan); font-weight: 600; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(2, 233, 235, 0.7); animation: ping 1.6s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(2, 233, 235, 0); } }

.sw-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.sw-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: rgba(4, 37, 63, 0.55);
  border: 1px solid var(--card-border);
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.sw-card:hover { transform: translateY(-6px); border-color: var(--cyan); background: rgba(4, 37, 63, 0.9); }
.sw-card__icon { width: 52px; height: 52px; margin-bottom: 20px; }
.sw-card__icon svg { width: 100%; height: 100%; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(2, 233, 235, 0.5)); }
.sw-card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 10px; }
.sw-card p { color: var(--muted); font-size: .9rem; margin: 0; }

.why { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--radius); border: 1px solid var(--cyan-line); background: rgba(2, 233, 235, 0.05); }
.why__item { display: flex; flex-direction: column; gap: 6px; padding: 24px 26px; }
.why__item + .why__item { border-left: 1px solid var(--cyan-line); }
.why__item b { color: var(--cyan); font-weight: 600; }
.why__item span { color: #d3e2ee; font-size: .92rem; }

/* ---------- Products ---------- */
.products {
  background:
    radial-gradient(70% 60% at 0% 100%, rgba(2, 233, 235, 0.22), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.products__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.products__intro .section__lead { margin-bottom: 30px; }
.products__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.product {
  display: flex; gap: 14px;
  padding: 22px;
  border-radius: 16px;
  background: rgba(2, 24, 41, 0.45);
  border: 1px solid var(--card-border);
  transition: border-color .3s, transform .3s var(--ease);
}
.product:hover { border-color: var(--cyan-line); transform: translateY(-4px); }
.product__dot { flex: none; width: 12px; height: 12px; margin-top: 6px; border-radius: 4px; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); transform: rotate(45deg); }
.product h4 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.product p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Process ---------- */
.process { background: var(--navy-mid); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-line), var(--cyan-line), transparent);
}
.step { position: relative; padding-top: 0; }
.step__n {
  display: grid; place-items: center;
  width: 68px; height: 68px;
  margin-bottom: 24px;
  border-radius: 50%;
  font-weight: 700;
  color: var(--navy);
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(2, 233, 235, 0.12), 0 0 40px rgba(2, 233, 235, 0.5);
  position: relative;
}
.step h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Clients ---------- */
.clients { background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy-deep) 100%); overflow: hidden; }
.marquee {
  overflow: hidden;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: 70px; width: max-content; animation: scroll 50s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img {
  height: 64px; width: auto; max-width: 170px; object-fit: contain;
  opacity: .6;
  transition: opacity .3s, transform .3s, filter .3s;
}
.marquee__track img:hover { opacity: 1; transform: scale(1.08); filter: drop-shadow(0 0 14px rgba(2, 233, 235, 0.7)); }

/* ---------- Contact ---------- */
.contact { background: var(--navy-deep); padding-top: 40px; }
.contact__card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(56px, 8vw, 96px) clamp(24px, 6vw, 80px);
  border-radius: 32px;
  background: linear-gradient(180deg, var(--navy) 0%, #0b3a55 100%);
  border: 1px solid var(--cyan-line);
}
.contact__glow {
  position: absolute;
  left: 50%; bottom: -60%;
  width: 120%; height: 100%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(2, 233, 235, 0.55), transparent);
  filter: blur(30px);
  pointer-events: none;
}
.contact__card > * { position: relative; }
.contact__card .eyebrow::before { display: none; }
.contact__title { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; max-width: 820px; margin: 0 auto 18px; }
.contact__card .section__lead { max-width: 560px; margin: 0 auto 36px; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.socials { display: flex; justify-content: center; gap: 14px; margin-top: 30px; }
.socials:empty { display: none; }
.socials a {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background .3s, border-color .3s, color .3s;
}
.socials a:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }
.socials svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); border-top: 1px solid var(--card-border); padding: 36px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__logo { height: 36px; width: auto; }
.footer__copy { margin: 0; color: var(--muted); font-size: .85rem; }
.footer__top { color: var(--cyan); font-size: .9rem; font-weight: 500; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .software__top { grid-template-columns: 1fr; gap: 40px; }
  .code-window { transform: none; }
  .sw-cards { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
  .products__grid,
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__head { position: static; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    font-size: 1.4rem;
    background: rgba(2, 24, 41, 0.97);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav .btn--sm { font-size: 1.1rem; padding: 14px 32px; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 640px) {
  .sw-cards,
  .why { grid-template-columns: 1fr; }
  .why__item + .why__item { border-left: 0; border-top: 1px solid var(--cyan-line); }
  .code-window__body { height: 240px; font-size: .74rem; padding: 16px; }
  .container { padding: 0 16px; }
  .header__logo img { height: 36px; }
  .cards,
  .products__list,
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero__shapes { right: -320px; opacity: .3; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .marquee__track { gap: 44px; }
  .marquee__track img { height: 48px; }
  .contact__actions .btn { width: 100%; justify-content: center; }
  .footer__inner { flex-direction: column; text-align: center; }
}

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