/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #07090f;
  --bg-2:       #0d1117;
  --bg-3:       #111720;
  --surface:    rgba(255,255,255,0.04);
  --border:     rgba(255,255,255,0.08);
  --border-hi:  rgba(255,255,255,0.15);
  --blue:       #2563eb;
  --blue-hi:    #3b82f6;
  --cyan:       #06b6d4;
  --green:      #22c55e;
  --red:        #ef4444;
  --yellow:     #eab308;
  --text:       #f1f5f9;
  --text-2:     #94a3b8;
  --text-3:     #475569;
  --mono:       'JetBrains Mono', 'Menlo', monospace;
  --sans:       'Inter', system-ui, sans-serif;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --glow-blue:  0 0 60px rgba(37,99,235,0.25);
  --glow-cyan:  0 0 40px rgba(6,182,212,0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─────────────────────────────────────────────
   SCROLLBAR
───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 3px; }

/* ─────────────────────────────────────────────
   UTILITIES
───────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
  padding: 4px 12px;
  border-radius: 100px;
}

.tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(37,99,235,0.5), var(--glow-blue);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-hi), var(--blue));
  box-shadow: 0 0 0 1px rgba(59,130,246,0.7), 0 0 80px rgba(37,99,235,0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hi);
  transform: translateY(-1px);
}

/* Nav-sized buttons */
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* Coming Soon / pending state */
.btn-coming-soon { opacity: 0.75; cursor: default; }
.btn-coming-soon:hover { transform: none; }

.gradient-text {
  background: linear-gradient(135deg, #f1f5f9 0%, var(--cyan) 50%, var(--blue-hi) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─────────────────────────────────────────────
   BACKGROUND GRID & GLOWS
───────────────────────────────────────────── */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

.bg-glow-1 {
  position: absolute;
  width: 800px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(37,99,235,0.12) 0%, transparent 70%);
  top: -200px; left: -200px;
  pointer-events: none;
}

.bg-glow-2 {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(6,182,212,0.08) 0%, transparent 70%);
  top: 100px; right: -100px;
  pointer-events: none;
}

/* ─────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(7,9,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), #1e40af);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(37,99,235,0.4);
}

.nav-logo-icon svg {
  width: 18px; height: 18px;
}

.nav-logo-name {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile nav */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content { position: relative; z-index: 2; }

.hero-headline {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 20px 0 24px;
}

.hero-subhead {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-ctas .btn {
  font-size: 15px;
  padding: 13px 22px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* Hero stats vertical separator */
.stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.hero-stat-value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ─────────────────────────────────────────────
   PHONE MOCKUP
───────────────────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.phone-glow {
  position: absolute;
  width: 340px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(37,99,235,0.2) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.phone-wrap {
  position: relative;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

.phone-frame {
  width: 300px;
  height: 620px;
  background: linear-gradient(145deg, #1a1f2e, #0f131c);
  border-radius: 46px;
  border: 1.5px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.6),
    0 40px 100px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  padding: 14px;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #080c12;
  border-radius: 0 0 18px 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-notch-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #1a1f2e;
}

.phone-notch-cam {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #111720;
  border: 1.5px solid rgba(255,255,255,0.1);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-2);
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* App header in phone */
.app-header {
  padding: 52px 16px 12px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-host-avatar {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), #1e40af);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  color: #fff;
  font-weight: 600;
}

.app-host-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.app-host-status {
  font-size: 10px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 4px;
}

.app-host-status::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.app-header-badge {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-3);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 3px 7px;
  border-radius: 6px;
}

/* Chat messages in phone */
.chat-messages {
  flex: 1;
  overflow: hidden;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.msg {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.msg-user {
  align-items: flex-end;
}

.msg-app {
  align-items: flex-start;
}

.bubble {
  max-width: 85%;
  padding: 9px 12px;
  border-radius: 16px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
}

.bubble-user {
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.bubble-app {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-2);
  border-bottom-left-radius: 4px;
}

.bubble-cmd {
  font-size: 9px;
  color: var(--cyan);
  margin-bottom: 4px;
  opacity: 0.8;
}

/* Disk usage bars */
.disk-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 4px;
}

.disk-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
}

.disk-label {
  color: var(--text-3);
  width: 36px;
  flex-shrink: 0;
  font-size: 8px;
}

.disk-bar-track {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.disk-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.disk-size {
  color: var(--text-2);
  font-size: 8px;
  width: 26px;
  text-align: right;
  flex-shrink: 0;
}

/* Git status card */
.git-card {
  margin-top: 4px;
}

.git-branch {
  font-size: 9px;
  color: var(--cyan);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.git-file {
  font-size: 8px;
  padding: 2px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.git-m { color: var(--yellow); }
.git-a { color: var(--green); }
.git-d { color: var(--red); }

/* Chat input bar */
.chat-input-bar {
  padding: 8px 10px 16px;
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-input-field {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 7px 10px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-2);
  position: relative;
}

.chat-input-field .cursor {
  display: inline-block;
  width: 1.5px;
  height: 10px;
  background: var(--cyan);
  margin-left: 1px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.chat-send-btn {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Animated chat messages */
.msg { opacity: 0; transform: translateY(6px); transition: all 0.3s ease; }
.msg.show { opacity: 1; transform: none; }

/* ─────────────────────────────────────────────
   SECTION HEADERS
───────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 16px 0 18px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   MARQUEE (SOCIAL PROOF LOGOS)
───────────────────────────────────────────── */
.marquee-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.marquee-section::before,
.marquee-section::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.marquee-section::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.marquee-label {
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  font-weight: 500;
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  color: var(--text-3);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  font-family: var(--mono);
  letter-spacing: -0.01em;
}

.marquee-item-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--border-hi);
}

/* ─────────────────────────────────────────────
   FEATURES
───────────────────────────────────────────── */
#features {
  padding: 100px 0;
  position: relative;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(37,99,235,0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--glow-blue);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
  position: relative;
}

.feature-icon-blue {
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.3);
  box-shadow: 0 0 20px rgba(37,99,235,0.15);
}

.feature-icon-cyan {
  background: rgba(6,182,212,0.12);
  border: 1px solid rgba(6,182,212,0.25);
  box-shadow: 0 0 20px rgba(6,182,212,0.12);
}

.feature-icon-green {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  box-shadow: 0 0 20px rgba(34,197,94,0.12);
}

.feature-icon-yellow {
  background: rgba(234,179,8,0.12);
  border: 1px solid rgba(234,179,8,0.25);
}

.feature-icon-purple {
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.25);
}

.feature-icon-red {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

.feature-card .feature-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--cyan);
  background: rgba(6,182,212,0.08);
  border: 1px solid rgba(6,182,212,0.2);
  padding: 2px 8px;
  border-radius: 5px;
  margin-top: 14px;
}

/* ─────────────────────────────────────────────
   INSTALL SECTION
───────────────────────────────────────────── */
#install {
  padding: 100px 0;
  position: relative;
}

.install-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.install-content h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 16px 0 20px;
  line-height: 1.15;
}

