/* ===== FONTS ===== */
:root {
  --bg: #060D1A;
  --surface: #0B1827;
  --surface-2: #0F2035;
  --surface-3: #142842;
  --fg: #D4D8E0;
  --fg-muted: #5A7286;
  --fg-dim: #3A5066;
  --gold: #C8A84B;
  --gold-dim: rgba(200,168,75,0.15);
  --gold-line: rgba(200,168,75,0.3);
  --teal: #2A7C6F;
  --teal-dim: rgba(42,124,111,0.2);
  --border: rgba(255,255,255,0.06);
  --border-mid: rgba(255,255,255,0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Plus Jakarta Sans', sans-serif;
  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(--surface-3); border-radius: 3px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.1; }
.section-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-headline { font-size: clamp(28px, 4vw, 42px); color: #fff; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--fg-muted); max-width: 560px; line-height: 1.7; }

/* ===== NAV ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 40px; border-bottom: 1px solid var(--border); background: rgba(6,13,26,0.92); backdrop-filter: blur(12px); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-mark { width: 32px; height: 32px; background: var(--gold); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 16px; color: var(--bg); }
.nav-logo-text { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 17px; color: #fff; }
.nav-tagline { font-size: 12px; color: var(--fg-muted); letter-spacing: 0.04em; }

/* ===== HERO ===== */
.hero { padding: 140px 40px 100px; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.hero-headline { font-size: clamp(36px, 5vw, 58px); color: #fff; margin-bottom: 20px; line-height: 1.05; }
.hero-sub { font-size: 17px; color: var(--fg-muted); max-width: 480px; line-height: 1.7; margin-bottom: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { padding: 6px 14px; border: 1px solid var(--border-mid); border-radius: 100px; font-size: 12px; font-weight: 500; color: var(--fg-muted); background: var(--surface); }

/* Dashboard mockup */
.hero-visual { display: flex; justify-content: flex-end; }
.hero-dashboard-frame { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--border-mid); border-radius: 16px; overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,168,75,0.1); }
.dashboard-header { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.dashboard-title { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }
.dashboard-live-badge { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--teal); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.dashboard-event-name { padding: 14px 20px 8px; font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: #fff; }
.dashboard-steps { padding: 0 20px 16px; display: flex; flex-direction: column; gap: 6px; }
.step { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); transition: all 0.3s; }
.step-num { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; color: var(--fg-dim); min-width: 24px; }
.step-body { flex: 1; }
.step-label { font-size: 13px; font-weight: 500; color: var(--fg-muted); }
.step-data { font-size: 11px; color: var(--fg-dim); margin-top: 2px; font-family: monospace; }
.step-data-prompt { color: var(--gold); }
.step-done { border-color: var(--gold-line); background: var(--gold-dim); }
.step-done .step-label { color: var(--fg); }
.step-active { border-color: var(--gold); background: rgba(200,168,75,0.08); box-shadow: 0 0 0 1px rgba(200,168,75,0.3); }
.step-active .step-num { color: var(--gold); }
.step-active .step-label { color: #fff; }
.step-pending .step-label { color: var(--fg-dim); }
.step-active-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.dashboard-footer { padding: 12px 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; font-size: 11px; color: var(--fg-dim); font-family: monospace; }

/* ===== PROBLEM ===== */
.problem { padding: 100px 40px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.problem-inner { max-width: 1200px; margin: 0 auto; }
.problem-header { text-align: center; margin-bottom: 64px; }
.problem-header .section-sub { margin: 0 auto; }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.problem-card { padding: 36px 28px; background: var(--surface-2); text-align: center; }
.problem-stat { font-family: 'Syne', sans-serif; font-size: 48px; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.problem-stat-label { font-size: 12px; font-weight: 600; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; line-height: 1.4; }
.problem-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* ===== FEATURES ===== */
.features { padding: 100px 40px; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-header { text-align: center; margin-bottom: 80px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.feature-row-reverse { direction: rtl; }
.feature-row-reverse > * { direction: ltr; }
.feature-num { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 0.2em; margin-bottom: 12px; }
.feature-headline { font-size: clamp(24px, 3vw, 34px); color: #fff; margin-bottom: 16px; }
.feature-body { font-size: 16px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 24px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { font-size: 14px; color: var(--fg); padding-left: 20px; position: relative; }
.feature-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 1px; background: var(--gold); }

/* Feature visual frames */
.feature-img-wrap { display: flex; justify-content: center; }
.feature-img-frame { width: 100%; max-width: 440px; background: var(--surface-2); border: 1px solid var(--border-mid); border-radius: 14px; overflow: hidden; }
.feature-img-label { padding: 10px 16px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); border-bottom: 1px solid var(--border); background: var(--surface-3); }
.feature-img-content { padding: 24px; min-height: 200px; display: flex; align-items: center; justify-content: center; }

/* Flow diagram */
.flow-diagram { width: 100%; text-align: center; }
.flow-node { display: inline-block; padding: 8px 16px; border: 1px solid var(--border-mid); border-radius: 8px; font-size: 12px; font-weight: 500; color: var(--fg-muted); background: var(--surface-3); margin: 4px; }
.flow-node-root { border-color: var(--gold-line); color: var(--fg); font-weight: 600; }
.flow-node-gold { border-color: var(--gold-line); color: var(--gold); }
.flow-connector { width: 2px; height: 20px; background: var(--border-mid); margin: 0 auto; }
.flow-splits { display: flex; gap: 20px; justify-content: center; }
.flow-branch { display: flex; flex-direction: column; align-items: center; gap: 6px; }

/* Standards visual */
.standards-visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 4px; }
.std-block { padding: 12px 8px; border-radius: 8px; font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; text-align: center; border: 1px solid; }
.std-aami { border-color: rgba(200,168,75,0.3); color: var(--gold); background: var(--gold-dim); }
.std-aorn { border-color: rgba(42,124,111,0.4); color: var(--teal); background: var(--teal-dim); }
.std-cms { border-color: rgba(255,255,255,0.1); color: var(--fg-muted); background: var(--surface-3); }
.std-osha { border-color: rgba(255,255,255,0.1); color: var(--fg-muted); background: var(--surface-3); }
.std-jc { border-color: rgba(255,255,255,0.1); color: var(--fg-muted); background: var(--surface-3); grid-column: span 3; }
.std-unified { grid-column: span 3; font-size: 11px; color: var(--fg-dim); text-align: center; padding: 8px 0 4px; }

/* Audit table */
.audit-table { width: 100%; font-size: 12px; }
.audit-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr 0.8fr; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--border); align-items: center; }
.audit-row:last-child { border-bottom: none; }
.audit-row span { color: var(--fg-muted); font-family: monospace; font-size: 11px; }
.audit-header { border-bottom: 1px solid var(--border-mid); }
.audit-header span { color: var(--fg-dim); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.audit-resolve { color: var(--teal) !important; font-weight: 600; }

/* ===== OUTCOMES ===== */
.outcomes { padding: 100px 40px; background: var(--surface); border-top: 1px solid var(--border); }
.outcomes-inner { max-width: 1200px; margin: 0 auto; }
.outcomes-header { text-align: center; margin-bottom: 64px; }
.outcomes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.outcome-card { padding: 40px 32px; background: var(--surface-2); border: 1px solid var(--border-mid); border-radius: 16px; }
.outcome-metric { font-family: 'Syne', sans-serif; font-size: 52px; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.outcome-label { font-size: 14px; font-weight: 600; color: var(--fg); margin-bottom: 16px; }
.outcome-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* ===== CLOSING ===== */
.closing { padding: 120px 40px; }
.closing-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.closing-headline { font-family: 'Syne', sans-serif; font-size: clamp(28px, 4vw, 46px); color: #fff; font-weight: 700; line-height: 1.15; margin-bottom: 28px; }
.closing-body { font-size: 18px; color: var(--fg-muted); line-height: 1.75; max-width: 640px; margin: 0 auto 48px; }
.closing-founder { display: flex; align-items: center; justify-content: center; gap: 16px; }
.founder-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-dim); border: 1px solid var(--gold-line); display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 14px; color: var(--gold); }
.founder-name { font-size: 15px; font-weight: 600; color: var(--fg); }
.founder-title { font-size: 13px; color: var(--fg-muted); }

/* ===== FOOTER ===== */
.footer { padding: 40px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; color: #fff; }
.footer-logo-mark { width: 28px; height: 28px; background: var(--gold); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--bg); font-weight: 800; }
.footer-tagline { font-size: 13px; color: var(--fg-muted); margin-top: 4px; }
.footer-meta { font-size: 13px; color: var(--fg-dim); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-dashboard-frame { max-width: 100%; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row-reverse { direction: ltr; }
  .outcomes-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav { padding: 0 20px; }
  .hero { padding: 100px 20px 60px; }
  .problem, .features, .outcomes, .closing { padding: 60px 20px; }
  .problem-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .standards-visual { grid-template-columns: repeat(2, 1fr); }
  .std-jc, .std-unified { grid-column: span 2; }
}