/* CabbyCarter — Coming Soon · Design System v2.1.0 dark-tile variant */

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: #000; color: #fff; font-family: 'Inter', system-ui, sans-serif; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── Design Tokens ──────────────────────────────────────────── */
:root {
  --black:        #000000;
  --white:        #ffffff;
  --yellow:       #FFD300;
  --yellow-hover: #E6C200;
  --yellow-glow:  rgba(255, 211, 0, 0.28);
  --muted:        #AFAFAF;
  --card-border:  rgba(255, 255, 255, 0.10);
  --card-border-hover: rgba(255, 255, 255, 0.20);
  --divider:      rgba(255, 255, 255, 0.06);
  --radius-pill:  999px;
  --radius-card:  14px;
  --radius-input: 8px;
  --nav-h:        64px;
  --max-w:        1120px;
  --section-py:   96px;
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Typography ─────────────────────────────────────────────── */
.t-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}
.t-hero {
  font-size: clamp(44px, 8vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
}
.t-section-heading {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}
.t-card-heading {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--white);
}
.t-body {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
}
.t-small {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
}

/* ─── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  transition: background 0.15s, box-shadow 0.2s, transform 0.1s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: scale(0.96); }

.btn-yellow {
  background: var(--yellow);
  color: var(--black);
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 0 var(--yellow-glow);
}
.btn-yellow:hover {
  background: var(--yellow-hover);
  box-shadow: 0 0 24px 4px var(--yellow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.30);
  font-weight: 500;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.55);
}

.btn-white-sm {
  background: var(--white);
  color: var(--black);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
}
.btn-white-sm:hover { background: #e8e8e8; }

/* ─── Navigation ─────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.3s, border-color 0.3s;
  background: rgba(0,0,0,0);
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--divider);
}
#nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-wordmark {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
}
.nav-wordmark span { color: var(--yellow); }
.nav-wordmark .wordmark-e {
  display: inline-block;
  transform: rotate(-10deg);
  transform-origin: 50% 65%;
}

/* ─── Hero ───────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 80px 0 100px;
}
.hero-eyebrow { margin-bottom: 28px; }
.hero-headline { margin-bottom: 24px; }
.hero-sub {
  max-width: 520px;
  margin-bottom: 44px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
}
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.35;
}
.hero-scroll-hint span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.scroll-arrow {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 0.9; transform: scaleY(1.15); }
}

/* ─── Why CabbyCarter ────────────────────────────────────────── */
#why {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--divider);
}
.why-eyebrow { margin-bottom: 16px; }
.why-heading { margin-bottom: 16px; }
.why-sub { max-width: 480px; margin-bottom: 64px; }
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why-card {
  background: var(--black);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  transition: border-color 0.2s, transform 0.2s var(--ease-out);
  will-change: transform;
}
.why-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
}
.why-card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  color: var(--yellow);
}
.why-card-title {
  margin-bottom: 12px;
}
.why-card-body { }

/* ─── Notify Section ─────────────────────────────────────────── */
#notify {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--divider);
}
.notify-inner {
  max-width: 560px;
}
.notify-eyebrow { margin-bottom: 16px; }
.notify-heading { margin-bottom: 14px; }
.notify-sub { margin-bottom: 40px; }
.notify-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.notify-row {
  display: flex;
  gap: 10px;
}
.notify-input {
  flex: 1;
  padding: 14px 18px;
  background: transparent;
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-input);
  outline: none;
  transition: border-color 0.15s;
  min-width: 0;
}
.notify-input--full { width: 100%; flex: none; }
.notify-input::placeholder { color: rgba(255,255,255,0.30); }
.notify-input:focus { border-color: rgba(255,255,255,0.60); }
.notify-input.invalid { border-color: rgba(239,68,68,0.70); }
.notify-submit { align-self: flex-start; }
.notify-error {
  font-size: 13px;
  color: #EF4444;
  min-height: 18px;
}
.notify-success {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  padding: 14px 0;
}
.notify-success .success-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}
.notify-success.visible { display: flex; }

/* ─── Footer ─────────────────────────────────────────────────── */
#footer {
  padding: 40px 0;
  border-top: 1px solid var(--divider);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── Reveal animations (initial state — Motion sets opacity/transform) ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .why-cards { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 640px) {
  :root { --section-py: 72px; }
  .hero-content { padding: 60px 0 80px; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
  .notify-row { flex-direction: column; }
  .notify-submit { align-self: stretch; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .why-cards { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .nav-wordmark { font-size: 16px; }
}
