/* Homepage specific */
.hero {
  padding: 80px 0 100px;
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 6px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-tag::before {
  content: ""; width: 7px; height: 7px;
  border-radius: 50%; background: var(--tr);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--tr) 25%, transparent);
}
.hero h1 { font-size: clamp(40px, 5.2vw, 68px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--ex) 0%, var(--ep) 35%, var(--au) 65%, var(--tr) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead { font-size: 18px; line-height: 1.6; color: var(--fg-2); margin-top: 22px; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line-2); }
.hero-stat { }
.hero-stat-num { font-family: var(--mono); font-size: 32px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.hero-stat-lbl { font-size: 12px; color: var(--fg-3); margin-top: 6px; }

/* Mini table */
.mini-table {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  position: relative;
}
.mini-table::before {
  content: "EEAT.atlas";
  position: absolute;
  top: -10px; left: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  background: var(--bg);
  padding: 0 8px;
}
.mini-cell {
  aspect-ratio: 1;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  overflow: hidden;
  --accent: var(--fg-3);
  animation: cellPulse 4s ease-in-out infinite;
}
.mini-cell::after {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
}
.mini-cell-num { font-family: var(--mono); font-size: 8.5px; color: var(--fg-3); }
.mini-cell-sym { font-family: var(--mono); font-size: 16px; font-weight: 600; }
.mini-cell.ex { --accent: var(--ex); border-color: color-mix(in oklch, var(--ex) 30%, var(--line)); }
.mini-cell.ep { --accent: var(--ep); border-color: color-mix(in oklch, var(--ep) 30%, var(--line)); }
.mini-cell.au { --accent: var(--au); border-color: color-mix(in oklch, var(--au) 30%, var(--line)); }
.mini-cell.tr { --accent: var(--tr); border-color: color-mix(in oklch, var(--tr) 30%, var(--line)); }

@keyframes cellPulse {
  0%, 100% { background: var(--bg-3); }
  50% { background: color-mix(in oklch, var(--accent) 18%, var(--bg-3)); }
}
.mini-cell:nth-child(1) { animation-delay: 0s; }
.mini-cell:nth-child(2) { animation-delay: 0.3s; }
.mini-cell:nth-child(3) { animation-delay: 0.6s; }
.mini-cell:nth-child(4) { animation-delay: 0.9s; }
.mini-cell:nth-child(5) { animation-delay: 0.2s; }
.mini-cell:nth-child(6) { animation-delay: 0.5s; }
.mini-cell:nth-child(7) { animation-delay: 0.8s; }
.mini-cell:nth-child(8) { animation-delay: 1.1s; }
.mini-cell:nth-child(9) { animation-delay: 0.4s; }
.mini-cell:nth-child(10) { animation-delay: 0.7s; }
.mini-cell:nth-child(11) { animation-delay: 1s; }
.mini-cell:nth-child(12) { animation-delay: 1.3s; }
.mini-cell:nth-child(13) { animation-delay: 0.6s; }
.mini-cell:nth-child(14) { animation-delay: 0.9s; }
.mini-cell:nth-child(15) { animation-delay: 1.2s; }
.mini-cell:nth-child(16) { animation-delay: 1.5s; }
.mini-cell:nth-child(17) { animation-delay: 0.8s; }
.mini-cell:nth-child(18) { animation-delay: 1.1s; }
.mini-cell:nth-child(19) { animation-delay: 1.4s; }
.mini-cell:nth-child(20) { animation-delay: 1.7s; }
.mini-cell:nth-child(21) { animation-delay: 1s; }
.mini-cell:nth-child(22) { animation-delay: 1.3s; }
.mini-cell:nth-child(23) { animation-delay: 1.6s; }
.mini-cell:nth-child(24) { animation-delay: 1.9s; }

/* Trust strip */
.trust-strip {
  padding: 28px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: oklch(0.16 0.012 250);
}
.trust-content {
  display: flex; align-items: center; gap: 48px; justify-content: space-between;
}
.trust-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-4); flex-shrink: 0;
}
.trust-logos { display: flex; gap: 40px; flex-wrap: wrap; }
.trust-logo {
  font-family: var(--mono);
  font-size: 14px; font-weight: 600;
  color: var(--fg-3);
  letter-spacing: -0.01em;
}

/* Why grid */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.why-card {
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent, var(--fg-3));
  opacity: 0.7;
}
.why-card.c1 { --accent: var(--ex); }
.why-card.c2 { --accent: var(--ep); }
.why-card.c3 { --accent: var(--au); }
.why-num {
  font-family: var(--mono); font-size: 11px; color: var(--fg-3);
  margin-bottom: 16px;
}
.why-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em; }
.why-card p { font-size: 14.5px; line-height: 1.6; color: var(--fg-2); }

/* Stats impact */
.impact {
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 48px;
}
.impact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.impact-stat { }
.impact-bar {
  height: 4px; background: var(--line); border-radius: 2px; margin: 16px 0; overflow: hidden;
  position: relative;
}
.impact-bar-fill {
  height: 100%;
  background: var(--accent, var(--ep));
  width: 0;
  animation: barFill 1.4s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes barFill { to { width: var(--w); } }
.impact-stat .num {
  font-family: var(--mono); font-size: 40px; font-weight: 600; letter-spacing: -0.02em; line-height: 1;
  color: var(--accent, var(--fg));
}
.impact-stat .num small { font-size: 24px; opacity: 0.7; }
.impact-stat .lbl { font-size: 13px; color: var(--fg-2); margin-top: 4px; }
.impact-stat.s1 { --accent: var(--ex); }
.impact-stat.s2 { --accent: var(--ep); }
.impact-stat.s3 { --accent: #ef4444; }
.impact-stat.s4 { --accent: var(--tr); }

/* Viz section */
.viz-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.viz-list { list-style: none; display: flex; flex-direction: column; gap: 4px; margin-top: 24px; }
.viz-list li {
  padding: 16px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  display: flex; align-items: center; gap: 14px;
  font-size: 14.5px;
  transition: border-color .2s;
}
.viz-list li:hover { border-color: var(--ep); }
.viz-list .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: color-mix(in oklch, var(--ep) 25%, transparent);
  color: var(--ep);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}

/* Viz mock */
.viz-mock {
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.viz-mock-head { display: flex; gap: 8px; margin-bottom: 20px; }
.viz-mock-head span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line);
}
.viz-heatmap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin-bottom: 16px; }
.viz-heatmap > span {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--bg-3);
}
.viz-chart {
  height: 120px;
  display: flex; align-items: flex-end; gap: 6px;
  padding: 12px 0;
}
.viz-chart > span {
  flex: 1;
  background: linear-gradient(180deg, var(--ep), color-mix(in oklch, var(--ep) 30%, transparent));
  border-radius: 3px 3px 0 0;
  min-height: 8px;
  animation: chartGrow 1s ease-out forwards;
  transform-origin: bottom;
  transform: scaleY(0);
}
@keyframes chartGrow { to { transform: scaleY(1); } }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 60px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, color-mix(in oklch, var(--ep) 20%, transparent), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { max-width: 560px; }
.cta-banner p { color: var(--fg-2); margin-top: 12px; max-width: 540px; line-height: 1.6; }

@media (max-width: 900px) {
  .hero-grid, .viz-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .impact { padding: 28px; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 36px; }
  .trust-content { flex-direction: column; align-items: flex-start; gap: 16px; }
}
