/* ==========================================
   LocalOps — Custom Theme
   ========================================== */

:root {
  --bg: #0D1117;
  --surface: #161B22;
  --surface-2: #1C2128;
  --fg: #E6EDF3;
  --fg-muted: #8B949E;
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --border: rgba(240, 246, 252, 0.08);
  --radius: 12px;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
}
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.nav-logo { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--fg); letter-spacing: -0.5px; }
.nav-tagline { font-size: 13px; color: var(--fg-muted); letter-spacing: 0.5px; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 40px 80px;
}
.hero-inner { max-width: 1100px; margin: 0 auto; width: 100%; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-highlight { color: var(--accent); }
.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--fg-muted);
  max-width: 600px;
  margin-bottom: 52px;
  line-height: 1.65;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  width: fit-content;
}
.stat {
  padding: 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1px;
}
.stat-label { font-size: 12px; color: var(--fg-muted); line-height: 1.4; max-width: 150px; }
.stat-div { width: 1px; align-self: stretch; background: var(--border); }

/* PROBLEM */
.problem {
  padding: 100px 40px;
  border-top: 1px solid var(--border);
}
.problem-inner { max-width: 1100px; margin: 0 auto; }
.problem-label, .features-label, .how-label, .pricing-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.problem-headline, .features-headline, .how-headline, .pricing-headline, .closing-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 52px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.problem-icon { color: var(--accent); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.problem-card p { font-size: 15px; color: var(--fg-muted); line-height: 1.55; }

/* FEATURES */
.features {
  padding: 100px 40px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 32px;
}
.feature-icon-wrap {
  width: 40px; height: 40px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon { color: var(--accent); font-size: 18px; }
.feature-title { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--fg); }
.feature-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.55; }

/* HOW IT WORKS */
.how {
  padding: 100px 40px;
  border-top: 1px solid var(--border);
}
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-steps {
  display: flex;
  align-items: center;
  gap: 24px;
}
.how-step {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 32px;
}
.step-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.35;
  margin-bottom: 16px;
}
.step-title { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.55; }
.step-arrow { font-size: 28px; color: var(--fg-muted); flex-shrink: 0; }

/* PRICING */
.pricing {
  padding: 100px 40px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pricing-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}
.pricing-card-featured {
  border-color: var(--accent);
  background: rgba(245, 158, 11, 0.04);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}
.pricing-tier {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.pricing-price {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 24px;
}
.pricing-per { font-size: 20px; font-weight: 500; color: var(--fg-muted); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { font-size: 14px; color: var(--fg-muted); padding-left: 20px; position: relative; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 600; }

/* CLOSING */
.closing {
  padding: 100px 40px;
  border-top: 1px solid var(--border);
}
.closing-inner { max-width: 1100px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 24px;
}
.closing-sub { font-size: 17px; color: var(--fg-muted); max-width: 600px; line-height: 1.65; margin-bottom: 40px; }
.closing-target { font-size: 13px; color: var(--fg-muted); opacity: 0.7; }

/* FOOTER */
.footer {
  padding: 60px 40px;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-logo { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--fg); margin-bottom: 8px; }
.footer-tagline { font-size: 14px; color: var(--fg-muted); margin-bottom: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--fg-muted); margin-bottom: 32px; }
.footer-sep { color: var(--fg-muted); opacity: 0.4; }
.footer-copy { font-size: 12px; color: var(--fg-muted); opacity: 0.5; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 120px 24px 60px; }
  .hero-stats { flex-direction: column; width: 100%; }
  .stat { padding: 20px 24px; }
  .stat-div { width: 100%; height: 1px; }
  .problem-grid, .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .how-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .nav { padding: 0 24px; }
  .features, .how, .pricing, .closing, .problem { padding: 70px 24px; }
  .footer { padding: 48px 24px; }
}