/* ============================================================
   CROWDIER — style.css
   Brand: Cabin font, #F17925 orange, #2E1A08 dark brown
   ============================================================ */

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

:root {
  --primary: #F17925;
  --primary-dark: #C45E18;
  --primary-light: #F49454;
  --secondary: #E07B54;
  --gradient: linear-gradient(135deg, #C45E18, #F17925);
  --bg: #FFFFFF;
  --bg2: #F8F8F8;
  --surface: #F0EEEC;
  --surface2: #E6E4E2;
  --text: #2E1A08;
  --text2: #5A6A7E;
  --text3: #8A96A4;
  --border: #FFD4A8;
  --border2: rgba(241,121,37,0.12);
  --shadow: rgba(241,121,37,0.14);
  --nav-bg: rgba(255,255,255,0.85);
  --card-bg: #FFFFFF;
  --invert-text: #FFFFFF;
}

[data-theme="dark"] {
  --bg: #0f0800;
  --bg2: #1A0D00;
  --surface: #2A1500;
  --surface2: #3A2010;
  --text: #F5F0EB;
  --text2: rgba(245,240,235,0.65);
  --text3: rgba(245,240,235,0.4);
  --border: rgba(241,121,37,0.25);
  --border2: rgba(241,121,37,0.1);
  --shadow: rgba(241,121,37,0.2);
  --nav-bg: rgba(15,8,0,0.85);
  --card-bg: #1A0D00;
  --invert-text: #F5F0EB;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Cabin', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
  overflow-x: hidden;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

nav.scrolled { box-shadow: 0 4px 24px var(--shadow); }

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.nav-logo-img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }

.nav-controls { display: flex; align-items: center; gap: 10px; }

.lang-toggle, .theme-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Cabin', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
}

.lang-toggle:hover, .theme-toggle:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.theme-toggle { width: 38px; justify-content: center; padding: 7px; }
.theme-icon { display: none; }
[data-theme="light"] .sun { display: block; }
[data-theme="dark"] .moon { display: block; }

.btn-nav {
  font-family: 'Cabin', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 100px;
  transition: background 0.2s, transform 0.1s;
}

.btn-nav:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.3;
}

.orb1 { width: 500px; height: 500px; background: radial-gradient(circle, #F17925, transparent 70%); top: -100px; right: -100px; }
.orb2 { width: 400px; height: 400px; background: radial-gradient(circle, #C45E18, transparent 70%); bottom: -50px; left: -80px; }

.hero-inner {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(241,121,37,0.1);
  border: 1px solid rgba(241,121,37,0.25);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 16px;
}

.hero-headline .line { display: block; }

.hero-tagline {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.download-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 14px;
  font-family: 'Cabin', sans-serif;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--shadow); }

.store-btn.apple { background: var(--text); color: var(--bg); }
.store-btn.google { background: var(--surface); border: 1px solid var(--border); color: var(--text); }

.store-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-sub { font-size: 10px; font-weight: 500; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.5px; }
.store-name { font-size: 15px; font-weight: 700; }

/* phone */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.phone-wrap { position: relative; }

.phone-float {
  width: 270px;
  background: #1A0D00;
  border-radius: 40px;
  padding: 16px 14px 24px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

.phone-notch { width: 90px; height: 8px; background: rgba(255,255,255,0.08); border-radius: 4px; margin: 0 auto 14px; }

.phone-screen { background: #0f0800; border-radius: 26px; padding: 16px; overflow: hidden; }

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.app-filter-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }

.swipe-card {
  height: 200px;
  background: linear-gradient(135deg, #3A2010, #2A1500);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}

.card-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 40%, transparent); }
.card-info { position: absolute; bottom: 14px; left: 14px; right: 14px; }
.card-name { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.card-meta { color: rgba(255,255,255,0.7); font-size: 12px; display: flex; gap: 8px; margin-bottom: 8px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.card-tags span { font-size: 11px; font-weight: 600; color: var(--primary); background: rgba(241,121,37,0.15); border: 1px solid rgba(241,121,37,0.3); padding: 2px 8px; border-radius: 100px; }

.swipe-actions { display: flex; justify-content: center; gap: 20px; }

.swipe-btn { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.swipe-btn.pass { background: rgba(204,51,51,0.12); border: 1px solid rgba(204,51,51,0.25); color: #cc3333; }
.swipe-btn.like { background: rgba(241,121,37,0.12); border: 1px solid rgba(241,121,37,0.3); color: var(--primary); animation: pulse 2s ease-in-out infinite; }

@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.12)} }

.phone-glow { position: absolute; inset: -30px; background: radial-gradient(ellipse at center, rgba(241,121,37,0.18) 0%, transparent 70%); filter: blur(20px); z-index: 1; border-radius: 50%; }

.scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); }
.scroll-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); animation: bounce 1.5s ease-in-out infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0);opacity:1} 50%{transform:translateY(8px);opacity:0.4} }

/* ── BANNER ───────────────────────────────────────────────── */
.banner-strip { background: var(--primary); padding: 14px 0; overflow: hidden; white-space: nowrap; }

.marquee-track { display: inline-block; animation: marquee 25s linear infinite; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: #fff; }

@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── SECTIONS ─────────────────────────────────────────────── */
.section-inner { max-width: 1160px; margin: 0 auto; padding: 100px 24px; }

.section-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }

