/* ============================================================================
   Pivotal Reseller — Crosslist-Inspired Modern Hero & Marketplace Architecture
   Strictly adheres to Pivotal's Dark Oceanic Slate, Electric Cyan, & Emerald Palette.
   Language: Genuine, grounded reseller-to-reseller tone. Zero space cadet buzzwords.
   ============================================================================ */

/* ── Hero Container & WebGL Canvas ── */
.hero-crosslist-wrapper {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  min-height: 680px;
  background: radial-gradient(circle 900px at 80% 30%, rgba(0, 242, 254, 0.08) 0%, transparent 60%),
              radial-gradient(circle 800px at 15% 70%, rgba(16, 185, 129, 0.06) 0%, transparent 55%),
              linear-gradient(180deg, #070B16 0%, #0A0F1F 50%, #070B16 100%);
}

.hero-webgl-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

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

/* ── 2-Column Responsive Grid ── */
.hero-crosslist-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-crosslist-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
}

/* ── Left Column: Copy & Actions ── */
.hero-left-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 1024px) {
  .hero-left-column {
    align-items: center;
  }
}

.hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  width: fit-content;
  font-size: 13px;
  font-weight: 600;
  color: #38BDF8;
  letter-spacing: 0.02em;
}

.hero-status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  position: relative;
  flex-shrink: 0;
}

.hero-status-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #10B981;
  animation: heroPulsePing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes heroPulsePing {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero-headline {
  font-size: clamp(2.4rem, 4.8vw, 3.85rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  margin: 0;
}

.hero-headline-gradient {
  background: linear-gradient(135deg, #FFFFFF 20%, #7DD3FC 55%, #00F2FE 80%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-lead-text {
  font-size: 17.5px;
  line-height: 1.65;
  color: #CBD5E1;
  margin: 0;
  max-width: 580px;
}

@media (max-width: 1024px) {
  .hero-lead-text {
    max-width: 680px;
  }
}

/* ── CTA Button Group ── */
.hero-cta-cluster {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 6px;
}

@media (max-width: 1024px) {
  .hero-cta-cluster {
    justify-content: center;
  }
}

.btn-3d-cyan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  background: linear-gradient(180deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.18s ease;
  position: relative;
  overflow: hidden;
}

.btn-3d-cyan:hover {
  background: linear-gradient(180deg, #0ea5e9 0%, #0284C7 100%);
  box-shadow: 0 6px 24px rgba(0, 242, 254, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-1.5px);
  color: #FFFFFF;
}

.btn-3d-cyan:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.4);
}

.btn-glass-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  background: rgba(15, 23, 42, 0.7);
  color: #F8FAFC;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  transition: all 0.18s ease;
}

.btn-glass-secondary:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38BDF8;
  transform: translateY(-1.5px);
}

/* ── Trust & Specs Metadata ── */
.hero-specs-pill {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 12.5px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .hero-specs-pill {
    justify-content: center;
  }
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .hero-trust-bar {
    justify-content: center;
  }
}

.hero-avatar-group {
  display: flex;
  align-items: center;
}

.hero-avatar-chip {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #070B16;
  margin-left: -7px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #FFF;
}

.hero-avatar-chip:first-child {
  margin-left: 0;
}

.hero-stars {
  color: #F59E0B;
  letter-spacing: 2px;
  font-size: 14px;
}

.hero-trust-text {
  font-size: 13px;
  color: #CBD5E1;
  font-weight: 500;
}

/* ── Right Column: Cross-Listing Showcase ── */
.hero-right-visual {
  position: relative;
  min-height: 520px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

@media (max-width: 640px) {
  .hero-right-visual {
    min-height: 440px;
    transform: scale(0.9);
    transform-origin: top center;
  }
}

/* ── Visual Layer 1: Network Hub Frame ── */
.network-hub-canvas-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 510px;
  border-radius: 20px;
  background: radial-gradient(circle 280px at 50% 36%, rgba(2, 132, 199, 0.16) 0%, transparent 75%),
              rgba(11, 17, 33, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.75),
              0 0 40px -10px rgba(0, 242, 254, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.14);
  overflow: visible;
}

/* Center Hub Node */
.hub-center-node {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0ea5e9 0%, #034b75 100%);
  border: 2px solid rgba(0, 242, 254, 0.6);
  box-shadow: 0 0 28px rgba(0, 242, 254, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.hub-center-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.hub-center-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 242, 254, 0.4);
  animation: hubPulseRing 3s ease-out infinite;
}

@keyframes hubPulseRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* SVG Connection Lines Overlay */
.network-conduits-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.conduit-base-line {
  stroke: rgba(56, 189, 248, 0.18);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 4 4;
}

.conduit-laser-beam {
  stroke: #00F2FE;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px #00F2FE);
  stroke-dasharray: 35 180;
  animation: laserPulseFlow 3.5s linear infinite;
}

