/* ==========================================================================
   Mind Picked — Corporate Site Styles
   Tokens mirror the real app's design system 1:1 (frontend/src/styles/tokens.css)
   so the marketing site and the product look like the same piece of software.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #0b0f19;
  --panel: #121828;
  --panel-2: #0e1422;
  --line: #222b42;
  --line-2: #2c3757;

  /* Text */
  --ink: #e7ebf5;       /* app: --text */
  --ink-soft: #a9b1cc;  /* readable secondary text, between --text and --dim */
  --muted: #8b94ab;     /* app: --dim */
  --muted-2: #5c6580;   /* app: --dim-2 */

  /* Brand + status (identical to the app) */
  --brand: #6366f1;
  --brand-2: #a855f7;
  --success: #22c55e;
  --danger: #ef4444;
  --warn: #f59e0b;

  /* Shape */
  --radius: 12px;
  --radius-sm: 9px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.3);

  --max-width: 1240px;
  --font: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --brand-gradient: linear-gradient(135deg, var(--brand), var(--brand-2));

  /* Accent cycle for decorative icon chips — built only from real app tokens */
  --c1: var(--brand);   --c1-tint: rgba(99, 102, 241, 0.16);
  --c2: var(--brand-2); --c2-tint: rgba(168, 85, 247, 0.16);
  --c3: var(--warn);    --c3-tint: rgba(245, 158, 11, 0.16);
  --c4: var(--success); --c4-tint: rgba(34, 197, 94, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon { width: 22px; height: 22px; }
.icon.sm { width: 16px; height: 16px; flex-shrink: 0; }
.icon.lg { width: 34px; height: 34px; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 12px;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--ink);
}
.section-title.center { text-align: center; }

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 0 44px;
}
.section-sub.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Buttons (mirrors components/ui/Button.module.css) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: filter 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { filter: brightness(1.12); }
.btn-outline {
  background: transparent;
  border-color: var(--line-2);
  color: var(--muted);
}
.btn-outline:hover { color: var(--ink); border-color: var(--muted); }
.btn-ghost {
  background: transparent;
  color: var(--muted);
  padding-left: 12px;
  padding-right: 12px;
}
.btn-ghost:hover { color: var(--ink); }
.btn-light {
  background: #fff;
  color: var(--brand);
}
.btn-light:hover { filter: brightness(0.97); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 40px; height: 40px; flex: none; }
.logo-text { display: flex; flex-direction: column; }
.logo-word { font-size: 1.05rem; font-weight: 700; color: var(--ink); letter-spacing: 0.2px; }
.logo-word-accent { color: var(--brand-2); }
.logo-sub { font-size: 0.6rem; letter-spacing: 2.5px; color: var(--muted); font-weight: 600; }

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 0;
  background:
    radial-gradient(1000px 500px at 20% -10%, rgba(99, 102, 241, 0.16), transparent),
    radial-gradient(800px 500px at 110% 110%, rgba(168, 85, 247, 0.13), transparent);
}
.hero-glow { display: none; }
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 60px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.hero h1 {
  font-size: clamp(2.5rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 22px;
  color: var(--ink);
}
.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 0 34px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-proof { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-proof-item { display: flex; flex-direction: column; }
.hero-proof-item strong { font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.hero-proof-item span { font-size: 0.82rem; color: var(--muted); }

/* ---------- Hero visual: dashboard + TV mockup collage ---------- */
.hero-visual { position: relative; height: 500px; }

.dash-mock {
  position: absolute;
  top: 0;
  right: 0;
  width: 88%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
  animation: float-y 7s ease-in-out infinite;
}
.dash-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
}
.dot-cluster { display: flex; gap: 5px; }
.dot-cluster i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); display: block; }
.dash-url {
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 999px;
}
.dash-body { display: grid; grid-template-columns: 56px 1fr; min-height: 260px; }
.dash-side {
  background: var(--panel-2);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 0;
}
.dash-nav-item {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.dash-nav-item.active {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.28), rgba(168, 85, 247, 0.14));
  color: var(--ink);
  box-shadow: inset 2px 0 0 var(--brand);
}
.dash-main { padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; }
.dash-search {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-2);
  background: var(--panel-2);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  font-size: 0.8rem;
  width: fit-content;
}
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dash-stat {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dash-stat-num { font-size: 1.15rem; font-weight: 800; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dash-stat span:last-child { font-size: 0.72rem; color: var(--muted); }
.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 70px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.dash-chart span { flex: 1; border-radius: 4px 4px 0 0; background: var(--brand-gradient); opacity: 0.85; }

.tv-frame {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 62%;
  border-radius: var(--radius);
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
  animation: float-y 6s ease-in-out infinite 0.3s;
  z-index: 2;
}
.tv-stand {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 16px;
  background: var(--panel);
  border-radius: 0 0 8px 8px;
}
.tv-screen {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.menuboard-mock {
  height: 100%;
  background: var(--bg);
  color: #fff;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  position: relative;
}
.menuboard-mock.big { padding: 30px 34px; gap: 14px; }
.mb-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  color: var(--ink);
}
.menuboard-mock.big .mb-title { font-size: 1.5rem; margin-bottom: 8px; }
.mb-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line-2);
  padding-bottom: 7px;
}
.menuboard-mock.big .mb-row { font-size: 1.05rem; padding-bottom: 12px; }
.mb-price { color: var(--warn); font-weight: 700; }
.mb-accent-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--warn), #fbbf24);
}

