/* ============================================================
   HOME -- "What is CodeForge" page. Hero pattern (.home-hero /
   .home-hero-badge / .home-hero-title) copied directly from the
   live KloudData theme's main.css so the hero matches
   klouddata.com's homepage exactly; the ambient background comes
   from body's hero-background-1.png (see main.css) rather than a
   per-hero blob. Everything below the hero (scan demo, proof band,
   lanes, value grid, FAQ teaser, CTA) is CodeForge-specific, built
   from main.css's shared card/section-label/button tokens.
   ============================================================ */
.home-hero{
  /* No background of its own -- the body's ambient hero-background-1.png
     (see main.css) shows through here, same as it does on every page. */
  position: relative;
  overflow: hidden;
  padding: 160px 24px 72px;
  text-align: center;
}
@media (max-width: 1024px){ .home-hero{ padding: 130px 24px 56px; } }
@media (max-width: 640px){ .home-hero{ padding: 108px 20px 48px; } }
.home-hero-inner{ position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.home-hero-title{
  /* font-size/line-height intentionally not set here -- inherits the
     sitewide h1 scale from main.css (60/70 desktop, 45/55 tablet,
     30/40 mobile) rather than its own responsive sizing. */
  letter-spacing: -2px;
  color: var(--text-primary); margin: 0 0 28px; text-wrap: balance;
}
.home-hero-sub{
  font-size: 16px; color: var(--text-secondary); line-height: 1.6;
  max-width: 620px; margin: 0 auto 40px;
}
.home-hero-sub strong{ color: var(--text-primary); font-weight: 700; }
.home-hero-ctas{ margin-bottom: 12px; }

.hero-quicklinks{ display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; position: relative; z-index: 1; }
.hero-quicklinks a{
  font-family: var(--font-main); font-weight: 600; font-size: 13.5px; color: var(--text-secondary);
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 18px; text-decoration: none; transition: border-color var(--transition), color var(--transition);
}
.hero-quicklinks a:hover{ border-color: var(--accent-blue); color: var(--accent-blue); text-decoration: none; }

/* ---------- live landscape scan: a dark console card floating on the
   light hero background -- the one deliberately dark surface on the
   page, framing it as a live terminal rather than page chrome. ---------- */
.scan-section{ padding: 0 24px 96px; position: relative; z-index: 1; }
@media (max-width: 768px){ .scan-section{ padding: 0 20px 64px; } }
.scan-wrap{ max-width: 1000px; margin: 0 auto; }
.scan-frame{
  background: #0B1733; border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: clamp(20px,3vw,30px);
}
.scan-head{ display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.scan-title{ font-size: 11.5px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: .06em; }
.scan-count{ font-size: 11.5px; color: #fff; font-weight: 600; }
.scan-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(24px, 1fr)); gap: 5px; }
.scan-tile{
  aspect-ratio: 1; border-radius: 5px; background: rgba(255,255,255,0.08);
  display:flex; align-items:center; justify-content:center;
  font-size: 9px; font-weight: 700; color: transparent;
  opacity: 0; transform: scale(.7);
}
.scan-tile.on{ animation: scanTileIn .4s ease-out forwards; }
.scan-tile.low{ background: rgba(0,168,136,0.35); color: #8fe0b4; }
.scan-tile.mod{ background: rgba(161,92,0,0.4); color: #f0c47e; }
.scan-tile.cplx{ background: rgba(163,39,31,0.4); color: #ff9d8a; }
@keyframes scanTileIn{ to{ opacity:1; transform:scale(1); } }
.scan-legend{ display:flex; gap:20px; margin-top:16px; flex-wrap:wrap; font-size: 11px; color: rgba(255,255,255,0.55); }
.scan-legend span{ display:inline-flex; align-items:center; gap:6px; }
.scan-dot{ width:8px; height:8px; border-radius:3px; display:inline-block; }
.scan-dot.low{ background:#8fe0b4; } .scan-dot.mod{ background:#f0c47e; } .scan-dot.cplx{ background:#ff9d8a; }
@media (prefers-reduced-motion: reduce){ .scan-tile{ animation:none !important; opacity:1; transform:none; } }

/* ---------- proof band ---------- */
.proof-band{ background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.proof-band .stat-strip{ max-width: 1280px; margin-inline: auto; justify-content: center; text-align: center; }

/* ---------- lanes ("PI/PO Migration or Custom Code Remediation?") ----------
   Restores the top padding main.css's `main section + section` rule
   zeroes by default (see main.css) -- this section wants its own
   breathing room below the proof band above it, same as .proof-band/
   .why-now restore theirs elsewhere. */
.lanes-section{ padding-top: 96px; }
@media (max-width: 768px){ .lanes-section{ padding-top: 64px; } }

.lane-grid{ max-width: 1280px; margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 800px){ .lane-grid{ grid-template-columns: 1fr; } }
.lane-card{
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: clamp(28px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.lane-card:hover{ transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,40,120,0.15); border-color: var(--border-active); }
.lane-card h3{ margin: 0; color: var(--text-primary); }
.lane-card p{ font-size: 16px; line-height: 1.6; margin: 0; }
.lane-card ul{ margin: 4px 0 10px; padding-left: 18px; color: var(--text-secondary); font-size: 16px; line-height: 1.8; }
.lane-card .btn{ align-self: flex-start; margin-top: auto; }

/* ---------- value grid ---------- */
.value-grid{ max-width: 1280px; margin-inline: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px){ .value-grid{ grid-template-columns: 1fr; } }
.value-card{
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: 26px;
}
.value-card h3{ margin: 0 0 10px; color: var(--text-primary); }
.value-card p{ margin: 0; font-size: 16px; line-height: 1.65; }

/* ---------- faq teaser ---------- */
.faq-teaser{
  max-width: 1280px; margin-inline: auto;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 40px);
}
.faq-teaser h3{ margin: 0 0 6px; color: var(--text-primary); }
.faq-teaser p{ margin: 0; }

/* Closing CTA band -- see main.css's shared .cta-band component (matches
   the live site's home-final-cta.php dark navy/radial-glow card exactly),
   enqueued on every page rather than redefined per page template. */
