/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #08110e;
  --bg-card: #0e1c16;
  --fg: #f0ede8;
  --fg-muted: #8a9e94;
  --accent: #c8963e;
  --accent-dim: rgba(200, 150, 62, 0.15);
  --border: rgba(240, 237, 232, 0.08);
  --online: #4ade80;
  --busy: #facc15;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: rgba(8, 17, 14, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1200px; margin: 0 auto; }
.nav-logo {
  font-family: 'DM Mono', monospace;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(200, 150, 62, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(200, 150, 62, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text { position: relative; z-index: 1; }
.hero-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 440px;
}

/* Hero visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* Live counter badge */
.live-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 999px;
  padding: 8px 16px;
  width: fit-content;
  margin: 0 auto;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 6px var(--online);
  flex-shrink: 0;
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--online); }
  50%       { opacity: 0.55; box-shadow: 0 0 12px var(--online); }
}
.live-counter-text {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--online);
  text-transform: uppercase;
  line-height: 1;
}
/* Empty state — muted gold, links to /app */
.live-counter--empty {
  background: var(--accent-dim);
  border-color: rgba(200, 150, 62, 0.3);
  cursor: pointer;
  text-decoration: none;
}
.live-counter--empty .live-dot {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: none;
  opacity: 0.7;
}
.live-counter--empty .live-counter-text {
  color: var(--accent);
}
@media (max-width: 480px) {
  .live-counter { padding: 7px 13px; }
  .live-counter-text { font-size: 10px; }
}

/* Radar */
.radar-container {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto;
}
.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200, 150, 62, 0.25);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.radar-ring-1 { width: 90px; height: 90px; }
.radar-ring-2 { width: 160px; height: 160px; }
.radar-ring-3 { width: 240px; height: 240px; border-color: rgba(200, 150, 62, 0.12); }
.radar-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  z-index: 2;
}
.radar-pulse {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
  100% { transform: translate(-50%, -50%) scale(12); opacity: 0; }
}
.radar-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--online);
  z-index: 3;
  box-shadow: 0 0 8px var(--online);
}
.radar-dot-1 { top: 15%; left: 65%; }
.radar-dot-2 { top: 55%; left: 85%; }
.radar-dot-3 { top: 75%; left: 35%; }
.radar-dot-4 { top: 30%; left: 22%; }
.radar-label {
  position: absolute;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: rgba(200, 150, 62, 0.5);
  z-index: 2;
}
.radar-label-1 { top: 46%; left: calc(50% + 50px); transform: translateY(-50%); }
.radar-label-2 { top: 46%; left: calc(50% + 92px); transform: translateY(-50%); }
.radar-label-3 { top: 46%; left: calc(50% + 142px); transform: translateY(-50%); }

/* Sesh cards */
.sesh-cards { display: flex; flex-direction: column; gap: 10px; }
.sesh-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
}
.sesh-card-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a4a3a, #3d6650);
  flex-shrink: 0;
}
.sesh-card-body { flex: 1; min-width: 0; }
.sesh-card-name { font-weight: 600; font-size: 14px; }
.sesh-card-meta { font-size: 12px; color: var(--fg-muted); margin-top: 2px; }
.sesh-card-tags { display: flex; gap: 6px; margin-top: 6px; }
.sesh-card-tags span {
  font-size: 11px;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 20px;
  font-family: 'DM Mono', monospace;
}
.sesh-card-status {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sesh-card-status.online { background: var(--online); box-shadow: 0 0 6px var(--online); }
.sesh-card-status.busy { background: var(--busy); }
.sesh-card-1 { opacity: 1; }
.sesh-card-2 { opacity: 0.8; }
.sesh-card-3 { opacity: 0.55; }

/* === SECTIONS === */
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

/* HOW */
.how { padding: 100px 40px; background: var(--bg-card); }
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 60px;
}
.how-step {
  flex: 1;
  padding: 0 40px;
}
.how-step:first-child { padding-left: 0; }
.how-step:last-child { padding-right: 0; }
.how-step-num {
  font-family: 'DM Mono', monospace;
  font-size: 48px;
  font-weight: 500;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 20px;
}
.how-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.how-step p { font-size: 15px; color: var(--fg-muted); line-height: 1.65; }
.how-arrow {
  padding-top: 30px;
  color: var(--fg-muted);
  flex-shrink: 0;
}

/* FEATURES */
.features { padding: 100px 40px; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features .section-title { margin-bottom: 60px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.feature-card {
  padding: 48px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: background 0.2s;
}
.feature-card:hover { background: #111d17; }
.feature-icon {
  color: var(--accent);
  margin-bottom: 24px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.feature-card p { font-size: 15px; color: var(--fg-muted); line-height: 1.65; }

/* WHY */
.why { padding: 100px 40px; background: var(--bg-card); }
.why-inner { max-width: 1100px; margin: 0 auto; }
.why-stat-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 80px;
}
.why-stat { flex: 1; text-align: center; padding: 0 40px; }
.why-stat:first-child { padding-left: 0; }
.why-stat:last-child { padding-right: 0; }
.why-stat-num {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.why-stat-label { font-size: 14px; color: var(--fg-muted); line-height: 1.5; }
.why-divider { width: 1px; height: 60px; background: var(--border); flex-shrink: 0; }
.why-quote { text-align: center; }
.why-quote blockquote {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--fg-muted);
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
}

/* CLOSING */
.closing { padding: 120px 40px; }
.closing-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.closing-leaf { color: var(--accent); margin-bottom: 40px; }
.closing-headline {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 28px;
}
.closing-body {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* FOOTER */
.footer { padding: 48px 40px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer-logo {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.footer-note { font-size: 14px; color: var(--fg-muted); margin-bottom: 8px; }
.footer-legal { font-size: 12px; color: rgba(138, 158, 148, 0.5); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero { padding-top: 100px; }
  .how-steps { flex-direction: column; gap: 40px; }
  .how-arrow { display: none; }
  .how-step { padding: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .why-stat-row { flex-direction: column; gap: 40px; }
  .why-divider { width: 60px; height: 1px; margin: 0 auto; }
  .why-stat { padding: 0; }
  .hero, .how, .features, .why, .closing { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 480px) {
  .radar-container { width: 200px; height: 200px; }
  .sesh-cards { display: none; }
  .nav { padding: 16px 24px; }
}

/* === CTA BUTTONS === */
.cta-btn {
  display: inline-block;
  background: #1a3d2b;
  color: var(--accent);
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid rgba(200, 150, 62, 0.4);
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.cta-btn:hover {
  background: #234d38;
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(200, 150, 62, 0.2);
}
/* Keyboard focus ring — always visible, never hidden */
.cta-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Hero variant — prominent, margin-top to separate from copy */
.hero-cta {
  margin-top: 36px;
  font-size: 14px;
  padding: 16px 36px;
}

/* Nav variant — compact, no extra margin */
.nav-cta {
  font-size: 12px;
  padding: 10px 20px;
}

/* Closing variant — large, centered */
.closing-cta {
  margin-top: 40px;
  font-size: 14px;
  padding: 18px 44px;
}

/* Nav flex layout to space logo and CTA */
.nav-inner--flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 480px) {
  .hero-cta { padding: 14px 28px; font-size: 13px; }
  .closing-cta { padding: 14px 28px; font-size: 13px; }
}