:root {
  color-scheme: dark;
  --bg: #07040d;
  --bg-soft: #100918;
  --bg-card: rgba(20, 12, 30, 0.72);
  --text: #f8f1ff;
  --muted: #b8a9c9;
  --muted-2: #8f819d;
  --gold: #f5bd54;
  --gold-2: #ffe7a8;
  --violet: #9a4dff;
  --violet-2: #d9b3ff;
  --pink: #ff8de3;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 6%, rgba(139, 67, 255, 0.34), transparent 28rem),
    radial-gradient(circle at 86% 16%, rgba(245, 189, 84, 0.16), transparent 24rem),
    radial-gradient(circle at 74% 86%, rgba(103, 20, 201, 0.24), transparent 24rem),
    linear-gradient(180deg, #05020a 0%, #0a0510 48%, #050208 100%);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.03) 46%, transparent 48%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04), transparent 30rem);
  mix-blend-mode: screen;
  z-index: -1;
}

a { color: inherit; }
img, video, canvas, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: #150b05;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.starfield, .noise, .ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.starfield { z-index: -4; opacity: .52; }
.noise {
  z-index: -1;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
.ambient { z-index: -3; filter: blur(30px); opacity: .68; }
.ambient-one {
  width: 32rem;
  height: 32rem;
  background: rgba(129, 44, 255, 0.26);
  border-radius: 50%;
  inset: -10rem auto auto -8rem;
  animation: drift 18s ease-in-out infinite alternate;
}
.ambient-two {
  width: 28rem;
  height: 28rem;
  background: rgba(245, 189, 84, 0.12);
  border-radius: 50%;
  inset: 58% -10rem auto auto;
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6rem, 3rem, 0) scale(1.12); }
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}
.section { padding: 112px 0; position: relative; }
.section:first-of-type { padding-top: 150px; }

.site-header {
  position: fixed;
  inset: 18px 0 auto;
  z-index: 50;
  transition: transform .28s ease, opacity .28s ease;
}
.header-shell {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(8, 4, 15, 0.62);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .34);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand img { width: 158px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a, .footer-grid nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.main-nav a:hover, .footer-grid nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,.07);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
}
.lang-button {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}
.lang-button.is-active {
  color: #160d08;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 8px 22px rgba(245,189,84,.25);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -.01em;
  cursor: pointer;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.button::after {
  content: "";
  position: absolute;
  inset: -80% -30%;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.36), transparent 65%);
  transform: translateX(-80%) rotate(8deg);
  transition: transform .7s ease;
}
.button:hover { transform: translateY(-2px); }
.button:hover::after { transform: translateX(80%) rotate(8deg); }
.button-primary {
  background: linear-gradient(135deg, #ffe7a8, #f0ae39 52%, #7e4cff);
  color: #170b05;
  box-shadow: 0 16px 42px rgba(245,189,84,.22), 0 10px 44px rgba(126,76,255,.18);
}
.button-secondary { background: rgba(255,255,255,.06); }
.button-small { min-height: 38px; padding-inline: 16px; font-size: 13px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 58px;
  align-items: center;
}
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 760;
}
.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(245, 189, 84, .54);
  animation: ping 1.8s ease infinite;
}
@keyframes ping {
  70%, 100% { box-shadow: 0 0 0 14px rgba(245, 189, 84, 0); }
}
.hero h1 {
  margin: 22px 0 22px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: .89;
  letter-spacing: -.08em;
  max-width: 840px;
}
.hero h1 span, .section-copy h2 span {
  background: linear-gradient(90deg, #fff, #eed5ff 38%, #f6c55a 76%, #fff);
  background-size: 220% 100%;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: textShine 8s ease-in-out infinite;
}
@keyframes textShine { 50% { background-position: 100% 0; } }
.hero-lede, .section-copy p, .section-head p, .glass-card p, .product-card p, .faq-list p, .footer-grid p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 17px;
}
.hero-lede { max-width: 640px; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 24px; }
.trust-list, .check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.trust-list li, .check-list li {
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  color: var(--muted);
  border-radius: 999px;
  font-size: 14px;
}

