/* ============ MacNest — dark Apple-esque theme ============ */
:root {
  --bg: #08080d;
  --bg2: #0d0d15;
  --card: rgba(255, 255, 255, 0.03);
  --card-hover: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.09);
  --txt: #f2f3f8;
  --muted: #9aa0b0;
  --acc1: #7c9cff;
  --acc2: #b07bff;
  --grad: linear-gradient(135deg, #7c9cff, #b07bff);
  --red: #ff5d5d;
  --red-bg: rgba(255, 93, 93, 0.12);
  --green: #3ddc97;
  --amber: #ffc861;
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "PingFang TC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans CJK SC", "Noto Sans CJK TC", system-ui, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; }

::selection { background: rgba(124, 156, 255, 0.35); }

/* ---------- promo marquee ---------- */
.promo-bar {
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
}
.promo-track {
  display: inline-flex;
  gap: 48px;
  padding-left: 24px;
  animation: marquee 30s linear infinite;
}
.promo-track span { display: inline-flex; align-items: center; gap: 8px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: rgba(8, 8, 13, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; }
.nav-links { display: flex; gap: 28px; font-size: 14.5px; color: var(--muted); }
.nav-links a { transition: color 0.2s; padding: 6px 0; }
.nav-links a:hover { color: var(--txt); }
.nav-right { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.lang-switch button {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 7px;
  transition: all 0.2s;
}
.lang-switch button.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--txt);
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-burger span {
  width: 20px;
  height: 2px;
  background: var(--txt);
  border-radius: 2px;
  transition: 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--grad);
  color: #fff;
  padding: 12px 22px;
  box-shadow: 0 8px 28px rgba(124, 156, 255, 0.28);
}
.btn-primary:hover { box-shadow: 0 10px 34px rgba(124, 156, 255, 0.42); }
.btn-primary:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { width: 100%; padding: 15px; font-size: 16px; }
.btn-ghost {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--txt);
  padding: 12px 22px;
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 84px 0 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { color: var(--muted); font-size: 16.5px; max-width: 520px; margin-bottom: 28px; }

.hero-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin-bottom: 12px;
}
.hero-form input, #modalForm input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--txt);
  font-family: inherit;
  font-size: 14.5px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 0;
}
.hero-form input:focus, #modalForm input:focus, #waitForm input:focus {
  border-color: rgba(124, 156, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(124, 156, 255, 0.18);
}
.hero-note { font-size: 13px; color: var(--amber); margin-bottom: 30px; }

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.stat b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.stat span { font-size: 12.5px; color: var(--muted); }

