/* =========================================================
   EDC Hero — Product Dashboard Mockup
   Left: pitch. Right: pure CSS/HTML mock of the platform UI
   with employee rows and floating stat pills. No screenshots.
========================================================= */
.edc-hero-dashboard {
  position: relative;
  overflow: hidden;
  padding: 64px var(--edc-space-gutter) 80px;
  background: var(--edc-warm-white);
  isolation: isolate;
}
@media (min-width: 1024px) { .edc-hero-dashboard { padding: 80px var(--edc-section-h) 96px; } }

.edc-hero-dashboard__glow {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle at center, rgba(242, 184, 27, 0.14) 0%, transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.edc-hero-dashboard__inner {
  position: relative;
  z-index: 1;
  max-width: var(--edc-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px) {
  .edc-hero-dashboard__inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 48px;
  }
  .edc-hero-dashboard__copy { grid-column: span 5; }
  .edc-hero-dashboard__mock { grid-column: 7 / span 6; }
}

/* Copy */
.edc-hero-dashboard__copy { display: flex; flex-direction: column; gap: 28px; }
.edc-hero-dashboard__title {
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--edc-obsidian);
  margin: 0;
}
.edc-hero-dashboard__accent { color: var(--edc-solar-gold); }
.edc-hero-dashboard__body {
  font-family: var(--edc-font-body);
  font-size: var(--edc-fs-body-lead);
  line-height: 1.75;
  color: var(--edc-slate);
  max-width: 480px;
  margin: 0;
}
.edc-hero-dashboard__cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--edc-radius-full);
  background: var(--edc-solar-gold);
  color: var(--edc-obsidian);
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(242, 184, 27, 0.55);
  transition: transform var(--edc-dur-quick), filter var(--edc-dur-quick), box-shadow var(--edc-dur-medium);
}
.edc-hero-dashboard__cta:hover { transform: translateY(-2px); filter: brightness(1.06); color: var(--edc-obsidian);
  box-shadow: 0 18px 36px -8px rgba(242, 184, 27, 0.70); }
.edc-hero-dashboard__cta .material-symbols-outlined { font-size: 20px !important; transition: transform var(--edc-dur-quick); }
.edc-hero-dashboard__cta:hover .material-symbols-outlined { transform: translateX(4px); }

/* Mock panel — the "product screen" */
.edc-hero-dashboard__mock {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--edc-border);
  border-radius: 18px;
  box-shadow: 0 30px 80px -20px rgba(41, 41, 40, 0.22),
              0 8px 24px -8px rgba(41, 41, 40, 0.08);
  padding: 0;
  overflow: visible;                /* pills float outside */
  transform-origin: center;
}
/* Subtle 3D tilt hint on hover */
.edc-hero-dashboard__mock:hover { transform: perspective(1600px) rotateY(-2deg) rotateX(1deg); transition: transform 600ms var(--edc-ease); }

/* Browser chrome bar */
.edc-hero-dashboard__chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: #f5f3ef;
  border-bottom: 1px solid var(--edc-border);
  border-radius: 18px 18px 0 0;
}
.edc-hero-dashboard__dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: #E0DDD8;
}
.edc-hero-dashboard__dot:nth-child(1) { background: #ff6058; }
.edc-hero-dashboard__dot:nth-child(2) { background: #ffbd2e; }
.edc-hero-dashboard__dot:nth-child(3) { background: #27c93f; }
.edc-hero-dashboard__url {
  margin-left: auto;
  padding: 4px 12px;
  background: #ffffff;
  border: 1px solid var(--edc-border);
  border-radius: 999px;
  font-family: var(--edc-font-body);
  font-size: 11px;
  color: var(--edc-slate);
}

/* Panel head */
.edc-hero-dashboard__panel-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px 16px;
}
.edc-hero-dashboard__panel-title {
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: 16px;
  color: var(--edc-obsidian);
}
.edc-hero-dashboard__panel-sub {
  font-family: var(--edc-font-body);
  font-size: 12px;
  color: var(--edc-stone);
  margin-top: 2px;
}
.edc-hero-dashboard__badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--edc-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.edc-hero-dashboard__badge--count {
  background: var(--edc-gold-tint);
  color: #7a5900;
}

/* Employee list */
.edc-hero-dashboard__list {
  list-style: none;
  padding: 0 12px 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.edc-hero-dashboard__row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 12px;
  border-radius: 12px;
  transition: background-color var(--edc-dur-quick);
}
.edc-hero-dashboard__row:hover { background: rgba(245, 243, 239, 0.6); }
.edc-hero-dashboard__row + .edc-hero-dashboard__row { border-top: 1px solid rgba(224, 221, 216, 0.5); }

.edc-hero-dashboard__avatar {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--edc-solar-gold), var(--edc-pale-gold));
  color: var(--edc-obsidian);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: 15px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(41, 41, 40, 0.10);
}
.edc-hero-dashboard__name {
  font-family: var(--edc-font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--edc-obsidian);
}
.edc-hero-dashboard__role {
  font-family: var(--edc-font-body);
  font-size: 12px;
  color: var(--edc-slate);
  margin-top: 2px;
}

