/* NeighborVolt — Shared Stylesheet */

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

/* ─── Custom Properties ────────────────────────────────────────── */
:root {
  --color-bg:       #0D1117;
  --color-surface:  #1E2530;
  --color-surface-2:#111827;
  --color-pink:     #FF2D78;
  --color-green:    #39FF14;
  --color-orange:   #FF6B1A;
  --color-text:     #F4F4F0;
  --color-muted:    #6B7280;
  --max-w:          1100px;
  --max-w-wide:     1200px;
  --max-w-narrow:   900px;
  --radius:         12px;
  --radius-sm:      6px;
}

/* ─── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── Utilities ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container--wide  { max-width: var(--max-w-wide); }
.container--narrow { max-width: var(--max-w-narrow); }

.eyebrow {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow--green  { color: var(--color-green); }
.eyebrow--pink   { color: var(--color-pink); }
.eyebrow--muted  { color: var(--color-muted); }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.88; }
.btn--primary {
  background: var(--color-pink);
  color: var(--color-text);
}

.dead-link {
  cursor: default;
  pointer-events: none;
  color: var(--color-muted);
}

/* ─── Global Nav ────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: var(--color-surface);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.nav__wordmark {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__bolt-img {
  display: block;
  height: 20px;
  width: auto;
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav__links a {
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
}
.nav__links .nav__link--active {
  background: var(--color-pink);
  color: var(--color-text);
  border-radius: 20px;
  font-weight: 600;
  padding: 6px 16px;
  pointer-events: auto;
  cursor: pointer;
}
.nav__tagline {
  font-size: 12px;
  color: var(--color-muted);
}

/* ─── Return to Ridge AI floating button ────────────────────────── */
.return-link {
  position: fixed;
  top: 16px;
  right: 24px;
  z-index: 100;
  display: inline-block;
  background: var(--color-pink);
  color: var(--color-text);
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 18px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.return-link:hover {
  opacity: 0.9;
}
@media (max-width: 640px) {
  .return-link {
    top: 12px;
    right: 12px;
    font-size: 13px;
    padding: 6px 14px;
  }
}

/* ─── Section: Hero ─────────────────────────────────────────────── */
.hero {
  background: var(--color-bg);
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 80px 24px;
}
.hero__inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.hero__h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--color-text);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero__h1 .accent { color: var(--color-pink); }
.hero__sub {
  font-size: 17px;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero__scroll-link {
  font-size: 14px;
  color: var(--color-muted);
  font-weight: 500;
  transition: color 0.15s;
}
.hero__scroll-link:hover { color: var(--color-text); }
.hero__pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pill--green {
  background: rgba(57,255,20,0.08);
  border: 1px solid rgba(57,255,20,0.3);
  color: var(--color-green);
}

/* ─── Section: Pain Bar ─────────────────────────────────────────── */
.pain-bar {
  background: var(--color-surface);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 32px 24px;
}
.pain-bar__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  max-width: var(--max-w);
  margin: 0 auto;
}
.pain-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 32px;
}
.pain-item + .pain-item {
  border-left: 1px solid rgba(255,255,255,0.08);
}
.pain-item:first-child { padding-left: 0; }
.pain-item__icon {
  font-size: 22px;
  flex-shrink: 0;
}
.pain-item__text {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
}
.pain-item__text--green { color: var(--color-green); }