/* hero stage / devices */
.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: float 9s ease-in-out infinite;
}
.halo-a { width: 300px; height: 300px; background: rgba(124, 156, 255, 0.35); top: 6%; left: 12%; }
.halo-b { width: 260px; height: 260px; background: rgba(176, 123, 255, 0.32); bottom: 4%; right: 10%; animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.laptop {
  width: min(360px, 88%);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
  animation: float 9s ease-in-out infinite;
}
.screen {
  background: #0c0c14;
  border: 2px solid #2a2a36;
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  padding: 12px 12px 14px;
  aspect-ratio: 16 / 10.2;
}
.term {
  height: 100%;
  background: #0a0a11;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.term-bar i { width: 8px; height: 8px; border-radius: 50%; background: #3a3a48; }
.term-bar i:first-child { background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; }
.term-bar i:nth-child(3) { background: #28c840; }
.term-bar span {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  color: #6a6a7c;
}
.term-body {
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.75;
  color: #c8cde0;
  text-align: left;
}
.term-body .t-p { color: #7c9cff; font-weight: 700; }
.term-body .t-ok { color: #3ddc97; }
.term-body .t-dim { color: #6a6a7c; }
.cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: #7c9cff;
  vertical-align: middle;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.base {
  height: 13px;
  background: linear-gradient(#3a3a48, #232330);
  border-radius: 0 0 14px 14px;
  width: 106%;
  margin-left: -3%;
}

.minibox {
  position: absolute;
  right: 4%;
  bottom: 10%;
  width: 74px;
  height: 74px;
  z-index: 3;
  border-radius: 16px;
  background: linear-gradient(145deg, #3a3a48, #22222e);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5);
  animation: float 9s ease-in-out infinite;
  animation-delay: -2s;
}
.mini-top {
  width: 40px;
  height: 12px;
  margin: 12px auto 0;
  border-radius: 50%;
  background: radial-gradient(rgba(255,255,255,0.12), transparent 70%);
}

.float-chip {
  position: absolute;
  z-index: 4;
  font-family: var(--mono);
  font-size: 11.5px;
  color: #cdd3e8;
  background: rgba(16, 16, 26, 0.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  backdrop-filter: blur(8px);
  animation: float 7s ease-in-out infinite;
}
.chip-1 { top: 12%; right: 10%; }
.chip-2 { top: 44%; left: 0; animation-delay: -2.5s; }
.chip-3 { bottom: 6%; left: 16%; animation-delay: -5s; }

/* ---------- sections ---------- */
.section { padding: 84px 0 20px; }
.sec-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 14px;
}
.sec-sub {
  color: var(--muted);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
  font-size: 15.5px;
}
.foot-note {
  color: #6f7484;
  font-size: 12.5px;
  text-align: center;
  margin-top: 28px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- promo cards ---------- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.promo-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: background 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.promo-card:hover { background: var(--card-hover); transform: translateY(-3px); }
.promo-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  opacity: 0.85;
}
.promo-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--acc1);
  background: rgba(124, 156, 255, 0.12);
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 14px;
}
.promo-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.promo-card p { color: var(--muted); font-size: 13.5px; }
.promo-card .big {
  display: block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}

/* ---------- regions ---------- */
.region-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.region-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 16px;
  transition: background 0.25s, border-color 0.25s;
}
.region-card:hover { background: var(--card-hover); border-color: rgba(124, 156, 255, 0.35); }
.region-card.soon { opacity: 0.55; }
.rc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.rc-flag { font-size: 24px; line-height: 1; }
.rc-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 10px;
}
.rc-status.online { color: var(--green); background: rgba(61, 220, 151, 0.1); }
.rc-status.soon { color: var(--amber); background: rgba(255, 200, 97, 0.1); }
.rc-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.rc-city { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.rc-country { color: var(--muted); font-size: 12.5px; margin-bottom: 10px; }
.rc-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11.5px;
  color: #818798;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.rc-meta b { color: #b8bed2; font-weight: 600; }

/* ---------- models ---------- */
.filter-chips {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.chip {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s;
}
.chip:hover { color: var(--txt); }
.chip.active {
  background: rgba(124, 156, 255, 0.14);
  border-color: rgba(124, 156, 255, 0.5);
  color: #c9d6ff;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.model-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  position: relative;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}
.model-card:hover {
  background: var(--card-hover);
  transform: translateY(-4px);
  border-color: rgba(124, 156, 255, 0.3);
}
.model-card.hide { display: none; }

.soldout-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--red);
  background: var(--red-bg);
  border: 1px solid rgba(255, 93, 93, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
}

.mc-art {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
}
.mc-art .glow {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(rgba(124, 156, 255, 0.22), transparent 70%);
  filter: blur(14px);
}
/* Apple official product cutouts */
.mc-img {
  position: relative;
  z-index: 1;
  max-width: 82%;
  max-height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.5));
}
.soldout-card .mc-img { filter: grayscale(0.65) opacity(0.75) drop-shadow(0 14px 24px rgba(0, 0, 0, 0.5)); }

.mc-name { font-size: 17.5px; font-weight: 700; margin-bottom: 4px; }
.mc-spec { color: var(--muted); font-size: 12.8px; margin-bottom: 18px; min-height: 40px; }
.mc-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.mc-price { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.mc-price small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.mc-was { font-size: 13px; color: #6f7484; text-decoration: line-through; }
.mc-day { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; font-family: var(--mono); }
.mc-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--txt);
  border-radius: 12px;
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.mc-btn:hover {
  background: rgba(124, 156, 255, 0.14);
  border-color: rgba(124, 156, 255, 0.45);
}

/* ---------- steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  background: var(--grad);
  color: #fff;
  margin-bottom: 18px;
}
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 14px; }

/* ---------- features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: background 0.25s, transform 0.25s;
}
.feat-card:hover { background: var(--card-hover); transform: translateY(-3px); }
.feat-icon {
  font-size: 26px;
  margin-bottom: 14px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(124, 156, 255, 0.1);
  border: 1px solid rgba(124, 156, 255, 0.22);
}
.feat-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.feat-card p { color: var(--muted); font-size: 13.8px; }

/* ---------- waitlist ---------- */
.waitlist-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(124, 156, 255, 0.07), rgba(176, 123, 255, 0.04));
  border: 1px solid rgba(124, 156, 255, 0.25);
  border-radius: 24px;
  padding: 52px 48px 44px;
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
}
.wait-glow {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 280px;
  background: radial-gradient(rgba(124, 156, 255, 0.28), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.waitlist-panel h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.waitlist-panel > p { color: var(--muted); font-size: 14.5px; margin-bottom: 30px; }
#waitForm { text-align: left; display: flex; flex-direction: column; gap: 16px; position: relative; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: #c3c8d8; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field select, .field input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--txt);
  font-family: inherit;
  font-size: 14.5px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field select option { background: #14141d; color: var(--txt); }
.form-msg {
  font-size: 13.5px;
  min-height: 20px;
  text-align: center;
  margin-top: 4px;
}
.form-msg.ok { color: var(--green); }
.form-msg.warn { color: var(--amber); }
.form-msg.err { color: var(--red); }
.wait-note { font-size: 12px; color: #6f7484; margin-top: 18px; }

/* ---------- faq ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--txt);
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q:hover { color: #c9d6ff; }
.faq-q .chev {
  flex: none;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  font-size: 14px;
  transition: transform 0.25s;
  color: var(--muted);
}
.faq-item.open .chev { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p { color: var(--muted); font-size: 14px; padding: 0 22px 20px; line-height: 1.7; }
.faq-item.open .faq-a { max-height: 300px; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 90px;
  padding: 44px 0;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand .logo-text { font-weight: 700; font-size: 16px; display: block; margin-bottom: 10px; }
.footer-disclaimer { color: #6f7484; font-size: 12.5px; max-width: 480px; }
.footer-meta { text-align: right; font-size: 13px; color: var(--muted); }
.footer-meta a { color: #c9d6ff; }
.footer-meta p { margin-top: 8px; font-size: 12.5px; color: #6f7484; }

/* ---------- modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 8, 0.7);
  backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  background: #12121b;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 32px 30px;
  width: min(420px, 100%);
  text-align: center;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}
.modal.open .modal-card { transform: translateY(0) scale(1); }
.modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  padding: 6px;
}
.modal-x:hover { color: var(--txt); }
.modal-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--red);
  background: var(--red-bg);
  border: 1px solid rgba(255, 93, 93, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
}
.modal-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.modal-card > p { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.modal-model {
  font-family: var(--mono);
  font-size: 13px;
  color: #c9d6ff;
  background: rgba(124, 156, 255, 0.1);
  border: 1px solid rgba(124, 156, 255, 0.25);
  border-radius: 10px;
  padding: 9px 14px;
  margin-bottom: 18px;
}
#modalForm { display: flex; gap: 10px; }
#modalForm .btn { flex: none; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .promo-grid, .region-grid { grid-template-columns: repeat(2, 1fr); }
  .model-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: 320px; margin-top: 10px; }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 16, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 15px 24px; border-top: 1px solid var(--line); }
  .nav-burger { display: flex; }
  .nav-right .btn-sm { display: none; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .hero { padding-top: 52px; }
  .hero-form { flex-direction: column; }
  .promo-grid, .region-grid, .model-grid, .feature-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .waitlist-panel { padding: 38px 24px 32px; }
  #modalForm { flex-direction: column; }
  .footer .container { flex-direction: column; }
  .footer-meta { text-align: left; }
  .hero-stats { gap: 22px; }
}

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

/* ---------- footer meta links ---------- */
.footer-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; font-size: 13px; color: var(--muted); }
.footer-meta .fsep { color: #4d5160; }
.footer-meta p { width: 100%; margin-top: 6px; font-size: 12.5px; color: #6f7484; text-align: right; }
@media (max-width: 600px) {
  .footer-meta { justify-content: flex-start; }
  .footer-meta p { text-align: left; }
}

/* ---------- legal pages ---------- */
.legal-top {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: rgba(8, 8, 13, 0.78);
  border-bottom: 1px solid var(--line);
}
.legal-top-in { display: flex; justify-content: space-between; align-items: center; height: 60px; }
.legal-wrap { max-width: 760px; padding: 56px 24px 40px; }
.legal-wrap h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.legal-intro { color: var(--muted); font-size: 13.5px; margin-bottom: 40px; }
.legal-sec { margin-bottom: 30px; }
.legal-sec h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 10px; }
.legal-sec p { color: var(--muted); font-size: 14.5px; line-height: 1.75; margin-bottom: 10px; }
.legal-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 26px 0 40px; }
.legal-footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.legal-footer a { color: #c9d6ff; }
