:root {
  --navy-950: #05070f;
  --navy-900: #090c1c;
  --navy-800: #0e1226;
  --navy-700: #141a35;
  --navy-600: #1c2344;

  --blue-300: #8ec9ff;
  --blue-400: #5aa4ff;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;

  --warm-orange: #ffa53d;
  --warm-red: #f0396b;
  --warm-purple: #7c3aed;
  --grad-warm: linear-gradient(135deg, var(--warm-orange), var(--warm-red) 55%, var(--warm-purple));
  --grad-blue: linear-gradient(120deg, #ffffff, var(--blue-300) 55%, var(--blue-500));

  --text-primary: #f5f7ff;
  --text-secondary: #a4abcc;
  --text-muted: #6b7194;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --green: #34d399;
  --amber: #fbbf24;
  --red: #fb7185;

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
}

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

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

i[data-lucide] { width: 18px; height: 18px; stroke-width: 1.8; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 15, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  margin-right: auto;
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
}
.brand-word em {
  font-style: normal;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text-primary); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  font-family: var(--font-body);
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad-warm);
  color: #1a0a06;
  box-shadow: 0 10px 30px -10px rgba(240, 57, 107, 0.55);
}
.btn-primary:hover { box-shadow: 0 14px 34px -8px rgba(240, 57, 107, 0.7); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 64px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 620px;
  background: radial-gradient(ellipse at center, rgba(240, 57, 107, 0.22), rgba(124, 58, 237, 0.14) 45%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 780px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 24px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}
.hero h1 {
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.08;
  color: #fff;
}
.hero-sub {
  margin: 24px auto 0;
  max-width: 600px;
  color: var(--text-secondary);
  font-size: 17px;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-proof {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.proof-item i { color: var(--blue-400); width: 16px; height: 16px; }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 16px 0;
  background: var(--navy-900);
}
.marquee-track {
  display: flex;
  gap: 14px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-left 24s linear infinite;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--navy-900); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin: 0 0 12px;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  color: #fff;
  line-height: 1.2;
}
.section-sub {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 560px;
}

/* ---------- Problem cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pain-card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.pain-card i {
  width: 26px; height: 26px;
  color: var(--warm-red);
  margin-bottom: 16px;
}
.pain-card h3 { font-size: 18px; color: #fff; margin-bottom: 8px; }
.pain-card p { color: var(--text-secondary); font-size: 14.5px; margin: 0; }

/* ---------- Phones ---------- */
.phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  padding: 20px 0 8px;
}
.phone-frame {
  width: 250px;
  height: 508px;
  background: var(--navy-800);
  border: 10px solid var(--navy-700);
  border-radius: 42px;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  opacity: 0.85;
  transform: scale(0.94);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.phone-frame:hover { transform: scale(0.97); opacity: 0.95; }
.phone-featured {
  width: 270px;
  height: 548px;
  opacity: 1;
  transform: scale(1);
  border-color: var(--navy-600);
  box-shadow: 0 40px 80px -20px rgba(240, 57, 107, 0.25), 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}
.phone-featured:hover { transform: scale(1.02); }
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: var(--navy-700);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #0c1024, #080a18);
  display: flex;
  flex-direction: column;
  padding: 14px 14px 10px;
}
.status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-secondary);
  padding: 0 4px 8px;
}
.status-icons { display: flex; gap: 4px; }
.status-icons i { width: 12px; height: 12px; }

