:root {
  --bg: #f6f8fb;
  --bg-elev: #ffffff;
  --bg-soft: #eef3f8;
  --bg-code: #e7eef6;
  --text: #0d1726;
  --text-muted: #526277;
  --text-subtle: #6e7f96;
  --border: rgba(13, 23, 38, 0.1);
  --border-strong: rgba(13, 23, 38, 0.18);
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --accent-soft: rgba(2, 132, 199, 0.1);
  --accent-glow: rgba(14, 165, 233, 0.22);
  --green: #0f9d58;
  --green-soft: rgba(15, 157, 88, 0.12);
  --amber: #d97706;
  --amber-soft: rgba(217, 119, 6, 0.12);
  --shadow-sm: 0 1px 2px rgba(13, 23, 38, 0.05);
  --shadow-md: 0 12px 32px rgba(13, 23, 38, 0.07);
  --shadow-lg: 0 24px 60px rgba(13, 23, 38, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --max-w: 1040px;
}

[data-theme="dark"] {
  --bg: #08101c;
  --bg-elev: #0f1a2b;
  --bg-soft: #152338;
  --bg-code: #1b2d47;
  --text: #f1f6fd;
  --text-muted: #9eb0c7;
  --text-subtle: #788da8;
  --border: rgba(241, 246, 253, 0.1);
  --border-strong: rgba(241, 246, 253, 0.2);
  --accent: #38bdf8;
  --accent-hover: #7dd3fc;
  --accent-soft: rgba(56, 189, 248, 0.14);
  --accent-glow: rgba(56, 189, 248, 0.28);
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.14);
  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.14);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 28px 68px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.25s ease, color 0.25s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 460px at 14% -8%, var(--accent-soft), transparent 70%),
    radial-gradient(720px 420px at 88% 4%, rgba(56, 189, 248, 0.08), transparent 65%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand-title {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-sep {
  color: var(--text-subtle);
  font-weight: 400;
}

.brand-sub {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text);
}

.topbar-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}

.pill-btn:hover {
  border-color: var(--border-strong);
  background: var(--bg-soft);
}

.pill-btn:active {
  transform: scale(0.97);
}

/* Hero + 3-Step Join Grid */
.hero {
  padding: 46px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}

.app-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.need-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 12.5px;
  font-weight: 600;
}

.app-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.hero-icon {
  width: 74px;
  height: 74px;
  border-radius: 19px;
  box-shadow: 0 12px 28px var(--accent-glow);
  flex-shrink: 0;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.tagline {
  margin: 4px 0 0;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 500;
  color: var(--text-muted);
}

.hero-desc {
  margin: 0 0 22px;
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 52ch;
}

.meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.meta-chip {
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Tester progress meter */
.tester-meter {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.meter-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 13px;
}

.meter-label {
  font-weight: 600;
  color: var(--text);
}

.meter-count {
  font-weight: 700;
  color: var(--accent);
}

.meter-track {
  height: 7px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
  margin-bottom: 8px;
}

.meter-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #38bdf8);
  transition: width 0.5s ease;
}

.meter-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-subtle);
}

/* 3-Step Join Card */
.join-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.join-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.join-header h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.progress-badge {
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.progress-badge.complete {
  background: var(--green-soft);
  color: var(--green);
}

.join-progress-bar {
  height: 4px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
  margin-bottom: 16px;
}

.join-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--green));
  transition: width 0.35s ease;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.step-row.done {
  border-color: color-mix(in srgb, var(--green) 42%, transparent);
  background: color-mix(in srgb, var(--green-soft) 45%, var(--bg));
}

.step-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.step-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-elev);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.2s ease;
}

.step-row.done .step-check {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}

.step-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.step-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.4;
}

.step-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--accent);
  color: #ffffff;
  transition: background 0.15s ease, transform 0.1s ease;
}

.step-action:hover {
  background: var(--accent-hover);
}

.step-action:active {
  transform: scale(0.97);
}

.step-row.done .step-action {
  background: var(--bg-elev);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.join-done-banner {
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  background: var(--green-soft);
  border: 1px solid color-mix(in srgb, var(--green) 35%, transparent);
  font-size: 13px;
  color: var(--text);
  display: none;
}

.join-done-banner.visible {
  display: block;
}

.join-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-subtle);
}

.text-btn {
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: 8px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
}

.text-btn:hover {
  background: var(--accent-soft);
}

/* Section base */
.section {
  padding: 34px 0;
}

.section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-lead {
  margin: 0 0 22px;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 62ch;
}

/* Promo Video Section */
.video-shell {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #050b14;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 24px;
  gap: 10px;
  background: linear-gradient(180deg, rgba(5, 11, 20, 0.04) 40%, rgba(5, 11, 20, 0.68) 100%);
  transition: opacity 0.25s ease;
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(2, 132, 199, 0.92);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 36px rgba(2, 132, 199, 0.48);
  transition: transform 0.18s ease, background 0.18s ease;
}

.play-circle:hover {
  transform: scale(1.06);
  background: #0284c7;
}

