/* ==========================================================================
   AERION Aerial Systems — main.css
   DJI-style cinematic storytelling x Autel-style industrial spec layout | hand-written CSS, zero dependencies
   ========================================================================== */

/* ---------- Google Fonts (CN mirror domain) ---------- */
@import url("https://fonts.googleapis.cn/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&display=swap");

/* ---------- Design Tokens ---------- */
:root {
  --bg: #0a0c10;
  --bg-panel: #14171d;
  --bg-card: #181c23;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f7fa;
  --text-2: #9aa3af;
  --text-3: #6b7280;
  --accent: #ff5a1f;
  --accent-hover: #ff7443;
  --light-bg: #f4f3ef;
  --light-text: #111418;
  --light-text-2: #4b5563;
  --light-line: rgba(17, 20, 24, 0.12);

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 64px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Base typography ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow--dark { color: var(--accent); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-title--dark { color: var(--light-text); }
.section-sub { margin-top: 14px; color: var(--text-2); font-size: 1.05rem; }
.section-sub--dark { color: var(--light-text-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn--solid { background: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-hover); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255,255,255,.06); }
.btn--sm { padding: 9px 20px; font-size: 13px; border-radius: 5px; }
.btn--lg { padding: 16px 42px; font-size: 16px; }

/* DJI-style text link: underline sweeps in from the left */
.text-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--light-text);
  padding-bottom: 3px;
}
.text-link i { font-style: normal; font-size: 17px; transition: transform .35s var(--ease); }
.text-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.text-link:hover::after { transform: scaleX(1); transform-origin: left; }
.text-link:hover i { transform: translateX(4px); }
.text-link--light { color: var(--text); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background-color .45s var(--ease), border-color .45s var(--ease),
              backdrop-filter .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 12, 16, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.nav__logo { flex: none; }
.nav__wordmark {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.nav__wordmark em {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-2);
}
.nav__links { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(245,247,250,.82);
  position: relative;
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .4s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 14px; }

.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span {
  position: absolute; left: 9px; right: 9px; height: 1.5px;
  background: var(--text); transition: transform .4s var(--ease), opacity .3s;
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { bottom: 16px; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10,12,16,.97);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__links { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.mobile-menu__links a {
  font-size: 24px; font-weight: 600; letter-spacing: .04em;
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
.mobile-menu.is-open .mobile-menu__links a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(1) { transition-delay: .08s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(2) { transition-delay: .14s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(3) { transition-delay: .2s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(4) { transition-delay: .26s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(5) { transition-delay: .32s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(6) { transition-delay: .38s; }
.mobile-menu__links a:not(.btn):hover { color: var(--accent); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__video {
  position: absolute; inset: -5% 0;
  width: 100%; height: 110%;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(10,12,16,.55) 0%, rgba(10,12,16,.12) 38%, rgba(10,12,16,.18) 62%, rgba(10,12,16,.85) 100%),
    radial-gradient(120% 80% at 50% 40%, rgba(10,12,16,0) 40%, rgba(10,12,16,.45) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 0 var(--gutter); margin-top: 4vh; }
.hero__title {
  font-size: clamp(2.8rem, 7.5vw, 6.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 40px rgba(0,0,0,.35);
}
.hero__sub { margin-top: 22px; font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(245,247,250,.85); letter-spacing: .03em; }
.hero__cta { margin-top: 40px; display: flex; gap: clamp(28px, 5vw, 64px); justify-content: center; }

.hero__scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .3em; color: rgba(245,247,250,.7);
}
.hero__scroll-line { width: 1px; height: 46px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--accent);
  animation: scrollHint 2.2s var(--ease) infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(300%); }
}

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats { background: var(--bg); border-bottom: 1px solid var(--line); }
.stats__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat { position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: -12px; top: 12%; bottom: 12%;
  width: 1px; background: var(--line);
}
.stat__num {
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat__num .count { color: var(--text); }
.stat__unit { color: var(--accent); margin-left: 4px; font-size: .55em; font-weight: 700; letter-spacing: .02em; }
.stat__label { margin-top: 10px; font-size: 13px; color: var(--text-2); letter-spacing: .08em; }

/* ==========================================================================
   DJI-style full-screen storytelling
   ========================================================================== */
.feature { position: relative; overflow: hidden; }
.feature--light { background: var(--light-bg); color: var(--light-text); }
.feature--dark { background: var(--bg); color: var(--text); }
.feature__media {
  height: clamp(420px, 78vh, 760px);
  overflow: hidden;
}
.feature__media img {
  width: 100%; height: 112%;
  object-fit: cover;
  will-change: transform;
}
.feature__text {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(64px, 9vw, 120px);
}
.feature__text--top { position: relative; z-index: 3; margin-top: calc(-1 * clamp(180px, 32vh, 360px)); }
.feature__title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.feature--dark .feature__title { text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.feature__desc { margin: 18px auto 0; max-width: 520px; font-size: 1.02rem; color: var(--text-2); }
.feature--light .feature__desc { color: var(--light-text-2); }
.feature__cta { margin-top: 32px; display: flex; gap: clamp(28px, 5vw, 56px); justify-content: center; }

/* ==========================================================================
   Product Center (Autel-style)
   ========================================================================== */
.product-center {
  background: var(--bg-panel);
  padding: clamp(72px, 10vw, 130px) 0;
  border-top: 1px solid var(--line);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.pcard {
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  transition: background-color .45s var(--ease);
  position: relative;
}
.pcard::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.pcard:hover { background: #1d212a; }
.pcard:hover::after { transform: scaleX(1); }
.pcard__media { aspect-ratio: 4 / 3; overflow: hidden; background: #101319; }
.pcard__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.pcard__name { font-size: 1.12rem; font-weight: 700; letter-spacing: .01em; }
.pcard__tag { margin-top: 4px; font-size: 12.5px; color: var(--text-3); letter-spacing: .04em; }
.specs { margin: 18px 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; flex: 1; }
.specs li {
  display: flex; flex-direction: column; gap: 2px;
  padding-top: 10px; border-top: 1px solid var(--line);
  font-size: 13px;
}
.specs span { color: var(--text-3); font-size: 11px; letter-spacing: .06em; }
.specs b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); }
.pcard .text-link { color: var(--text); font-size: 14px; }
.product-center__more { text-align: center; margin-top: 48px; }

/* ==========================================================================
   Cinema section
   ========================================================================== */
.film {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}
.film__video {
  position: absolute; inset: -5% 0;
  width: 100%; height: 110%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  will-change: transform;
}
.film__video.is-ready { opacity: 1; }
.film__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,12,16,.65), rgba(10,12,16,.3) 45%, rgba(10,12,16,.8));
}
.film__content { position: relative; z-index: 2; padding: 0 var(--gutter); }
.film__title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.film__desc { margin-top: 16px; color: rgba(245,247,250,.78); font-size: .95rem; letter-spacing: .06em; }
.film__play {
  margin: 34px auto 0;
  width: 76px; height: 76px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  position: relative;
  transition: border-color .35s, background-color .35s, transform .35s;
}
.film__play::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  animation: pulseRing 2.6s var(--ease) infinite;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: .9; }
  100% { transform: scale(1.55); opacity: 0; }
}
.film__play:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.06); }
.film__play:hover::before { display: none; }
.film__play svg { margin-left: 4px; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery { background: var(--light-bg); padding: clamp(72px, 10vw, 130px) 0; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(220px, 26vw, 340px);
  gap: 16px;
}
.gcard {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #ddd;
}
.gcard--wide { grid-column: span 2; }
.gcard img, .gcard video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), opacity .6s;
}
.gcard:hover img, .gcard:hover video,
.gcard:focus-visible img, .gcard:focus-visible video { transform: scale(1.05); }
.gcard::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,12,16,.72) 0%, rgba(10,12,16,0) 46%);
  opacity: .85; transition: opacity .4s;
}
.gcard:hover::after { opacity: 1; }
.gcard figcaption {
  position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2;
  color: #fff; font-size: 15px; font-weight: 500;
  display: flex; flex-direction: column; gap: 4px;
}
.gcard__tag {
  font-size: 10.5px; letter-spacing: .24em; color: var(--accent-hover);
  font-weight: 600;
}
.gcard__icon {
  position: absolute; top: 50%; left: 50%; z-index: 2;
  transform: translate(-50%,-50%) scale(.8);
  width: 62px; height: 62px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  color: #fff; opacity: 0;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .3s;
}
.gcard:hover .gcard__icon, .gcard:focus-visible .gcard__icon { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.gcard[role="button"]:hover .gcard__icon { background: rgba(255,90,31,.85); border-color: transparent; }
.gcard:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ==========================================================================
   Technology
   ========================================================================== */
.tech { background: var(--bg); padding: clamp(72px, 10vw, 130px) 0; }
.tech__row {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 72px);
}
.tech__row + .tech__row { border-top: 1px solid var(--line); }
.tech__row--reverse .tech__media { order: 2; }
.tech__media { border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; }
.tech__media img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.tech__index {
  font-size: 13px; font-weight: 700; color: var(--accent);
  letter-spacing: .2em; margin-bottom: 14px;
}
.tech__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -0.01em; }
.tech__desc { margin-top: 14px; color: var(--text-2); max-width: 480px; }
.tech__list { margin-top: 28px; display: flex; gap: clamp(24px, 4vw, 56px); }
.tech__list li { display: flex; flex-direction: column; gap: 4px; }
.tech__list b { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.tech__list span { font-size: 12px; color: var(--text-3); letter-spacing: .06em; }

/* ==========================================================================
   Industry solutions
   ========================================================================== */
.solutions { background: var(--bg-panel); padding: clamp(72px, 10vw, 130px) 0; border-top: 1px solid var(--line); }
.solutions__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tab {
  padding: 10px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-size: 14px; font-weight: 500;
  color: var(--text-2);
  transition: all .35s var(--ease);
}
.tab:hover { color: var(--text); border-color: var(--text); }
.tab.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.solutions__pane {
  display: none;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card);
}
.solutions__pane.is-active { display: grid; animation: paneIn .6s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.solutions__pane img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.solutions__info { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.solutions__info h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; }
.solutions__info p { margin-top: 14px; color: var(--text-2); }
.solutions__info ul { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.solutions__info li {
  position: relative; padding-left: 24px;
  font-size: 14.5px; color: var(--text);
}
.solutions__info li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 2px; background: var(--accent);
}

/* ==========================================================================
   Creator stories
   ========================================================================== */
.creators { background: var(--light-bg); padding: clamp(72px, 10vw, 120px) 0; overflow: hidden; }
.creators__track {
  display: flex;
  gap: 20px;
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.creators__track::-webkit-scrollbar { display: none; }
.story {
  scroll-snap-align: start;
  flex: 0 0 clamp(290px, 32vw, 400px);
  background: #fff;
  border: 1px solid var(--light-line);
  border-radius: 8px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.story__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.story__quote { font-size: 1.02rem; line-height: 1.75; color: var(--light-text); font-weight: 500; flex: 1; }
.story__name { font-size: 14px; font-weight: 700; color: var(--light-text); }
.story__name span { font-weight: 400; color: var(--light-text-2); }

/* ==========================================================================
   Bottom CTA
   ========================================================================== */
.cta {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}
.cta__video {
  position: absolute; inset: -5% 0;
  width: 100%; height: 110%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  will-change: transform;
}
.cta__video.is-ready { opacity: 1; }
.cta__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,12,16,.72), rgba(10,12,16,.45) 50%, rgba(10,12,16,.82));
}
.cta__content { position: relative; z-index: 2; padding: 0 var(--gutter); }
.cta__title { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.02em; }
.cta__desc { margin-top: 18px; color: rgba(245,247,250,.82); }
.cta__actions { margin-top: 40px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.cta .btn--ghost { color: #fff; }

/* ==========================================================================
   Support + footer
   ========================================================================== */
.support { background: var(--bg-panel); border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 96px) 0; }
.support__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 4vw, 48px); }
.support__item { padding-top: 22px; border-top: 2px solid var(--accent); }
.support__item h3 { font-size: 1.05rem; font-weight: 700; }
.support__item p { margin: 10px 0 16px; font-size: 14px; color: var(--text-2); min-height: 48px; }
.support__item .text-link { color: var(--text); font-size: 14px; }