.install-content p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 16px;
}

.install-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.install-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.install-step-num {
  width: 24px; height: 24px;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.install-step-text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

.install-step-text strong {
  color: var(--text);
}

/* Inline code in install steps */
.t-code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--cyan);
}

.install-visual { position: relative; }

.terminal-window {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), var(--glow-blue);
}

.terminal-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}

.td-red { background: #ff5f57; }
.td-yellow { background: #febc2e; }
.td-green { background: #28c840; }

.terminal-title {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  margin-left: auto;
  margin-right: auto;
  transform: translateX(-20px);
}

.terminal-copy-btn {
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.terminal-copy-btn:hover {
  color: var(--text);
  border-color: var(--border-hi);
  background: rgba(255,255,255,0.08);
}

.terminal-copy-btn.copied {
  color: var(--green);
  border-color: rgba(34,197,94,0.4);
}

.terminal-body {
  padding: 24px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 2;
}

/* Terminal line spacing helper */
.t-line { margin-top: 8px; }

/* Terminal indented output block */
.t-block {
  padding-left: 16px;
  line-height: 1.6;
  font-size: 11px;
}

/* QR code wrapper */
.t-qr-wrap {
  margin-top: 4px;
  padding-left: 16px;
}

/* ASCII QR code */
.t-qr {
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: 2px;
  line-height: 1.1;
  display: block;
  font-family: var(--mono);
}

.t-prompt {
  color: var(--green);
  user-select: none;
}

.t-cmd { color: var(--text); }
.t-comment { color: var(--text-3); }
.t-out { color: var(--text-2); font-size: 12px; }
.t-out-success { color: var(--green); }

.terminal-after {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(34,197,94,0.05);
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
}

.terminal-after-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(34,197,94,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.terminal-after-text {
  font-size: 14px;
  color: var(--text-2);
}

.terminal-after-text strong { color: var(--text); }

/* ─────────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────────── */
#how-it-works {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(13,17,23,0.8), transparent);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: start;
  gap: 0;
  margin-top: 16px;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
}

.step-num {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(6,182,212,0.15));
  border: 1px solid rgba(37,99,235,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--cyan);
  box-shadow: 0 0 30px rgba(37,99,235,0.15);
}

.step-icon-row {
  font-size: 32px;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  color: var(--text-3);
}

/* ─────────────────────────────────────────────
   WAITLIST / SOCIAL PROOF
───────────────────────────────────────────── */
#waitlist {
  padding: 100px 0;
}

.waitlist-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.waitlist-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
}

.waitlist-glow {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(37,99,235,0.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.waitlist-card h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 16px 0 16px;
  position: relative;
}

.waitlist-card p {
  font-size: 17px;
  color: var(--text-2);
  max-width: 440px;
  margin: 0 auto 40px;
  line-height: 1.7;
  position: relative;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto 32px;
  position: relative;
}

.waitlist-input {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: all 0.2s ease;
}

.waitlist-input::placeholder { color: var(--text-3); }

.waitlist-input:focus {
  border-color: rgba(37,99,235,0.5);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.waitlist-tagline {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  position: relative;
}

.waitlist-tagline strong {
  color: var(--text-2);
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
  position: relative;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
}

.trust-badge-icon {
  font-size: 15px;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer {
  padding: 48px 0 40px;
  border-top: 1px solid var(--border);
}

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

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Footer logo — smaller variant */
.footer-left .nav-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer-left .nav-logo-icon svg {
  width: 14px;
  height: 14px;
}

.footer-left .nav-logo-name {
  font-size: 15px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-3);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-3);
  text-decoration: none;
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-2);
  background: var(--surface);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-3);
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social:hover {
  color: var(--text);
  border-color: var(--border-hi);
  background: rgba(255,255,255,0.08);
}

/* ─────────────────────────────────────────────
   SECTION DIVIDERS
───────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-subhead { margin: 0 auto 40px; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }

  .phone-frame { width: 260px; height: 540px; }

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

  .install-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-arrow { display: none; }

  .waitlist-card { padding: 48px 24px; }
  .waitlist-form { flex-direction: column; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .nav-links, .nav-cta .btn:not(:last-child) { display: none; }
  .nav-mobile-toggle { display: flex; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
}

/* ─────────────────────────────────────────────
   EXTRA DECORATIVE
───────────────────────────────────────────── */
.section-divider-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  justify-content: center;
}

