/* =====================================================================
   CITRA ENERGI BUMI — Halaman Teknologi
   Tambahan kecil di atas design system. HANYA memakai token dari
   style.css (var(--...)) — aman untuk mode terang & gelap.
   Satu-satunya warna "mentah" adalah alpha pada chip status.
   ===================================================================== */

/* ---------- Banner halaman (bukan full-screen) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(40px, 8vw, 88px));
  padding-bottom: clamp(50px, 8vw, 96px);
  overflow: hidden;
}
.page-hero .hero-grid-lines { z-index: 0; }
.page-hero .hero-orb { z-index: 0; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .page-hero-inner { max-width: 780px; }
.page-hero h1 { margin: 20px 0 22px; font-size: clamp(2.3rem, 5.6vw, 4rem); }
.page-hero .lead { margin-bottom: 26px; }
.page-hero .hero-pills { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Chip status: LIVE (hijau) & RISET (oranye) ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .45rem; flex-shrink: 0;
  font-family: var(--font-mono); font-size: .66rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; line-height: 1.6;
  padding: 4px 12px; border-radius: 100px; white-space: nowrap;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.chip-live {
  color: var(--ok);
  background: rgba(52, 211, 153, .12);
  border: 1px solid rgba(52, 211, 153, .35);
}
.chip-live::before { box-shadow: 0 0 8px currentColor; animation: chip-pulse 2.2s ease-in-out infinite; }
.chip-riset {
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 122, 26, .35);
}
.chip-sm { font-size: .58rem; padding: 2px 9px; letter-spacing: .12em; }
.chip-sm::before { width: 5px; height: 5px; }
@keyframes chip-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .chip-live::before { animation: none; } }

/* ---------- Kartu fitur live ---------- */
.tech-card { display: flex; flex-direction: column; }
.tech-card .tech-card-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 2px;
}
.tech-card .tech-card-top .icon-box { margin-bottom: 0; }
.tech-card h3 { font-size: 1.16rem; margin: 16px 0 10px; }
.tech-card > p { color: var(--muted); font-size: .94rem; flex-grow: 1; }
.tech-card .tech-link,
.tech-card .tech-hint {
  margin-top: 18px; display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9rem;
}
.tech-card .tech-link { color: var(--accent); font-weight: 600; }
.tech-card .tech-link svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .3s var(--ease); }
.tech-card .tech-link:hover svg { transform: translateX(4px); }
.tech-card .tech-hint { color: var(--faint); font-weight: 500; }
.tech-card .tech-hint svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Jembatan Generasi × BIM (2 kolom) ---------- */
.gen-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 5vw, 64px); align-items: center;
}
.gen-copy h2 { margin-top: 18px; }
.gen-copy .lead { margin-top: 18px; }
.gen-copy .gen-note { color: var(--muted); margin-top: 18px; }
.gen-copy .gen-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.gen-card { padding: clamp(26px, 3.4vw, 42px); }

/* Daftar cek — halaman ini tidak memuat home.css, jadi pola .check-list
   didefinisikan sendiri (mengikuti gaya design system). */
.gen-card .check-list { display: grid; gap: 18px; }
.gen-card .check-list li { display: flex; gap: 14px; align-items: flex-start; }
.gen-card .check-list .ck {
  width: 28px; height: 28px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(52, 211, 153, .12);
  border: 1px solid rgba(52, 211, 153, .3);
  color: var(--ok);
  margin-top: 2px;
}
.gen-card .check-list .ck svg { width: 15px; height: 15px; }
.gen-card .check-list .ck-text strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.gen-card .check-list .ck-text span { color: var(--muted); font-size: .92rem; }

/* ---------- Roadmap: dua kolom timeline ---------- */
.roadmap-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 3vw, 34px); align-items: start;
}
.roadmap-col {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(24px, 3.2vw, 40px);
}
.roadmap-head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.roadmap-head h3 { font-size: 1.28rem; }

/* Pola dasar .timeline / .tl-item berasal dari style.css (garis + titik).
   Di sini hanya menambah tipografi isi & varian warna per kelompok. */
.roadmap-col .tl-item { padding-bottom: 28px; }
.roadmap-col .tl-item:last-child { padding-bottom: 0; }
.roadmap-col .tl-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.roadmap-col .tl-title strong { font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; letter-spacing: -.01em; }
.roadmap-col .tl-item p { color: var(--muted); font-size: .92rem; margin-top: 6px; max-width: 46ch; }

/* Kelompok "Baru Rilis" — garis & titik hijau */
.timeline.tl-live::before { background: linear-gradient(var(--ok), transparent); }
.timeline.tl-live .tl-item::before {
  border-color: var(--ok);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, .12);
}

/* Kelompok "Sedang Kami Siapkan" — titik oranye putus-putus (belum penuh) */
.timeline.tl-riset .tl-item::before { border-style: dashed; }

/* ---------- CTA band (halaman ini tidak memuat home.css) ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px);
}
.cta-band .cta-orb {
  position: absolute; width: 460px; height: 460px; border-radius: 50%;
  filter: blur(100px); opacity: .4;
  background: radial-gradient(circle, rgba(255, 122, 26, .6), transparent 65%);
  top: -180px; right: -120px; pointer-events: none;
}
:root[data-theme="light"] .cta-band .cta-orb { opacity: .22; }
.cta-band .cta-copy { position: relative; z-index: 2; max-width: 680px; }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- Responsif ---------- */
@media (max-width: 940px) {
  .gen-grid { grid-template-columns: 1fr; gap: 30px; }
  .roadmap-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .roadmap-col { padding: 22px 18px; }
  .roadmap-col .tl-title { gap: 8px; }
}
