/* ==========================================================================
   Anugrah Pratama — tema publik "Deep Blue AI/IoT"
   Token di :root. Komponen memakai nama kelas yang sama dengan versi sebelumnya.
   ========================================================================== */
:root {
  --bg-0: #030a17;
  --bg-1: #061127;
  --bg-2: #0a1a36;
  --surface: rgba(14, 29, 58, .55);
  --surface-2: rgba(20, 42, 82, .45);
  --line: rgba(96, 165, 250, .14);
  --line-2: rgba(96, 165, 250, .32);
  --text: #eaf2ff;
  --text-2: #b7cbe8;
  --muted: #7f97bb;
  --blue: #3b82f6;
  --blue-2: #60a5fa;
  --sky: #38bdf8;
  --cyan: #22d3ee;
  --grad: linear-gradient(120deg, #2563eb 0%, #38bdf8 55%, #22d3ee 100%);
  --grad-text: linear-gradient(90deg, #93c5fd, #38bdf8, #67e8f9, #93c5fd);
  --glow: 0 0 0 1px rgba(56, 189, 248, .18), 0 24px 60px -24px rgba(37, 99, 235, .65);
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius: 14px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg-0); }
body.site {
  font-family: var(--font);
  color: var(--text-2);
  margin: 0;
  line-height: 1.7;
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 88% -8%, rgba(34, 211, 238, .14), transparent 60%),
    radial-gradient(900px 560px at -8% 18%, rgba(37, 99, 235, .22), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(37, 99, 235, .14), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 60%);
  background-attachment: scroll;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--sky); text-underline-offset: 3px; transition: color .2s ease; }