.hero-visual { position: relative; perspective: 1200px; min-height: 640px; }
.halo-ring {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 470px;
  height: 470px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(245,189,84,.24);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(154,77,255,.34), inset 0 0 60px rgba(245,189,84,.08);
  animation: rotate 20s linear infinite;
}
.halo-ring::before, .halo-ring::after {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: inherit;
  border: 1px dashed rgba(255,255,255,.12);
}
.halo-ring::after { inset: 78px; border-color: rgba(154,77,255,.26); }
@keyframes rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }
.device-frame {
  position: absolute;
  inset: 20px 14% auto;
  min-height: 610px;
  overflow: hidden;
  padding: 16px;
  border-radius: 44px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(31,18,44,.86), rgba(10,5,15,.92));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.12);
  transform: rotateY(-8deg) rotateX(5deg);
}
.device-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(245,189,84,.18), transparent 30%), radial-gradient(circle at 80% 76%, rgba(154,77,255,.24), transparent 36%);
  pointer-events: none;
}
.device-status-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px 16px;
  color: var(--muted);
  font-size: 13px;
}
.status-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245,189,84,.12);
  color: var(--gold-2);
  border: 1px solid rgba(245,189,84,.24);
}
.device-video {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 510px;
  object-fit: cover;
  border-radius: 32px;
  opacity: .88;
  filter: saturate(1.08) contrast(1.06);
}
.device-overlay {
  position: absolute;
  inset: auto 28px 26px;
  z-index: 3;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(7,4,13,.72);
  backdrop-filter: blur(18px);
}
.mini-player { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; }
.play-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--violet));
  color: #110806;
  font-size: 13px;
}
.timeline { height: 7px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.timeline span { display: block; width: 62%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--violet-2)); animation: loading 4s ease-in-out infinite; }
@keyframes loading { 50% { width: 86%; } }
.mini-player small { color: var(--muted); white-space: nowrap; }
.waveform {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 5px;
  height: 68px;
  margin-top: 14px;
}
.waveform i {
  width: 100%;
  min-width: 6px;
  height: 20%;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--gold-2), var(--violet));
  box-shadow: 0 0 22px rgba(154,77,255,.35);
  animation: equalize 1.2s ease-in-out infinite;
}
.waveform i:nth-child(2n) { animation-delay: .15s; height: 58%; }
.waveform i:nth-child(3n) { animation-delay: .28s; height: 36%; }
.waveform i:nth-child(4n) { animation-delay: .42s; height: 76%; }
@keyframes equalize { 50% { height: 96%; opacity: .8; } }
.floating-card {
  position: absolute;
  z-index: 5;
  width: 190px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(14, 8, 22, .76);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
  animation: floatCard 5.4s ease-in-out infinite alternate;
}
.floating-card strong { display: block; color: var(--text); margin-bottom: 4px; }
.floating-card span { color: var(--muted); font-size: 13px; }
.card-one { left: 0; top: 160px; }
.card-two { right: 0; bottom: 102px; animation-delay: .6s; }
@keyframes floatCard { to { transform: translateY(-16px); } }

.metrics-band { padding: 28px 0; }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 26px;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.metrics-grid article { padding: 24px; border-right: 1px solid rgba(255,255,255,.1); }
.metrics-grid article:last-child { border-right: 0; }
.metrics-grid span { display: block; color: var(--muted-2); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; margin-bottom: 8px; }
.metrics-grid strong { font-size: clamp(18px, 2.4vw, 28px); letter-spacing: -.04em; }

.two-column {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 54px;
  align-items: center;
}
.two-column.reverse { grid-template-columns: 1.06fr .94fr; }
.section-copy h2, .section-head h2 {
  margin: 14px 0 18px;
  font-size: clamp(34px, 5.6vw, 70px);
  line-height: .96;
  letter-spacing: -.06em;
}
.section-copy p { margin: 0 0 22px; }
.feature-map-card, .ui-window, .signup-card, .sync-demo {
  position: relative;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.feature-map-card::after, .signup-card::before, .ui-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.08), transparent 62%);
  transform: translateX(-120%);
  animation: sweep 7s ease-in-out infinite;
}
@keyframes sweep { 45%, 100% { transform: translateX(120%); } }
.feature-map-card img { width: 100%; height: auto; border-radius: inherit; }

.section-head { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.glass-card {
  position: relative;
  min-height: 270px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 20% 0%, rgba(245,189,84,.12), transparent 13rem),
    rgba(255,255,255,.045);
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}
.glass-card:hover { transform: translateY(-8px); border-color: rgba(245,189,84,.28); background-color: rgba(255,255,255,.075); }
.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(245,189,84,.18), rgba(154,77,255,.18));
  border: 1px solid rgba(255,255,255,.12);
  color: var(--gold-2);
  font-weight: 800;
}
.glass-card h3, .product-card h3 { margin: 22px 0 10px; font-size: 24px; letter-spacing: -.03em; }
.glass-card p, .product-card p { margin: 0; font-size: 15px; }

