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

:root {
  --bg: #0B1A12;
  --bg-surface: #122118;
  --bg-card: #1A2E22;
  --fg: #E8F0EC;
  --fg-muted: #8FAF9B;
  --accent: #3D9B6A;
  --accent-warm: #C8922A;
  --status-ok: #4CAF7D;
  --status-warn: #E8A849;
  --status-alert: #D95252;
  --border: rgba(61, 155, 106, 0.18);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* === Typography === */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.section-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* === Navigation === */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  background: rgba(11, 26, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  border-left: 1px solid var(--border);
  padding-left: 0.75rem;
  margin-left: 0.25rem;
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 2rem 4rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(61,155,106,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 1.75rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* Signal board */
.hero-viz { position: relative; }

.signal-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

.signal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.125rem;
}

.signal-icon {
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.signal-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.25rem;
}

.signal-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.signal-status {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
}

.signal-status.ok { background: rgba(76,175,125,0.15); color: var(--status-ok); }
.signal-status.warn { background: rgba(232,168,73,0.15); color: var(--status-warn); }
.signal-status.alert { background: rgba(217,82,82,0.15); color: var(--status-alert); }

.ai-insight {
  margin-top: 1.25rem;
  background: rgba(61,155,106,0.08);
  border: 1px solid rgba(61,155,106,0.25);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.insight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.3rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.insight-text {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === Signals Section === */
.signals {
  padding: 6rem 2rem;
  background: var(--bg-surface);
}

.signals-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.signals-header {
  max-width: 640px;
  margin-bottom: 4rem;
}

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

.source-item {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s;
}

.source-item:hover { border-color: rgba(61,155,106,0.4); }

.source-icon { color: var(--accent); margin-bottom: 1rem; }

.source-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.source-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === Connect Your Data Section === */
.connect {
  padding: 6rem 2rem;
  background: var(--bg-surface);
}

.connect-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.connect-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.connect-header .section-body {
  max-width: 580px;
  margin: 0 auto;
}

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

.connect-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.connect-card:hover {
  border-color: rgba(61,155,106,0.45);
  transform: translateY(-3px);
}

.connect-logo {
  margin: 0 auto 1.25rem;
  width: 44px;
  height: 44px;
}

.connect-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.6rem;
}

.connect-card-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.connect-btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.connect-btn:hover {
  background: var(--accent);
  color: var(--bg);
}

.connect-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.connect-cta-text {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.connect-cta-btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(61,155,106,0.25);
}

.connect-cta-btn:hover {
  background: #4dba82;
  transform: translateY(-2px);
}

/* === Philosophy Section === */
.philosophy {
  padding: 6rem 2rem;
  background: var(--bg);
}

.philosophy-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.philosophy-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.philosophy-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.philosophy-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.stat { display: flex; align-items: baseline; gap: 1rem; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.stat-label { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.4; }

/* Dashboard mockup */
.dash-mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
}

.dash-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.dash-score {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}

.dash-score-max { font-size: 1.5rem; color: var(--fg-muted); }

.dash-trend {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--accent-warm);
  margin: 0.5rem 0 1.25rem;
}

.dash-bars { display: flex; flex-direction: column; gap: 0.625rem; }

.dash-bar-row {
  display: grid;
  grid-template-columns: 100px 1fr 32px;
  align-items: center;
  gap: 0.75rem;
}

.dash-bar-label { font-size: 0.78rem; color: var(--fg-muted); }

.dash-bar {
  height: 6px;
  background: var(--bg-surface);
  border-radius: 3px;
  overflow: hidden;
}

.dash-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.8s ease;
}

.dash-fill.warn { background: var(--accent-warm); }

.dash-bar-val {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fg);
  text-align: right;
}

.dash-bar-val.warn { color: var(--status-warn); }

.dash-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.alert-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-warn);
  flex-shrink: 0;
}

/* === Outcomes Section === */
.outcomes {
  padding: 6rem 2rem;
  background: var(--bg-surface);
}

.outcomes-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.outcome-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s;
}

.outcome-card:hover { border-color: rgba(61,155,106,0.4); transform: translateY(-2px); }

.outcome-icon { color: var(--accent); margin-bottom: 1.25rem; }

.outcome-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.6rem;
}

.outcome-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === Closing Section === */
.closing {
  padding: 8rem 2rem;
  background: var(--bg);
  text-align: center;
}

.closing-inner { max-width: 680px; margin: 0 auto; }

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.closing-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* === Footer === */
.site-footer {
  padding: 3rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 0.25rem;
}

.footer-note {
  font-size: 0.78rem;
  color: rgba(143,175,155,0.5);
  line-height: 1.5;
}

/* === Nav CTA === */
.nav-cta {
  margin-left: auto;
  padding: 0.5rem 1.125rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: #4dba82; transform: translateY(-1px); }

/* === Pricing CTA === */
.pricing-cta {
  margin-top: 3rem;
  padding: 2.5rem 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  text-align: center;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

.pricing-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #5dcea8);
}

.pricing-tag {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}

.pricing-period {
  font-size: 1.25rem;
  color: var(--fg-muted);
  font-weight: 400;
}

.pricing-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  text-align: left;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  padding-left: 1.5rem;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.cta-button {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(61,155,106,0.25);
}

.cta-button:hover {
  background: #4dba82;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(61,155,106,0.35);
}

.cta-sub {
  font-size: 0.78rem;
  color: rgba(143,175,155,0.55);
  margin-top: 0.875rem;
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .philosophy-inner { grid-template-columns: 1fr; gap: 3rem; }
  .signal-sources { grid-template-columns: repeat(2, 1fr); }
  .connect-cards { grid-template-columns: repeat(2, 1fr); }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero { padding: 6rem 1.25rem 3rem; }
  .hero-headline { font-size: 2.2rem; }
  .signal-board { grid-template-columns: 1fr; }
  .signal-sources { grid-template-columns: 1fr; }
  .connect-cards { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .philosophy-stats { gap: 1rem; }
  .stat-number { font-size: 1.5rem; }
  .site-nav { padding: 1rem 1.25rem; }
}