/* ===========================================================
   Striche – Marketing Website
   Palette & components mirror the native app (Theme.swift):
   bg0 #0B0D17, bg1 #141831, bg2 #1E2347
   gold #F0B429, amber #E8A317, foam #FFF4D6
   accent #FF5C7A, mint #2EE6A6
   =========================================================== */

:root {
  --bg0: #0B0D17;
  --bg1: #141831;
  --bg2: #1E2347;
  --gold: #F0B429;
  --amber: #E8A317;
  --gold-deep: #C97B00;
  --foam: #FFF4D6;
  --accent: #FF5C7A;
  --mint: #2EE6A6;
  --mint-deep: #17B985;

  --text: #FFFFFF;
  --text-dim: rgba(255, 255, 255, 0.62);
  --text-faint: rgba(255, 255, 255, 0.40);

  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);

  --gold-grad: linear-gradient(135deg, var(--gold), var(--amber) 55%, var(--gold-deep));
  --mint-grad: linear-gradient(135deg, var(--mint), var(--mint-deep));

  --radius: 24px;
  --radius-lg: 28px;
  --maxw: 1180px;

  --font: "Nunito", ui-rounded, -apple-system, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, var(--bg0), var(--bg1) 50%, var(--bg2));
  background-attachment: fixed;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.1; font-weight: 900; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }

.grad-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Animated background blobs ===== */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.blob-gold { width: 460px; height: 460px; background: rgba(240,180,41,0.30); top: -120px; left: 8%;
  animation: float1 16s ease-in-out infinite; }
.blob-pink { width: 420px; height: 420px; background: rgba(255,92,122,0.24); top: 40%; right: 2%;
  animation: float2 19s ease-in-out infinite; }
.blob-mint { width: 380px; height: 380px; background: rgba(46,230,166,0.16); bottom: -100px; left: 30%;
  animation: float3 22s ease-in-out infinite; }

@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(120px,80px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-100px,60px)} }
@keyframes float3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(80px,-90px)} }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  max-width: var(--maxw); margin: 0 auto;
  padding: 16px 24px;
  transition: padding 0.3s ease;
}
.nav.scrolled {
  padding: 10px 24px;
  background: rgba(11,13,23,0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
  max-width: 100%;
}
.nav.scrolled > * { max-width: var(--maxw); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; }
.brand-mark { font-size: 26px; filter: drop-shadow(0 2px 8px rgba(240,180,41,0.5)); }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-weight: 700; font-size: 15px; }
.nav-links a { color: var(--text-dim); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 16px;
  font-weight: 800; font-size: 16px; font-family: var(--font);
  cursor: pointer; border: none; transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.96); }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 13px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold-grad); color: var(--bg0); box-shadow: 0 10px 30px rgba(240,180,41,0.35); }
.btn-gold:hover { box-shadow: 0 14px 40px rgba(240,180,41,0.5); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.08); color: var(--text); border: 1px solid var(--glass-border); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }

/* ===== Layout ===== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 90px 24px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(28px, 4.5vw, 44px); }
.section-sub { margin-top: 16px; color: var(--text-dim); font-size: 18px; }

/* ===== Glass card ===== */
.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  padding: 28px;
}

