/* === TOKENS === */
:root {
  --bg: #0B0E14;
  --surface: #111620;
  --surface-2: #161B26;
  --accent: #E8A838;
  --accent-dim: rgba(232, 168, 56, 0.12);
  --text: #E8EAF0;
  --text-muted: #6B7A8D;
  --text-dim: #3D4A5C;
  --green: #34D399;
  --steel: #8899AA;
  --border: rgba(107, 122, 141, 0.18);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Figtree', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: 'Syne', sans-serif; font-weight: 700; }

/* === NAV === */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem;
  color: var(--accent); letter-spacing: -0.02em;
}
.nav-tagline { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }

/* === HERO === */
.hero { padding: 80px 32px 96px; }
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.headline-accent { color: var(--accent); }
.hero-sub {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 440px; margin-bottom: 40px;
  line-height: 1.7;
}
.hero-proof {
  display: flex; align-items: baseline; gap: 12px;
  padding: 16px 20px;
  background: var(--accent-dim);
  border: 1px solid rgba(232, 168, 56, 0.25);
  border-radius: 8px;
  display: inline-flex;
}
.proof-number {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2rem;
  color: var(--accent); line-height: 1;
}
.proof-text { font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }

/* === WORKFLOW WIDGET === */
.workflow-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.widget-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.widget-title { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.85rem; }
.widget-status {
  font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--green);
  display: flex; align-items: center; gap: 5px;
}
.widget-status::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--green); display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
.widget-flow { display: flex; flex-direction: column; gap: 8px; }
.flow-node {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px;
}
.node-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.inbox-icon { background: rgba(52, 211, 153, 0.15); color: var(--green); }
.ai-icon { background: rgba(232, 168, 56, 0.15); color: var(--accent); }
.crm-icon { background: rgba(107, 122, 141, 0.2); color: var(--steel); }
.check-icon { background: rgba(52, 211, 153, 0.15); color: var(--green); }
.success-node { border-color: rgba(52, 211, 153, 0.3); }
.node-body { flex: 1; }
.node-label { display: block; font-size: 0.82rem; font-weight: 600; }
.node-meta { display: block; font-size: 0.7rem; color: var(--text-muted); }
.node-badge {
  font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 100px; font-weight: 600;
}
.node-badge.green { background: rgba(52, 211, 153, 0.15); color: var(--green); }
.node-badge.amber { background: rgba(232, 168, 56, 0.15); color: var(--accent); }
.node-badge.steel { background: rgba(107, 122, 141, 0.2); color: var(--steel); }
.flow-arrow { display: flex; justify-content: center; padding: 2px 0; }
.widget-metrics {
  display: flex; align-items: center;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border);
  gap: 0;
}
.metric { text-align: center; flex: 1; }
.metric-val { display: block; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--text); }
.metric-lbl { display: block; font-size: 0.68rem; color: var(--text-muted); margin-top: 2px; }
.metric-sep { width: 1px; height: 32px; background: var(--border); }

/* === PAIN === */
.pain { padding: 80px 32px; background: var(--surface); }
.pain-inner { max-width: 1100px; margin: 0 auto; }
.pain-statement {
  font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.7;
  color: var(--text-muted); max-width: 760px;
  margin-bottom: 56px;
}
.pain-statement strong { color: var(--text); font-weight: 600; }
.pain-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pain-col { padding: 32px; border-radius: 12px; }
.pain-col.wrong { background: rgba(239, 68, 68, 0.06); border: 1px solid rgba(239, 68, 68, 0.15); }
.pain-col.right { background: rgba(52, 211, 153, 0.06); border: 1px solid rgba(52, 211, 153, 0.15); }
.pain-header { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.wrong .pain-header { color: #F87171; }
.right .pain-header { color: var(--green); }
.pain-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pain-list li { font-size: 0.9rem; color: var(--text-muted); padding-left: 16px; position: relative; }
.wrong .pain-list li::before { content: '✕'; position: absolute; left: 0; color: #F87171; }
.right .pain-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); }

/* === SERVICES === */
.services { padding: 80px 32px; }
.services-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2; letter-spacing: -0.02em;
  max-width: 560px; margin-bottom: 48px;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.2s;
}
.service-card:hover { border-color: rgba(232, 168, 56, 0.4); }
.accent-card {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(232, 168, 56, 0.08) 100%);
  border-color: rgba(232, 168, 56, 0.3);
  display: flex; flex-direction: column; gap: 12px;
}
.service-icon { margin-bottom: 16px; color: var(--accent); }
.service-name { font-size: 1rem; font-weight: 700; margin-bottom: 8px; font-family: 'Syne', sans-serif; }
.service-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.service-target { font-size: 0.72rem; color: var(--text-dim); letter-spacing: 0.04em; }
.accent-price { display: flex; align-items: baseline; gap: 4px; }
.price-val { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2.4rem; color: var(--accent); }
.price-per { font-size: 0.9rem; color: var(--text-muted); }
.accent-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.accent-note { font-size: 0.78rem; color: var(--text-dim); font-style: italic; }

/* === PROCESS === */
.process { padding: 80px 32px; background: var(--surface); }
.process-inner { max-width: 1100px; margin: 0 auto; }
.process-steps {
  display: flex; align-items: flex-start; gap: 0;
  margin-top: 48px;
}
.step { flex: 1; }
.step-num {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 0.7rem;
  letter-spacing: 0.06em; color: var(--accent); margin-bottom: 12px;
}
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; font-family: 'Syne', sans-serif; }
.step-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.step-connector { flex-shrink: 0; width: 60px; height: 2px; background: var(--border); margin-top: 28px; }

/* === CLOSING === */
.closing { padding: 96px 32px; }
.closing-inner { max-width: 1100px; margin: 0 auto; }
.closing-visual {
  display: flex; align-items: center; justify-content: center; gap: 32px;
  margin-bottom: 56px;
}
.closing-node { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.closing-node .node-label { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }
.node-graphic { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 32px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; min-width: 140px; }
.person-icon { color: var(--text-muted); }
.person-icon.muted { opacity: 0.3; }
.node-task { font-size: 0.85rem; font-weight: 600; }
.node-effort { font-size: 0.75rem; color: var(--text-muted); }
.node-effort.green { color: var(--green); }
.closing-arrow { display: flex; align-items: center; }
.closing-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.03em; line-height: 1.1;
  text-align: center; max-width: 680px;
  margin: 0 auto 24px;
}
.closing-sub { font-size: 1rem; color: var(--text-muted); text-align: center; max-width: 480px; margin: 0 auto; line-height: 1.7; }

/* === FOOTER === */
.footer { padding: 48px 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 { font-family: 'Syne', sans-serif; font-weight: 800; color: var(--accent); font-size: 1rem; }
.footer-tagline { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.footer-meta { font-size: 0.78rem; color: var(--text-dim); max-width: 300px; text-align: right; line-height: 1.5; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 56px 20px 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-headline { font-size: 2rem; }
  .pain-statement { font-size: 1rem; }
  .pain-split { grid-template-columns: 1fr; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 24px; }
  .step-connector { width: 2px; height: 32px; margin-top: 0; margin-left: 20px; }
  .closing-visual { flex-direction: column; }
  .closing-headline { font-size: 1.6rem; }
  .footer-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer-meta { text-align: left; max-width: none; }
  .nav-inner { padding: 14px 20px; }
  .widget-metrics { gap: 8px; }
  .metric-val { font-size: 1rem; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-sub { font-size: 0.95rem; }
}