.video-caption {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(5, 11, 20, 0.72);
  color: #e2eefb;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* Interactive Mini-App ("Try it here") */
.demo-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.demo-card[data-demo-theme="dark"] {
  --demo-bg: #0a1423;
  --demo-panel: #101f35;
  --demo-chip: #162944;
  --demo-text: #f0f6fc;
  --demo-muted: #93abc7;
  --demo-border: rgba(240, 246, 252, 0.11);
}

.demo-card[data-demo-theme="light"] {
  --demo-bg: #eef4fa;
  --demo-panel: #ffffff;
  --demo-chip: #e6eff8;
  --demo-text: #0d1726;
  --demo-muted: #506176;
  --demo-border: rgba(13, 23, 38, 0.1);
}

.demo-card {
  background: var(--demo-bg);
  color: var(--demo-text);
  border-color: var(--demo-border);
}

.demo-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  background: var(--demo-panel);
  border-bottom: 1px solid var(--demo-border);
}

.city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.city-pill {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--demo-border);
  background: var(--demo-chip);
  color: var(--demo-muted);
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.city-pill:hover {
  color: var(--demo-text);
}

.city-pill.active {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

.demo-toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.layer-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 9px;
  border: 1px solid var(--demo-border);
  background: var(--demo-chip);
  color: var(--demo-muted);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.layer-toggle.on {
  background: rgba(14, 165, 233, 0.18);
  border-color: rgba(14, 165, 233, 0.55);
  color: var(--demo-text);
}

.layer-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
}

.layer-toggle.on .layer-dot {
  background: #38bdf8;
  opacity: 1;
}

.demo-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0;
}

.radar-wrap {
  position: relative;
  min-width: 0;
  min-height: 360px;
  height: 100%;
  background: #081322;
  border-right: 1px solid var(--demo-border);
  overflow: hidden;
}

#radarCanvas {
  width: 100%;
  height: 360px;
  display: block;
  cursor: crosshair;
}

.radar-hint {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(7, 15, 27, 0.72);
  color: #e2eefb;
  font-size: 11.5px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.radar-source-tag {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(7, 15, 27, 0.72);
  color: #9ed4ff;
  font-size: 11px;
  font-weight: 600;
  pointer-events: none;
}

.forecast-pane {
  min-width: 0;
  padding: 18px;
  background: var(--demo-panel);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  overflow: hidden;
}

.loc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.loc-name {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.loc-coords {
  font-size: 12px;
  color: var(--demo-muted);
  margin-top: 2px;
}

.live-pill {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(15, 157, 88, 0.16);
  color: #10b981;
  white-space: nowrap;
}

.current-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--demo-bg);
  border: 1px solid var(--demo-border);
}

.temp-big {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.cond-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--demo-muted);
  margin-top: 4px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.metric-box {
  padding: 9px 10px;
  border-radius: 11px;
  background: var(--demo-bg);
  border: 1px solid var(--demo-border);
}

.metric-k {
  font-size: 11px;
  color: var(--demo-muted);
}

.metric-v {
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.days-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--demo-muted);
  margin-bottom: 6px;
}

.days-strip {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.day-card {
  flex: 0 0 66px;
  padding: 8px 6px;
  border-radius: 11px;
  border: 1px solid var(--demo-border);
  background: var(--demo-bg);
  text-align: center;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.day-card:hover {
  border-color: #0284c7;
  transform: translateY(-1px);
}

.day-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--demo-muted);
}

.day-ico {
  font-size: 17px;
  margin: 4px 0;
}

.day-temps {
  font-size: 12px;
  font-weight: 700;
}

.day-lo {
  color: var(--demo-muted);
  font-weight: 500;
}

.day-rain {
  font-size: 10.5px;
  color: #38bdf8;
  font-weight: 600;
  margin-top: 2px;
}

.demo-footnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px;
  font-size: 12px;
  color: var(--demo-muted);
  background: var(--demo-panel);
  border-top: 1px solid var(--demo-border);
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.feature-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 12px;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Screens Gallery */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.screen-card {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-elev);
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.screen-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.screen-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #071222;
}

.screen-meta {
  padding: 11px 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* Two-column Checklist & Feedback */
.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.info-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.clean-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.list-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 11px;
  border: none;
  background: var(--accent);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
}

.btn-secondary:hover {
  background: var(--bg-soft);
}

/* Footer */
.site-footer {
  margin-top: 26px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5, 10, 18, 0.88);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  max-width: min(920px, 94vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-inner img {
  max-height: 78vh;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e8f1fb;
  font-size: 13.5px;
  font-weight: 600;
}

.lightbox-btn {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  padding: 10px 16px;
  border-radius: 999px;
  background: #0d1726;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 90;
}

[data-theme="dark"] .toast {
  background: #e2eefb;
  color: #08101c;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .demo-stage,
  .dual-grid {
    grid-template-columns: 1fr;
  }

  .radar-wrap {
    border-right: none;
    border-bottom: 1px solid var(--demo-border);
  }

  .features-grid,
  .screens-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 580px) {
  .hero {
    padding-top: 26px;
  }

  .features-grid,
  .screens-grid {
    grid-template-columns: 1fr;
  }

  .step-row {
    flex-direction: column;
    align-items: stretch;
  }

  .step-action {
    width: 100%;
  }

  .brand-sub,
  .brand-sep {
    display: none;
  }
}