/* ===== Hero ===== */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: 40px 24px 60px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center;
}
.hero-copy h1 { font-size: clamp(36px, 6vw, 64px); margin: 8px 0 20px; }
.lead { font-size: clamp(17px, 2.1vw, 20px); color: var(--text-dim); max-width: 560px; }
.lead strong { color: var(--text); font-weight: 800; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
.hero-trust { display: flex; gap: 22px; margin-top: 28px; flex-wrap: wrap; list-style: none;
  color: var(--text-dim); font-weight: 700; font-size: 15px; }
.hero-trust li { color: var(--mint); }

/* ===== Phone ===== */
.hero-phone { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone {
  position: relative;
  width: 320px; height: 660px;
  background: #05060d;
  border-radius: 46px;
  padding: 14px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 0 0 2px rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  animation: phoneIn 0.9s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes phoneIn { from { opacity:0; transform: translateY(40px) rotate(-3deg); } to { opacity:1; transform:none; } }
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 130px; height: 26px; background: #05060d; border-radius: 0 0 18px 18px; z-index: 5;
}
.phone-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 34px; overflow: hidden;
  background: linear-gradient(180deg, var(--bg0), var(--bg1) 55%, var(--bg2));
  display: flex; flex-direction: column;
}
.demo-hint { color: var(--text-dim); font-size: 14px; font-weight: 700; }

/* App header inside phone */
.app-header { display: flex; align-items: center; gap: 10px; padding: 40px 16px 10px; }
.club-logo { font-size: 30px; }
.club-meta { display: flex; flex-direction: column; line-height: 1.15; }
.club-name { font-weight: 900; font-size: 17px; }
.club-hello { font-size: 12px; color: var(--text-dim); font-weight: 600; }
.balance-chip {
  margin-left: auto; display: flex; flex-direction: column; align-items: center;
  padding: 6px 13px; border-radius: 999px; background: var(--gold-grad); color: var(--bg0);
  transition: transform 0.25s cubic-bezier(0.2,1.5,0.4,1), background 0.3s;
}
.balance-chip.is-credit { background: var(--mint-grad); }
.balance-chip.pulse { transform: scale(1.14); }
.balance-label { font-size: 9px; font-weight: 800; opacity: 0.75; }
.balance-value { font-size: 14px; font-weight: 900; }

/* Category chips */
.chips { display: flex; gap: 8px; padding: 6px 16px 12px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; padding: 7px 13px; border-radius: 999px;
  background: rgba(255,255,255,0.07); color: #fff; border: none;
  font-family: var(--font); font-weight: 800; font-size: 12px; cursor: pointer; white-space: nowrap;
}
.chip-active { background: var(--gold); color: var(--bg0); }

/* Drink grid */
.drink-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 11px;
  padding: 4px 14px 16px; overflow-y: auto; flex: 1; scrollbar-width: none;
}
.drink-grid::-webkit-scrollbar { display: none; }
.drink {
  position: relative; height: 118px; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  cursor: pointer; user-select: none;
  background: linear-gradient(135deg, var(--tint-35), var(--tint-12));
  box-shadow: 0 10px 22px var(--tint-40);
  transition: transform 0.12s ease;
}
.drink:active { transform: scale(0.94); }
.drink .liquid {
  position: absolute; left: 0; right: 0; bottom: 0; height: 0%;
  background: linear-gradient(180deg, var(--tint-85), var(--tint-55));
  transition: height 0.35s cubic-bezier(0.2,1.2,0.4,1); z-index: 0;
}
.drink .emoji { font-size: 44px; z-index: 1; transition: transform 0.18s; }
.drink.jiggle .emoji { transform: scale(1.25) rotate(-8deg); }
.drink .dname { font-weight: 800; font-size: 14px; z-index: 1; }
.drink .dprice { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.85); z-index: 1; }
.drink .count {
  position: absolute; top: 9px; right: 9px; z-index: 2;
  min-width: 24px; height: 24px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--bg0);
  border-radius: 999px; font-weight: 900; font-size: 13px;
  border: 1px solid rgba(255,255,255,0.4);
  transform: scale(0); transition: transform 0.2s cubic-bezier(0.2,1.6,0.4,1);
}
.drink .count.show { transform: scale(1); }
.floater {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  font-weight: 900; font-size: 22px; color: var(--foam);
  text-shadow: 0 0 8px var(--tint-85); pointer-events: none;
  animation: floatUp 0.85s ease-out forwards;
}
@keyframes floatUp {
  0% { opacity: 0; transform: translate(-50%, 10px) scale(0.6); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -60px) scale(1.1); }
}

/* Today pill */
.today-pill {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: 13px;
  background: rgba(255,255,255,0.10); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border); box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  animation: pillIn 0.3s ease both;
}
@keyframes pillIn { from { opacity:0; transform: translate(-50%, 16px);} to {opacity:1; transform: translateX(-50%);} }
.today-count { background: var(--gold); color: var(--bg0); border-radius: 999px; padding: 2px 8px; font-weight: 900; }

/* Confetti */
.confetti {
  position: absolute; top: 40%; left: 50%; width: 8px; height: 12px; z-index: 4;
  pointer-events: none; border-radius: 2px;
  animation: confetti 0.9s ease-out forwards;
}
@keyframes confetti {
  0% { opacity: 1; transform: translate(0,0) rotate(0); }
  100% { opacity: 0; transform: translate(var(--cx), var(--cy)) rotate(var(--cr)); }
}