.sync-section { overflow: hidden; }
.sync-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 52px; align-items: center; }
.sync-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}
.sync-flow span {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--gold-2);
  font-weight: 760;
}
.sync-flow b {
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--violet));
  box-shadow: 0 0 18px rgba(154,77,255,.46);
}
.sync-demo { padding: 26px; }
.oscilloscope {
  position: relative;
  height: 260px;
  border-radius: 24px;
  overflow: hidden;
  background: #05050c;
  border: 1px solid rgba(255,255,255,.1);
}
.scope-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.oscilloscope svg { position: absolute; inset: 36px 22px; width: calc(100% - 44px); height: calc(100% - 72px); overflow: visible; }
.scope-line { fill: none; stroke: url(#none); stroke-width: 4; stroke: #f3b34d; stroke-linecap: round; stroke-dasharray: 720; stroke-dashoffset: 720; animation: drawWave 3.8s ease-in-out infinite; filter: drop-shadow(0 0 12px rgba(245,189,84,.58)); }
.line-shadow { stroke: #a54dff; stroke-width: 12; opacity: .24; filter: blur(5px); }
@keyframes drawWave { 50%, 100% { stroke-dashoffset: 0; } }
.playhead {
  position: absolute;
  inset: 0 auto 0 10%;
  width: 2px;
  background: linear-gradient(transparent, #fff, transparent);
  box-shadow: 0 0 24px rgba(255,255,255,.8);
  animation: scan 3.8s ease-in-out infinite;
}
@keyframes scan { 50%, 100% { left: 90%; } }
.control-panel {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  margin-top: 14px;
}
.control-panel > div, .stop-button {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.055);
}
.control-panel span { display: block; color: var(--muted-2); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 5px; }
.control-panel strong { color: var(--text); }
.stop-button { color: #100908; background: linear-gradient(135deg, #ffe7a8, var(--gold)); font-weight: 800; cursor: pointer; }

.hardware-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-card {
  position: relative;
  padding: 14px 14px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  overflow: hidden;
  min-height: 520px;
}
.product-card video {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 22px;
  opacity: .9;
}
.product-card h3, .product-card p { padding-inline: 10px; }
.feature-product { transform: translateY(-18px); box-shadow: 0 32px 90px rgba(154,77,255,.15); }

.creator-ui { min-height: 470px; display: grid; place-items: center; }
.ui-window { width: 100%; padding: 24px; }
.window-bar { display: flex; gap: 8px; margin-bottom: 24px; }
.window-bar span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.18); }
.window-bar span:first-child { background: var(--gold); }
.ui-row { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; margin-bottom: 16px; }
.ui-row b { height: 62px; border-radius: 18px; background: linear-gradient(135deg, rgba(245,189,84,.24), rgba(154,77,255,.16)); }
.ui-row i { height: 18px; border-radius: 999px; background: rgba(255,255,255,.12); position: relative; overflow: hidden; }
.ui-row i::after { content: ""; position: absolute; inset: 0; width: 56%; background: linear-gradient(90deg, var(--gold), var(--violet)); animation: loading 4s ease-in-out infinite; }
.ui-row.large b { height: 96px; }
.ui-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.ui-metrics strong { padding: 18px 10px; border-radius: 18px; background: rgba(255,255,255,.055); color: var(--gold-2); font-size: 13px; text-align: center; }

.safety-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: center; }
.safety-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.safety-stack article {
  min-height: 168px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(245,189,84,.08), rgba(154,77,255,.08));
}
.safety-stack strong { display: block; font-size: 42px; line-height: 1; color: var(--gold-2); margin-bottom: 18px; }
.safety-stack span { color: var(--muted); }

