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

:root {
  --bg: #0F1117;
  --surface: #161922;
  --border: #1E2230;
  --fg: #E8E9ED;
  --fg-muted: #8B8D9B;
  --accent: #A8FF3E;
  --accent-dim: rgba(168, 255, 62, 0.12);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

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

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

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--fg);
  letter-spacing: -0.3px;
}

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

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

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

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 32px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 420px;
  line-height: 1.65;
}

/* Node diagram */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-diagram {
  position: relative;
  width: 300px;
  height: 220px;
}

.node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.node-ai { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.node-crm { top: 0; left: 0; }
.node-email { top: 0; right: 0; }
.node-tasks { bottom: 0; left: 0; }

.node-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.node-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Pulse rings */
.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: pulse 3s ease-out infinite;
}

.pulse-ring-2 { animation-delay: 1.5s; }

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* Hero bottom */
.hero-bottom {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  font-size: 14px;
  color: var(--fg-muted);
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--fg);
  font-size: 16px;
}

/* Features */
.features {
  padding: 120px 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 20px;
}

.features h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 64px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--surface);
  padding: 48px;
  transition: background 0.2s;
}

.feature-card:hover { background: #1C1F2C; }

.feature-icon {
  margin-bottom: 24px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* How */
.how {
  padding: 120px 32px;
  background: var(--surface);
}

.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 80px;
}

.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 0 48px 0 0;
}

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 24px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.step-content p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.step-divider {
  width: 1px;
  height: 120px;
  background: var(--border);
  margin-right: 48px;
  margin-top: 20px;
  flex-shrink: 0;
}

/* Outcomes */
.outcomes {
  padding: 100px 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 64px;
}

.outcome {
  background: var(--surface);
  padding: 48px 40px;
}

.outcome-num {
  display: block;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -2px;
  margin-bottom: 12px;
}

.outcome-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.outcomes-note {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--fg-muted);
  text-align: center;
}

/* Closing */
.closing {
  padding: 100px 32px;
  background: var(--surface);
  text-align: center;
}

.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -1px;
  color: var(--fg-muted);
  max-width: 700px;
  margin: 0 auto;
}

.closing-accent {
  color: var(--accent);
}

/* Footer */
footer {
  padding: 40px 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 100px 24px 60px; }
  .hero-content { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { order: -1; }
  .node-diagram { width: 240px; height: 180px; }
  .features, .how, .outcomes { padding: 80px 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .how-steps { flex-direction: column; }
  .step-divider { width: 40px; height: 1px; margin: 0 0 32px; }
  .step { padding: 0; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 40px; letter-spacing: -1px; }
  .feature-card { padding: 32px; }
  .outcome { padding: 32px 24px; }
  .outcome-num { font-size: 40px; }
}