/* Absolutely Flocked — marketing site
   Tokens match app/lib/shared/theme/flock_colors.dart exactly — keep in sync. */

:root {
  --cream: #FFFBF0;
  --paper: #FFF4D6;
  --white: #fff;
  --ink: #1A1A2E;
  --inkSoft: #46465E;
  --inkMute: #9A96A8;
  --yellow: #FFD60A;
  --yellowDp: #D9A400;
  --orange: #FF6B35;
  --orangeDp: #D6481A;
  --char: #26263A;
  --green: #22C58B;
  --violet: #6C5CE7;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  overflow-x: hidden;
}

a { color: var(--orangeDp); }
a:hover { color: var(--orange); }

.mono {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* ---------- Buttons & stickers (shared "sticker" component style) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 13px 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 var(--yellowDp), 0 4px 0 .5px var(--ink); }
.btn-dark { background: var(--ink); color: var(--cream); box-shadow: 0 4px 0 #000010; }
.btn-ghost { background: var(--white); color: var(--ink); box-shadow: 0 3px 0 #C9C5BC; }

.sticker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 4px 10px;
  box-shadow: 0 2px 0 var(--ink);
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ---------- Nav ---------- */

.hero { position: relative; padding: 28px 0 0; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 60% at 50% -10%, rgba(255,214,10,.28), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

nav { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.brand {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand .dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  transform: rotate(-8deg);
}
.navlinks { display: flex; gap: 28px; align-items: center; }
.navlinks a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; }
.navlinks a:hover { color: var(--orangeDp); }

/* ---------- Hero ---------- */

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0 40px;
  position: relative;
  z-index: 2;
}
h1 {
  font-size: 64px;
  font-weight: 900;
  line-height: .94;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 18px 0 0;
}
h1 .hl { position: relative; display: inline-block; }
h1 .hl span { position: relative; z-index: 1; padding: 0 8px; }
h1 .hl::before {
  content: "";
  position: absolute;
  inset: 4px -2px;
  background: var(--yellow);
  transform: rotate(-1.5deg);
  border-radius: 6px;
  z-index: 0;
}
.sub {
  font-size: 19px;
  font-weight: 600;
  color: var(--inkSoft);
  margin-top: 20px;
  max-width: 460px;
  line-height: 1.4;
}
.cta-row { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.store-row { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--cream);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 10px 18px;
  text-decoration: none;
  box-shadow: 0 4px 0 #000010;
}
.store-btn i { font-size: 26px; }
.store-btn .lbl { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn .lbl small { font-size: 9px; color: rgba(255,251,240,.65); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.store-btn .lbl b { font-size: 16px; font-weight: 800; }
.finetext { margin-top: 14px; font-family: "Space Mono", monospace; font-size: 11px; color: var(--inkMute); }

/* Phone mockup — placeholder schematic; swap for a real device screenshot (see README) */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  width: 280px;
  height: 576px;
  border-radius: 34px;
  background: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 0 8px 0 var(--yellowDp), 0 8px 0 3px var(--ink);
  position: relative;
  overflow: hidden;
  transform: rotate(3deg);
}
.phone .screen { position: absolute; inset: 5px; border-radius: 29px; background: var(--cream); overflow: hidden; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.confetti { position: absolute; border-radius: 4px; border: 2px solid var(--ink); }
.floaty {
  position: absolute;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--ink);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 11px;
}

/* ---------- Section shell ---------- */

section { padding: 70px 0; position: relative; }
.eyebrow { font-family: "Space Mono", monospace; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--orangeDp); }
.sec-title { font-size: 40px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; margin: 8px 0 0; line-height: 1.02; }
.sec-sub { font-size: 16px; color: var(--inkSoft); margin-top: 12px; max-width: 560px; line-height: 1.5; font-weight: 600; }

/* ---------- Features ---------- */

.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 44px; }
.fcard { background: var(--white); border: 2.5px solid var(--ink); border-radius: 20px; box-shadow: 0 5px 0 var(--ink); padding: 24px 22px; }
.ficon { width: 52px; height: 52px; border-radius: 14px; background: var(--yellow); border: 2.5px solid var(--ink); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.ficon.orange { background: var(--orange); color: #fff; }
.ficon.green { background: var(--green); color: #fff; }
.fcard h3 { font-size: 19px; font-weight: 900; text-transform: uppercase; margin: 16px 0 6px; }
.fcard p { font-size: 14.5px; color: var(--inkSoft); line-height: 1.5; margin: 0; font-weight: 600; }

/* ---------- Showcase (screenshot strip) ---------- */

.showcase { background: var(--paper); border-top: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); }
.strip { display: flex; gap: 22px; overflow-x: auto; margin-top: 40px; padding-bottom: 10px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.shot {
  flex: 0 0 auto;
  width: 220px;
  height: 452px;
  border-radius: 26px;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: 0 6px 0 var(--ink);
  overflow: hidden;
  position: relative;
}
.shot .tag { position: absolute; top: 10px; left: 10px; z-index: 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Rarity explainer ---------- */

.rarity-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 44px; }
.rcard { border: 2.5px solid var(--ink); border-radius: 16px; padding: 18px 16px; text-align: center; box-shadow: 0 3px 0 var(--ink); }
.social-proof { display: flex; gap: 36px; margin-top: 40px; flex-wrap: wrap; }
.stat b { font-size: 40px; font-weight: 900; display: block; line-height: 1; }
.stat span { font-family: "Space Mono", monospace; font-size: 11px; color: var(--inkMute); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Flock Pass pricing ---------- */

.tier-row { display: flex; gap: 16px; margin-top: 44px; flex-wrap: wrap; }
.tier { flex: 1; min-width: 220px; background: var(--white); border: 2.5px solid var(--ink); border-radius: 18px; box-shadow: 0 4px 0 var(--ink); padding: 20px; }
.tier .medal { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; border: 2.5px solid var(--ink); }
.tier h3 { font-size: 20px; font-weight: 900; text-transform: uppercase; margin: 14px 0 4px; }
.tier .tier-desc { font-size: 14px; color: var(--inkSoft); font-weight: 600; margin: 0 0 10px; }

/* ---------- Testimonials ---------- */

.quote-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 44px; }
.qcard { background: var(--white); border: 2.5px solid var(--ink); border-radius: 18px; box-shadow: 0 4px 0 var(--ink); padding: 20px 20px 16px; }
.qcard .stars { color: var(--orange); font-size: 14px; letter-spacing: 2px; }
.qcard p { font-size: 14.5px; font-weight: 700; margin: 10px 0 14px; line-height: 1.45; }
.qcard .who { display: flex; align-items: center; gap: 8px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); flex-shrink: 0; }
.qcard .who span { font-family: "Space Mono", monospace; font-size: 11px; color: var(--inkMute); }

/* ---------- Final CTA ---------- */

.final-cta {
  background: var(--ink);
  border-radius: 28px;
  border: 2.5px solid var(--ink);
  box-shadow: 0 6px 0 var(--yellowDp);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta h2 { color: var(--cream); font-size: 44px; font-weight: 900; text-transform: uppercase; line-height: 1; margin: 0; }
.final-cta p { color: rgba(255,251,240,.7); font-size: 16px; font-weight: 600; margin: 14px 0 28px; }
.final-cta .store-row { justify-content: center; }
.final-cta .store-btn { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 var(--yellowDp), 0 4px 0 .5px var(--ink); }
.final-cta .store-btn .lbl small { color: rgba(26,26,46,.6); }

/* ---------- Footer ---------- */

footer { padding: 34px 0 44px; border-top: 2.5px solid var(--ink); }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { color: var(--inkSoft); text-decoration: none; font-size: 13px; font-weight: 700; }
.foot-links a:hover { color: var(--orangeDp); }
.foot-mono { font-family: "Space Mono", monospace; font-size: 11px; color: var(--inkMute); }

/* ---------- Legal / support pages (Privacy, Terms, Support) ---------- */

.legal-hero { padding: 20px 0 0; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--inkSoft);
  text-decoration: none;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.legal-back:hover { color: var(--orangeDp); }
.legal-title { font-size: 44px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; margin: 14px 0 6px; line-height: 1.02; }
.legal-updated { font-family: "Space Mono", monospace; font-size: 11px; color: var(--inkMute); margin-bottom: 8px; }

.legal-placeholder {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 4px 0 var(--ink);
  padding: 16px 18px;
  margin: 24px 0 8px;
}
.legal-placeholder i { font-size: 20px; margin-top: 1px; flex-shrink: 0; }
.legal-placeholder p { margin: 0; font-size: 13.5px; font-weight: 700; line-height: 1.45; }

.legal-body { max-width: 720px; padding: 8px 0 60px; }
.legal-body h2 { font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.005em; margin: 40px 0 12px; }
.legal-body h2:first-child { margin-top: 28px; }
.legal-body p { font-size: 15px; color: var(--inkSoft); line-height: 1.65; font-weight: 600; margin: 0 0 16px; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { font-size: 15px; color: var(--inkSoft); line-height: 1.65; font-weight: 600; margin-bottom: 8px; }
.legal-body a { font-weight: 700; }

.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 28px 0 44px; }
.support-card { background: var(--white); border: 2.5px solid var(--ink); border-radius: 20px; box-shadow: 0 5px 0 var(--ink); padding: 22px; }
.support-card .ficon { margin-bottom: 14px; }
.support-card h3 { font-size: 17px; font-weight: 900; text-transform: uppercase; margin: 0 0 6px; }
.support-card p { font-size: 13.5px; color: var(--inkSoft); font-weight: 600; line-height: 1.5; margin: 0 0 12px; }
.support-card a.btn { padding: 9px 16px; font-size: 12px; }

/* ---------- Responsive ---------- */

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 20px; }
  .phone-stage { order: -1; margin-bottom: 10px; }
  h1 { font-size: 44px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .rarity-strip { grid-template-columns: 1fr 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .navlinks { display: none; }
  .final-cta { padding: 40px 24px; }
  .final-cta h2 { font-size: 32px; }
  .support-grid { grid-template-columns: 1fr; }
  .legal-title { font-size: 32px; }
}
