:root {
  --bg: #0d0d1a;
  --bg-surface: #13132a;
  --bg-card: #1a1a35;
  --fg: #f0f0fa;
  --fg-muted: #8a8ab0;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.15);
  --accent-hover: #fbbf24;
  --border: rgba(240, 240, 250, 0.08);
  --section-pad: 100px 24px;
  --radius: 12px;
  --radius-sm: 8px;
}

* { 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;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  background: rgba(13, 13, 26, 0.85);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.header-nav {
  display: flex;
  gap: 32px;
}
.header-nav a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--fg); }

/* --- Hero --- */
.hero {
  position: relative;
  padding: 100px 24px 80px;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 440px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-value {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.automation-diagram {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}
.node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.node span {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
  white-space: nowrap;
}
.flow-arrow {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 4px;
}
.node-trigger .node, .node-ai .node, .node-crm .node, .node-done .node { display: flex; }
.workflow-label {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
}

/* --- Sections --- */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 540px;
  margin-bottom: 60px;
}

/* --- Features --- */
.features {
  background: var(--bg-surface);
  padding: var(--section-pad);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(245,158,11,0.3); }
.feature-card--accent {
  background: linear-gradient(135deg, rgba(245,158,11,0.08) 0%, var(--bg-card) 100%);
  border-color: rgba(245,158,11,0.25);
}
.feature-icon {
  margin-bottom: 16px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
}
.feature-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* --- How --- */
.how-it-works {
  padding: var(--section-pad);
}
.steps-row {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
  gap: 0;
  align-items: start;
}
.step { padding-right: 20px; }
.step-number {
  font-family: 'Sora', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.step-connector {
  height: 60px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(245,158,11,0.3) 0px,
    rgba(245,158,11,0.3) 4px,
    transparent 4px,
    transparent 10px
  );
  margin-top: 50px;
  width: 2px;
}

/* --- Pricing --- */
.pricing {
  background: var(--bg-surface);
  padding: var(--section-pad);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.pricing-card--featured {
  background: linear-gradient(160deg, rgba(245,158,11,0.1) 0%, var(--bg-card) 60%);
  border-color: rgba(245,158,11,0.3);
  position: relative;
}
.pricing-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.pricing-badge--accent { color: var(--accent); }
.pricing-price {
  font-family: 'Sora', sans-serif;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.pricing-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--fg-muted);
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  font-size: 14px;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.pricing-note {
  font-size: 13px;
  color: var(--fg-muted);
  text-align: center;
}

/* --- Closing --- */
.closing {
  padding: 120px 24px;
  text-align: center;
}
.closing-inner { max-width: 760px; margin: 0 auto; }
.closing-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 48px;
}
.closing-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.closing-stat { text-align: center; }
.closing-stat-value {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
}
.closing-stat-label {
  display: block;
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 4px;
}
.closing-stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}
.closing-tagline {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
}
.footer-copy {
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.6;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-headline { font-size: 38px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; gap: 40px; }
  .step-connector { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .closing-stats { gap: 20px; }
  .closing-stat-sep { display: none; }
  .automation-diagram { padding: 20px; gap: 4px; }
  .node span { font-size: 9px; }
}