/* CrowdNoise WC2026 — Landing Page Styles */

/* --- Variables --- */
:root {
  --bg: #0a0a0d;
  --bg-alt: #111117;
  --surface: #16161e;
  --accent: #FF8C00;
  --accent-dim: #cc6f00;
  --accent-glow: rgba(255, 140, 0, 0.15);
  --text: #f0ede6;
  --text-muted: #8a8680;
  --border: rgba(255, 255, 255, 0.07);
  --font-head: 'Syne', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
  --max-w: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #fff; }

/* --- Layout Helpers --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 5vw; }
.section-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.5rem;
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 0 5vw 6rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,13,0.97) 0%, rgba(10,10,13,0.6) 45%, rgba(10,10,13,0.2) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.hero__eyebrow { margin-bottom: 1.25rem; }
.hero__pill {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 4px;
}
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}
.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent-dim); color: #000; transform: translateY(-1px); }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item {
  background: var(--bg);
  padding: 2rem 5vw;
  text-align: center;
}
.stat-item__value {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}
.stat-item__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-head);
  margin-top: 0.25rem;
}

/* --- How It Works --- */
.how-section { padding: 6rem 5vw; background: var(--bg-alt); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.2s;
}
.step-card:hover { border-color: var(--accent); }
.step-num {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.step-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* --- Languages --- */
.langs-section { padding: 6rem 5vw; }
.langs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.lang-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s;
}
.lang-chip.active { border-color: var(--accent); background: var(--accent-glow); }
.lang-chip__flag { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.lang-chip__name { font-family: var(--font-head); font-size: 0.875rem; font-weight: 700; color: var(--text); }
.lang-chip__status {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}
.lang-chip.active .lang-chip__status { color: var(--accent); }

/* --- CTA Section --- */
.cta-section {
  padding: 8rem 5vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
}
.cta-section p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; position: relative; }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__brand { font-family: var(--font-head); font-weight: 800; font-size: 1rem; }
.footer__brand span { color: var(--accent); }
.footer__copy { font-size: 0.75rem; color: var(--text-muted); }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { font-size: 0.8rem; color: var(--text-muted); }
.footer__links a:hover { color: var(--accent); }

/* --- Responsive --- */
@media (max-width: 768px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 80vh; }
  .hero__title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
}