/* ============================================================
   DUMB MONEY — Exclusive Streetwear Theme
   Black · Shiny Gold · SF Pro
   ============================================================ */

:root {
  --black: #060807;
  --black-2: #0b0f0d;
  --black-3: #101512;
  --line: rgba(255,255,255,0.08);
  --gold-light: #fff3d2;
  --gold: #e8c26a;
  --gold-dim: #a3873f;
  --text: #f2f4f1;
  --muted: #97a39a;
  --font-sf: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-sf-mono: ui-monospace, 'SF Mono', SFMono-Regular, 'JetBrains Mono', Menlo, Consolas, monospace;
  --mono: var(--font-sf-mono);
  --display: var(--font-sf);
  --body: var(--font-sf);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Film-grain overlay for texture */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Animated background network — sits behind all content, all sections */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.page-content { position: relative; z-index: 1; }

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

::selection { background: var(--gold); color: var(--black); }

/* Shiny gold accent text — animated shimmer sweep */
.accent {
  background: linear-gradient(100deg, var(--gold-dim) 0%, var(--gold) 25%, var(--gold-light) 50%, var(--gold) 75%, var(--gold-dim) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--gold);
  -webkit-text-fill-color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine {
  0% { background-position: 0% 50%; }
  100% { background-position: -250% 50%; }
}

/* ── Ticker ─────────────────────────────────────────── */
.ticker {
  background: linear-gradient(100deg, var(--gold-dim), var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, var(--gold-dim));
  background-size: 250% auto;
  animation: shine 7s linear infinite;
  color: var(--black);
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 6px 0;
}
.ticker-track {
  display: inline-flex;
  animation: ticker 45s linear infinite;
}
.ticker-group {
  display: inline-flex;
  flex-shrink: 0;
  gap: 10px;
  margin-right: 10px;
}
.ticker-track span { padding: 0 6px; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Nav ────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,8,7,0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
}
.logo span { color: var(--gold); }
.logo-img { height: 26px; width: auto; display: block; }
.footer-logo-img { height: 34px; margin: 0 auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}
.nav-links a { color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  position: relative;
  overflow: hidden;
  color: var(--black) !important;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold) 45%, var(--gold-light) 55%, var(--gold) 100%);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-cta::after, .waitlist-form button::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.nav-cta:hover::after, .waitlist-form button:hover::after { left: 130%; }
.nav-cta:hover { background: linear-gradient(135deg, var(--gold), var(--gold-light) 50%, var(--gold)); }
.nav-login {
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}
.nav-login:hover { background: rgba(232,194,106,0.1); border-color: var(--gold); }
.login-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.login-form input {
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--black);
  color: var(--text);
  font-size: 14px;
  font-family: var(--body);
}
.login-form input:focus { outline: none; border-color: var(--gold); }
.login-submit { width: 100%; margin-top: 4px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); }

/* ── Section basics ─────────────────────────────────── */
section { padding: 110px 24px; position: relative; }
.section-head { max-width: 700px; margin: 0 auto 60px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: 0.01em; text-transform: uppercase; line-height: 1.05; }
.section-head h2 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ── Hero ───────────────────────────────────────────── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 60px;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px circle at 50% 15%, rgba(232,194,106,0.16), transparent 60%),
    radial-gradient(500px circle at 85% 60%, rgba(255,243,210,0.10), transparent 60%);
  pointer-events: none;
}
.hero-inner { max-width: 820px; position: relative; z-index: 1; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.pill .dot { color: var(--gold); }
.hero h1 { font-size: clamp(38px, 7.5vw, 84px); margin-bottom: 24px; }
.hero-sub { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto 40px; }

.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.waitlist-form input {
  flex: 1;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--black-2);
  color: var(--text);
  font-size: 15px;
  font-family: var(--body);
}
.waitlist-form input:focus { outline: none; border-color: var(--gold); }
.waitlist-form button {
  position: relative;
  overflow: hidden;
  padding: 16px 26px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold) 45%, var(--gold-light) 55%, var(--gold) 100%);
  color: var(--black);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
  white-space: nowrap;
}
.waitlist-form button:hover { background: linear-gradient(135deg, var(--gold), var(--gold-light) 50%, var(--gold)); transform: translateY(-1px); }
.waitlist-form button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.cta-btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 16px 32px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold) 45%, var(--gold-light) 55%, var(--gold) 100%);
  color: var(--black);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
}
.cta-btn::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.cta-btn:hover::after { left: 130%; }
.cta-btn:hover { background: linear-gradient(135deg, var(--gold), var(--gold-light) 50%, var(--gold)); transform: translateY(-1px); }

