/* CabPass Design System — cabpass.css */

:root {
  --ink: #0d0d0d;
  --paper: #f4f1ea;
  --paper-2: #ebe7dc;
  --yellow: #ffcc00;
  --yellow-deep: #f0b800;
  --rule: rgba(13,13,13,0.12);
  --muted: #5a564f;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter Tight', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.06;
  z-index: 1;
  mix-blend-mode: multiply;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }

/* ===== TOP BAR ===== */
.topbar {
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar .left { display: flex; gap: 28px; color: var(--muted); }
.topbar .left .live::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  background: #2b9b3f;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: middle;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ===== NAV ===== */
nav.main {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
nav.main .container { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo .bee {
  width: 32px; height: 32px;
  background: var(--yellow);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transform: rotate(-8deg);
}
nav.main ul {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
}
nav.main ul a {
  color: var(--ink);
  text-decoration: none;
  position: relative;
}
nav.main ul a:hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--ink);
}
.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s;
}
.nav-cta:hover { transform: translateY(-2px); }

/* ===== HERO ===== */
.hero {
  padding: 80px 0 100px;
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--ink);
}
h1.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}
h1.hero-title em {
  font-style: italic;
  font-weight: 400;
  position: relative;
  display: inline-block;
}
h1.hero-title em::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px; bottom: 6px;
  height: 18px;
  background: var(--yellow);
  z-index: -1;
  transform: skewX(-3deg);
}
.hero-sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.55;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  padding: 18px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
}
.btn-primary:hover {
  background: var(--yellow);
  color: var(--ink);
}
.btn-primary .arrow { transition: transform 0.25s; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.price-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--muted);
}
.price-note strong { color: var(--ink); font-weight: 500; }

/* Hero card / question preview */
.hero-visual { position: relative; }
.question-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 36px;
  box-shadow: 0 30px 60px -20px rgba(13,13,13,0.18), 0 0 0 1px rgba(13,13,13,0.04);
  position: relative;
  transform: rotate(-1.2deg);
}
.question-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--yellow);
  border-radius: 4px;
  z-index: -1;
  transform: rotate(2.5deg) translate(8px, 8px);
}
.q-meta {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.q-meta .timer { color: var(--ink); }
.q-text {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.q-options { display: flex; flex-direction: column; gap: 10px; }
.q-opt {
  padding: 14px 18px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.q-opt:hover { border-color: var(--ink); background: var(--paper-2); }
.q-opt .letter {
  width: 24px; height: 24px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.q-opt.correct { background: var(--yellow); border-color: var(--ink); }
.q-opt.correct .letter { background: var(--ink); color: var(--yellow); border-color: var(--ink); }

/* Floating badge */
.floating-badge {
  position: absolute;
  top: -20px; right: -10px;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 18px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(8deg);
  z-index: 3;
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}
.floating-badge strong { color: var(--yellow); font-weight: 700; }

/* ===== MARQUEE STATS ===== */
.stats-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 28px 0;
  overflow: hidden;
}
.stats-row {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  align-items: center;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.stat-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: 'Fraunces', serif;
}
.stat-num {
  font-size: 36px;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}
.stat-divider { color: var(--yellow); font-size: 24px; opacity: 0.5; }

/* ===== SECTION HEADERS ===== */
section { padding: 100px 0; border-bottom: 1px solid var(--rule); }
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--ink);
}
h2.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 60px;
}
h2.section-title em { font-style: italic; font-weight: 400; }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
.feature {
  padding: 40px 32px 48px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background 0.3s;
}
.feature:last-child { border-right: none; }
.feature:hover { background: var(--paper-2); }
.feature-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 36px;
}
.feature-icon {
  width: 56px; height: 56px;
  background: var(--yellow);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.feature h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
}
.feature p { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--paper-2); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.testi {
  background: var(--paper);
  padding: 36px;
  border: 1px solid var(--rule);
  position: relative;
}
.testi:nth-child(2) { transform: translateY(28px); background: var(--yellow); border-color: var(--ink); }
.testi-stars { color: var(--ink); margin-bottom: 20px; font-size: 14px; letter-spacing: 0.15em; }
.testi-quote {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Fraunces', serif;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.testi:nth-child(2) .avatar { background: var(--ink); color: var(--yellow); }
.author-info .name { font-weight: 600; font-size: 15px; }
.author-info .meta { font-size: 13px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }

/* ===== PRICING ===== */
.pricing-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.pricing-left h2.section-title { margin-bottom: 32px; }
.pricing-left .desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
}
.pricing-card {
  background: var(--ink);
  color: var(--paper);
  padding: 48px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.95;
}
.pricing-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}
.pricing-amount {
  font-family: 'Fraunces', serif;
  font-size: 96px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
}
.pricing-amount .currency {
  font-size: 48px;
  vertical-align: top;
  margin-right: 4px;
}
.pricing-once {
  font-size: 15px;
  opacity: 0.7;
  margin-bottom: 36px;
  position: relative; z-index: 1;
}
.pricing-features {
  list-style: none;
  margin-bottom: 36px;
  border-top: 1px solid rgba(244,241,234,0.15);
  position: relative; z-index: 1;
}
.pricing-features li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(244,241,234,0.15);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.pricing-features li::before {
  content: '✓';
  color: var(--yellow);
  font-weight: 700;
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pricing-cta {
  background: var(--yellow);
  color: var(--ink);
  padding: 20px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s;
  position: relative; z-index: 1;
}
.pricing-cta:hover { background: var(--paper); }
.paypal-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(244,241,234,0.65);
  position: relative; z-index: 1;
}
.paypal-logo {
  background: #fff;
  color: #003087;
  padding: 4px 10px;
  border-radius: 3px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.02em;
}
.paypal-logo .pp-blue { color: #003087; }
.paypal-logo .pp-light { color: #009cde; }

/* ===== FAQ ===== */
.faq-list {
  max-width: 820px;
  margin-top: 40px;
  border-top: 1px solid var(--ink);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
  cursor: pointer;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-q .toggle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  flex-shrink: 0;
  margin-left: 24px;
  transition: transform 0.25s;
}
.faq-item.open .faq-q .toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, margin-top 0.35s ease;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 240px; margin-top: 16px; }

/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 32px;
  border-bottom: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand .logo { color: var(--paper); margin-bottom: 16px; }
.footer-brand p { color: rgba(244,241,234,0.6); font-size: 14px; max-width: 320px; }
.footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--yellow);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(244,241,234,0.15);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(244,241,234,0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { padding: 50px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature { border-right: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi:nth-child(2) { transform: none; }
  .pricing-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav.main ul { display: none; }
  section { padding: 70px 0; }
  .pricing-card { padding: 32px; }
  .pricing-amount { font-size: 72px; }
  .topbar .left { gap: 14px; font-size: 11px; }
}
