/* ============================================================
   Clinical Data Intelligence — Main Stylesheet
   ------------------------------------------------------------
   To customize:
   - Colors: Edit variables in :root at the top of this file
   - Fonts: Change --font-display / --font-body variables
   - Spacing: Section padding is set on the `section` rule
   ============================================================ */

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

/* ── DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Brand colors — edit these to retheme the whole site */
  --teal:         #00C9B1;
  --teal-dark:    #00A896;
  --teal-glow:    rgba(0, 201, 177, 0.12);
  --blue:         #0066FF;
  --blue-mid:     #1E4FD8;
  --accent:       #0EFFD6;

  /* Neutral palette */
  --ink:          #0A0F1E;
  --ink-mid:      #1E2A42;
  --ink-soft:     #374761;
  --body:         #4A5568;
  --muted:        #8A96A8;
  --rule:         #E2E8F0;
  --surface:      #F7F9FC;
  --white:        #FFFFFF;

  /* Dark section background */
  --dark-bg:      #050D1E;
  --dark-mid:     #0D1F3C;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #050D1E 0%, #0D1F3C 50%, #061928 100%);
  --gradient-teal: linear-gradient(135deg, #00C9B1, #0066FF);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  /* Spacing */
  --section-padding: 120px;
  --container-max:   1200px;
  --container-pad:   32px;
}

/* ── BASE ───────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

section { padding: var(--section-padding) 0; }
section.alt-bg { background: var(--surface); }
section.dark-section { background: var(--dark-bg); position: relative; overflow: hidden; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: white;
  max-width: 760px;
  margin-bottom: 28px;
}

h1 .gradient-text {
  background: var(--gradient-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 16px;
  margin-bottom: 20px;
}

h2.light { color: white; }
h2 .teal { color: var(--teal-dark); }

/* ── SECTION HEADERS ────────────────────────────────────── */
.section-header { margin-bottom: 72px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

.section-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  max-width: 560px;
  font-weight: 300;
}

.section-sub.light { color: rgba(255, 255, 255, 0.5); }

/* ── TAGS / PILLS ───────────────────────────────────────── */
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-glow);
  border: 1px solid rgba(0, 201, 177, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
}

.tag-dark {
  color: var(--accent);
  background: rgba(14, 255, 214, 0.08);
  border-color: rgba(14, 255, 214, 0.25);
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--teal);
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: #00E6CA;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 201, 177, 0.35);
}

.btn-primary-lg { font-size: 16px; padding: 14px 32px; border-radius: 10px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 9px 20px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-ghost:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 32px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(5, 13, 30, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: white; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: white;
  margin: 4px 0;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 12px;
}

.mobile-menu.open { display: block; }

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.mobile-menu ul a {
  display: block;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s;
}

.mobile-menu ul a:hover { color: white; }

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
#hero {
  background: var(--gradient-hero);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 201, 177, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 201, 177, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 80%);
}

.hero-glow-1 {
  position: absolute; top: -100px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute; bottom: -200px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 201, 177, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy { padding: 160px 0 100px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-eyebrow-line { width: 40px; height: 1px; background: var(--teal); flex-shrink: 0; }

.hero-eyebrow-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 520px;
  margin-bottom: 48px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 72px;
  flex-wrap: wrap;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.hero-proof-item { display: flex; flex-direction: column; gap: 4px; }

.hero-proof-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: white;
}

.hero-proof-value span { color: var(--teal); }

.hero-proof-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
}