/* ─── Section: How It Works ─────────────────────────────────────── */
.how {
  background: var(--color-bg);
  padding: 96px 24px;
}
.how__header {
  text-align: center;
  margin-bottom: 56px;
}
.section-h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: 1.1;
}
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.card {
  background: var(--color-surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.card__accent--pink   { background: var(--color-pink); }
.card__accent--green  { background: var(--color-green); }
.card__accent--orange { background: var(--color-orange); }
.card__num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: 16px;
  margin-top: 8px;
}
.card__h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 12px;
}
.card__body {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ─── Section: Proof Stats ──────────────────────────────────────── */
.proof {
  background: var(--color-surface-2);
  padding: 88px 24px;
}
.proof__header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.proof__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.stat__number {
  font-size: clamp(42px, 5vw, 56px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.stat__number--green  { color: var(--color-green); }
.stat__number--pink   { color: var(--color-pink); }
.stat__number--white  { color: var(--color-text); }
.stat__label {
  font-size: 13px;
  color: var(--color-muted);
  font-weight: 500;
}

/* ─── Section: CTA Bridge ───────────────────────────────────────── */
.cta-bridge {
  background: var(--color-bg);
  padding: 96px 24px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cta-bridge__inner {
  max-width: 640px;
  margin: 0 auto;
}
.cta-bridge__sub {
  font-size: 16px;
  color: var(--color-muted);
  margin-bottom: 32px;
  margin-top: 16px;
  line-height: 1.7;
}
.cta-bridge__footnote {
  margin-top: 16px;
  font-size: 12px;
  color: var(--color-muted);
}

/* ─── Footer ────────────────────────────────────────────────────── */
.footer {
  background: var(--color-surface);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 24px;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer__wordmark {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer__tagline {
  font-size: 12px;
  color: var(--color-muted);
}
.footer__links {
  display: flex;
  gap: 20px;
  list-style: none;
}
.footer__links a {
  font-size: 12px;
  color: var(--color-muted);
}

/* ─── Your Data Page: Page Header ───────────────────────────────── */
.page-header {
  background: var(--color-surface);
  padding: 40px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.page-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.page-header__copy .page-h1 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 8px;
}
.page-header__copy .page-sub {
  font-size: 15px;
  color: var(--color-muted);
}
.data-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(57,255,20,0.06);
  border: 1px solid rgba(57,255,20,0.25);
  color: var(--color-green);
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 4px;
}
.data-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
  margin-right: 8px;
  flex-shrink: 0;
}

/* ─── Embed Sections ────────────────────────────────────────────── */
.embed-section {
  background: var(--color-bg);
  padding: 56px 24px;
}
.embed-section__header {
  max-width: var(--max-w-wide);
  margin: 0 auto 20px;
}
.embed-frame {
  width: 100%;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-2);
  margin: 0 auto;
  padding: 48px 24px;
  gap: 12px;
  text-align: center;
}
.embed-frame--dashboard {
  max-width: var(--max-w-wide);
  min-height: 560px;
  border: 2px dashed rgba(57,255,20,0.25);
}
.embed-frame--agent {
  max-width: var(--max-w-narrow);
  min-height: 480px;
  border: 2px dashed rgba(255,45,120,0.25);
}
.embed-frame__icon {
  font-size: 48px;
  margin-bottom: 8px;
  opacity: 0.5;
}
.embed-frame__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
}
.embed-frame__desc {
  font-size: 14px;
  color: var(--color-muted);
  max-width: 460px;
  line-height: 1.7;
}
.embed-frame__badge {
  margin-top: 8px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  background: rgba(255,255,255,0.05);
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

/* ─── Context Strip ─────────────────────────────────────────────── */
.context-strip {
  background: var(--color-surface);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 22px 24px;
}
.context-strip__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.context-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-muted);
  font-weight: 500;
}
.context-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
  flex-shrink: 0;
}

/* ─── Agent Section: Prompt Chips ───────────────────────────────── */
.agent-section {
  background: var(--color-bg);
  padding: 56px 24px;
}
.agent-section__header {
  max-width: var(--max-w-narrow);
  margin: 0 auto 20px;
}
.agent-section__intro {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 16px;
}
.prompt-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.prompt-chip {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--color-text);
  background: rgba(255,45,120,0.08);
  border: 1px solid rgba(255,45,120,0.25);
  cursor: default;
  font-weight: 500;
}

/* ─── Data Explainer ────────────────────────────────────────────── */
.explainer {
  background: var(--color-surface);
  padding: 72px 24px;
}
.explainer__grid {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.explainer__heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.explainer__body {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.8;
}
.metric-row {
  margin-bottom: 20px;
}
.metric-row:last-child { margin-bottom: 0; }
.metric-row__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}
.metric-row__desc {
  font-size: 13px;
  color: var(--color-muted);
}

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__tagline { display: none; }
  .nav__links li:not(:has(.nav__link--active)) { display: none; }

  .pain-bar__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pain-item { padding: 0; border-left: none !important; }

  .how__grid { grid-template-columns: 1fr; }

  .proof__stats { grid-template-columns: 1fr; gap: 40px; }

  .page-header__inner { flex-direction: column; }

  .explainer__grid { grid-template-columns: 1fr; gap: 40px; }

  .context-strip__inner { flex-direction: column; gap: 16px; align-items: flex-start; }

  .hero__ctas { flex-direction: column; align-items: center; }
}