.section-header { margin-bottom: 56px; }

h2 { font-size: clamp(32px, 4.5vw, 56px); font-weight: 700; letter-spacing: -1.5px; line-height: 1.05; }

.section-sub { font-size: 17px; color: var(--text2); margin-top: 10px; max-width: 520px; }

/* ── IDENTITY ─────────────────────────────────────────────── */
.identity { border-top: 1px solid var(--border2); }
.identity-header { margin-bottom: 48px; }

.identity-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: start; }

.identity-col ul { list-style: none; }

.identity-label { font-size: 13px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 20px; padding: 7px 14px; border-radius: 100px; display: inline-block; }

.yes-label { background: rgba(46,139,87,0.1); color: #2E8B57; border: 1px solid rgba(46,139,87,0.2); }
.no-label { background: rgba(204,51,51,0.08); color: #cc3333; border: 1px solid rgba(204,51,51,0.15); }

.identity-col ul li { padding: 13px 0; border-bottom: 1px solid var(--border2); font-size: 15px; font-weight: 500; color: var(--text); display: flex; align-items: center; gap: 10px; }

.identity-col.yes li::before { content: '✓'; color: #2E8B57; font-weight: 700; flex-shrink: 0; }
.identity-col.no li::before { content: '✕'; color: #cc3333; font-weight: 700; flex-shrink: 0; }

.identity-divider { display: flex; align-items: center; justify-content: center; padding-top: 56px; }

.identity-logo { width: 72px; height: 72px; border-radius: 20px; object-fit: cover; box-shadow: 0 8px 32px var(--shadow); }

/* ── HOW ──────────────────────────────────────────────────── */
.how { border-top: 1px solid var(--border2); background: var(--bg2); }

.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 20px; align-items: start; }

.step { background: var(--card-bg); border: 1px solid var(--border); border-radius: 20px; padding: 32px 28px; transition: transform 0.3s, box-shadow 0.3s; }
.step:hover { transform: translateY(-4px); box-shadow: 0 16px 48px var(--shadow); }

.step-num { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--text3); margin-bottom: 12px; text-transform: uppercase; }
.step-icon { font-size: 32px; margin-bottom: 14px; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text2); line-height: 1.65; }

.step-arrow { font-size: 22px; color: var(--primary); align-self: center; padding-top: 20px; opacity: 0.5; text-align: center; }

/* ── SLOGAN ───────────────────────────────────────────────── */
.slogan-section { background: var(--gradient); padding: 80px 24px; text-align: center; position: relative; overflow: hidden; }
.slogan-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 70%); }
.slogan-inner { position: relative; z-index: 1; }

.slogan-line { display: block; font-size: clamp(36px, 6vw, 80px); font-weight: 700; letter-spacing: -2px; line-height: 1.05; color: #fff; }

/* ── FEATURES ─────────────────────────────────────────────── */
.features { border-top: 1px solid var(--border2); }

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

.feature-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 20px; padding: 28px 24px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px var(--shadow); border-color: var(--primary); }

.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--border2); background: var(--bg2); }
.faq-list { max-width: 720px; }

.faq-item { border-bottom: 1px solid var(--border2); }

.faq-item summary { padding: 20px 0; font-size: 16px; font-weight: 600; cursor: pointer; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color 0.2s; user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--primary); flex-shrink: 0; transition: transform 0.3s; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--primary); }
.faq-item p { font-size: 15px; color: var(--text2); line-height: 1.75; padding-bottom: 20px; }

/* ── WAITLIST ─────────────────────────────────────────────── */
.waitlist { border-top: 1px solid var(--border2); position: relative; overflow: hidden; }

.waitlist-bg-orb { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(241,121,37,0.1), transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); filter: blur(60px); pointer-events: none; }

.waitlist-inner { text-align: center; }
.waitlist-content { position: relative; z-index: 1; }

.waitlist-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 480px; margin: 28px auto 12px; }

.waitlist-form input { flex: 1; min-width: 220px; padding: 14px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; color: var(--text); font-size: 15px; font-family: 'Cabin', sans-serif; outline: none; transition: border-color 0.2s; }
.waitlist-form input::placeholder { color: var(--text3); }
.waitlist-form input:focus { border-color: var(--primary); }

.btn-primary { display: inline-flex; align-items: center; background: var(--primary); color: #fff; font-family: 'Cabin', sans-serif; font-size: 15px; font-weight: 700; padding: 14px 28px; border-radius: 100px; text-decoration: none; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.waitlist-msg { font-size: 14px; min-height: 22px; margin-top: 10px; }

/* ── FOOTER ───────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border2); padding: 40px 24px; }
.footer-inner { max-width: 1160px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.footer-logo-img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }
.logo { font-size: 18px; font-weight: 700; color: var(--text); }
.footer-tagline { font-size: 14px; color: var(--primary); font-weight: 600; }
.footer-copy { font-size: 13px; color: var(--text3); }

/* ── REVEAL ANIMATIONS ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-sub { margin: 0 auto 36px; }
  .download-btns { justify-content: center; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { transform: rotate(90deg); }
  .identity-grid { grid-template-columns: 1fr; }
  .identity-divider { display: none; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .btn-nav { display: none; }
  .phone-float { width: 230px; }
  .hero-headline { letter-spacing: -2px; }
}