.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-note.success { color: var(--gold); font-weight: 600; }
.form-note.error { color: #ff5c5c; font-weight: 600; }

.hero-tags {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-tags span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 8px 14px;
  border-radius: 999px;
}

/* ── Feature strip ──────────────────────────────────── */
.features {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-top: 0;
  padding-bottom: 60px;
}
.feature-card {
  background: linear-gradient(180deg, var(--black-2), var(--black-3));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--gold-dim); transform: translateY(-4px); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(232,194,106,0.08);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-icon.icon-gold {
  background: linear-gradient(135deg, rgba(232,194,106,0.14), rgba(255,243,210,0.2));
  border-color: var(--gold);
  color: var(--gold-light);
  animation: goldPulse 3s ease-in-out infinite;
}
@keyframes goldPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(232,194,106,0.25); }
  50% { box-shadow: 0 0 18px rgba(232,194,106,0.55); }
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* ── Story ──────────────────────────────────────────── */
.story { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(11,15,13,0.82); backdrop-filter: blur(8px); }
.story-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.story h2 { font-size: clamp(32px, 5vw, 54px); margin: 10px 0 26px; }
.story .lead { font-size: 19px; color: var(--text); margin-bottom: 18px; }
.story p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.story .callout { color: var(--gold); font-weight: 600; font-size: 17px; font-style: italic; }

/* ── Products ───────────────────────────────────────── */
.product-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: "";
  position: absolute;
  top: -40%; right: -40%;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(232,194,106,0.22), transparent 70%);
}
.product-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--gold); }
.product-card p { color: var(--muted); font-size: 14px; }
.locked-card {
  background: linear-gradient(135deg, rgba(255,243,210,0.10), rgba(232,194,106,0.06));
  border: 1px dashed var(--gold-dim);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.locked-card p { color: var(--gold); font-weight: 600; }
.locked-card .feature-icon { margin-left: auto; margin-right: auto; }

/* ── How it works ───────────────────────────────────── */
.steps {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.step { border-left: 2px solid var(--gold-dim); padding-left: 22px; }
.step-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.step h3 { font-size: 19px; margin: 12px 0 10px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ── Exclusive / stats ──────────────────────────────── */
.exclusive {
  background: radial-gradient(900px circle at 50% 0%, rgba(232,194,106,0.10), transparent 60%), rgba(11,15,13,0.82);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.exclusive-inner { max-width: 760px; margin: 0 auto; }
.exclusive h2 { font-size: clamp(32px, 5vw, 54px); margin: 10px 0 22px; }
.exclusive .lead { font-size: 19px; margin-bottom: 14px; }
.exclusive p { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.exclusive strong { color: var(--text); }
.exclusive .callout { color: var(--gold); font-style: italic; font-weight: 600; margin-bottom: 40px; }
.exclusive .callout strong { color: var(--gold); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 16px;
  background: var(--black);
}
.stat-num {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 8px;
}
.stat-label { font-size: 12.5px; color: var(--muted); line-height: 1.4; display: block; }

/* ── Testimonials ───────────────────────────────────── */
.testimonial-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  text-align: center;
}
.testimonial-stats span { display: block; font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--gold); }
.testimonial-stats small { color: var(--muted); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }

.testimonial-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial {
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 16px; }
.testimonial p { color: var(--text); font-size: 15px; margin-bottom: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold) 50%, var(--gold-light));
  color: var(--black);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.testimonial-author strong { display: block; font-size: 14px; }
.testimonial-author small { color: var(--muted); font-size: 12px; }

/* ── Final CTA ──────────────────────────────────────── */
.final-cta { text-align: center; overflow: hidden; }
.final-cta-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.final-cta h2 { font-size: clamp(30px, 5vw, 50px); margin: 10px 0 20px; }
.final-cta p { color: var(--muted); font-size: 17px; margin-bottom: 40px; }

/* ── Footer ─────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 60px 24px 40px; text-align: center; }
.footer-inner { max-width: 600px; margin: 0 auto; }
.footer .logo { display: inline-block; margin-bottom: 14px; }
.footer p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; font-size: 13px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--gold); }
.copyright { font-size: 12px; color: #5c655f; }

/* ── Popup ──────────────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2,3,3,0.8);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.popup-overlay.is-open { opacity: 1; pointer-events: auto; }
.popup-card {
  position: relative;
  max-width: 420px;
  width: 100%;
  background: linear-gradient(180deg, var(--black-2), var(--black-3));
  border: 1px solid var(--gold-dim);
  border-radius: 18px;
  padding: 40px 32px 32px;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(232,194,106,0.08), 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(232,194,106,0.12);
  transform: scale(0.94) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.popup-overlay.is-open .popup-card { transform: scale(1) translateY(0); }
.popup-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.popup-close:hover { border-color: var(--gold-dim); color: var(--gold); }
.popup-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.popup-card h3 {
  font-size: clamp(24px, 4vw, 30px);
  margin-bottom: 16px;
}
.popup-body { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.popup-cta {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold) 45%, var(--gold-light) 55%, var(--gold) 100%);
  color: var(--black);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: 12px;
  transition: transform 0.15s;
}
.popup-cta::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.popup-cta:hover::after { left: 130%; }
.popup-cta:hover { transform: translateY(-1px); }
.popup-dismiss {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12.5px;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s;
}
.popup-dismiss:hover { color: var(--text); }

/* ── Reveal-on-scroll ───────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .nav-links { position: fixed; top: 65px; left: 0; right: 0; background: var(--black); flex-direction: column; padding: 24px; border-bottom: 1px solid var(--line); transform: translateY(-140%); transition: transform 0.25s; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
}
@media (max-width: 560px) {
  .waitlist-form { flex-direction: column; }
  section { padding: 80px 20px; }
  .testimonial-stats { gap: 34px; }
}
