/* =========================================
   OPPFLOW — Custom Stylesheet
   ========================================= */

:root {
  --bg: #F7F5F0;
  --bg-alt: #EEEADF;
  --dark: #0B2117;
  --dark-mid: #122B1E;
  --accent: #E8902A;
  --accent-hover: #D4801A;
  --text: #111111;
  --text-muted: #5C5C5C;
  --border: rgba(11, 33, 23, 0.12);
  --card-bg: #FFFFFF;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 32px rgba(11, 33, 23, 0.08);
  --shadow-lg: 0 12px 56px rgba(11, 33, 23, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

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

/* --- NAVIGATION --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--dark); }

/* --- HERO --- */
.hero {
  padding: 72px 24px 64px;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero-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: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 28px;
}
.hero-pricing-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  background: var(--bg-alt);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

/* Hero widget */
.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-widget {
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  border: 1px solid var(--border);
}
.widget-label {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 16px;
}
.widget-call {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #F0FAF2;
  border-bottom: 1px solid rgba(11, 33, 23, 0.08);
}
.widget-call-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.widget-call-info { flex: 1; }
.widget-call-number {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  font-family: 'Space Grotesk', monospace;
}
.widget-call-status {
  font-size: 12px;
  color: var(--text-muted);
}
.widget-call-badge {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}
.widget-transcript {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.widget-msg {
  font-size: 12.5px;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 10px;
}
.widget-msg-customer {
  background: #E8E8E8;
  color: #222;
  align-self: flex-start;
  max-width: 85%;
}
.widget-msg-ai {
  background: var(--dark);
  color: #F5F5F5;
  align-self: flex-end;
  max-width: 90%;
}
.widget-status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #F5FAFF;
  border-top: 1px solid rgba(11, 33, 23, 0.08);
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}
.widget-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
}

/* --- STATS --- */
.stats {
  background: var(--dark);
  padding: 40px 24px;
}
.stats-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.stat {
  flex: 1;
  text-align: center;
  padding: 0 32px;
}
.stat:first-child { text-align: left; }
.stat:last-child { text-align: right; }
.stat-number {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* --- SECTION HEADER --- */
.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-headline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- FEATURES --- */
.features {
  padding: 80px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- NICHES --- */
.niches {
  background: var(--bg-alt);
  padding: 80px 24px;
}
.niches-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: center;
}
.niches-text h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.niches-text p {
  font-size: 15px;
  color: var(--text-muted);
}
.niches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.niche-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  padding: 12px 16px;
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.niche-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* --- PROCESS --- */
.process {
  padding: 80px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 0;
}
.process-step {
  position: relative;
}
.process-step-number {
  font-family: 'Space Grotesk', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 16px;
}
.process-step h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.process-step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- OUTCOMES --- */
.outcomes {
  background: var(--dark);
  padding: 80px 24px;
}
.outcomes-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.outcomes-headline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.outcomes-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 48px;
  line-height: 1.65;
}
.outcomes-stats {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
}
.outcome-stat {
  flex: 1;
  padding: 0 24px;
}
.outcome-stat:first-child { border-left: none; }
.outcome-stat + .outcome-stat {
  border-left: 1px solid rgba(255,255,255,0.15);
}
.outcome-stat-value {
  font-family: 'Space Grotesk', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.outcome-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.outcomes-tagline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  font-style: italic;
}

/* --- CLOSING --- */
.closing {
  background: var(--bg-alt);
  padding: 80px 24px;
  text-align: center;
}
.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}
.closing h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.closing p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.closing-cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.closing-cta-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.closing-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.2s;
}
.closing-cta-btn:hover { background: var(--dark-mid); }

/* --- FOOTER --- */
.footer {
  background: var(--dark);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer-legal {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 20px 40px;
  }
  .hero-visual { order: -1; }
  .hero-headline { font-size: 36px; }
  .stats-inner {
    flex-direction: column;
    gap: 24px;
  }
  .stat, .stat:last-child, .stat:first-child { text-align: center; }
  .stat-divider { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .niches-inner { grid-template-columns: 1fr; gap: 40px; }
  .niches-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .outcomes-stats { flex-direction: column; }
  .outcome-stat + .outcome-stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.15); }
  .nav-links { display: none; }
}

@media (max-width: 480px) {
  .niches-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 30px; }
  .stat-number { font-size: 34px; }
}