/* ─── ShipDeck Waitlist - Light Theme ────────────── */
:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-2: #f5f5f5;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.15);
  --ink: #0a0a0a;
  --muted: rgba(0,0,0,0.6);
  --muted-soft: rgba(0,0,0,0.4);
  --accent: #ff6a00;
  --accent-soft: #ff8a3d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
.page { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 {
  font-family: "Satoshi", "Inter", system-ui, sans-serif;
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.05; margin: 0;
}
a { color: inherit; text-decoration: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; padding-top: 16px; margin-bottom: -76px; animation: slideDown 0.6s ease both; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; border: 1px solid var(--border); border-radius: 100px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(16px);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: #0a0a0a; color: #fff;
  font-size: 0.8rem; font-weight: 800;
  font-family: "Satoshi", sans-serif; letter-spacing: -0.03em;
}
.logo-dot { color: var(--accent); }
.logo-text { font-family: "Satoshi", sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 0.9rem; color: var(--muted); transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.nav-cta {
  display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 100px;
  background: var(--accent); color: #fff; font-size: 0.85rem; font-weight: 600;
  transition: background 0.15s;
  touch-action: manipulation;
}
.nav-cta:hover { background: var(--accent-soft); }
.nav-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 80px 0 60px; overflow: hidden; }
.grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  pointer-events: none;
}
.glow-bg {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(255,106,0,0.04), transparent 65%);
  filter: blur(60px); pointer-events: none;
}

/* Particle canvas */
.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; width: 100%; }
.hero-content { max-width: 540px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent); font-family: "JetBrains Mono", monospace; margin-bottom: 24px;
  animation: fadeUp 0.6s ease both;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(2.8rem,7vw,4.5rem); line-height: 0.95; margin-bottom: 20px; animation: fadeUp 0.8s ease both; }
.text-orange { color: var(--accent); }
.hero-subtitle { font-size: 1.05rem; line-height: 1.7; color: var(--muted); margin: 0 0 32px; max-width: 480px; animation: fadeUp 0.8s ease 0.15s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Hero CTA button */
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border: none;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: "Satoshi", "Inter", system-ui, sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s;
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease 0.3s both;
  touch-action: manipulation;
}
.hero-cta-btn:hover {
  background: var(--accent-soft);
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(255,106,0,0.25);
}
.hero-cta-btn:active {
  transform: scale(0.97);
}
.hero-cta-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hero-cta-arrow {
  font-size: 1.3rem;
  transition: transform 0.2s;
}
.hero-cta-btn:hover .hero-cta-arrow {
  transform: translateX(4px);
}
.form-row { display: flex; gap: 8px; max-width: 440px; }
.form-row-fields input { flex: 1; min-width: 0; }
.form-row input {
  flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); color: var(--ink); font-size: 0.95rem; font-family: inherit;
  transition: border-color 0.15s;
}
.form-row input::placeholder { color: rgba(0,0,0,0.25); }
.form-row input:focus { border-color: var(--accent); }
.form-row input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border: none; border-radius: 12px;
  background: var(--accent); color: #fff; font-size: 0.9rem; font-weight: 600; font-family: inherit;
  cursor: pointer; white-space: nowrap; transition: background 0.15s;
  touch-action: manipulation;
}
.btn-primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary:hover { background: var(--accent-soft); }
.btn-primary:active { transform: scale(0.97); }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border: 1px solid var(--border); border-radius: 10px;
  background: transparent; color: var(--muted); font-size: 0.85rem; font-weight: 500; font-family: inherit;
  cursor: pointer; transition: border-color 0.15s, color 0.15s;
  touch-action: manipulation;
}
.btn-secondary:hover { border-color: var(--border-hover); color: var(--ink); }
.btn-secondary:active { transform: scale(0.97); }
.btn-secondary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.form-note { font-size: 0.8rem; color: var(--muted-soft); margin: 0; min-height: 1.2em; }
.hero-proof { display: flex; align-items: center; gap: 12px; animation: fadeUp 0.8s ease 0.45s both; }
.avatar-stack { display: flex; }
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bg);
  font-size: 0.65rem; font-weight: 600; font-family: "Satoshi", sans-serif;
}
.avatar:nth-child(1) { background: var(--accent); color: #fff; z-index: 4; }
.avatar:nth-child(2) { background: #e0e0e0; color: #333; margin-left: -8px; z-index: 3; }
.avatar:nth-child(3) { background: #d0d0d0; color: #333; margin-left: -8px; z-index: 2; }
.avatar:nth-child(4) { background: #c0c0c0; color: #666; margin-left: -8px; z-index: 1; }
.hero-proof p { font-size: 0.85rem; color: var(--muted-soft); margin: 0; }
.hero-proof strong { color: var(--ink); }

/* Terminal */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.terminal { width: 100%; max-width: 480px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(0,0,0,0.12); }
.terminal-title { margin-left: auto; font-size: 0.72rem; font-family: "JetBrains Mono", monospace; color: var(--muted-soft); }
.terminal-body { padding: 20px; font-family: "JetBrains Mono", monospace; font-size: 0.85rem; line-height: 1.8; }
.terminal-line { opacity: 0; animation: fadeInLine 0.4s ease forwards; }
.terminal-line:nth-child(1) { animation-delay: 0.2s; }
.terminal-line:nth-child(2) { animation-delay: 0.6s; }
.terminal-line:nth-child(3) { animation-delay: 1.0s; }
.terminal-line:nth-child(4) { animation-delay: 1.4s; }
.terminal-line:nth-child(5) { animation-delay: 1.8s; }
.terminal-line:nth-child(6) { animation-delay: 2.2s; }
.terminal-line:nth-child(7) { animation-delay: 2.6s; }
.terminal-line:nth-child(8) { animation-delay: 3.0s; }
@keyframes fadeInLine { to { opacity: 1; } }
.prompt { color: var(--accent); margin-right: 8px; }
.terminal-line.dim { color: var(--muted-soft); }
.terminal-line.success { color: #22c55e; }
.cursor { animation: blink 1s step-end infinite; color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }

/* Floating cards */
.floating-card { position: absolute; display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.floating-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-family: "JetBrains Mono", monospace; font-weight: 600; }
.floating-value { font-size: 0.9rem; font-weight: 600; }
.floating-card-1 { top: -8px; right: -12px; animation: float1 5s ease-in-out infinite; }
.floating-card-2 { bottom: 24px; left: -20px; animation: float2 6s ease-in-out infinite 1s; }
@keyframes float1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* Sections */
.features, .trust, .faq { padding: 100px 0; }
.section-header { max-width: 600px; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(1.8rem,4vw,2.8rem); margin-bottom: 16px; }
.section-header p { font-size: 1rem; line-height: 1.7; color: var(--muted); margin: 0; }

/* Features */
.features { border-top: 1px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-card { padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); transition: border-color 0.2s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease; }
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.05); }
.feature-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,106,0,0.1); display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 16px; }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; line-height: 1.7; color: var(--muted); margin: 0; }

