/* === TOKENS === */
:root {
  --bg: #080b12;
  --surface: #0d1526;
  --surface-2: #111d35;
  --border: rgba(255,255,255,0.07);
  --fg: #e2e8f0;
  --fg-muted: #8896ae;
  --fg-dim: #4a5568;
  --accent: #3effa0;
  --accent-dim: rgba(62,255,160,0.12);
  --warn: #f5a623;
  --warn-dim: rgba(245,166,35,0.12);
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

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

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  font-size: 22px;
  color: var(--accent);
}

.nav-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* === HERO === */
.hero {
  padding: 80px 48px 100px;
  background: linear-gradient(180deg, var(--bg) 0%, #070a11 100%);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.hero-stat-block {
  margin-bottom: 36px;
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}

.hero-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 4px;
}

.hero-stat {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat-sub {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 4px;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  font-size: 12px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--fg-muted);
  background: var(--surface);
  letter-spacing: 0.01em;
}

/* === AUDIT CARD === */
.audit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 13px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
}

.audit-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.audit-card-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  font-weight: 600;
}

.audit-badge {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.audit-badge.passed {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(62,255,160,0.2);
}

.audit-list {
  padding: 8px 0;
}

.audit-row {
  display: grid;
  grid-template-columns: 80px 1fr 100px 32px;
  align-items: center;
  padding: 8px 18px;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.audit-row:last-child { border-bottom: none; }
.audit-row.warning { background: var(--warn-dim); }

.audit-time {
  color: var(--fg-dim);
  font-family: 'Courier New', monospace;
  font-size: 12px;
}

.audit-action {
  color: var(--fg);
  font-size: 13px;
}

.audit-id {
  color: var(--fg-muted);
  font-family: 'Courier New', monospace;
  font-size: 11px;
}

.audit-status {
  font-size: 14px;
  text-align: center;
}

.audit-status.ok { color: var(--accent); }
.audit-status.warn { color: var(--warn); }

.audit-card-footer {
  display: flex;
  justify-content: space-between;
  padding: 10px 18px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 11px;
  color: var(--fg-dim);
}

/* === SECTION LABEL === */
.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
}

/* === PROOF SECTION === */
.proof-section {
  padding: 100px 48px;
  background: #070a11;
  border-top: 1px solid var(--border);
}

.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.proof-header {
  margin-bottom: 64px;
}

.proof-headline {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--fg);
  max-width: 680px;
  letter-spacing: -0.015em;
}

.proof-headline em {
  font-style: italic;
  color: var(--accent);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.proof-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
}

.proof-card:first-child { border-radius: 12px 0 0 0; }
.proof-card:nth-child(2) { border-radius: 0 12px 0 0; }
.proof-card:nth-child(3) { border-radius: 0 0 0 12px; }
.proof-card:last-child { border-radius: 0 0 12px 0; }

.proof-icon {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.proof-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.3;
}

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

/* === WORKFLOW SECTION === */
.workflow-section {
  padding: 100px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.workflow-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.workflow-header {
  margin-bottom: 56px;
}

.workflow-headline {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--fg);
  letter-spacing: -0.015em;
}

.workflow-headline em {
  font-style: italic;
  color: var(--accent);
}

.workflow-visual {
  margin-bottom: 64px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.workflow-img {
  width: 100%;
  height: auto;
  display: block;
}

.workflow-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.workflow-step {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.step-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.35;
  margin-bottom: 16px;
  line-height: 1;
}

.step-body h4 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

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

/* === COMPARISON === */
.comparison-section {
  padding: 100px 48px;
  background: #070a11;
  border-top: 1px solid var(--border);
}

.comparison-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.comparison-header {
  margin-bottom: 56px;
}

.comparison-headline {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--fg);
  letter-spacing: -0.015em;
}

.comparison-headline em {
  font-style: italic;
  color: var(--accent);
}

.comparison-table {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.comp-row {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.comp-row:last-child { border-bottom: none; }

.comp-row.comp-header-row {
  background: var(--surface-2);
}

.comp-col {
  padding: 18px 24px;
  font-size: 14px;
  border-right: 1px solid var(--border);
}

.comp-col:last-child { border-right: none; }

.comp-header-row .comp-col {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  font-weight: 600;
}

.col-cap {
  color: var(--fg);
  font-weight: 500;
}

.col-servicenow {
  color: var(--fg-muted);
}

.col-proofops {
  color: var(--accent);
  font-weight: 500;
}

.comp-row:not(.comp-header-row):nth-child(odd) {
  background: var(--surface);
}

/* === CLOSING === */
.closing-section {
  padding: 120px 48px 140px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.closing-badge {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid rgba(62,255,160,0.25);
  background: var(--accent-dim);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 40px;
  font-weight: 600;
}

.closing-headline {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.closing-headline em {
  font-style: italic;
  color: var(--accent);
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 72px;
}

.closing-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
}

.closing-stat {
  padding: 40px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.closing-stat:first-child { border-radius: 12px 0 0 12px; }
.closing-stat:last-child { border-radius: 0 12px 12px 0; }

.cstat-number {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.cstat-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero { padding: 60px 24px 80px; }
  .hero-stat { font-size: 40px; }
  .hero-headline { font-size: 32px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card:first-child { border-radius: 12px 12px 0 0; }
  .proof-card:last-child { border-radius: 0 0 12px 12px; }
  .workflow-steps { grid-template-columns: 1fr; }
  .comp-row { grid-template-columns: 140px 1fr 1fr; }
  .closing-stats { grid-template-columns: 1fr; }
  .closing-stat:first-child { border-radius: 12px 12px 0 0; }
  .closing-stat:last-child { border-radius: 0 0 12px 12px; }
  .closing-headline { font-size: 36px; }
  .nav { padding: 16px 24px; }
  .nav-tagline { display: none; }
}

@media (max-width: 600px) {
  .proof-section, .workflow-section, .comparison-section, .closing-section { padding: 64px 24px; }
  .comp-row { grid-template-columns: 1fr; }
  .comp-col { border-right: none; border-bottom: 1px solid var(--border); padding: 12px 16px; }
  .comp-row .comp-col:last-child { border-bottom: none; }
}