/* ============================================================
   HERO SECTION (Asymmetric Split + Luminous Waves + Glass Card)
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 130px 0 80px;
  overflow: hidden;
}

/* Sweeping Monochrome Light Ribbons Canvas */
.hero-wave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Subtle Three.js Particle Depth Layer */
.hero-canvas {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1.02fr 1.18fr;
  align-items: center;
  gap: clamp(2.5rem, 4.5vw, 5rem);
}

/* Left Column */
.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--grey-c8);
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 10px #ffffff;
}

.hero-title {
  font-size: var(--text-hero);
  line-height: 1.03;
  letter-spacing: -0.038em;
  margin-bottom: 24px;
}

.hero-title-strong {
  display: block;
  font-weight: 700;
  color: var(--white);
}

.hero-title-muted {
  display: block;
  font-weight: 300;
  color: var(--grey-78);
}

.hero-desc {
  font-size: var(--text-md);
  font-weight: 400;
  color: var(--grey-9a);
  line-height: 1.68;
  max-width: 470px;
  margin-bottom: 34px;
}

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

.hero-footnote {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--grey-55);
  letter-spacing: -0.005em;
}

/* ============================================================
   RIGHT COLUMN: GLASSMORPHIC PIPELINE SHOWCASE CARD
   ============================================================ */
.hero-showcase {
  position: relative;
  width: 100%;
}

.glass-pipeline-card {
  position: relative;
  width: 100%;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(24, 24, 24, 0.68) 0%, rgba(10, 10, 10, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 22px 24px 20px;
  overflow: visible;
}

/* Header inside Glass Card */
.pipeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pipeline-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pipeline-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--white-e8);
  font-variant-numeric: tabular-nums;
}

.pipeline-sub {
  font-size: 0.76rem;
  color: var(--grey-78);
  font-variant-numeric: tabular-nums;
}

.pipeline-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--white);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 8px #ffffff;
  animation: dotPulse 1.8s infinite;
}

/* Interactive Node Canvas Area */
.pipeline-canvas {
  position: relative;
  height: 290px;
  margin: 14px 0;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.025) 0%, transparent 75%);
}

/* Left Floating Mini Toolbar */
.pipeline-tools {
  position: absolute;
  top: 12px;
  left: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 5;
}

.p-tool-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--grey-9a);
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease-out);
}

.p-tool-btn:hover,
.p-tool-btn.active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.pipeline-zoom-pill {
  position: absolute;
  top: 12px;
  right: 8px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--grey-9a);
  font-variant-numeric: tabular-nums;
}

/* SVG Wires */
.pipeline-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.p-wire {
  fill: none;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1.4;
  transition: stroke 0.3s;
}

.p-wire-pulse {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.8;
  stroke-dasharray: 26 160;
  animation: wireFlow 2.6s linear infinite;
  opacity: 0.85;
}

.p-wire-pulse.delay-1 { animation-delay: 0.65s; }
.p-wire-pulse.delay-2 { animation-delay: 1.3s; }
.p-wire-pulse.delay-3 { animation-delay: 1.95s; }

@keyframes wireFlow {
  from { stroke-dashoffset: 186; }
  to { stroke-dashoffset: 0; }
}

.wire-tag {
  position: absolute;
  z-index: 3;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(12, 12, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--grey-c8);
  font-variant-numeric: tabular-nums;
}

/* Glass Nodes */
.p-node {
  position: absolute;
  z-index: 4;
  width: 172px;
  padding: 13px 15px;
  border-radius: 13px;
  background: rgba(14, 14, 14, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  transition: transform 0.25s var(--ease-out), border-color 0.25s, background 0.25s;
}

.p-node:hover,
.p-node.highlighted {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(24, 24, 24, 0.96);
}

.p-node-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.p-node-sub {
  font-size: 0.69rem;
  color: var(--grey-78);
}

/* Positioning Matching Screenshot Proportions */
.p-node-entry {
  top: 118px;
  left: -34px; /* Deliberate edge overhang like reference */
  background: rgba(22, 22, 22, 0.92);
  border-color: rgba(255, 255, 255, 0.18);
}

.p-node-top {
  top: 52px;
  left: 238px;
}

.p-node-bottom {
  top: 184px;
  left: 238px;
}

.p-node-output {
  top: 118px;
  right: 4px;
  width: 162px;
}

.p-node-badge {
  position: absolute;
  top: 194px;
  right: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--white-e8);
}

.p-simulated-cursor {
  position: absolute;
  top: 165px;
  right: 158px;
  z-index: 6;
  pointer-events: none;
  animation: pointerFloat 4.5s ease-in-out infinite;
}

@keyframes pointerFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, -12px); }
}

/* Telemetry Footer inside Glass Card */
.pipeline-logs {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.logs-header {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--grey-55);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.log-row {
  display: grid;
  grid-template-columns: 12px 68px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
}

.log-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--white);
}

.log-dot.muted {
  background: var(--grey-55);
}

.log-time {
  color: var(--grey-55);
}

.log-msg {
  color: var(--grey-c8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log-dur {
  color: var(--grey-78);
  font-weight: 600;
}

/* ============================================================
   METRICS BAR (Replaces Marquee with Clean Monochrome Glass)
   ============================================================ */
.metrics-band {
  padding: 12px 0 var(--sp-xl);
  position: relative;
  z-index: 2;
}

.metrics-glass-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-xl);
  padding: 26px clamp(1.5rem, 4vw, 3.5rem);
  border-radius: 20px;
  background: rgba(14, 14, 14, 0.58);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

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

.metric-val {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.metric-lbl {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--grey-78);
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

/* ============================================================
   FEATURES & CTA BANNER
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-cell {
  border-radius: 20px;
  padding: var(--sp-2xl);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, background 0.3s;
}

.feature-cell:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-strong);
  background: var(--glass-bg-hover);
}

.feature-cell:hover .card-icon {
  transform: scale(1.1);
}

.feature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-2xl);
}

.feature-num {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--grey-55);
  font-variant-numeric: tabular-nums;
}

.cta-banner {
  border-radius: 24px;
  padding: clamp(3rem, 5vw, 5rem) var(--sp-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-big {
  font-size: var(--text-5xl);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: var(--sp-lg);
}

.cta-big span {
  display: block;
  font-weight: 700;
  color: var(--white);
}

.cta-big .muted {
  font-weight: 300;
  color: var(--grey-78);
}

.cta-sub {
  max-width: 500px;
  margin: 0 auto var(--sp-2xl);
  font-size: var(--text-base);
  color: var(--grey-9a);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}