.float-card {
  position: absolute;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  z-index: 3;
}
.float-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.float-card-head .icon { width: 16px; height: 16px; color: var(--brand); }

.float-poll {
  right: 4%;
  bottom: 46px;
  width: 180px;
  animation: float-y 5s ease-in-out infinite 0.4s;
}
.poll-bar {
  height: 8px;
  background: var(--line);
  border-radius: 999px;
  margin-bottom: 8px;
  overflow: hidden;
}
.poll-bar span {
  display: block;
  height: 100%;
  background: var(--brand-gradient);
  border-radius: 999px;
}

.float-status {
  top: 42%;
  right: -6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 14px;
  animation: float-y 5.5s ease-in-out infinite 0.9s;
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-online { background: var(--success); box-shadow: 0 0 0 4px rgba(34,197,94,0.18); animation: pulse-dot 2s ease-in-out infinite; }
.dot-offline { background: var(--danger); box-shadow: 0 0 0 4px rgba(239,68,68,0.18); }

@keyframes float-y {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-10px) rotate(var(--r, 0deg)); }
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34,197,94,0.18); }
  50% { box-shadow: 0 0 0 7px rgba(34,197,94,0.06); }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  padding: 18px 0;
  margin-top: 30px;
}
.marquee-track {
  display: flex;
  gap: 14px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span { font-weight: 700; font-size: 0.9rem; color: var(--ink-soft); }
.marquee-track i { color: var(--brand); font-style: normal; opacity: 0.7; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .tv-frame, .dash-mock, .float-poll, .float-status, .dot-online { animation: none !important; }
}

/* ---------- Widget library ---------- */
.widgets { padding: 110px 0; background: var(--panel); }
.widget-groups { display: flex; flex-direction: column; gap: 40px; }
.widget-group-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 16px;
}
.widget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}
.widget-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.widget-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--wc, var(--line-2)); }
.widget-card-banner {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 140% at 50% 15%, color-mix(in srgb, var(--wc) 38%, transparent), transparent 72%),
    var(--panel-2);
  border-bottom: 1px solid var(--line);
}
.widget-card-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 16px;
  border: 1.5px solid var(--wc);
  color: var(--wc);
  background: color-mix(in srgb, var(--wc) 14%, transparent);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.widget-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 9px; }
.widget-card-body h4 { margin: 0; font-size: 0.98rem; color: var(--ink); }
.widget-card-sub { margin: 0; font-size: 0.8rem; color: var(--muted); }
.widget-card-body .status-pill { align-self: flex-start; }

/* ---------- Features (bento) ---------- */
.features { padding: 110px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--c1); }
.feature-card-big { grid-column: span 2; display: flex; flex-direction: column; }
.feature-icon {
  --fc: var(--c1);
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background:
    radial-gradient(130% 130% at 50% 15%, color-mix(in srgb, var(--fc) 55%, transparent), transparent 75%),
    var(--panel-2);
  color: var(--fc);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 { margin: 0 0 10px; font-size: 1.1rem; color: var(--ink); }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.feature-demo {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}
.feature-demo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(34,197,94,0.18); flex-shrink: 0; }
.feature-demo-bars { display: flex; align-items: flex-end; gap: 4px; height: 32px; }
.feature-demo-bars i { width: 8px; border-radius: 3px 3px 0 0; background: var(--brand-gradient); display: block; }
.feature-demo-label { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.feature-demo-poll { flex-direction: column; align-items: stretch; gap: 8px; }
.feature-demo-poll .poll-bar { margin-bottom: 0; }

.feature-demo-mod { flex-wrap: wrap; }
.mod-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 600; color: var(--ink-soft);
  background: var(--bg); border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 999px;
}
.mod-chip .icon { color: var(--c3); }