.edc-hero-dashboard__status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--edc-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.edc-hero-dashboard__status .material-symbols-outlined { font-size: 14px !important; }
.edc-hero-dashboard__status--paid    { background: rgba(58, 95, 58, 0.10); color: #2f5030; }
.edc-hero-dashboard__status--onboard { background: rgba(242, 184, 27, 0.15); color: #7a5900; }
.edc-hero-dashboard__status--pending { background: rgba(90, 89, 86, 0.12); color: var(--edc-slate); }

/* Floating stat pills */
.edc-hero-dashboard__pill {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--edc-border);
  border-radius: 14px;
  box-shadow: 0 16px 36px -12px rgba(41, 41, 40, 0.25);
  max-width: 200px;
}
.edc-hero-dashboard__pill--a { top: -20px; left: -24px; }
.edc-hero-dashboard__pill--b { bottom: -24px; right: -20px; }
.edc-hero-dashboard__pill .material-symbols-outlined {
  font-size: 24px !important;
  color: var(--edc-solar-gold);
  flex-shrink: 0;
}
.edc-hero-dashboard__pill strong {
  display: block;
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: 15px;
  color: var(--edc-obsidian);
  line-height: 1;
}
.edc-hero-dashboard__pill em {
  display: block;
  font-family: var(--edc-font-body);
  font-style: normal;
  font-size: 11px;
  color: var(--edc-slate);
  margin-top: 4px;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .edc-hero-chip,
  .edc-hero-dashboard__title,
  .edc-hero-dashboard__body,
  .edc-hero-dashboard__cta,
  .edc-hero-dashboard__mock,
  .edc-hero-dashboard__pill {
    opacity: 0;
    transform: translateY(20px);
    animation: edc-hd-rise 800ms var(--edc-ease-out) forwards;
  }
  .edc-hero-chip                { animation-delay:   0ms; }
  .edc-hero-dashboard__title    { animation-delay: 120ms; }
  .edc-hero-dashboard__body     { animation-delay: 280ms; }
  .edc-hero-dashboard__cta      { animation-delay: 420ms; }
  .edc-hero-dashboard__mock     { animation-delay: 200ms; }
  .edc-hero-dashboard__pill--a  { animation-delay: 800ms; }
  .edc-hero-dashboard__pill--b  { animation-delay: 950ms; }
  @keyframes edc-hd-rise { to { opacity: 1; transform: translateY(0); } }

  /* Employee rows stagger-slide in horizontally after the mock lifts */
  .edc-hero-dashboard__row {
    opacity: 0;
    transform: translateX(20px);
    animation: edc-hd-slide 500ms var(--edc-ease-out) forwards;
    animation-delay: calc(500ms + (var(--edc-hd-i, 0) * 120ms));
  }
  @keyframes edc-hd-slide { to { opacity: 1; transform: translateX(0); } }

  /* Pills float subtly on loop */
  .edc-hero-dashboard__pill--a { animation: edc-hd-rise 800ms 800ms var(--edc-ease-out) forwards, edc-hd-float-a 5s 2s ease-in-out infinite; }
  .edc-hero-dashboard__pill--b { animation: edc-hd-rise 800ms 950ms var(--edc-ease-out) forwards, edc-hd-float-b 6s 2s ease-in-out infinite; }
  @keyframes edc-hd-float-a { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-6px);} }
  @keyframes edc-hd-float-b { 0%,100% { transform: translateY(0);} 50% { transform: translateY(6px);} }
}
