/* ================================================
   FOUNDYOS Landing Page Styles
   Uses the existing design system from theme.css
   ================================================ */

/* Shared section centering */
.section-header--center { text-align: center; }
.section-title--center { margin: 0 auto 0; }

/* ===== HERO ===== */
.lp-hero {
  padding: 80px 48px 64px;
  position: relative;
  overflow: hidden;
}

.lp-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.lp-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.lp-hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
  margin-bottom: 28px;
}

.lp-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 20px;
}

.lp-sub {
  font-size: 20px;
  color: var(--fg-muted);
  line-height: 1.55;
  max-width: 560px;
  margin: 0 auto 40px;
}

.lp-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.lp-cta {
  display: inline-block;
  background: var(--accent);
  color: #1C1F2E;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0;
  transition: opacity 0.15s;
  border: none;
  cursor: pointer;
}
.lp-cta:hover { opacity: 0.85; }

.lp-cta--secondary {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid var(--border);
}
.lp-cta--secondary:hover { border-color: rgba(255,255,255,0.30); opacity: 1; }

.lp-hero-note {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 4px;
}

/* Hero HUD (fake dispatcher UI) */
.lp-hero-visual {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.hud-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 680px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.hud-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid var(--border);
}

.hud-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.hud-title {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  margin-left: 8px;
  letter-spacing: 0.02em;
}

.hud-body { padding: 16px; }

.hud-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
}

.hud-col-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 10px;
}

.hud-job {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 6px;
  border: 1px solid transparent;
}

.hud-job--active {
  background: rgba(245,166,35,0.08);
  border-color: rgba(245,166,35,0.20);
}

.hud-job--done {
  background: rgba(39,174,96,0.06);
  border-color: rgba(39,174,96,0.15);
}

.hud-job--pending {
  background: var(--bg);
  border-color: var(--border);
}

.job-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.job-status-dot.active { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.job-status-dot.done { background: #6fcf97; }
.job-status-dot.pending { background: rgba(255,255,255,0.20); }

.job-info { flex: 1; }

.job-client {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 2px;
}

.job-meta {
  font-size: 11px;
  color: var(--fg-muted);
}

/* HUD right metrics */
.hud-metrics {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 100px;
}

.hud-metric {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
}

.hud-metric-val {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 2px;
}

.hud-metric-val.accent { color: var(--accent); }
.hud-metric-val.green { color: #6fcf97; }

.hud-metric-label {
  font-size: 10px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.hud-ai-note {
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(245,166,35,0.07);
  border: 1px solid rgba(245,166,35,0.15);
  border-radius: 6px;
  font-size: 12px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ===== PROBLEM STATEMENT ===== */
.lp-problem {
  padding: 56px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}

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

.lp-problem-text {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.lp-problem-text strong {
  color: var(--fg);
  font-weight: 600;
}

/* ===== FEATURES ===== */
.lp-features {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
}

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

.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: visible;
}

.lp-card {
  background: var(--bg-surface);
  padding: 32px 28px;
}

/* Round corners on edge cards since overflow is visible */
.lp-card:first-child { border-radius: 14px 0 0 0; }
.lp-card:nth-child(3) { border-radius: 0 14px 0 0; }
.lp-card:nth-child(4) { border-radius: 0 0 0 14px; }
.lp-card:last-child { border-radius: 0 0 14px 0; }

.lp-card-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.lp-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 8px;
}

.lp-card-body {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== SOCIAL PROOF ===== */
.lp-social-proof {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

.lp-sp-inner { max-width: 1000px; margin: 0 auto; }

.lp-sp-header { text-align: center; margin-bottom: 48px; }

.lp-sp-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 480px;
  margin: 8px auto 0;
  line-height: 1.55;
}

.lp-sp-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
}

.lp-stat {
  flex: 1;
  background: var(--bg);
  padding: 28px 24px;
  text-align: center;
}

.lp-stat-divider {
  width: 1px;
  background: var(--border);
}

.lp-stat-value {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.lp-stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
}

.lp-testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lp-test-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 28px;
}

.lp-test-quote {
  font-size: 15px;
  color: var(--fg);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 14px;
}

.lp-test-author {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ===== PRICING CTA ===== */
.lp-pricing {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.lp-pricing-inner { max-width: 1100px; margin: 0 auto; text-align: center; }

.lp-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin: 40px auto 0;
  max-width: 1000px;
}

.lp-price-card {
  background: var(--bg-surface);
  padding: 28px 24px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
}

.lp-price-card--featured {
  background: var(--bg);
  border: 2px solid var(--accent);
  border-top: none;
}

.lp-price-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}

.lpp-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1C1F2E;
  background: var(--accent);
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.lpp-tier {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.lpp-price {
  font-family: 'Inter', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 2px;
}

.lpp-period {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-muted);
}

.lpp-techs {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 4px;
}

.lpp-sms {
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

.lpp-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 18px;
}

.lpp-features {
  list-style: none;
  margin-bottom: 20px;
}

.lpp-features li {
  font-size: 13px;
  color: var(--fg-muted);
  padding: 3px 0;
}

.lpp-card-footer {
  margin-top: auto;
  padding-top: 20px;
}

.lpp-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s;
  box-sizing: border-box;
}

.lpp-cta:hover { opacity: 0.85; }

.lpp-cta--outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}

.lpp-cta--featured {
  background: var(--accent);
  color: #1C1F2E;
}

.lpp-trial-note {
  font-size: 11px;
  color: var(--fg-muted);
  text-align: center;
  margin-top: 8px;
}

.lp-pricing-note {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 20px;
}

.lp-compare-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.15s;
}

