/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #111318;
  --surface: #181B21;
  --surface2: #1F2329;
  --border: #2A2E36;
  --teal: #00D4A8;
  --amber: #FFAB40;
  --fg: #F0EEE8;
  --fg-muted: #8A8F98;
  --fg-dim: #5A5F68;
  --font-head: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--teal) var(--bg);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

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

::selection { background: var(--teal); color: var(--bg); }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* =====================
   NAV
   ===================== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

.nav-brand {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
}

.brand-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--fg); text-decoration: none; }

.nav-cta {
  background: var(--teal) !important;
  color: var(--bg) !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; text-decoration: none; }

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

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 80%);
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
}

.metric { display: flex; flex-direction: column; gap: 4px; }

.metric-val {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--teal);
}

.metric-label {
  font-size: 11px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* =====================
   FLOW DIAGRAM
   ===================== */
.flow-diagram {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.flow-step:hover { border-color: var(--teal); }

.flow-trigger { border-left: 3px solid var(--teal); }
.flow-ai { border-left: 3px solid var(--amber); }
.flow-crm { border-left: 3px solid var(--teal); }
.flow-done { border-left: 3px solid var(--teal); }

.step-label {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}

.flow-arrow {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =====================
   NICHE GRID
   ===================== */
.niches {
  padding: 96px 48px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.7;
}

.niche-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.niche-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.niche-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.niche-icon {
  margin-bottom: 16px;
}

.niche-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.niche-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.niche-stat {
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.05em;
}

/* =====================
   HOW IT WORKS
   ===================== */
.how {
  padding: 96px 48px;
  border-top: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 56px auto 0;
}

.step {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.step-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.3;
  display: block;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.step h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.tools-row {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 56px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.tools-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.tools-logos { display: flex; gap: 8px; flex-wrap: wrap; }

.tool-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--fg-muted);
  background: var(--surface);
}

/* =====================
   PRICING
   ===================== */
.pricing {
  padding: 96px 48px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.pricing .section-headline { text-align: center; }
.pricing .section-sub { text-align: center; margin-left: auto; margin-right: auto; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 56px auto 0;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  transition: border-color 0.3s;
}

.pricing-card:hover { border-color: var(--fg-dim); }

.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 40px rgba(0, 212, 168, 0.08);
}

.card-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.card-price {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.price-sup {
  font-size: 14px;
  font-weight: 400;
  color: var(--fg-muted);
}

.card-retainer {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
  color: var(--fg-muted);
  margin-bottom: 28px;
}

.retainer-sup {
  font-size: 13px;
  font-weight: 400;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-features li {
  font-size: 14px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-features li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='7' stroke='%2300D4A8' stroke-width='1.5'/%3E%3Cpath d='M5.5 8l2 2 3-3' stroke='%23FFAB40' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--fg-dim);
  max-width: 500px;
  margin: 40px auto 0;
}

/* =====================
   PHILOSOPHY
   ===================== */
.philosophy {
  padding: 96px 48px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.philosophy-quote p {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--fg);
  border-left: 3px solid var(--teal);
  padding-left: 28px;
}

.philosophy-body p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

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

.closing h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.closing p {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-dim);
}

.footer-legal {
  font-size: 12px;
  color: var(--fg-dim);
}

/* =====================
   MOBILE
   ===================== */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav-links { display: none; }

  .hero { padding: 64px 24px 56px; }
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }

  .niches, .how, .pricing, .philosophy, .closing { padding: 64px 24px; }
  .niche-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .philosophy { grid-template-columns: 1fr; gap: 40px; }

  .hero-metrics { flex-wrap: wrap; }
  .metric-sep { display: none; }
}

@media (max-width: 480px) {
  .flow-diagram { padding: 24px; }
  .step-label { font-size: 13px; }
}