.feature-demo-ai { gap: 10px; }
.ai-prompt {
  font-size: 0.8rem; font-style: italic; color: var(--ink-soft);
  background: var(--bg); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: var(--radius-sm);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ai-arrow { color: var(--muted); flex-shrink: 0; }
.ai-result {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-gradient);
  color: #fff;
}

/* Cycle the app-derived accent palette across feature cards */
.feature-card:nth-child(4n+2) .feature-icon { --fc: var(--c2); }
.feature-card:nth-child(4n+2):hover { border-color: var(--c2); }
.feature-card:nth-child(4n+3) .feature-icon { --fc: var(--c3); }
.feature-card:nth-child(4n+3):hover { border-color: var(--c3); }
.feature-card:nth-child(4n+0) .feature-icon { --fc: var(--c4); }
.feature-card:nth-child(4n+0):hover { border-color: var(--c4); }

/* ---------- Product Tour ---------- */
.tour { padding: 110px 0; background: var(--panel); }
.tour-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }

.tour-tabs { display: flex; flex-direction: column; gap: 10px; }
.tour-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  cursor: pointer;
  font: inherit;
  color: var(--ink-soft);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.tour-tab .icon { color: var(--brand); margin-bottom: 6px; }
.tour-tab span { font-weight: 700; color: var(--ink); font-size: 0.98rem; }
.tour-tab small { color: var(--muted); font-size: 0.82rem; }
.tour-tab:hover { border-color: var(--line-2); }
.tour-tab.active {
  border-color: var(--brand);
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.16), rgba(168, 85, 247, 0.08));
}

.tour-stage {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 32px;
  min-height: 420px;
}
.tour-pane { display: none; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.tour-pane.active { display: grid; }
.tour-screen {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--bg);
}
.tour-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.tour-facts li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: 0.94rem; }
.tour-facts .icon { color: var(--success); margin-top: 2px; }