.lp-compare-link:hover { opacity: 0.75; }

/* ===== CLOSING CTA ===== */
.lp-closing {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}

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

.lp-closing-line {
  width: 48px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 40px;
}

.lp-closing-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--fg);
  margin-bottom: 24px;
}

.lp-closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 40px;
}

.lp-closing-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */

/* Tablet: feature grid 2-col, pricing 2-col */
@media (max-width: 1023px) {
  .lp-feature-grid { grid-template-columns: repeat(2, 1fr); }
  /* Reset corner rounding for 2-col layout */
  .lp-card:first-child { border-radius: 14px 0 0 0; }
  .lp-card:nth-child(2) { border-radius: 0 14px 0 0; }
  .lp-card:nth-child(3) { border-radius: 0; }
  .lp-card:nth-child(4) { border-radius: 0; }
  .lp-card:nth-child(5) { border-radius: 0 0 0 14px; }
  .lp-card:last-child { border-radius: 0 0 14px 0; }
}

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

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .lp-hero { padding: 60px 24px 48px; }
  .lp-headline { font-size: 38px; }
  .lp-sub { font-size: 17px; }
  .lp-hero-visual { display: none; }
  .lp-problem { padding: 40px 24px; }
  .lp-problem-text { font-size: 16px; }
  .lp-social-proof { padding: 56px 24px; }
  .lp-sp-stats { flex-direction: column; }
  .lp-stat-divider { display: none; }
  .lp-testimonials { grid-template-columns: 1fr; }
  .lp-pricing { padding: 56px 24px; }
  .lp-pricing-grid { grid-template-columns: 1fr; max-width: 340px; }
  .lp-closing { padding: 64px 24px; }
  .lp-closing-title { font-size: 26px; }
  .lp-closing-ctas { flex-direction: column; }
  .lp-closing-ctas .lp-cta { width: 100%; text-align: center; }
}

/* Mobile: feature grid 1-col */
@media (max-width: 639px) {
  .lp-features { padding: 56px 20px; }
  .lp-feature-grid { grid-template-columns: 1fr; }
  /* Reset corner rounding for 1-col layout */
  .lp-card:first-child { border-radius: 14px 14px 0 0; }
  .lp-card:nth-child(2),
  .lp-card:nth-child(3),
  .lp-card:nth-child(4),
  .lp-card:nth-child(5) { border-radius: 0; }
  .lp-card:last-child { border-radius: 0 0 14px 14px; }
}

@media (max-width: 480px) {
  .nav-tagline { display: none; }
  .lp-hero-ctas { flex-direction: column; align-items: center; }
  .lp-hero-ctas .lp-cta { width: 100%; text-align: center; }
}