.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 2px 12px;
}
.screen-header.centered { justify-content: center; }
.screen-header h4 { font-size: 15px; color: #fff; }
.screen-header i { width: 16px; height: 16px; color: var(--text-muted); }

.map-mock {
  position: relative;
  height: 130px;
  border-radius: 16px;
  background: linear-gradient(135deg, #17203f, #101731);
  margin-bottom: 10px;
  overflow: hidden;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
}
.map-pin {
  position: absolute;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  z-index: 1;
}
.p1 { top: 18px; left: 20px; background: var(--red); }
.p2 { top: 14px; right: 18px; background: var(--amber); color: #3a2600; }
.p3 { bottom: 40px; left: 90px; background: var(--green); color: #063321; }
.p4 { bottom: 16px; right: 34px; background: var(--red); }

.list-mock { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.list-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 10px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-green { background: var(--green); }
.dot-amber { background: var(--amber); }
.dot-red { background: var(--red); }
.list-text { flex: 1; min-width: 0; }
.list-text strong { display: block; font-size: 12.5px; color: #fff; }
.list-text small { font-size: 10.5px; color: var(--text-muted); }
.pill { font-size: 10.5px; font-weight: 700; padding: 4px 8px; border-radius: 999px; }
.pill-green { background: rgba(52,211,153,0.15); color: var(--green); }
.pill-amber { background: rgba(251,191,36,0.15); color: var(--amber); }
.pill-red { background: rgba(251,113,133,0.15); color: var(--red); }

.tab-bar {
  display: flex;
  justify-content: space-around;
  padding-top: 10px;
  margin-top: auto;
  border-top: 1px solid var(--border);
}
.tab-bar i { width: 17px; height: 17px; color: var(--text-muted); }
.tab-bar i.active { color: var(--blue-400); }

.restaurant-photo {
  height: 110px;
  border-radius: 16px;
  background: linear-gradient(135deg, #3a2410, #1a1408), radial-gradient(circle at 70% 30%, rgba(255,165,61,0.25), transparent 60%);
  margin-bottom: 12px;
}
.wait-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
}
.wait-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.wait-row strong { font-size: 17px; color: #fff; font-family: var(--font-display); }
.occupancy { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 10.5px; color: var(--text-muted); }
.occupancy-bar { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.occupancy-bar span { display: block; height: 100%; background: var(--grad-warm); border-radius: 3px; }
.occ-tag { color: var(--red); font-weight: 700; }

.dish-row { display: flex; gap: 8px; margin-top: 10px; }
.dish-row.single { justify-content: center; }
.dish {
  flex: 1;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2a1810, #17100a);
}
.dish-2 { background: linear-gradient(135deg, #1c2440, #10162c); }
.dish-3 { flex: none; width: 140px; height: 70px; background: linear-gradient(135deg, #241832, #150e1f); }

.queue-status { text-align: center; padding: 18px 6px; }
.queue-label { font-size: 12px; color: var(--text-muted); margin: 0; }
.queue-number {
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 700;
  margin: 6px 0;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.queue-sub { font-size: 12.5px; color: var(--text-secondary); margin: 0 0 14px; }
.queue-sub strong { color: #fff; }
.queue-progress {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  margin-bottom: 16px;
}
.queue-progress span { display: block; height: 100%; background: var(--grad-blue); border-radius: 3px; transition: width 0.6s ease; }
.queue-meta { display: flex; flex-direction: column; gap: 8px; font-size: 11.5px; color: var(--text-muted); }
.queue-meta div { display: flex; align-items: center; justify-content: center; gap: 6px; }
.queue-meta i { width: 13px; height: 13px; }

.demo-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 13.5px;
  margin-top: 24px;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
}
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.12);
  margin-bottom: 18px;
}
.step-icon i { color: var(--blue-400); width: 20px; height: 20px; }
.step-card h3 { font-size: 16.5px; color: #fff; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-secondary); margin: 0; }

/* ---------- Architecture ---------- */
.arch-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.arch-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--navy-900);
}
.arch-list { display: flex; flex-direction: column; gap: 20px; }
.arch-item { display: flex; gap: 14px; align-items: flex-start; }
.arch-item i {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--blue-400);
  margin-top: 3px;
}
.arch-item strong { display: block; color: #fff; font-size: 15px; margin-bottom: 3px; }
.arch-item p { margin: 0; font-size: 13.5px; color: var(--text-secondary); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price-card {
  position: relative;
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
}
.price-card.featured {
  border: 1px solid rgba(240, 57, 107, 0.4);
  background: linear-gradient(180deg, rgba(240,57,107,0.06), rgba(124,58,237,0.04));
}
.badge {
  position: absolute;
  top: -12px;
  left: 26px;
  background: var(--grad-warm);
  color: #1a0a06;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-tag { font-size: 13px; color: var(--text-muted); margin: 0 0 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.price-card h3 { font-size: 22px; color: #fff; margin-bottom: 12px; }
.price-desc { color: var(--text-secondary); font-size: 14px; margin: 0 0 18px; }
.price-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.price-card li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-secondary); }
.price-card li i { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; }

/* ---------- Timeline ---------- */
.timeline { display: flex; flex-direction: column; gap: 0; max-width: 720px; }
.tl-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 20px;
  padding-bottom: 40px;
  position: relative;
}
.tl-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 22px;
  bottom: -10px;
  width: 1px;
  background: var(--border-strong);
}
.tl-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--navy-800);
  margin-top: 2px;
}
.tl-item.done .tl-dot {
  background: var(--grad-warm);
  border-color: transparent;
}
.tl-stage {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-400);
}
.tl-body h3 { font-size: 18px; color: #fff; margin: 6px 0 6px; }
.tl-body p { font-size: 14.5px; color: var(--text-secondary); margin: 0; max-width: 520px; }

/* ---------- CTA / contact ---------- */
.cta-section { position: relative; overflow: hidden; }
.cta-wrap { text-align: center; position: relative; }
.cta-glow {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.18), transparent 70%);
  pointer-events: none;
}
.cta-section .section-sub { margin-left: auto; margin-right: auto; }
.contact-form {
  max-width: 520px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--navy-800);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--blue-500); }
.contact-form textarea { resize: vertical; }
.form-note { font-size: 12.5px; color: var(--text-muted); text-align: center; margin: 4px 0 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 13px; color: var(--text-muted); margin: 0; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 13.5px; }
.footer-links a:hover { color: var(--text-primary); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .arch-layout { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { order: -1; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .phone-frame, .phone-featured { transform: none; opacity: 1; width: 88vw; max-width: 300px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
