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

:root {
  --bg: #0a0a0b;
  --bg-card: #111113;
  --bg-card-hover: #18181b;
  --fg: #f0ede8;
  --fg-muted: #8a8880;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --accent-glow: rgba(245, 158, 11, 0.06);
  --border: rgba(240, 237, 232, 0.06);
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1100px;
  --section-pad: clamp(64px, 8vw, 96px);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,11,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner { max-width: var(--max-w); margin: 0 auto; }
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}

/* ===== HERO ===== */
.hero {
  padding: clamp(100px, 12vw, 140px) clamp(24px, 5vw, 64px) 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  white-space: pre-line;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
}
.glow-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.15;
}
.glow-ring-1 { width: 220px; height: 220px; }
.glow-ring-2 { width: 320px; height: 320px; border-opacity: 0.08; }
.glow-ring-3 { width: 440px; height: 440px; border-opacity: 0.04; }
.network-grid {
  position: relative;
  z-index: 2;
}
.network-grid svg {
  width: 280px;
  height: 280px;
}

/* Hero Stats */
.hero-stats {
  max-width: var(--max-w);
  margin: 56px auto 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.stat { padding: 0 48px 0 0; }
.stat:first-child { padding-left: 0; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--fg-muted);
  max-width: 160px;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin-right: 48px;
  flex-shrink: 0;
}

/* ===== SHARED SECTION STYLES ===== */
.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
}
.section-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 56px;
}

/* ===== WHAT WE AUTOMATE ===== */
.what {
  padding: var(--section-pad) clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--border);
}
.what-inner { max-width: var(--max-w); margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg-card);
  padding: 32px 28px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-card-hover); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== INDUSTRIES ===== */
.industries {
  padding: var(--section-pad) clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--border);
}
.industries-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.industries-body {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 380px;
  line-height: 1.7;
}
.industry-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.industry-card:last-child { border-bottom: none; }
.industry-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.industry-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}
.industry-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== PROCESS ===== */
.process {
  padding: var(--section-pad) clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--border);
}
.process-inner { max-width: var(--max-w); margin: 0 auto; }
.process-headline { max-width: 400px; }
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
}
.step { position: relative; }
.step-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  display: block;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.step-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
  margin-bottom: 24px;
}
.step-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===== PRICING ===== */
.pricing {
  padding: var(--section-pad) clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--border);
}
.pricing-inner { max-width: var(--max-w); margin: 0 auto; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
}
.pricing-card-featured {
  border-color: rgba(245, 158, 11, 0.3);
  background: linear-gradient(135deg, rgba(245,158,11,0.05) 0%, var(--bg-card) 60%);
}
.pricing-badge {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
  margin-bottom: 20px;
}
.pricing-badge-featured {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
}
.pricing-price { margin-bottom: 4px; }
.price-setup {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.04em;
}
.price-label { font-size: 0.9rem; color: var(--fg-muted); }
.pricing-setup-note {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-bottom: 28px;
}
.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}
.pricing-features li {
  font-size: 0.88rem;
  color: var(--fg-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-monthly {
  font-size: 0.85rem;
  color: var(--fg-muted);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.pricing-monthly span {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--fg);
}
.pricing-note {
  font-size: 0.82rem;
  color: var(--fg-muted);
  text-align: center;
  font-style: italic;
}

/* ===== CLOSING ===== */
.closing {
  padding: clamp(80px, 10vw, 120px) clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing-inner { max-width: var(--max-w); margin: 0 auto; }
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== HERO CTA ===== */
.hero-cta {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-cta-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #0a0a0b;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-full { width: 100%; }

/* ===== LEAD FORM ===== */
.lead-form {
  max-width: 520px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lead-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .lead-form-row { grid-template-columns: 1fr; } }
.lead-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lead-field label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lead-field input,
.lead-field select,
.lead-field textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--fg);
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.lead-field input::placeholder,
.lead-field textarea::placeholder { color: var(--fg-muted); opacity: 0.6; }
.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus { border-color: var(--accent); }
.lead-field select { appearance: none; cursor: pointer; }
.lead-field textarea { resize: vertical; min-height: 80px; }
.lead-form-note {
  font-size: 0.78rem;
  color: var(--fg-muted);
  text-align: center;
  margin-top: 4px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; text-align: center; }
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--fg);
  display: block;
  margin-bottom: 8px;
}
.footer-tagline { font-size: 0.85rem; color: var(--fg-muted); margin-bottom: 16px; }
.footer-copy { font-size: 0.78rem; color: #444442; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 24px; }
  .stat-divider { display: none; }
  .stat { padding: 0; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-inner { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { padding-top: 32px; }
}