/* ═══════════════════════════════════════════════════
   MetaGrator — Home Page Styles
   ═══════════════════════════════════════════════════ */

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 0 100px;
}
.hero-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(46px, 6.5vw, 78px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 820px;
  margin-bottom: 40px;
}
.hero h1 .h-accent { color: var(--accent); }
.hero .hero-bydesign {
  font-family: var(--display);
  font-size: clamp(46px, 6.5vw, 78px);
  font-weight: 300;
  letter-spacing: -0.035em;
  color: var(--text-light);
  margin-bottom: 48px;
}
.hero-why {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.hero-why strong { font-weight: 500; color: var(--text); }
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ═══ THE ACKNOWLEDGMENT ═══ */
.ack {
  padding: 160px 0;
  border-top: 1px solid var(--line);
}
.ack-text {
  font-family: var(--display);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.015em;
  max-width: 760px;
  color: var(--text-light);
}
.ack-text strong { color: var(--text); font-weight: 700; }
.ack-text .ack-break { display: block; height: 20px; }

/* ═══ SEVEN HEADER ═══ */
.seven-intro {
  padding: 160px 0 80px;
  border-top: 1px solid var(--line);
}
.seven-top {
  display: flex;
  align-items: flex-end;
  gap: 48px;
}
.seven-num {
  font-family: var(--display);
  font-size: clamp(100px, 16vw, 200px);
  font-weight: 800;
  line-height: 0.75;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, var(--text) 30%, var(--text-faint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}
.seven-intro h2 {
  font-family: var(--display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text-mid);
  max-width: 480px;
  padding-bottom: 12px;
}

/* ═══ PILLAR FLOW ═══ */
.pillar-flow {
  position: relative;
  padding-left: 1px;
}
.pillar-flow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg,
    var(--accent) 0%,
    var(--accent-line) 8%,
    var(--accent-line) 92%,
    transparent 100%
  );
}
.pillar {
  position: relative;
  padding: 80px 0 80px 80px;
  border-bottom: 1px solid var(--line);
}
.pillar:last-child { border-bottom: none; }
.pillar::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 96px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  transition: all 0.5s var(--ease);
  z-index: 2;
}
.pillar:hover::before {
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-light);
}
.pillar-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-light);
  border: 1px solid var(--accent-line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 22px;
  transition: all 0.4s var(--ease);
}
.pillar:hover .pillar-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.pillar-num {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.pillar h3 {
  font-family: var(--body);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 650px;
}
.pillar-desc {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 520px;
}

/* ═══ EVERYTHING ELSE ═══ */
.everything {
  padding: 160px 0;
  border-top: 1px solid var(--line);
}
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.stack-cell {
  background: var(--bg);
  padding: 32px 28px;
  transition: background 0.3s var(--ease);
}
.stack-cell:hover { background: var(--white); }
.stack-cell-icon {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 14px;
  display: block;
}
.stack-cell h4 {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.stack-cell p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.55;
  font-weight: 300;
}

/* ═══ DEPLOY ═══ */
.deploy {
  padding: 0 0 160px;
}
.deploy-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.deploy-card {
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  transition: all 0.4s var(--ease);
}
.deploy-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(11,14,20,0.04);
}
.deploy-card-icon {
  color: var(--accent);
  font-size: 26px;
  margin-bottom: 18px;
  display: block;
}
.deploy-card h4 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.deploy-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 300;
}

/* ═══ MARKETS ═══ */
.markets {
  padding: 160px 0;
  border-top: 1px solid var(--line);
}
.markets-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.market-tag {
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 400;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text-mid);
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
  gap: 10px;
}
.market-tag:hover {
  border-color: var(--accent-line);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.market-tag .flag { font-size: 18px; }
.market-tag.expanding {
  border-style: dashed;
  color: var(--text-light);
}

/* ═══ HOME RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .seven-top { flex-direction: column; gap: 16px; align-items: flex-start; }
}
@media (max-width: 900px) {
  .pillar { padding: 56px 0 56px 52px; }
  .pillar::before { top: 72px; }
  .pillar-icon { width: 42px; height: 42px; font-size: 18px; border-radius: 10px; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .deploy-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero { padding: 130px 0 80px; min-height: auto; }
  .ack { padding: 100px 0; }
  .seven-intro { padding-top: 100px; }
  .pillar { padding: 40px 0 40px 36px; }
  .pillar::before { left: -4px; top: 56px; width: 9px; height: 9px; }
  .everything, .markets { padding: 100px 0; }
  .stack-grid { grid-template-columns: 1fr; }
  .deploy-row { grid-template-columns: 1fr; }
}
