@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #06080f;
  --bg-elevated: #0f1424;
  --text: #e8edf7;
  --muted: #94a3b8;
  --accent: #2dd4bf;
  --accent-2: #818cf8;
  --border: rgba(148, 163, 184, 0.15);
  --glow: rgba(45, 212, 191, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at 20% 0%, rgba(129, 140, 248, 0.18), transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(45, 212, 191, 0.12), transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  mask-image: linear-gradient(to bottom, black 40%, transparent);
}

.wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent);
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.25rem;
  font-size: 0.9rem;
}

nav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem 0 4rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 36ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent), #14b8a6);
  color: #042f2e;
  font-weight: 700;
  padding: 0.95rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 0 40px var(--glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 50px var(--glow);
}

.meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.mock-window {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20, 27, 45, 0.95), rgba(10, 14, 24, 0.98));
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.mock-titlebar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.mock-body {
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.score {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ring {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 78%, #1e293b 0);
  display: grid;
  place-items: center;
}

.ring span {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #0b1020;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.4rem;
}

.bar {
  height: 8px;
  border-radius: 999px;
  background: #1e293b;
  overflow: hidden;
}

.bar > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

section {
  padding: 3.5rem 0;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  background: rgba(15, 20, 36, 0.7);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 800px) {
  .shots {
    grid-template-columns: 1fr;
  }
}

.shot {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 1rem;
  min-height: 180px;
  background: #0c1222;
}

.shot-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
  background: rgba(15, 20, 36, 0.5);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  color: var(--muted);
  margin: 0.75rem 0 0;
}

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* v0.2.0 landing enhancements — .bg-grid above is unchanged */

.section-pad {
  padding: 3.5rem 0;
}

.section-lead {
  color: var(--muted);
  max-width: 52ch;
  margin: -0.5rem 0 2rem;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(45, 212, 191, 0.35);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero-shot {
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-shot:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 90px rgba(45, 212, 191, 0.12);
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.reveal-pending {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1.reveal-pending {
  transition-delay: 0.08s;
}
.reveal-delay-2.reveal-pending {
  transition-delay: 0.16s;
}
.reveal-delay-3.reveal-pending {
  transition-delay: 0.24s;
}
.reveal-delay-4.reveal-pending {
  transition-delay: 0.32s;
}

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  position: relative;
}

@media (max-width: 900px) {
  .flow {
    grid-template-columns: 1fr;
  }
}

.flow-step {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem;
  background: rgba(15, 20, 36, 0.65);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.flow-step-active {
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 0 30px rgba(45, 212, 191, 0.08);
}

.flow-step:hover {
  transform: translateY(-2px);
}

.flow-icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #0f172a;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.flow-step h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.flow-step p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.flow-progress {
  height: 3px;
  background: #1e293b;
  border-radius: 999px;
  margin-top: 1.5rem;
  overflow: hidden;
}

.flow-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.toggle-demo {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  background: rgba(12, 18, 34, 0.85);
  display: grid;
  gap: 0.75rem;
}

.toggle-demo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.toggle-demo-row:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
}

.toggle-switch {
  flex-shrink: 0;
  width: 3.25rem;
  height: 1.85rem;
  border-radius: 999px;
  border: none;
  background: #475569;
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease;
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.toggle-switch.is-on {
  background: var(--accent);
}

.toggle-switch.is-on::after {
  transform: translateX(1.35rem);
}

.impact-pill {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.impact-high {
  background: rgba(244, 63, 94, 0.2);
  color: #fecdd3;
}

.impact-med {
  background: rgba(129, 140, 248, 0.2);
  color: #c7d2fe;
}

.example-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fbbf24;
  margin-bottom: 0.5rem;
}

.gains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 700px) {
  .gains-grid {
    grid-template-columns: 1fr;
  }
}

.gain-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  background: rgba(15, 20, 36, 0.7);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.gain-card:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.35);
}

.gain-metric {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.gain-value {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0.25rem 0;
}

.gain-delta {
  font-size: 0.85rem;
  color: var(--accent);
}

.chart-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  background: rgba(10, 14, 24, 0.8);
}

.chart-caption {
  margin: 0 0 0.5rem;
}

.gain-chart {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}

.chart-bar {
  transition: height 0.9s cubic-bezier(0.22, 1, 0.36, 1), y 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .screenshot-grid {
    grid-template-columns: 1fr;
  }
}

.screenshot-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0c1222;
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.45s ease;
}

.screenshot-card:hover img {
  transform: scale(1.02);
}

.screenshot-card figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.req-list {
  margin: 0;
  padding-left: 1.2rem;
}

.cta-bottom {
  text-align: center;
  padding-bottom: 4rem;
}