.footer { background: var(--bg); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.nav__wordmark--footer { color: var(--text); }
.footer__slogan { margin: 12px 0 22px; font-size: 13px; color: var(--text-3); letter-spacing: .08em; }
.footer__subscribe { display: flex; gap: 8px; max-width: 340px; }
.footer__subscribe input {
  flex: 1; min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 10px 14px;
  color: var(--text); font-size: 14px;
  transition: border-color .3s;
}
.footer__subscribe input::placeholder { color: var(--text-3); }
.footer__subscribe input:focus { outline: none; border-color: var(--accent); }
.footer__form-msg { margin-top: 8px; font-size: 12px; color: var(--accent-hover); min-height: 16px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { font-size: 13px; font-weight: 700; letter-spacing: .08em; margin-bottom: 6px; }
.footer__col a { font-size: 13.5px; color: var(--text-2); transition: color .3s; width: fit-content; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-3);
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,8,11,.94);
  display: flex; align-items: center; justify-content: center;
  padding: 4vh 4vw;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox video { max-width: 100%; max-height: 88vh; border-radius: 6px; }
.lightbox__close {
  position: absolute; top: 24px; right: 32px;
  font-size: 40px; line-height: 1; color: rgba(255,255,255,.8);
  width: 48px; height: 48px;
  transition: color .3s, transform .3s;
}
.lightbox__close:hover { color: var(--accent); transform: rotate(90deg); }

body.no-scroll { overflow: hidden; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 280px; }
  .gcard--wide { grid-column: span 2; }
  .solutions__pane.is-active { grid-template-columns: 1fr; }
  .solutions__pane img { min-height: 260px; max-height: 46vh; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__actions .btn { display: none; }
  .nav__burger { display: block; }

  .hero__cta { flex-direction: row; gap: 32px; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .stat + .stat::before { display: none; }

  .feature__text--top { margin-top: -90px; }
  .product-grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gcard--wide { grid-column: span 1; }

  .tech__row, .tech__row--reverse { grid-template-columns: 1fr; gap: 24px; }
  .tech__row--reverse .tech__media { order: 0; }
  .tech__list { flex-wrap: wrap; gap: 20px 36px; }

  .support__grid { grid-template-columns: repeat(2, 1fr); }
  .support__item p { min-height: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .support__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .cta__actions .btn { width: 100%; }
}

/* ==========================================================================
   prefers-reduced-motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__scroll-line::after { animation: none; }
}
