/* ─── Reset & Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #FBF8F1;
  --bg-el:        #F4F0E6;
  --bg-sel:       #ECE5D7;
  --border:       #ECE5D7;
  --border-hi:    #DCD3C1;
  --text:         #1A1714;
  --text-muted:   #857C70;
  --card:         #FFFFFF;
  --red:          #E5462C;
  --red-soft:     #FBE3DC;
  --gold:         #D9AC4A;
  --dark-panel:   #1A1714;
  --dark-text:    #F4F0E6;
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    14px;
  --radius-xl:    22px;
  --radius-full:  9999px;
  --max-w:        800px;
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

/* ─── Nav ──────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--text);
}

.nav-logo .dot { color: var(--red); }

.nav-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  border: 1.5px solid var(--red);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ─── Hero ─────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 64px;
  text-align: center;
}

.hero-logo {
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

.hero-logo img.glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-logo img.logo {
  width: 120px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero h2 {
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--red);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ─── Store Badges ─────────────────────────────────────────────────── */
.store-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: var(--dark-text);
  border-radius: var(--radius-lg);
  padding: 10px 20px;
  opacity: 0.4;
  cursor: not-allowed;
  user-select: none;
  min-width: 160px;
}

.store-badge svg { flex-shrink: 0; }

.store-badge-text { text-align: left; }
.store-badge-text .store-label { font-size: 10px; opacity: 0.7; letter-spacing: 0.5px; text-transform: uppercase; }
.store-badge-text .store-name { font-size: 17px; font-weight: 700; line-height: 1.2; }

.badge-app-icon {
  width: 124px;
  height: 124px;
  border-radius: 24px;
  object-fit: cover;
  align-self: center;
}

.coming-soon-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* ─── Screenshots Strip ────────────────────────────────────────────── */
.screenshots {
  padding: 64px 0;
  overflow: hidden;
}

.screenshots-inner {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.phone-frame {
  border-radius: 40px;
  border: 7px solid var(--text);
  box-shadow: 0 24px 60px rgba(26, 23, 20, 0.18);
  overflow: hidden;
  width: 220px;
  height: 440px;
  background: var(--bg-el);
  flex-shrink: 0;
  position: relative;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Placeholder shown when no screenshot is provided */
.phone-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  padding: 24px;
}

.phone-placeholder .placeholder-icon { font-size: 32px; }

.placeholder-icon-big { font-size: 132px; }


.screenshot-caption {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ─── Mechanic Cards ───────────────────────────────────────────────── */
.mechanic {
  padding: 64px 0;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 40px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(26, 23, 20, 0.05);
}

.card-icon { font-size: 28px; margin-bottom: 16px; }
.card-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.card-body { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ─── How It Works ─────────────────────────────────────────────────── */
.how-it-works {
  padding: 64px 0;
  background: var(--bg-el);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.step-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  min-width: 52px;
  letter-spacing: -2px;
}

.step-content {}
.step-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.step-body { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* ─── Shame Panel ──────────────────────────────────────────────────── */
.shame {
  background: var(--dark-panel);
  color: var(--dark-text);
  padding: 80px 0;
  text-align: center;
}

.bozo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--red);
  margin: 0 auto 40px;
}

.bozo-badge-inner {
  font-size: 32px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -1px;
}

.shame-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--dark-text);
}

.shame-body {
  font-size: 17px;
  color: #857C70;
  max-width: 440px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.shame .store-badge {
  background: var(--dark-text);
  color: var(--dark-panel);
}

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

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
}

.footer-logo .dot { color: var(--red); }

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links a:hover { color: var(--text); }

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

/* ─── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-badge { display: none; }

  .hero { padding: 56px 0 48px; }
  .hero-logo img.logo { width: 96px; }

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

  .screenshots-inner {
    flex-direction: column;
    align-items: center;
  }

  .step-number { font-size: 36px; min-width: 40px; }

  .shame { padding: 56px 0; }
}
