/* ScanDeck Landing Page */
/* Typography: Syne (Extra Bold) + Figtree */
/* Color: Charcoal #1a1a1f + Amber #f59e0b + Dark surface #2a2a32 */

:root {
  --bg: #1a1a1f;
  --bg-alt: #111115;
  --bg-card: #222228;
  --surface: #2a2a32;
  --amber: #f59e0b;
  --amber-dim: #b47408;
  --text: #f0ede8;
  --text-muted: #8a8894;
  --text-dim: #5a5866;
  --border: #333340;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Navigation ─── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Section commons ─── */
.section-header {
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ─── Hero ─── */
.hero {
  padding: 80px 48px 64px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--amber-dim);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-lede {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
}

.hero-cta {
  display: inline-block;
  margin-top: 28px;
  background: var(--amber);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background 0.2s;
}

.hero-cta:hover { background: #fbbf24; }

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
}

.qr-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px 24px;
  width: 260px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  position: relative;
}

.product-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.qr-illustration {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  display: block;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.product-type {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.product-scan {
  font-size: 12px;
  color: var(--amber);
  font-weight: 600;
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.stat {
  padding: 0 40px 0 0;
}

.stat:first-child { padding-left: 0; }

.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin-right: 40px;
}

/* ─── Products ─── */
.products {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.2s;
}

.product-card--featured {
  border-color: var(--amber-dim);
  background: #1e1c22;
}

.product-card:hover {
  border-color: var(--text-dim);
}

.product-card--featured:hover {
  border-color: var(--amber);
}

.product-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--amber);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 12px;
}

.product-icon {
  margin-bottom: 20px;
}

.product-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ─── How it works ─── */
.howitworks {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
}

.howitworks .section-header {
  max-width: 1200px;
  margin: 0 auto 48px;
}

.steps {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.step-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.03em;
  color: var(--amber);
  line-height: 1;
}

.step-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}

/* ─── Economics ─── */
.economics {
  padding: 80px 48px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.economics-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.economics-left p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
}

.cost-breakdown {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cost-row:last-child { border-bottom: none; }

.cost-label {
  font-size: 14px;
  color: var(--text-muted);
}

.cost-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

.cost-row--total {
  margin-top: 8px;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  padding: 16px 0;
}

.cost-row--sale .cost-label { color: var(--text); }
.cost-row--sale .cost-value { color: var(--text); }

.cost-row--profit {
  background: var(--surface);
  margin: 8px -32px -32px;
  padding: 20px 32px;
  border-radius: 0 0 16px 16px;
}

.cost-row--profit .cost-label {
  font-weight: 600;
  color: var(--text);
}

.cost-row--profit .cost-value {
  font-size: 22px;
  color: var(--amber);
}

/* ─── Closing ─── */
.closing {
  padding: 100px 48px;
  text-align: center;
}

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

.closing h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 24px;
}

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

/* ─── Footer ─── */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

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

/* ─── Nav links (pricing page nav additions) ─── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link--active {
  color: var(--text);
}

.nav-cta-sm {
  display: inline-block;
  background: var(--amber);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background 0.2s;
}

.nav-cta-sm:hover { background: #fbbf24; }

/* ─── Pricing hero ─── */
.pricing-hero {
  padding: 72px 48px 56px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.pricing-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.pricing-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 16px 0 20px;
}

.pricing-hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Notify banner ─── */
.notify-banner {
  background: #1c2e1c;
  border-bottom: 1px solid #2a4a2a;
  color: #5dbd6a;
  text-align: center;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
}

/* ─── Pricing tiers ─── */
.pricing-tiers {
  padding: 64px 48px;
  border-bottom: 1px solid var(--border);
}

.pricing-tiers-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
}

.tier-card--featured {
  border-color: var(--amber-dim);
  background: #1e1c22;
}

.tier-card--soon {
  opacity: 0.85;
}

.tier-badge {
  display: inline-block;
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--amber);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 12px;
}

.tier-badge--soon {
  background: var(--surface);
  color: var(--text-muted);
}

.tier-icon {
  margin-bottom: 20px;
  margin-top: 8px;
}

.tier-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.tier-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.tier-price-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.03em;
  color: var(--text);
}

.tier-price-note {
  font-size: 13px;
  color: var(--text-muted);
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.tier-features li {
  font-size: 14px;
  color: var(--text-muted);
}

.tier-cta {
  display: block;
  background: var(--amber);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  letter-spacing: -0.01em;
  transition: background 0.2s;
}

.tier-cta:hover { background: #fbbf24; }

/* Coming soon tier elements */
.tier-price-soon {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-dim);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.tier-soon-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.notify-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.notify-input {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.notify-input::placeholder { color: var(--text-dim); }
.notify-input:focus { border-color: var(--text-dim); }

.notify-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}

.notify-btn:hover {
  border-color: var(--text-dim);
  color: var(--text);
}

/* ─── Trust row ─── */
.trust-row {
  padding: 36px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.trust-row-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 0 28px;
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ─── FAQ ─── */
.faq {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
}

.faq-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
}

.faq-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-tagline { display: none; }

  .hero { padding: 48px 24px 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-content h1 { font-size: 36px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .stat-divider { display: none; }
  .stat { padding: 0; }

  .products { padding: 48px 24px; }
  .products-grid { grid-template-columns: 1fr; }

  .howitworks { padding: 48px 24px; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; }
  .step-number { font-size: 28px; }

  .economics { padding: 48px 24px; }
  .economics-inner { grid-template-columns: 1fr; gap: 40px; }

  .closing { padding: 64px 24px; }

  .footer { padding: 32px 24px; }

  /* Pricing page mobile */
  .nav-links { gap: 12px; }
  .pricing-hero { padding: 48px 24px 40px; }
  .pricing-tiers { padding: 48px 24px; }
  .pricing-tiers-inner { grid-template-columns: 1fr; }
  .trust-row { padding: 24px; }
  .trust-row-inner { flex-direction: column; gap: 16px; }
  .trust-divider { display: none; }
  .trust-item { padding: 0; }
  .faq { padding: 48px 24px; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
}