/* =========================================================================
   Orquesta — shared site styles
   Preserves the design language from the original single-page index.html:
   - Syne / DM Mono fonts
   - Dark background (#080a0f) with cyan (#00e5c8) accent
   - 1px-border grid surfaces, fadeUp animation, IntersectionObserver reveals
   New patterns added (architecture flow, comparison table, role cards, tabs)
   follow the same token system below.
   ========================================================================= */

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

:root {
  --bg: #080a0f;
  --surface: #0d1017;
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.15);
  --cyan: #00e5c8;
  --cyan-dim: rgba(0,229,200,0.12);
  --cyan-glow: rgba(0,229,200,0.25);
  --text: #e8eaf0;
  --muted: #6b7280;
  --card-bg: rgba(255,255,255,0.03);
  --red: #ff5b6e;
  --amber: #f5b042;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', monospace;
  font-size: 14.5px;
  line-height: 1.55;
  overflow-x: hidden;
}

/* NOISE TEXTURE OVERLAY */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* GRID BACKGROUND */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,200,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,200,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* GLOW ORBS */
.orb { position: fixed; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0; }
.orb-1 { width: 600px; height: 600px; background: rgba(0,229,200,0.07); top: -200px; right: -100px; }
.orb-2 { width: 400px; height: 400px; background: rgba(0,100,255,0.06); bottom: 200px; left: -100px; }

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(8,10,15,0.7);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}
.logo span { color: var(--cyan); }

nav { display: flex; gap: 28px; align-items: center; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
nav a:hover, nav a.active { color: var(--text); }

.btn-demo {
  background: var(--cyan);
  color: #080a0f;
  padding: 9px 20px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-demo:hover { opacity: 0.85; transform: translateY(-1px); }

/* SECTIONS */
section { position: relative; z-index: 1; }

/* HERO */
.hero {
  padding: 140px 32px 120px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,229,200,0.2);
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease both;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 5.6vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: #fff;
  animation: fadeUp 0.6s 0.1s ease both;
}
h1 .accent { color: var(--cyan); }

.hero-sub {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-ctas {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}
.btn-primary {
  background: var(--cyan);
  color: #080a0f;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px var(--cyan-glow);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 0 50px var(--cyan-glow); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.05); border-color: var(--border-strong); }

/* VALUE STRIP — replaces stats-bar on Home */
.value-strip {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  animation: fadeUp 0.6s 0.4s ease both;
}
.value-cell {
  background: var(--surface);
  padding: 24px 26px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}
.value-cell::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan);
  position: relative;
  margin-top: 2px;
}
.value-cell::after {
  content: '✓';
  position: absolute;
  margin-left: -15px;
  margin-top: 1px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
}

/* SECTION CONTAINER */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px;
}
.section-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1.08;
  max-width: 720px;
}
.section-sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 680px;
}

/* ARCHITECTURE FLOW — Company Systems → Graph → Intelligence → Actions */
.arch-flow {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr;
  align-items: stretch;
  gap: 16px;
  animation-delay: 0.1s;
}
.arch-node {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.arch-node:hover { border-color: rgba(0,229,200,0.3); transform: translateY(-2px); }
.arch-node-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.arch-node-list {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
  list-style: none;
}
.arch-node-list li::before { content: '› '; color: var(--cyan); margin-right: 6px; }
.arch-arrow {
  align-self: center;
  color: var(--cyan);
  font-size: 18px;
  text-align: center;
  opacity: 0.7;
}

/* COMPARISON CARDS — Why Dashboards Fail */
.compare-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.compare-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}
.compare-card:hover { transform: translateY(-2px); }
.compare-card.featured {
  border-color: rgba(0,229,200,0.35);
  background: linear-gradient(180deg, rgba(0,229,200,0.04) 0%, var(--card-bg) 100%);
  box-shadow: 0 0 40px rgba(0,229,200,0.06);
}
.compare-card-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.compare-card.featured .compare-card-label { color: var(--cyan); }
.compare-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.compare-list { list-style: none; }
.compare-list li {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.compare-list li:last-child { border-bottom: none; }
.compare-list li::before {
  content: '—';
  color: var(--muted);
  flex-shrink: 0;
}
.compare-card.featured .compare-list li { color: var(--text); }
.compare-card.featured .compare-list li::before { content: '✓'; color: var(--cyan); }

/* ROLE CARDS — Leadership Use Cases / Solutions */
.role-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.role-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
}
.role-card:hover {
  border-color: rgba(0,229,200,0.25);
  transform: translateY(-3px);
}
.role-card-role {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
}
.role-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.role-section { margin-bottom: 20px; }
.role-section:last-child { margin-bottom: 0; }
.role-section-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.role-section-list { list-style: none; font-size: 13px; color: var(--text); line-height: 1.7; }
.role-section-list li::before { content: '› '; color: var(--cyan); margin-right: 6px; }

/* CAPABILITY LIST — Platform: Company Context Graph etc. */
.capability-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.capability-list { list-style: none; }
.capability-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 14px;
}
.capability-list li:last-child { border-bottom: none; }
.capability-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan-glow);
}

/* PIPELINE — vertical relationship chain (Platform Context Graph example) */
.pipeline {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.pipeline-step {
  padding: 14px 18px;
  background: rgba(0,229,200,0.04);
  border: 1px solid rgba(0,229,200,0.15);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  text-align: center;
}
.pipeline-link {
  text-align: center;
  font-size: 11px;
  color: var(--cyan);
  padding: 10px 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* AGENTIC EXAMPLES — risk → action triples */
.agentic-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.agentic-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.3s;
}
.agentic-card:hover { border-color: rgba(0,229,200,0.2); }
.agentic-trigger {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.agentic-arrow {
  display: inline-block;
  margin: 0 8px;
  color: var(--cyan);
}
.agentic-action {
  font-size: 13px;
  color: var(--muted);
}
.agentic-action strong { color: var(--cyan); }

/* TAB COLS — column grid (used inline on Platform: Decision Engine) */
.tab-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tab-col-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.tab-col-list { list-style: none; }
.tab-col-list li {
  font-size: 13px;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.tab-col-list li:last-child { border-bottom: none; }

/* CTA BOX — replaces waitlist */
.cta-box {
  background: linear-gradient(135deg, rgba(0,229,200,0.06) 0%, rgba(0,100,255,0.04) 100%);
  border: 1px solid rgba(0,229,200,0.15);
  border-radius: 20px;
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 auto 120px;
  max-width: 1200px;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.cta-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 14px;
}
.cta-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 32px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
footer span { color: var(--cyan); }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .arch-flow { grid-template-columns: 1fr; gap: 12px; }
  .arch-arrow { transform: rotate(90deg); padding: 4px 0; }
  .capability-grid { grid-template-columns: 1fr; gap: 32px; }
  .role-grid, .compare-grid, .agentic-grid { grid-template-columns: 1fr 1fr; }
  .value-strip { grid-template-columns: 1fr 1fr; }
  .tab-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header-inner { padding: 16px 20px; }
  nav { gap: 14px; }
  nav a:not(.btn-demo) { display: none; }
  .hero { padding: 100px 20px 80px; }
  .value-strip { grid-template-columns: 1fr; }
  .role-grid, .compare-grid, .agentic-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 48px 24px; }
  .section { padding: 60px 20px; }
}