.conduit-laser-beam.beam-reverse {
  stroke: #10B981;
  filter: drop-shadow(0 0 6px #10B981);
  animation-duration: 4.2s;
  animation-delay: -1.5s;
}

@keyframes laserPulseFlow {
  0% { stroke-dashoffset: 215; }
  100% { stroke-dashoffset: 0; }
}

/* Marketplace Satellite Nodes */
.mkt-satellite-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 700;
  color: #FFF;
  z-index: 4;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mkt-satellite-node:hover {
  transform: scale(1.06);
  border-color: rgba(56, 189, 248, 0.5);
}

/* Node Specific Coordinates within 560x510 frame */
.node-pos-ebay {
  top: 24px;
  left: 24px;
}

.node-pos-mercari {
  top: 24px;
  right: 24px;
}

.node-pos-poshmark {
  top: 145px;
  right: 18px;
}

.node-pos-depop {
  top: 270px;
  right: 18px;
}

.node-pos-vinted {
  bottom: 28px;
  left: 28px;
}

.node-status-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-synced {
  background: rgba(16, 185, 129, 0.18);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-auto-delist {
  background: rgba(56, 189, 248, 0.16);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* ── Visual Layer 2: Floating Product Listing Card (Scaled & Offset) ── */
.floating-product-card {
  position: absolute;
  top: 60%;
  left: 17%;
  transform: translate(-50%, -50%) scale(0.65) rotate(-1deg);
  transform-origin: center center;
  width: 325px;
  background: rgba(13, 19, 36, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  padding: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.85),
              0 0 30px -8px rgba(0, 242, 254, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  z-index: 6;
  animation: gentleFloatCard 6s ease-in-out infinite;
}

@keyframes gentleFloatCard {
  0%, 100% { transform: translate(-50%, -50%) scale(0.65) rotate(-1deg) translateY(0); }
  50% { transform: translate(-50%, -50%) scale(0.65) rotate(-1deg) translateY(-8px); }
}

.product-card-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.product-img-frame {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #070B16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.product-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-meta {
  flex: 1;
  min-width: 0;
}

.product-sku-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: #38BDF8;
  font-family: var(--font-mono, monospace);
  margin-bottom: 3px;
}

.product-title {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-price {
  font-size: 16px;
  font-weight: 900;
  color: #10B981;
  font-family: var(--font-mono, monospace);
}

.product-orig-cogs {
  font-size: 11px;
  color: #94A3B8;
  text-decoration: none;
}

/* Channels Sync Checklist inside card */
.product-channels-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: rgba(7, 11, 22, 0.65);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 10px;
}

.channel-check-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #CBD5E1;
}

.channel-check-item span.chk {
  color: #10B981;
  font-weight: 800;
  font-size: 12px;
}

.btn-card-crosslist {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(2, 132, 199, 0.8) 0%, rgba(3, 105, 161, 0.8) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ── Visual Layer 3: Profit Telemetry Card (Bottom Overlap) ── */
.floating-profit-hud {
  position: absolute;
  bottom: -10px;
  right: 10px;
  background: rgba(11, 16, 30, 0.92);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 14px;
  padding: 12px 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.8),
              0 0 24px -6px rgba(16, 185, 129, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: gentleFloatProfit 7s ease-in-out infinite;
  animation-delay: -3s;
}

@keyframes gentleFloatProfit {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.profit-hud-info {
  display: flex;
  flex-direction: column;
}

.profit-hud-label {
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.profit-hud-value {
  font-size: 20px;
  font-weight: 900;
  color: #10B981;
  font-family: var(--font-mono, monospace);
  line-height: 1.2;
}

.profit-hud-sub {
  font-size: 10px;
  color: #38BDF8;
}

/* Mini Bar Chart in HUD */
.profit-hud-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 34px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-bar-col {
  width: 6px;
  border-radius: 3px;
  background: linear-gradient(180deg, #10B981 0%, #065F46 100%);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

/* ── Section 2: Marketplace Marquee Strip ── */
.mkt-marquee-strip {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 11, 22, 0.7);
}

.mkt-marquee-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.mkt-marquee-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 8px;
}

.mkt-chip-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 600;
  color: #E2E8F0;
  transition: all 0.2s ease;
}

.mkt-chip-item:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(15, 23, 42, 0.9);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* ── Section 3: Reseller Value Manifesto (Local vs Cloud) ── */
.reseller-manifesto-card {
  border-radius: 20px;
  background: radial-gradient(circle 600px at 50% 0%, rgba(2, 132, 199, 0.15) 0%, transparent 70%),
              rgba(11, 17, 33, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 48px 40px;
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  margin-bottom: 56px;
}

.manifesto-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
}

.manifesto-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .manifesto-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .manifesto-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.manifesto-pillar-col {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.manifesto-pillar-col:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.pillar-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.pillar-title {
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.pillar-desc {
  font-size: 13.5px;
  color: #94A3B8;
  line-height: 1.55;
  margin: 0;
}

/* ── Section 4: 3-Step Workflow ── */
.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .workflow-steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.workflow-step-card {
  position: relative;
  background: rgba(13, 19, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.25s ease;
}

.workflow-step-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6), 0 0 20px -5px rgba(0, 242, 254, 0.12);
  transform: translateY(-3px);
}

.workflow-step-num {
  font-family: var(--font-mono, monospace);
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, #00F2FE 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  display: block;
}
