/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d0d1a;
  --surface: #13132a;
  --surface-2: #1a1a38;
  --border: rgba(240,160,32,0.12);
  --text: #e8e4f0;
  --text-muted: #7a7890;
  --accent: #f0a020;
  --accent-dim: rgba(240,160,32,0.15);
  --green: #3ecf8e;
  --red: #ff6b6b;
  --yellow: #ffd93d;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Navigation ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: rgba(13,13,26,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* ─── Hero ─── */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 180%;
  background: radial-gradient(ellipse at center, rgba(240,160,32,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-text { display: flex; flex-direction: column; gap: 1.75rem; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
}

/* ─── Session Monitor ─── */
.hero-visual { display: flex; justify-content: center; }
.session-monitor {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: 100%;
  max-width: 360px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(240,160,32,0.08), 0 24px 48px rgba(0,0,0,0.4);
  position: relative;
}
.monitor-topbar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.monitor-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.monitor-dot.red { background: var(--red); }
.monitor-dot.yellow { background: var(--yellow); }
.monitor-dot.green { background: var(--green); }
.monitor-label {
  margin-left: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.monitor-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.aura-avatar {
  position: relative;
  display: flex;
  justify-content: center;
}
.aura-avatar svg { width: 80px; height: 80px; }
.aura-status-badge {
  position: absolute;
  bottom: 0;
  right: 25%;
  background: var(--accent);
  color: #0d0d1a;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
}
.session-stats { display: flex; flex-direction: column; gap: 0.7rem; }
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); }
.stat-value { font-size: 0.85rem; font-weight: 600; color: var(--text); font-family: var(--font-display); }
.stat-value.accent { color: var(--accent); }
.stat-value.green-text { color: var(--green); }
.monitor-waves {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 0.75rem 1.5rem;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}
.monitor-waves span {
  flex: 1;
  background: var(--accent);
  opacity: 0.5;
  border-radius: 2px;
  height: 8px;
  animation: wave 1.2s ease-in-out infinite;
}
.monitor-waves span:nth-child(1) { animation-delay: 0s; height: 12px; }
.monitor-waves span:nth-child(2) { animation-delay: 0.15s; height: 22px; }
.monitor-waves span:nth-child(3) { animation-delay: 0.3s; height: 16px; }
.monitor-waves span:nth-child(4) { animation-delay: 0.1s; height: 28px; }
.monitor-waves span:nth-child(5) { animation-delay: 0.2s; height: 10px; }
@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

/* ─── Philosophy ─── */
.philosophy {
  padding: 5rem 2.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.philosophy-inner { max-width: 1200px; margin: 0 auto; }
.inefficiency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}
.ineff-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
}
.aura-card {
  border-color: rgba(240,160,32,0.4);
  box-shadow: 0 0 30px rgba(240,160,32,0.06);
}
.ineff-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.ineff-bars { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }
.bar-row { display: flex; align-items: center; gap: 0.75rem; }
.bar-label { font-size: 0.72rem; color: var(--text-muted); width: 80px; flex-shrink: 0; }
.bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: var(--w, 50%);
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
}
.bar-fill.low { opacity: 0.4; }
.bar-fill.accent { background: var(--accent); opacity: 1; }
.ineff-caption {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-style: italic;
}

/* ─── Features ─── */
.features { padding: 6rem 2.5rem; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 3.5rem;
  max-width: 560px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(240,160,32,0.3);
  transform: translateY(-2px);
}
.feature-icon { margin-bottom: 1rem; }
.feature-icon svg { width: 32px; height: 32px; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.feature-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* ─── How It Works ─── */
.how-it-works {
  padding: 6rem 2.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-inner { max-width: 1200px; margin: 0 auto; }
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.step { padding: 0 1rem; }
.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.step-content p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; }
.step-connector {
  width: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-connector::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--border), var(--accent), var(--border));
}

/* ─── Modes ─── */
.modes { padding: 6rem 2.5rem; }
.modes-inner { max-width: 1200px; margin: 0 auto; }
.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 0;
}
.mode-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem;
  position: relative;
}
.mode-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.mode-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text);
}
.mode-card > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.mode-use-cases {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.mode-use-cases li {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
}

/* ─── Closing ─── */
.closing {
  padding: 7rem 2.5rem 5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.closing-statement { margin-bottom: 2rem; }
.closing-text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.closing-accent { color: var(--accent); }
.closing-meta { display: flex; flex-direction: column; gap: 0.4rem; }
.closing-meta p { font-size: 0.85rem; color: var(--text-muted); }
.closing-tech { font-size: 0.78rem !important; opacity: 0.5; letter-spacing: 0.05em; }

/* ─── Footer ─── */
.footer {
  padding: 2rem 2.5rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.5;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3rem; }
  .hero-visual { order: -1; }
  .session-monitor { max-width: 280px; margin: 0 auto; }
  .inefficiency-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .step-connector { display: none; }
  .mode-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .nav { padding: 1rem 1.25rem; }
  .hero-inner { padding: 2rem 1.25rem; }
  .features, .modes, .philosophy, .how-it-works, .closing { padding: 4rem 1.25rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}