:root {
  --bg: #0a0a0a;
  --bg-raised: #131313;
  --border: #262626;
  --fg: #f5f5f2;
  --fg-muted: #a3a39d;
  --yellow: #ffd500;
  --yellow-fg: #0a0a0a;
  --violet: #8b5cf6;
  --violet-soft: rgba(139, 92, 246, 0.14);
  --max-width: 1160px;
  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

section {
  padding: 5rem 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: block;
}

.nav-cta {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--yellow-fg);
}

.nav-cta:hover {
  filter: brightness(1.08);
}

/* ---------- hero ---------- */

.hero {
  padding-top: 5rem;
  padding-bottom: 3rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 85% 0%, var(--violet-soft), transparent 60%),
    radial-gradient(500px 260px at 0% 20%, rgba(255, 213, 0, 0.08), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-block;
  color: var(--yellow);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  margin-bottom: 1.5rem;
}

.hero h1 .hl {
  color: var(--yellow);
}

.hero-sub {
  color: var(--fg-muted);
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-chips {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  list-style: none;
}

.hero-chips li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-sticker {
  width: 100%;
  max-width: 440px;
  border-radius: 18px;
  transform: rotate(-3deg);
  box-shadow: 0 30px 60px -20px rgba(255, 213, 0, 0.25), 0 0 0 6px var(--bg-raised), 0 0 0 7px var(--border);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 1.85rem;
  border-radius: 10px;
  transition: transform 0.15s ease, filter 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--yellow-fg);
  box-shadow: 0 8px 24px -8px rgba(255, 213, 0, 0.5);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

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

.btn-ghost:hover {
  border-color: var(--yellow);
}

.btn-dark {
  background: var(--yellow-fg);
  color: var(--yellow);
  border: 2px solid var(--yellow-fg);
}

.btn-dark:hover {
  opacity: 0.85;
}

/* ---------- marquee ---------- */

.marquee {
  background: var(--yellow);
  color: var(--yellow-fg);
  overflow: hidden;
  border-top: 3px solid var(--yellow-fg);
  border-bottom: 3px solid var(--yellow-fg);
  transform: rotate(-1.2deg) scale(1.03);
}

.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  white-space: nowrap;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  animation: marquee 26s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- features ---------- */

.features h2,
.how h2,
.future h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 2.75rem;
}

.feature-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature {
  position: relative;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.85rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature:hover {
  border-color: var(--yellow);
  transform: translateY(-3px);
}

.feature-num {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--border);
}

.feature-icon {
  font-size: 1.75rem;
  display: inline-block;
  margin-bottom: 0.9rem;
}

.feature h3 {
  font-size: 1rem;
  text-transform: none;
  margin-bottom: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.feature p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

/* ---------- future / agentic ---------- */

.future {
  background:
    radial-gradient(700px 400px at 50% 0%, var(--violet-soft), transparent 65%),
    var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.future-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-block;
  background: var(--violet-soft);
  color: var(--violet);
  border: 1px solid rgba(139, 92, 246, 0.35);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hl-violet {
  color: var(--violet);
}

.future-sub {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 3rem;
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  text-align: left;
  margin-bottom: 2.5rem;
}

.future-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.future-card-copy h3 {
  font-size: 1.15rem;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.future-card-copy p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.future-footnote {
  color: var(--fg-muted);
  font-size: 0.9rem;
}

.future-footnote a {
  color: var(--violet);
  font-weight: 600;
  text-decoration: none;
}

.future-footnote a:hover {
  text-decoration: underline;
}

/* phone mock */

.phone-mock {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 200px;
  height: 260px;
  background: #000;
  border: 3px solid #2a2a2a;
  border-radius: 26px;
  padding: 10px;
  position: relative;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 6px;
  background: #2a2a2a;
  border-radius: 999px;
  z-index: 2;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(160deg, #1a1a1a, #050505);
  overflow: hidden;
}

.scan-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--yellow);
}

.scan-corner.tl { top: 34px; left: 20px; border-right: none; border-bottom: none; }
.scan-corner.tr { top: 34px; right: 20px; border-left: none; border-bottom: none; }
.scan-corner.bl { bottom: 60px; left: 20px; border-right: none; border-top: none; }
.scan-corner.br { bottom: 60px; right: 20px; border-left: none; border-top: none; }

.scan-line {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 34px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  animation: scan 2.2s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% { top: 36px; opacity: 0.9; }
  50% { top: 132px; opacity: 0.4; }
}

.plate-tag {
  position: absolute;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #0a0a0a;
  font-family: var(--font-display);
  font-size: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  white-space: nowrap;
}

.scan-status {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  color: #34d399;
  white-space: nowrap;
}

/* chat mock */

.chat-mock {
  background: #0f0f0f;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fg-muted);
}

.chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-soft);
}

.chat-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bubble {
  max-width: 85%;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.bubble-user {
  align-self: flex-end;
  background: var(--yellow);
  color: var(--yellow-fg);
  font-weight: 600;
  border-bottom-right-radius: 3px;
}

.bubble-bot {
  align-self: flex-start;
  background: #1c1c1c;
  border: 1px solid var(--border);
  border-bottom-left-radius: 3px;
}

.typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 0.7rem 0.9rem;
  background: #1c1c1c;
  border: 1px solid var(--border);
  border-radius: 12px;
  border-bottom-left-radius: 3px;
}

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fg-muted);
  animation: typing 1.2s ease-in-out infinite;
}

.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* ---------- how ---------- */

.how {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-steps {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.how-step {
  text-align: center;
}

.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--yellow-fg);
  font-family: var(--font-display);
  margin-bottom: 1rem;
}

.how-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.how-step p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  text-transform: none;
}

/* ---------- contact ---------- */

.contact {
  text-align: center;
  background: var(--yellow);
  color: var(--yellow-fg);
  position: relative;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.contact p {
  color: rgba(10, 10, 10, 0.7);
  font-weight: 600;
  margin-bottom: 1.75rem;
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--fg-muted);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  opacity: 0.8;
}

/* ---------- responsive ---------- */

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

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-chips {
    justify-content: center;
  }

  .hero-art {
    order: -1;
  }

  .hero-sticker {
    max-width: 320px;
  }

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

@media (max-width: 760px) {
  .feature-grid,
  .how-steps {
    grid-template-columns: 1fr;
  }
}
