/* ── HERO ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-deep);
}
.hero-bg-circuit {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(2,132,199,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(8,145,178,0.06) 0%, transparent 60%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-accent {
  background: linear-gradient(90deg, #0284c7, #0891b2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: fit-content;
}
.stat-item {
  padding: 1rem 2rem;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.03em;
}
.stat-sep {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── PILLARS ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.pillar-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.25s;
}
.pillar-item:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
}
.pillar-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.pillar-item h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}
.pillar-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── USE CASES ── */
.use-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.uc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.uc-card:hover { border-color: var(--border-bright); transform: translateY(-3px); }
.uc-card--highlight { border-color: rgba(0,214,143,0.3); background: rgba(0,214,143,0.04); }
.uc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.uc-num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--border-bright);
}
.uc-card h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.uc-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}
.uc-products {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dp-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  background: var(--cyan-dim);
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
}

/* ── PROFILES ── */
.profiles-tabs { margin-top: 2.5rem; }
.profile-tab-bar { margin-bottom: 0; border-bottom: 1px solid var(--border); padding-bottom: 0; border-radius: 0; gap: 0; }
.profile-tab-bar .tab-btn {
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: none;
  margin-bottom: -1px;
}
.profile-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 2.5rem;
}
.profile-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}
.profile-roles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1rem; }
.profile-panel h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.profile-example { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.profile-panel > .profile-inner > .profile-text > p {
  color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.25rem;
}
.profile-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.profile-list li { font-size: 0.875rem; color: var(--text-secondary); }

/* Flow diagram */
.flow-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 180px;
}
.flow-node {
  width: 100%;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  line-height: 1.3;
}
.flow-node small { font-size: 0.65rem; color: var(--text-muted); }
.flow-node--source  { background: rgba(29,111,164,0.15); border: 1px solid rgba(29,111,164,0.4); color: var(--blue-bright); }
.flow-node--edc     { background: rgba(0,200,215,0.1);   border: 1px solid rgba(0,200,215,0.35); color: var(--cyan); }
.flow-node--hub     { background: rgba(245,158,11,0.1);  border: 1px solid rgba(245,158,11,0.35); color: var(--amber); }
.flow-node--consumer{ background: rgba(0,214,143,0.1);   border: 1px solid rgba(0,214,143,0.35); color: var(--green); }
.flow-arrow { color: var(--border-bright); font-size: 1.2rem; }

/* ── PARTNERS ── */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.25s;
}
.partner-card:hover { border-top-color: var(--cyan); transform: translateY(-3px); }
.partner-logo {
  height: 50px;
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}
.partner-logo img {
  max-height: 100%;
  max-width: 140px;
  object-fit: contain;
}
.partner-role { margin-bottom: 1rem; }
.partner-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.partner-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

/* ── SECTION ALT ── */
.section-alt { background: var(--bg-panel); }

/* ── CTA ── */
.cta-section { background: var(--bg-deep); }
.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(8,145,178,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}
.cta-box h2 { font-size: 1.8rem; max-width: 640px; margin: 0 auto 1.25rem; }
.cta-box p { color: var(--text-secondary); max-width: 600px; margin: 0 auto 2rem; font-size: 0.95rem; line-height: 1.7; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .pillars       { grid-template-columns: 1fr 1fr; }
  .use-cases     { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .profile-inner { grid-template-columns: 1fr; }
  .hero-stats    { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .pillars   { grid-template-columns: 1fr; }
  .use-cases { grid-template-columns: 1fr; }
  .cta-box   { padding: 2rem 1.25rem; }
  .hero-title { font-size: 2rem; }
}