/* Trust */
.trust { border-top: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-card { padding: 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); transition: border-color 0.2s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease; }
.trust-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.04); }
.trust-card strong { display: block; font-family: "Satoshi", sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.trust-card p { font-size: 0.85rem; line-height: 1.6; color: var(--muted); margin: 0; }

/* CTA */
.cta-section { padding: 60px 0 100px; }
.cta-card { max-width: 560px; margin: 0 auto; padding: 48px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); text-align: center; box-shadow: 0 8px 30px rgba(0,0,0,0.04); transition: box-shadow 0.3s ease; }
.cta-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.07); }
.cta-card h2 { font-size: 2rem; margin-bottom: 12px; }
.cta-card > p { font-size: 0.95rem; line-height: 1.7; color: var(--muted); margin: 0 0 28px; }
.cta-form { display: flex; flex-direction: column; gap: 12px; }
.cta-form .form-row { max-width: 100%; margin: 0; }
.cta-note { font-size: 0.8rem; color: var(--muted-soft); margin: 16px 0 0; }
.cta-success { text-align: center; }
.cta-success p { font-size: 1rem; color: #22c55e; margin: 0 0 16px; }

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 900px; }
.faq-card { padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); transition: border-color 0.2s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease; }
.faq-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.05); }
.faq-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 10px; color: var(--ink); }
.faq-card p { font-size: 0.9rem; line-height: 1.7; color: var(--muted); margin: 0; }

@media (max-width: 700px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* Footer */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--border); }

/* ─── Scroll Reveal ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

.reveal-delay-1 { transition-delay: 0.05s; }
.reveal-delay-2 { transition-delay: 0.1s; }
.reveal-delay-3 { transition-delay: 0.15s; }
.reveal-delay-4 { transition-delay: 0.2s; }
.reveal-delay-5 { transition-delay: 0.25s; }
.reveal-delay-6 { transition-delay: 0.3s; }


/* ─── Avatar animation ─────────────────────────── */
.avatar-stack .avatar { transition: transform 0.2s ease, margin 0.2s ease; }
.avatar-stack:hover .avatar { transform: translateX(2px); }

/* ─── Terminal enhancements ────────────────────── */
.terminal { transition: box-shadow 0.3s ease; }
.terminal:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }

/* ─── Scroll reveal alignment ──────────────── */
.section-header.reveal { transition-delay: 0s; }

/* Skip link (visually hidden until focused) */
.skip-link {
  position: fixed;
  top: -100%;
  left: 8px;
  padding: 8px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  z-index: 100;
  transition: top 0.15s;
}
.skip-link:focus {
  top: 8px;
}

/* Section anchor scroll offset (accounts for sticky nav) */
section[id] {
  scroll-margin-top: 80px;
}

/* Screen-reader-only label class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-name { font-family: "Satoshi", sans-serif; font-weight: 700; font-size: 1.2rem; }
.footer-tagline { font-size: 0.9rem; color: var(--muted-soft); margin: 0; }
.footer-bottom { display: flex; gap: 24px; font-size: 0.78rem; color: var(--muted-soft); font-family: "JetBrains Mono", monospace; }
.footer-status { color: var(--accent); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { max-width: 100%; }
  .hero { min-height: auto; padding-top: 100px; }
  .hero-visual { order: -1; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .features-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .form-row { flex-direction: column; }
  .page { padding: 0 16px; }
  .cta-card { padding: 32px 24px; }
  .floating-card { display: none; }
}