.sdl-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border));
}

.sdl-line-r {
  background: linear-gradient(-90deg, transparent, var(--border));
}

/* Code highlight */
.hl-green { color: var(--green); }
.hl-cyan  { color: var(--cyan); }
.hl-blue  { color: var(--blue-hi); }
.hl-yellow { color: var(--yellow); }
.hl-red   { color: var(--red); }
.hl-dim   { color: var(--text-3); }

/* Shimmer animation */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--yellow);
  background: rgba(234,179,8,0.1);
  border: 1px solid rgba(234,179,8,0.25);
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   PRICING
───────────────────────────────────────────── */
#pricing {
  padding: 100px 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: all 0.3s ease;
}

.pricing-card-featured {
  background: linear-gradient(145deg, rgba(37,99,235,0.12), rgba(6,182,212,0.06));
  border-color: rgba(37,99,235,0.35);
  box-shadow: 0 0 0 1px rgba(37,99,235,0.2), var(--glow-blue);
}

.pricing-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(37,99,235,0.4);
}

.pricing-card-header { display: flex; flex-direction: column; gap: 8px; }

.pricing-tier-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

.pricing-amount { display: flex; align-items: baseline; gap: 4px; }

.pricing-price {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.pricing-card-featured .pricing-price {
  background: linear-gradient(135deg, #f1f5f9, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-period {
  font-size: 13px;
  color: var(--text-3);
  font-family: var(--mono);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8l3 3 6-6' stroke='%2322c55e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 16px;
  background-position: center;
  background-repeat: no-repeat;
}

.pricing-btn { display: flex; width: 100%; justify-content: center; }

/* ─────────────────────────────────────────────
   WAITLIST COUNTER
───────────────────────────────────────────── */
.waitlist-counter {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  position: relative;
}

.counter-num {
  font-family: var(--mono);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #f1f5f9, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.counter-label {
  font-size: 15px;
  color: var(--text-3);
}

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* Connection line in how it works */
.connection-line {
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 1px;
  margin: 0 -8px;
  margin-top: 26px;
  opacity: 0.3;
}

/* ─────────────────────────────────────────────
   LEGAL PAGES — privacy, terms
───────────────────────────────────────────── */
/* Content-only pages don't have a hero to backdrop the transparent nav.
   Force the nav into its "scrolled" appearance from page load so the
   links sit on a real surface instead of floating over the prose. */
body.legal nav {
  background: rgba(7,9,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.legal-page {
  padding: 180px 0 100px;
  position: relative;
}

.legal-prose {
  max-width: 740px;
  margin: 0 auto;
}

.legal-prose .tag {
  margin-bottom: 24px;
}

.legal-prose h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 12px;
}

.legal-prose .legal-meta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.legal-prose h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-top: 44px;
  margin-bottom: 14px;
}

.legal-prose p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 16px;
}

.legal-prose strong {
  color: var(--text);
  font-weight: 600;
}

.legal-prose em {
  color: var(--text);
  font-style: italic;
}

.legal-prose ul,
.legal-prose ol {
  margin: 0 0 20px 0;
  padding-left: 22px;
}

.legal-prose li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 10px;
  padding-left: 4px;
}

.legal-prose li::marker {
  color: var(--text-3);
}

.legal-prose a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(6,182,212,0.3);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.legal-prose a:hover {
  color: var(--blue-hi);
  border-bottom-color: var(--blue-hi);
}

@media (max-width: 640px) {
  .legal-page { padding: 140px 0 70px; }
  .legal-prose h2 { margin-top: 36px; }
}