.hero-proof-divider {
  width: 1px; height: 40px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.hero-visual { padding-top: 140px; padding-bottom: 60px; }

/* ── Dashboard mockup ───────────────────────────────────── */
.dashboard-shell {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.dashboard-topbar {
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green  { background: #28C840; }

.dashboard-topbar-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-left: 8px;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  height: 420px;
}

.dashboard-sidebar {
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
}

.sidebar-section { padding: 0 16px; margin-bottom: 24px; }

.sidebar-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 8px;
  padding: 0 8px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 2px;
}

.sidebar-item.active { background: rgba(0, 201, 177, 0.12); color: var(--teal); }

.sidebar-icon { width: 16px; height: 16px; opacity: 0.7; flex-shrink: 0; }

.sidebar-badge {
  margin-left: auto;
  font-size: 10px;
  background: rgba(0, 201, 177, 0.2);
  color: var(--teal);
  padding: 2px 6px;
  border-radius: 100px;
  font-family: var(--font-mono);
}

.agent-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.dashboard-main { padding: 20px; overflow: hidden; }

.dash-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dash-title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.dash-subtitle { font-size: 12px; color: rgba(255, 255, 255, 0.35); margin-top: 2px; }

.ai-pulse {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
}

.ai-pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s ease-in-out infinite;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 14px;
}

.stat-label  { font-size: 11px; color: rgba(255, 255, 255, 0.35); margin-bottom: 6px; }
.stat-value  { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: white; }
.stat-unit   { font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, 0.4); margin-left: 2px; }
.stat-delta  { font-size: 11px; color: #34D399; margin-top: 4px; }

.patient-list { display: flex; flex-direction: column; gap: 8px; }

.patient-row {
  display: grid;
  grid-template-columns: 1fr 80px 80px 100px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 14px;
  gap: 12px;
}

.patient-name { font-size: 13px; color: rgba(255, 255, 255, 0.75); font-weight: 500; }
.patient-meta { font-size: 11px; color: rgba(255, 255, 255, 0.3); margin-top: 2px; }

.risk-badge {
  font-size: 10px; font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  text-align: center;
  font-family: var(--font-mono);
}

.risk-high { background: rgba(239, 68, 68, 0.15);  color: #F87171; }
.risk-med  { background: rgba(251, 191, 36, 0.15); color: #FCD34D; }
.risk-low  { background: rgba(52, 211, 153, 0.15); color: #34D399; }

.drg-val { font-size: 12px; color: rgba(255, 255, 255, 0.55); font-family: var(--font-mono); }

.action-btn {
  font-size: 11px; font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.action-review { background: rgba(0, 102, 255, 0.15); color: #60A5FA; }
.action-query  { background: rgba(0, 201, 177, 0.15); color: var(--teal); }
.action-done   { background: rgba(52, 211, 153, 0.1); color: #34D399; }

/* ═══════════════════════════════════════════════════════════
   INTEGRATION STRIP
   ═══════════════════════════════════════════════════════════ */
#integrations {
  padding: 28px 0;
  background: var(--surface);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.integrations-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.integrations-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.integrations-logos { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }

.tech-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 500;
}

.tech-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.6;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   PLATFORM — VALUE GRID
   ═══════════════════════════════════════════════════════════ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}

.value-card {
  padding: 44px 36px;
  background: white;
  transition: background 0.2s;
}

.value-card:hover { background: var(--surface); }

.value-icon {
  width: 48px; height: 48px;
  background: var(--teal-glow);
  border: 1px solid rgba(0, 201, 177, 0.25);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}

.value-icon svg { width: 22px; height: 22px; }

.value-card h3 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.value-card p {
  font-size: 15px; line-height: 1.7;
  color: var(--body); font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════ */
.workflow-timeline {
  position: relative;
  display: flex;
  gap: 0;
}

.workflow-timeline::before {
  content: '';
  position: absolute;
  top: 36px; left: 36px; right: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--blue) 100%);
  z-index: 0;
}

.workflow-step { flex: 1; padding: 0 20px; position: relative; z-index: 1; }

.workflow-node {
  width: 72px; height: 72px;
  background: white;
  border: 2px solid var(--rule);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  transition: all 0.3s;
}

.workflow-step:hover .workflow-node {
  border-color: var(--teal);
  background: var(--teal-glow);
  transform: scale(1.05);
}

.workflow-node-num {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800;
  color: var(--teal-dark);
}

.workflow-step-title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-bottom: 10px;
}

.workflow-step-desc {
  font-size: 14px; line-height: 1.65;
  color: var(--body);
  text-align: center;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════
   AI AGENTS — 2-column grid for 4 agents
   ═══════════════════════════════════════════════════════════ */
.agents-glow {
  position: absolute; top: 50%; right: -200px;
  transform: translateY(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0, 201, 177, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.agents-container { position: relative; z-index: 1; }

.agents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.agent-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.agent-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-teal);
  opacity: 0;
  transition: opacity 0.3s;
}

.agent-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 201, 177, 0.25);
  transform: translateY(-3px);
}

.agent-card:hover::before { opacity: 1; }

.agent-number {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.agent-card h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  color: white;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.agent-card p {
  font-size: 15px; line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
  margin-bottom: 24px;
}

.agent-metric {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 201, 177, 0.1);
  border: 1px solid rgba(0, 201, 177, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
}

.agent-metric-value {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  color: var(--teal);
}

.agent-metric-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════
   SOLUTIONS
   ═══════════════════════════════════════════════════════════ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.solution-card {
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 40px;
  background: white;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.solution-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.solution-card:hover {
  border-color: rgba(0, 201, 177, 0.3);
  box-shadow: 0 12px 48px rgba(0, 201, 177, 0.08);
  transform: translateY(-2px);
}

.solution-card:hover::after { transform: scaleX(1); }

.solution-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}

.solution-card-icon svg { width: 24px; height: 24px; }

.icon-teal   { background: var(--teal-glow); }
.icon-teal svg { stroke: var(--teal-dark); }
.icon-blue   { background: rgba(0, 102, 255, 0.08); }
.icon-blue svg { stroke: var(--blue-mid); }

.harex-standalone {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--white);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
}

.harex-standalone-label {
  font-family: var(--font-mono, 'DM Mono', monospace);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 10px;
}

.harex-standalone p {
  color: var(--body);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
.icon-purple { background: rgba(139, 92, 246, 0.08); }
.icon-purple svg { stroke: #7C3AED; }
.icon-orange { background: rgba(249, 115, 22, 0.08); }
.icon-orange svg { stroke: #EA580C; }

.solution-card h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.solution-card > p {
  font-size: 15px; line-height: 1.7;
  color: var(--body); font-weight: 300;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--body); font-weight: 300;
  line-height: 1.55;
}

.check-icon {
  width: 16px; height: 16px;
  background: var(--teal-glow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-icon::after {
  content: '';
  width: 6px; height: 4px;
  border-left: 1.5px solid var(--teal-dark);
  border-bottom: 1.5px solid var(--teal-dark);
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   TRACTION
   ═══════════════════════════════════════════════════════════ */
.traction-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0, 201, 177, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.traction-container { position: relative; z-index: 1; }

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

.traction-story h3 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700;
  color: white; margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.traction-story p {
  font-size: 16px; line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  margin-bottom: 28px;
}

.traction-detail {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 20px;
}

.traction-detail-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(0, 201, 177, 0.1);
  border: 1px solid rgba(0, 201, 177, 0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.traction-detail-icon svg { width: 16px; height: 16px; stroke: var(--teal); }

.traction-detail-text strong {
  font-size: 14px; font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 4px;
}

.traction-detail-text span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-teal);
}

.metric-value {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
}

.metric-value span { color: var(--teal); }

.metric-label {
  font-size: 14px; color: rgba(255, 255, 255, 0.45);
  font-weight: 300; line-height: 1.4;
}

.metric-note {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 12px;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text p {
  font-size: 16px; line-height: 1.8;
  color: var(--body); font-weight: 300;
  margin-bottom: 20px;
}

.about-pillars { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }

.pillar {
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--teal);
  border-radius: 12px;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  color: var(--ink); margin-bottom: 4px;
}

.pillar-desc {
  font-size: 14px; color: var(--body);
  font-weight: 300; line-height: 1.55;
}

.team-cards { display: flex; flex-direction: column; gap: 20px; }

.team-card {
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 32px;
  background: white;
}

.team-card-header {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 16px;
}

.team-avatar {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.avatar-teal { background: var(--gradient-teal); }
.avatar-blue { background: linear-gradient(135deg, #0066FF, #1E4FD8); }

.team-avatar-letter {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  color: white;
}

.team-name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--ink); margin-bottom: 4px;
}

.team-title { font-size: 13px; color: var(--teal-dark); font-weight: 500; margin-bottom: 2px; }

.team-location {
  font-size: 12px; color: var(--muted);
  display: flex; align-items: center; gap: 5px;
}

.team-bio {
  font-size: 14px; line-height: 1.7;
  color: var(--body); font-weight: 300;
}

.team-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.team-tag {
  font-size: 12px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ═══════════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════════ */
.cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(0, 201, 177, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700;
  color: var(--ink); margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-info > p {
  font-size: 16px; line-height: 1.75;
  color: var(--body); font-weight: 300;
  margin-bottom: 36px;
}

.contact-detail-row {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--teal-glow);
  border: 1px solid rgba(0, 201, 177, 0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 18px; height: 18px; stroke: var(--teal-dark); }

.contact-detail-label {
  font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  font-family: var(--font-mono);
  margin-bottom: 4px;
}

.contact-detail-value { font-size: 15px; color: var(--ink); font-weight: 500; }

.what-to-expect { margin-top: 48px; }

.expect-label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 16px;
}

.expect-steps { display: flex; flex-direction: column; gap: 12px; }

.expect-step { display: flex; align-items: flex-start; gap: 12px; }

.expect-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--teal-glow);
  border: 1px solid rgba(0, 201, 177, 0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--teal-dark); font-weight: 600;
  flex-shrink: 0;
}

.expect-text {
  font-size: 14px; color: var(--body);
  font-weight: 300; padding-top: 3px;
  line-height: 1.55;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 48px 44px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700;
  color: var(--ink); margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.form-subtitle {
  font-size: 15px; color: var(--body);
  font-weight: 300; margin-bottom: 36px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

.form-label { font-size: 13px; font-weight: 500; color: var(--ink-soft); }

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-body);
  font-size: 15px; font-weight: 300;
  color: var(--ink);
  background: white;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 201, 177, 0.1);
}

.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px; font-weight: 600;
  color: var(--ink);
  background: var(--teal);
  border: none;
  padding: 15px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  margin-top: 8px;
}

.form-submit:hover {
  background: #00E6CA;
  box-shadow: 0 6px 28px rgba(0, 201, 177, 0.35);
  transform: translateY(-1px);
}

.form-disclaimer {
  font-size: 12px; color: var(--muted);
  text-align: center; margin-top: 16px;
  line-height: 1.6;
}

.form-disclaimer a { color: var(--teal-dark); text-decoration: none; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
footer { background: var(--ink); padding: 72px 0 40px; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px; line-height: 1.7;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
  margin-top: 16px; margin-bottom: 24px;
  max-width: 280px;
}

.footer-social { display: flex; gap: 12px; }

.social-link {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  color: rgba(255, 255, 255, 0.5);
}

.social-link:hover { background: rgba(255, 255, 255, 0.1); color: white; }

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 16px;
}

.footer-links { display: flex; flex-direction: column; gap: 12px; }

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 300;
}

.footer-links a:hover { color: white; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy { font-size: 13px; color: rgba(255, 255, 255, 0.25); font-weight: 300; }

.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }

.footer-legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover { color: rgba(255, 255, 255, 0.5); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --section-padding: 80px; }

  .nav-links, .nav-cta { display: none; }
  .nav-mobile-toggle { display: block; }

  .hero-layout { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { padding: 120px 0 0; }
  .hero-visual { padding: 0 0 60px; }
  .hero-proof { flex-wrap: wrap; gap: 20px; }
  .hero-proof-divider { display: none; }

  .value-grid { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .traction-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .workflow-timeline { flex-direction: column; }
  .workflow-timeline::before { display: none; }

  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }

  .dashboard-sidebar { display: none; }
  .dashboard-body { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --section-padding: 60px; --container-pad: 20px; }
  .contact-form { padding: 32px 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
}
