/* ============================================
   LocalFlow — Custom Theme
   Typography: Syne (headings) + DM Sans (body)
   Palette: Deep indigo, warm gold, warm off-white
   ============================================ */

:root {
  --bg: #faf9f6;
  --bg-alt: #f0ede8;
  --fg: #1a1a2e;
  --fg-muted: #5c5c6f;
  --accent: #e8890c;
  --accent-dark: #c67409;
  --indigo: #1a1a2e;
  --surface: #ffffff;
  --border: #e2ddd8;
  --success: #16a34a;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.15; color: var(--indigo); }

/* --- Navbar --- */
.navbar {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo-mark {
  background: var(--indigo);
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--indigo);
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.03em;
}

/* --- Hero --- */
.hero {
  background: var(--bg);
  padding: 5rem 2rem 4rem;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-overline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--indigo);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.stat {}
.stat-number {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--indigo);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 0.3rem;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Visual */
.hero-visual {
  position: relative;
}
.device-mockup {
  background: var(--indigo);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(26,26,46,0.25), 0 4px 12px rgba(26,26,46,0.15);
}
.browser-bar {
  background: #2a2a3e;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.browser-dots { display: flex; gap: 5px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: #555872; }
.browser-dots span:first-child { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }
.browser-url { font-size: 0.7rem; color: #888; background: #1e1e2e; padding: 0.2rem 0.6rem; border-radius: 4px; }
.browser-content { padding: 1.5rem; background: #faf9f6; }
.mock-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #e2ddd8; }
.mock-logo { font-weight: 700; font-size: 0.9rem; color: var(--indigo); font-family: 'Syne', sans-serif; }
.mock-links { font-size: 0.65rem; color: #888; }
.mock-hero-text { margin-bottom: 1.5rem; }
.mock-h1 { height: 14px; background: var(--indigo); border-radius: 3px; margin-bottom: 8px; width: 90%; }
.mock-h1.short { width: 65%; margin-bottom: 10px; }
.mock-sub { height: 10px; background: #ccc; border-radius: 3px; margin-bottom: 16px; width: 75%; }
.mock-btn { display: inline-block; background: var(--accent); color: white; font-size: 0.75rem; font-weight: 700; padding: 0.5rem 1rem; border-radius: 6px; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.mock-card { height: 60px; background: #e8e4de; border-radius: 6px; }

.lead-badge {
  position: absolute;
  bottom: -18px;
  left: -20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 24px rgba(26,26,46,0.1);
}
.lead-badge-icon { color: var(--success); }
.lead-badge-name { font-size: 0.75rem; font-weight: 700; color: var(--indigo); }
.lead-badge-detail { font-size: 0.7rem; color: var(--fg-muted); }

/* --- Proof Section --- */
.proof {
  background: var(--indigo);
  color: white;
  padding: 5rem 2rem;
}
.proof-inner { max-width: 1100px; margin: 0 auto; }
.proof-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
  font-weight: 600;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 4rem;
}
.proof-stat {}
.proof-number {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.proof-desc { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.5; }
.proof-quote {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
}
.proof-quote blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.proof-quote cite { font-size: 0.8rem; color: rgba(255,255,255,0.4); font-style: normal; }

/* --- Services Section --- */
.services { padding: 5rem 2rem; background: var(--bg); }
.services-inner { max-width: 1100px; margin: 0 auto; }
.section-header { margin-bottom: 3.5rem; }
.section-overline {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--indigo);
  max-width: 600px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26,26,46,0.08);
}
.service-icon { color: var(--accent); margin-bottom: 1.25rem; }
.service-name { font-size: 1.1rem; font-weight: 700; color: var(--indigo); margin-bottom: 0.75rem; }
.service-desc { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.6; }

/* --- Pricing Section --- */
.pricing { padding: 5rem 2rem; background: var(--bg-alt); }
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.section-sub { font-size: 1rem; color: var(--fg-muted); margin-top: 1rem; max-width: 500px; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
}
.pricing-card.featured {
  border: 2px solid var(--accent);
  background: #fffdf8;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 20px;
}
.pricing-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
}
.pricing-price {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--indigo);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.per-month { font-size: 1rem; font-weight: 500; color: var(--fg-muted); }
.setup { font-size: 1rem; font-weight: 400; color: var(--fg-muted); }
.monthly-sub { font-size: 1.6rem; }
.pricing-tagline { font-size: 0.9rem; color: var(--fg-muted); margin-bottom: 1.5rem; }
.pricing-features { list-style: none; margin-bottom: 1.5rem; }
.pricing-features li {
  font-size: 0.9rem;
  color: var(--fg);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.pricing-features li::before {
  content: none;
}
.pricing-features li::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e8890c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}
.pricing-note { font-size: 0.8rem; color: var(--fg-muted); font-style: italic; }
.pricing-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.5rem 2rem;
  background: var(--indigo);
  border-radius: 12px;
  color: white;
}
.proof-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.proof-item strong { color: white; }
.proof-check { color: var(--accent); display: flex; }

/* --- Closing Section --- */
.closing {
  padding: 6rem 2rem;
  background: var(--bg);
}
.closing-inner { max-width: 1100px; margin: 0 auto; }
.closing-overline {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.closing-headline {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--indigo);
  margin-bottom: 1.75rem;
  line-height: 1.1;
}
.closing-body {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3rem;
}
.closing-manifesto { display: flex; flex-direction: column; gap: 1.25rem; }
.manifesto-item { display: flex; align-items: center; gap: 1.5rem; }
.manifesto-mark {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  background: rgba(232,137,12,0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  flex-shrink: 0;
}
.manifesto-text { font-size: 1rem; color: var(--fg); font-weight: 500; }

/* --- Footer --- */
.footer {
  background: var(--indigo);
  color: rgba(255,255,255,0.6);
  padding: 3rem 2rem;
  text-align: center;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer-name { font-family: 'Syne', sans-serif; font-weight: 700; color: white; font-size: 1.1rem; }
.footer-desc { font-size: 0.85rem; margin-bottom: 0.75rem; }
.footer-copy { font-size: 0.75rem; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .hero-headline { font-size: 2rem; }
  .proof-grid { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-proof { flex-direction: column; gap: 1rem; }
  .closing-headline { font-size: 2rem; }
  .nav-tagline { display: none; }
}