a:hover { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(56, 189, 248, .35); color: #fff; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: #0b1a33; padding: 8px 14px; border-radius: 8px; z-index: 2000; }
.skip-link:focus { left: 12px; }
h1, h2, h3, h4 { color: #fff; letter-spacing: -.025em; font-weight: 700; }
.text-dark { color: #fff !important; }
.text-muted { color: var(--muted) !important; }

/* ---------- Navbar ---------- */
.site-nav {
  background: rgba(3, 10, 23, .55);
  backdrop-filter: saturate(170%) blur(18px);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
  padding: .7rem 0;
}
.site-nav.is-scrolled { background: rgba(3, 10, 23, .82); border-bottom-color: var(--line); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .8); }
.site-nav .nav-link {
  color: var(--text-2) !important;
  font-weight: 500;
  font-size: .9rem;
  border-radius: 10px;
  padding: .5rem .8rem !important;
  position: relative;
  transition: color .2s ease, background .2s ease;
}
.site-nav .nav-link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: #fff !important; background: rgba(59, 130, 246, .08); }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-link.nav-cms { color: #fff !important; font-weight: 600; }
.site-nav .dropdown-menu {
  background: rgba(7, 18, 40, .96); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--glow);
  padding: .5rem; min-width: 230px; backdrop-filter: blur(16px);
}
.site-nav .dropdown-item { border-radius: 10px; padding: .55rem .8rem; font-size: .9rem; color: var(--text-2); }
.site-nav .dropdown-item:hover, .site-nav .dropdown-item:focus { background: rgba(59, 130, 246, .18); color: #fff; }
.navbar-brand { color: #fff !important; font-weight: 700; }
.brand-name { font-size: 1.02rem; letter-spacing: -.01em; }
.brand-mark {
  position: relative; display: inline-grid; place-items: center; width: 40px; height: 38px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: .92rem; letter-spacing: -.06em;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 10px 30px -6px rgba(56, 189, 248, .65);
}
.brand-mark::after { content: ""; position: absolute; inset: -4px; border-radius: 16px; border: 1px solid rgba(56,189,248,.35); animation: pulse 3s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.95); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
.navbar-toggler { border: 1px solid var(--line-2); border-radius: 10px; padding: .4rem .6rem; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Umum ---------- */
main { min-height: 60vh; position: relative; }
.container { max-width: 1200px; }
.section { padding: 6rem 0; position: relative; }
.section-tight { padding: 3rem 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sky);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; box-shadow: 0 0 12px rgba(56,189,248,.8); }
.section-head { margin-bottom: 3rem; max-width: 720px; }
.section-head h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin: .8rem 0 .9rem; line-height: 1.12; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.04rem; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.btn-soft {
  border-radius: 999px; padding: .55rem 1.15rem; font-weight: 600; font-size: .88rem;
  color: var(--sky); background: rgba(56, 189, 248, .08); border: 1px solid var(--line-2); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-soft:hover { background: var(--grad); color: #04101f; box-shadow: 0 0 24px -4px rgba(56,189,248,.7); border-color: transparent; }
.btn-glow {
  position: relative; border: 0; border-radius: 999px; padding: .9rem 1.6rem; font-weight: 600; color: #04101f; text-decoration: none;
  background: var(--grad); background-size: 200% 100%; box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 16px 40px -10px rgba(56, 189, 248, .7);
  display: inline-flex; align-items: center; gap: .45rem; transition: transform .25s ease, box-shadow .25s ease, background-position .6s ease;
}
.btn-glow:hover { color: #04101f; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 22px 50px -10px rgba(56, 189, 248, .85); }
.btn-ghost {
  border-radius: 999px; padding: .9rem 1.6rem; font-weight: 600; color: #fff; text-decoration: none;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); display: inline-flex; align-items: center; gap: .4rem;
  backdrop-filter: blur(8px); transition: background .2s ease, border-color .2s ease;
}
.btn-ghost:hover { color: #fff; background: rgba(59, 130, 246, .14); border-color: var(--sky); }
.btn-ghost-light { color: #fff; border: 1px solid var(--line-2); background: transparent; }
.btn-ghost-light:hover { color: #fff; background: rgba(255,255,255,.1); }
.pill {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem; font-weight: 600; padding: .34rem .75rem; border-radius: 999px;
  background: rgba(56, 189, 248, .12); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, .25);
}
.pill.muted { background: rgba(148, 163, 184, .1); color: #cbd5e1; border-color: rgba(148,163,184,.2); }

/* Reveal saat scroll (diatur oleh site.js) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 7.5rem 0 6rem; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; pointer-events: none; }
.hero::before {
  content: ""; position: absolute; inset: -20%; z-index: -2; pointer-events: none;
  background:
    conic-gradient(from 180deg at 50% 50%, rgba(37,99,235,.0), rgba(56,189,248,.18), rgba(37,99,235,.0) 40%, rgba(34,211,238,.14), rgba(37,99,235,0));
  filter: blur(60px); animation: spin 26s linear infinite; opacity: .6;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(rgba(96,165,250,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(96,165,250,.07) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 35%, transparent 80%);
}
.hero-pill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem; border-radius: 999px;
  background: rgba(15, 30, 60, .6); border: 1px solid var(--line-2); font-size: .8rem; letter-spacing: .03em; color: #cfe4ff; backdrop-filter: blur(8px);
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.hero-title {
  color: #fff; font-size: clamp(2.7rem, 6.2vw, 5.4rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; margin: 1.4rem 0 1.4rem;
}
.hero-title .grad-text {
  background: var(--grad-text); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.hero-copy { color: var(--text-2); font-size: 1.1rem; max-width: 600px; margin: 0; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 2.8rem; }
.hero-stat {
  position: relative; padding: 1.1rem 1.2rem; border-radius: 18px; background: linear-gradient(160deg, rgba(20,42,82,.6), rgba(8,20,42,.5));
  border: 1px solid var(--line); backdrop-filter: blur(12px); overflow: hidden;
}
.hero-stat::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--sky), transparent); opacity: .6; }
.hero-stat strong { display: block; color: #fff; font-size: 1.5rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hero-stat small { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.mosaic { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; grid-auto-rows: 185px; gap: 1rem; }
.mosaic figure {
  position: relative; margin: 0; overflow: hidden; border-radius: 22px; background: #0a1a36;
  border: 1px solid var(--line-2); box-shadow: 0 30px 80px -30px rgba(37, 99, 235, .6);
}
.mosaic figure:first-child { grid-row: span 2; }
.mosaic figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(3,10,23,.75)); pointer-events: none; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.mosaic figure:hover img { transform: scale(1.06); }
.mosaic figcaption {
  position: absolute; left: .9rem; right: .9rem; bottom: .9rem; z-index: 1; padding: .55rem .8rem; font-size: .76rem; color: #eaf2ff;
  background: rgba(6, 17, 39, .7); border: 1px solid var(--line-2); border-radius: 12px; backdrop-filter: blur(10px);
}
.mosaic .live-tag {
  position: absolute; top: .9rem; left: .9rem; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; font-size: .7rem; font-weight: 600;
  padding: .3rem .6rem; border-radius: 999px; background: rgba(239, 68, 68, .18); color: #fecaca; border: 1px solid rgba(248,113,113,.4);
}
.mosaic .live-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f87171; box-shadow: 0 0 8px #f87171; }

/* ---------- Kartu ---------- */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.card-lite {
  position: relative; overflow: hidden; height: 100%; display: flex; flex-direction: column; padding: 1.7rem;
  background: linear-gradient(170deg, rgba(22, 46, 88, .62), rgba(8, 20, 42, .72));
  border: 1px solid var(--line); border-radius: var(--radius-lg); backdrop-filter: blur(12px);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s ease, box-shadow .35s ease;
  isolation: isolate;
}
.card-lite::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(56, 189, 248, .16), transparent 45%);
}
.card-lite::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
}
.card-lite:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--glow); }
.card-lite:hover::before { opacity: 1; }
.card-lite:hover::after { transform: scaleX(1); }
.card-lite .num { font-size: .72rem; font-weight: 600; letter-spacing: .16em; color: var(--sky); text-transform: uppercase; }
.card-lite h3 { font-size: 1.25rem; margin: .8rem 0 .55rem; color: #fff; }
.card-lite p { color: var(--muted); font-size: .95rem; line-height: 1.75; margin: 0; flex: 1; }
.card-lite .card-foot { margin-top: 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.card-lite .btn-soft { font-size: .84rem; }
.solution-card { min-height: 280px; }
.solution-card .solution-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 1.2rem;
  background: linear-gradient(140deg, rgba(37,99,235,.35), rgba(34,211,238,.15)); color: #bae6fd; border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 30px -10px rgba(56,189,248,.6);
}

/* ---------- Berita ---------- */
.news-card { overflow: hidden; padding: 0; }
.news-card .cover { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #0f2b57, #0b3b6e); overflow: hidden; }
.news-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.news-card .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6,17,39,.85)); }
.news-card:hover .cover img { transform: scale(1.06); }
.news-card .body { padding: 1.3rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.news-card .meta { font-size: .78rem; color: var(--sky); letter-spacing: .04em; }
.news-card h3 { font-size: 1.14rem; margin: .5rem 0 .5rem; line-height: 1.38; }
.news-card h3 a { color: #fff; text-decoration: none; }
.news-card h3 a:hover { color: var(--sky); }
.news-card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Platform ---------- */
.platform-card .icon-wrap { font-size: .7rem; font-weight: 700; color: var(--sky); letter-spacing: .16em; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 2rem; max-width: 880px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--sky), rgba(56,189,248,.05));
}
.timeline-item { position: relative; padding: 0 0 2.2rem 1.4rem; }
.timeline-item::before {
  content: ""; position: absolute; left: calc(-2rem + 2px); top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: #04101f; border: 3px solid var(--sky); box-shadow: 0 0 0 5px rgba(56,189,248,.12), 0 0 18px rgba(56,189,248,.7);
}
.timeline-item::after {
  content: ""; position: absolute; left: calc(-2rem + 2px); top: 6px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--sky); opacity: 0; animation: ripple 2.8s ease-out infinite;
}
.timeline-item:nth-child(3n+2)::after { animation-delay: .9s; }
@keyframes ripple { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }
.timeline-date { font-size: .76rem; font-weight: 600; color: var(--sky); letter-spacing: .08em; text-transform: uppercase; }
.timeline-item h3 { font-size: 1.1rem; margin: .3rem 0 .35rem; }
.timeline-item p { color: var(--muted); margin: 0; font-size: .95rem; }
.timeline-item .cat { display: inline-block; margin-top: .55rem; font-size: .72rem; padding: .2rem .65rem; border-radius: 999px; background: rgba(56,189,248,.1); color: #7dd3fc; border: 1px solid rgba(56,189,248,.2); }

/* ---------- Galeri ---------- */
.gallery { columns: 3 260px; column-gap: 1rem; }
.gallery a {
  display: block; margin: 0 0 1rem; break-inside: avoid; border-radius: 20px; overflow: hidden; position: relative;
  border: 1px solid var(--line); background: #0a1a36; box-shadow: 0 16px 40px -20px rgba(0,0,0,.6);
}
.gallery img { width: 100%; display: block; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.gallery a:hover { border-color: var(--line-2); }
.gallery a:hover img { transform: scale(1.05); filter: brightness(1.05) saturate(1.1); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem 1rem; color: #fff; font-size: .82rem; background: linear-gradient(transparent, rgba(3,10,23,.9)); }

/* ---------- Dokumen & tautan ---------- */
.doc-frame { background: linear-gradient(170deg, rgba(22,46,88,.6), rgba(8,20,42,.7)); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 1rem; box-shadow: var(--glow); }
.doc-frame iframe { width: 100%; height: 72vh; min-height: 420px; border: 0; border-radius: 16px; background: #0b1a33; }
.link-group + .link-group { margin-top: 3.2rem; }
.link-group h2 { font-size: 1.2rem; display: flex; align-items: center; gap: .65rem; margin-bottom: 1.1rem; }
.link-group h2 .count { font-size: .72rem; font-weight: 600; background: rgba(56,189,248,.12); color: #7dd3fc; padding: .18rem .65rem; border-radius: 999px; border: 1px solid rgba(56,189,248,.22); }
.link-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; text-decoration: none; color: var(--text-2);
  background: linear-gradient(170deg, rgba(22,46,88,.55), rgba(8,20,42,.6)); border: 1px solid var(--line); border-radius: 18px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.link-row:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--glow); color: var(--text-2); }
.link-row strong { color: #fff; display: block; font-weight: 600; }
.link-row small { color: var(--muted); }
.link-row .arrow { color: var(--sky); font-size: 1.2rem; flex-shrink: 0; transition: transform .25s ease; }
.link-row:hover .arrow { transform: translateX(4px); }

/* ---------- Konten (berita/halaman) ---------- */
.article { max-width: 780px; margin: 0 auto; }
.article h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); line-height: 1.12; margin: .9rem 0 1rem; }
.article .lead { font-size: 1.12rem; color: var(--muted); }
.article .cover-lg { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--glow); margin: 2rem 0; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); }
.prose { font-size: 1.05rem; color: var(--text-2); }
.prose h2 { font-size: 1.65rem; margin-top: 2.2rem; color: #fff; }
.prose h3 { font-size: 1.3rem; margin-top: 1.7rem; color: #fff; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin-bottom: 1.2rem; }
.prose strong { color: #fff; }
.prose img { border-radius: 16px; margin: 1.3rem 0; border: 1px solid var(--line); }
.prose blockquote { border-left: 3px solid var(--sky); padding: .6rem 1.1rem; color: var(--muted); background: rgba(56,189,248,.06); border-radius: 0 14px 14px 0; }
.prose code { background: rgba(56,189,248,.12); color: #bae6fd; padding: .1rem .45rem; border-radius: 6px; font-size: .9em; }
.prose a { color: var(--sky); }
.page-hero { position: relative; padding: 6rem 0 3rem; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 300px at 15% 0%, rgba(37,99,235,.35), transparent 70%), radial-gradient(500px 260px at 90% 20%, rgba(34,211,238,.18), transparent 70%);
}
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: .7rem 0 .6rem; }
.page-hero p { color: var(--muted); margin: 0; max-width: 660px; font-size: 1.05rem; }
.breadcrumbs { font-size: .85rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: #fff; }
.empty-state { text-align: center; padding: 3.5rem 1rem; color: var(--muted); background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius-xl); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; background: linear-gradient(180deg, #040d1d, #020813); color: #8fa6c8; padding: 5rem 0 2rem; margin-top: 6rem;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--sky), transparent);
}
.footer-title { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer-copy { color: #7e97bb; max-width: 420px; }
.footer-list { display: grid; gap: .6rem; }
.footer-list a { color: #b6c9e6; text-decoration: none; transition: color .2s ease; }
.footer-list a:hover { color: #fff; }
.footer-bottom { margin-top: 3.2rem; padding-top: 1.3rem; border-top: 1px solid var(--line); font-size: .82rem; color: #607a9c; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* ---------- Overlay frame ---------- */
.frame-overlay { position: fixed; inset: 0; z-index: 1080; background: var(--bg-0); display: flex; flex-direction: column; }
.frame-overlay[hidden] { display: none; }
.frame-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1.1rem; background: rgba(6, 17, 39, .95); border-bottom: 1px solid var(--line-2); color: #fff; }
.frame-bar strong { font-size: .95rem; min-width: 0; }
#frame-view { flex: 1; width: 100%; border: 0; background: #fff; }

/* ---------- Responsif ---------- */
@media (max-width: 991.98px) {
  .hero { padding: 5.5rem 0 4rem; }
  .mosaic { grid-auto-rows: 160px; }
  .section { padding: 4rem 0; }
  .site-nav .navbar-collapse { background: rgba(6, 17, 39, .97); border-radius: 18px; padding: .8rem; margin-top: .7rem; box-shadow: var(--glow); border: 1px solid var(--line-2); }
}
@media (max-width: 575.98px) {
  .hero-stats { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .mosaic figure:first-child { grid-row: auto; }
  .card-grid { grid-template-columns: 1fr; }
  .frame-bar .btn-ghost-light { display: none; }
  .hero-title { font-size: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-canvas { display: none; }
}

/* ---------- Perbaikan layout: navbar tidak membungkus, grid solusi lebar penuh ---------- */
.site-nav .nav-link, .site-nav .btn-link { white-space: nowrap; }
.site-nav .navbar-nav .nav-item { flex-shrink: 0; }
#solutions .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 991.98px) { #solutions .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { #solutions .card-grid { grid-template-columns: 1fr; } }
@media (min-width: 992px) and (max-width: 1399.98px) {
  .site-nav .nav-link { padding: .5rem .5rem !important; font-size: .86rem; }
  .site-nav .navbar-brand .brand-name { display: none; }
}

/* ---------- Platform unggulan (dashboard live) ---------- */
.featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.featured-card {
  position: relative; display: flex; flex-direction: column; padding: 2.2rem; min-height: 260px; overflow: hidden; isolation: isolate;
  text-decoration: none; color: var(--text-2); border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(30, 64, 175, .42), rgba(8, 20, 42, .85) 70%);
  border: 1px solid var(--line-2); box-shadow: 0 30px 80px -40px rgba(37, 99, 235, .8);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .4s ease;
}
.featured-card::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; opacity: .55;
  background: conic-gradient(from 0deg, transparent, #38bdf8 12%, transparent 26%); animation: spin 9s linear infinite; filter: blur(18px);
}
.featured-card::after {
  content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: calc(var(--radius-xl) - 1px);
  background: linear-gradient(160deg, rgba(14,34,72,.97), rgba(5,14,30,.98));
}
.featured-card:hover { transform: translateY(-6px); border-color: var(--sky); box-shadow: 0 40px 90px -36px rgba(56, 189, 248, .75); color: var(--text-2); }
.featured-top { display: flex; align-items: center; justify-content: space-between; }
.featured-arrow {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; font-size: 1.2rem; color: #04101f;
  background: var(--grad); box-shadow: 0 10px 28px -8px rgba(56,189,248,.8); transition: transform .3s ease;
}
.featured-card:hover .featured-arrow { transform: rotate(45deg); }
.featured-card h3 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin: 1.6rem 0 .6rem; line-height: 1.2; }
.featured-card p { color: var(--muted); margin: 0 0 1.6rem; max-width: 520px; font-size: .98rem; }
.featured-cta { margin-top: auto; font-weight: 600; color: var(--sky); display: inline-flex; align-items: center; gap: .4rem; }
.featured-card:hover .featured-cta { color: var(--cyan); }
@media (max-width: 767.98px) { .featured-grid { grid-template-columns: 1fr; } .featured-card { padding: 1.6rem; min-height: 0; } }

/* ---------- Hero: kartu platform unggulan + gambar Terasap ---------- */
.hero-visual { display: grid; gap: 1rem; }
.hero-feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.hero-feat {
  position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem 1.3rem; min-height: 200px; overflow: hidden; isolation: isolate;
  text-decoration: none; color: var(--text-2); border-radius: 20px;
  background: linear-gradient(160deg, rgba(30, 64, 175, .45), rgba(8, 20, 42, .9) 70%);
  border: 1px solid var(--line-2); box-shadow: 0 24px 60px -30px rgba(37, 99, 235, .8);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s ease, box-shadow .35s ease;
}
.hero-feat::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(56,189,248,.22), transparent 60%);
}
.hero-feat:hover { transform: translateY(-5px); border-color: var(--sky); box-shadow: 0 30px 70px -30px rgba(56,189,248,.7); color: var(--text-2); }
.hero-feat:hover::before { opacity: 1; }
.hero-feat h3 { font-size: 1.22rem; margin: .6rem 0 .1rem; line-height: 1.25; color: #fff; }
.hero-feat p { color: var(--muted); font-size: .84rem; line-height: 1.55; margin: 0 0 auto; }
.hero-feat .featured-cta { margin-top: .7rem; font-size: .85rem; }
.hero-shot {
  position: relative; margin: 0; overflow: hidden; border-radius: 22px; border: 1px solid var(--line-2); background: #0a1a36;
  box-shadow: 0 30px 80px -30px rgba(37, 99, 235, .6); height: 230px;
}
.hero-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.hero-shot:hover img { transform: scale(1.05); }
.hero-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(3,10,23,.8)); pointer-events: none; }
.hero-shot figcaption {
  position: absolute; left: .9rem; right: .9rem; bottom: .8rem; z-index: 1; padding: .5rem .75rem; font-size: .76rem; color: #eaf2ff;
  background: rgba(6, 17, 39, .7); border: 1px solid var(--line-2); border-radius: 12px; backdrop-filter: blur(10px);
}
@media (max-width: 575.98px) { .hero-feat-grid { grid-template-columns: 1fr; } .hero-feat { min-height: 0; } .hero-shot { height: 200px; } }