.signup-card { padding: 30px; scroll-margin-top: 120px; }
.signup-card h2 { font-size: 38px; margin: 0 0 10px; letter-spacing: -.05em; }
.signup-card p { color: var(--muted); line-height: 1.65; }
.waitlist-form { display: grid; gap: 14px; margin-top: 24px; }
.waitlist-form label { display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.waitlist-form input, .waitlist-form select, .admin-form input, .admin-form textarea, .admin-form select, .search-input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.waitlist-form select option, .admin-form select option { background: #12091b; color: var(--text); }
.waitlist-form input:focus, .waitlist-form select:focus, .admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus, .search-input:focus {
  border-color: rgba(245,189,84,.55);
  box-shadow: 0 0 0 4px rgba(245,189,84,.12);
}
.consent-row { grid-template-columns: 18px 1fr !important; align-items: start; gap: 12px !important; }
.consent-row input { width: 18px; height: 18px; min-height: 18px; margin-top: 3px; accent-color: var(--gold); }
.form-button { width: 100%; margin-top: 4px; border: 0; }
.form-note, .form-status { font-size: 13px !important; margin: 0 !important; }
.form-status.success { color: #9ff2c2; }
.form-status.error { color: #ffaaa4; }
.hidden-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.public-updates { display: grid; gap: 12px; margin-top: 24px; }
.public-update-card { padding: 16px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.045); border-radius: 18px; }
.public-update-card strong { display: block; margin-bottom: 6px; color: var(--gold-2); }
.public-update-card small { color: var(--muted-2); }

.faq-list { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
details {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  border-radius: 20px;
  padding: 20px 22px;
}
summary { cursor: pointer; font-weight: 800; font-size: 18px; }
details p { margin-bottom: 0; }

.site-footer { padding: 48px 0 58px; border-top: 1px solid rgba(255,255,255,.09); background: rgba(0,0,0,.2); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 26px; align-items: center; }
.footer-grid img { margin-bottom: 12px; }
.footer-grid p { margin: 0; max-width: 440px; font-size: 14px; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.footer-small { color: var(--muted-2) !important; text-align: right; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .18s; }
.delay-3 { transition-delay: .26s; }

/* Admin */
.admin-body { background: #07040d; }
.admin-main { padding: 130px 0 70px; }
.admin-shell { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.admin-hero { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.admin-hero h1 { margin: 8px 0 0; font-size: clamp(36px, 5vw, 64px); letter-spacing: -.06em; }
.admin-panel {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 26px;
  background: rgba(255,255,255,.055);
  box-shadow: var(--shadow);
  padding: 24px;
}
.admin-form { display: grid; gap: 14px; max-width: 520px; }
.admin-form label { display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.admin-form textarea { min-height: 150px; padding-block: 14px; resize: vertical; }
.admin-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 18px; align-items: start; }
.admin-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.analytics-kpis { grid-template-columns: repeat(3, 1fr); margin-top: 16px; }
.analytics-table-wrap { margin-top: 16px; }
.admin-kpi { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.11); }
.admin-kpi span { display: block; color: var(--muted-2); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px; }
.admin-kpi strong { font-size: 30px; color: var(--gold-2); }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin: 22px 0 14px; }
.admin-toolbar .search-input { max-width: 320px; }
.table-wrap { overflow: auto; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 13px 14px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; font-size: 14px; }
th { color: var(--gold-2); background: rgba(255,255,255,.04); position: sticky; top: 0; }
td { color: var(--muted); }
.admin-section { margin-top: 18px; }
.admin-message { color: var(--muted); margin-top: 12px; }
.admin-message.success { color: #9ff2c2; }
.admin-message.error { color: #ffaaa4; }
.login-card { max-width: 560px; margin: 0 auto; }
.is-hidden { display: none !important; }

@media (max-width: 1040px) {
  .main-nav { display: none; }
  .hero-grid, .two-column, .two-column.reverse, .sync-grid, .safety-grid, .admin-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 600px; }
  .cards-grid, .hardware-showcase { grid-template-columns: repeat(2, 1fr); }
  .feature-product { transform: none; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid article:nth-child(2) { border-right: 0; }
  .metrics-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid img { margin-inline: auto; }
  .footer-grid p { margin-inline: auto; }
  .footer-small { text-align: center; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--max)); }
  .site-header { inset: 10px 0 auto; }
  .header-shell { border-radius: 28px; align-items: center; }
  .brand img { width: 126px; }
  .header-actions .button { display: none; }
  .section { padding: 78px 0; }
  .section:first-of-type { padding-top: 120px; }
  .hero h1 { font-size: clamp(46px, 16vw, 70px); }
  .hero-visual { min-height: 540px; }
  .device-frame { inset: 0 0 auto; min-height: 540px; border-radius: 34px; }
  .device-video { min-height: 440px; }
  .floating-card { width: 165px; padding: 13px; }
  .card-one { left: 8px; top: 128px; }
  .card-two { right: 8px; bottom: 70px; }
  .metrics-grid, .cards-grid, .hardware-showcase, .safety-stack, .admin-kpis, .analytics-kpis { grid-template-columns: 1fr; }
  .metrics-grid article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .metrics-grid article:last-child { border-bottom: 0; }
  .sync-flow { grid-template-columns: 1fr; }
  .sync-flow b { height: 28px; width: 2px; justify-self: center; }
  .control-panel { grid-template-columns: 1fr; }
  .product-card { min-height: auto; }
  .product-card video { height: 320px; }
  .admin-hero { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