/* Layout mock */
.layout-mock {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto 1fr auto;
  height: 220px;
  color: #fff;
  font-size: 0.8rem;
}
.lm-header {
  grid-column: 1 / -1;
  background: var(--brand-gradient);
  padding: 10px 16px;
  font-weight: 700;
}
.lm-main { background: var(--panel); position: relative; padding: 12px; }
.lm-carousel {
  width: 100%; height: 100%;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--panel-2), var(--line-2));
  border: 1px dashed var(--line-2);
}
.lm-side { background: var(--panel-2); padding: 14px; display: flex; flex-direction: column; gap: 10px; justify-content: center; align-items: center; }
.lm-clock { font-size: 1.4rem; font-weight: 800; }
.lm-weather { color: var(--ink-soft); }
.lm-ticker {
  grid-column: 1 / -1;
  background: var(--bg);
  padding: 8px 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* Poll mock */
.poll-mock { padding: 30px; color: #fff; display: flex; flex-direction: column; gap: 16px; background: var(--panel); min-height: 220px; }
.poll-mock-q { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.poll-mock-row { display: grid; grid-template-columns: 110px 1fr 44px; align-items: center; gap: 12px; }
.poll-mock-label { font-size: 0.84rem; color: var(--ink-soft); }
.poll-mock-pct { font-size: 0.84rem; font-weight: 700; text-align: right; }
.poll-mock-qr { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--ink-soft); font-size: 0.82rem; }
.poll-mock-qr .icon { color: #fff; }

/* Guest wall mock */
.wall-mock { padding: 26px; background: var(--panel); min-height: 220px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.wall-mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wall-mock-grid span { aspect-ratio: 1; border-radius: var(--radius-sm); background: var(--brand-gradient); }
.wall-mock-grid span:nth-child(2n) { opacity: 0.7; }
.wall-mock-grid span:nth-child(3n) { opacity: 0.5; }
.wall-mock-caption { text-align: center; color: var(--ink-soft); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Fleet management ---------- */
.fleet { padding: 110px 0; }
.fleet-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.fleet-copy h2 { color: var(--ink); }
.fleet-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}
.fleet-row {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 0.9fr 0.9fr;
  gap: 10px;
  padding: 14px 20px;
  align-items: center;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.fleet-row:last-child { border-bottom: none; }
.fleet-head {
  background: var(--panel-2);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.status-online { background: rgba(34,197,94,0.14); color: var(--success); }
.status-online::before { background: var(--success); }
.status-offline { background: rgba(239,68,68,0.14); color: var(--danger); }
.status-offline::before { background: var(--danger); }
.status-pending { background: rgba(245,158,11,0.14); color: var(--warn); }
.status-pending::before { background: var(--warn); }

/* ---------- How it works (timeline) ---------- */
.how { padding: 110px 0; background: var(--panel); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px);
}
.step { position: relative; text-align: left; }
.step-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  background: var(--brand-gradient);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.step h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--ink); }
.step p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- Hardware ---------- */
.hardware { padding: 110px 0; }
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hardware-card {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  background: var(--panel);
}
.hardware-icon {
  width: 62px; height: 62px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-gradient);
  color: #fff;
  margin: 0 auto 18px;
}
.hardware-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--ink); }
.hardware-card p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- Industries ---------- */
.industries { padding: 110px 0; background: var(--panel); }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industry-card {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  border-top: 3px solid var(--c1);
}
.industry-card:nth-child(4n+2) { border-top-color: var(--c2); }
.industry-card:nth-child(4n+3) { border-top-color: var(--c3); }
.industry-card:nth-child(4n+0) { border-top-color: var(--c4); }
.industry-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--ink); }
.industry-card p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 110px 0; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  margin: 0;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.testimonial-stars { display: flex; gap: 3px; color: var(--warn); margin-bottom: 14px; }
.testimonial p {
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.testimonial footer { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; color: var(--muted); }
.testimonial footer strong { color: var(--ink); }
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ---------- Pricing ---------- */
.pricing { padding: 110px 0; background: var(--panel); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.price-card h3 { margin: 0; font-size: 1.15rem; color: var(--ink); }
.price { font-size: 2.1rem; font-weight: 800; margin: 0; color: var(--ink); }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  flex: 1;
}
.price-card ul li::before { content: "✓ "; color: var(--success); font-weight: 700; }
.price-card-featured {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: scale(1.04);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq { padding: 110px 0; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--brand);
  margin-left: 12px;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 14px 0 0; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background: var(--brand-gradient);
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 90% at 90% 100%, rgba(255,255,255,0.18), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; text-align: center; }
.cta-inner h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; }
.cta-inner p { margin: 0 0 28px; opacity: 0.92; font-size: 1.08rem; }

/* ---------- Contact ---------- */
.contact { padding: 110px 0; }
.contact-copy h2 { color: var(--ink); }
.contact-details {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--ink-soft);
}
.contact-details strong { display: block; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.form-row input,
.form-row textarea {
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  font: inherit;
  color: var(--ink);
  background: var(--panel-2);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.form-note { margin: 0; font-size: 0.88rem; color: var(--success); min-height: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--panel-2); border-top: 1px solid var(--line); padding-top: 60px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p { color: var(--muted); margin: 14px 0 0; max-width: 280px; font-size: 0.92rem; }
.footer-col h4 { margin: 0 0 14px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--ink-soft); text-decoration: none; font-size: 0.94rem; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 24px;
  color: var(--muted-2);
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 40px; }
  .hero-visual { height: 420px; margin-top: 30px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-big { grid-column: span 2; }
  .tour-wrap { grid-template-columns: 1fr; }
  .tour-tabs { flex-direction: row; overflow-x: auto; }
  .tour-tab { min-width: 200px; }
  .tour-pane.active { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .fleet-inner { grid-template-columns: 1fr; }
  .hardware-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card-featured { transform: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card-big { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .fleet-row { grid-template-columns: 1fr 1fr; row-gap: 6px; }
  .industry-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-proof { gap: 20px; }
  .dash-mock { display: none; }
  .tv-frame { position: static; width: 100%; transform: none; margin-top: 20px; }
  .hero-visual { height: auto; }
  .float-poll, .float-status { display: none; }
}

/* Mobile nav open state */
.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 20px 24px;
  gap: 16px;
  box-shadow: var(--shadow);
}