/* ===== Stats ===== */
.stats {
  max-width: var(--maxw); margin: 0 auto; padding: 10px 24px 30px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.stat { text-align: center; padding: 22px 10px; }
.stat-num { display: block; font-size: clamp(30px, 5vw, 46px); font-weight: 900; background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--text-dim); font-weight: 700; font-size: 14px; }

/* ===== Feature grid ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-grid .card { transition: transform 0.25s ease, border-color 0.25s; }
.feature-grid .card:hover { transform: translateY(-6px); border-color: rgba(240,180,41,0.4); }
.feat-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  font-size: 28px; margin-bottom: 16px; background: rgba(240,180,41,0.14);
  border: 1px solid rgba(240,180,41,0.25);
}
.feature-grid h3 { font-size: 18px; margin-bottom: 8px; }
.feature-grid p { color: var(--text-dim); font-size: 14.5px; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding-top: 40px; }
.step-num {
  position: absolute; top: -22px; left: 28px;
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  font-size: 22px; font-weight: 900; color: var(--bg0); background: var(--gold-grad);
  box-shadow: 0 10px 24px rgba(240,180,41,0.4);
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--text-dim); }

/* ===== SEO block ===== */
.seo-card { max-width: 900px; margin: 0 auto; padding: 40px; }
.seo-card h2 { font-size: clamp(24px, 3.5vw, 34px); margin-bottom: 18px; }
.seo-card p { color: var(--text-dim); margin-bottom: 16px; font-size: 16.5px; }
.seo-card strong { color: var(--text); font-weight: 800; }

/* ===== Pricing ===== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; text-align: center; position: relative; }
.price-pop { border-color: rgba(240,180,41,0.55); box-shadow: 0 24px 60px rgba(240,180,41,0.22); transform: scale(1.04); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold-grad); color: var(--bg0); font-weight: 900; font-size: 12px;
  padding: 5px 14px; border-radius: 999px;
}
.price-name { font-size: 20px; margin-bottom: 12px; }
.price { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.price-amt { font-size: 40px; font-weight: 900; }
.price-per { color: var(--text-dim); font-weight: 700; }
.price-seats { color: var(--gold); font-weight: 800; margin: 8px 0 18px; }
.price-feats { list-style: none; text-align: left; margin: 0 auto 22px; display: grid; gap: 10px; color: var(--text-dim); font-weight: 600; }
.price-feats li { font-size: 14.5px; }
.price-card .btn { margin-top: auto; }
.price-note { text-align: center; color: var(--text-dim); margin-top: 26px; font-weight: 600; }
.price-note a { color: var(--gold); font-weight: 800; }

/* ===== FAQ ===== */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--gold); transition: transform 0.25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; color: var(--text-dim); }

/* ===== CTA ===== */
.cta-section { padding-top: 30px; }
.cta-card { text-align: center; max-width: 760px; margin: 0 auto; padding: 54px 40px;
  background: linear-gradient(135deg, rgba(240,180,41,0.12), rgba(255,92,122,0.10));
  border-color: rgba(240,180,41,0.35); }
.cta-card h2 { font-size: clamp(28px, 4.5vw, 42px); margin-bottom: 14px; }
.cta-card > p { color: var(--text-dim); font-size: 18px; max-width: 520px; margin: 0 auto; }
.cta-fine { margin-top: 22px; color: var(--text-faint); font-weight: 700; font-size: 14px; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--glass-border); margin-top: 40px; padding: 40px 24px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand .brand-mark { font-size: 28px; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; font-weight: 900; font-size: 22px; }
.footer-brand p { font-weight: 600; font-size: 14px; color: var(--text-dim); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; font-weight: 700; color: var(--text-dim); }
.footer-links a:hover { color: var(--text); }
.footer-legal { text-align: center; color: var(--text-faint); margin-top: 30px; font-size: 13px; font-weight: 600; }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 1; }
  .hero-phone { order: 2; }
  .hero-actions, .hero-trust { justify-content: center; }
  .lead { margin-inline: auto; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .steps, .price-grid { grid-template-columns: 1fr; }
  .price-pop { transform: none; }
  .section { padding: 64px 20px; }
}
@media (max-width: 460px) {
  .feature-grid { grid-template-columns: 1fr; }
  .phone { width: 290px; height: 600px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.1ms !important; }
  .reveal { opacity: 1; transform: none; }
}
