/* ============================================================
   DIGIFANA — agencee.css (lapisan reskin site-wide)
   Referensi: https://agencee.framer.website/ — hitam pekat #0a0a0a,
   oranye #FF991C, display Unbounded + body Inter, pill-nav, tombol pill
   dengan segitiga ▶, blok highlight oranye miring, kolom "arch" di hero,
   kartu rgba putih tipis radius 28.
   Dimuat SETELAH theme.css / auto.css: cuma nimpa token + primitif visual,
   struktur layout & nama kelas lama tetap dipakai. Keputusan Dika 22-Agu-2026.
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Unbounded:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --bg: #0a0a0a;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-hi: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.09);
  --acc: #ff991c;
  --acc2: #f0953c;
  --acc-ink: #0a0a0a;
  --txt: #ffffff;
  --mut: rgba(255, 255, 255, 0.62);
  --good: #25d366;
  --display: "Unbounded", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 28px;
}

html { overflow-x: hidden; }
body { font-family: var(--body); -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1180px; }
a { color: var(--acc); }

/* transisi antar halaman (seamless ala Framer) */
body { opacity: 0; transition: opacity .35s ease; }
body.pg-in { opacity: 1; }
body.pg-out { opacity: 0; transition-duration: .22s; }
@media (prefers-reduced-motion: reduce) { body { opacity: 1; transition: none; } }

/* ---------- latar: grid dimatiin, glow oranye lembut di atas ---------- */
.bg-grid { display: none; }
.bg-glow {
  background:
    radial-gradient(ellipse 55% 32% at 50% -4%, rgba(255, 153, 28, 0.28), transparent 65%),
    radial-gradient(ellipse 35% 25% at 85% 20%, rgba(255, 153, 28, 0.06), transparent 70%);
}
/* kolom arch — disuntik JS ke .hero / .page-hero */
.arches { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.arches i { position: absolute; top: 0; height: 440px; width: 64px; border-radius: 0 0 64px 64px; background: linear-gradient(rgba(255, 255, 255, 0.022), transparent); }
.arches i:nth-child(even) { top: 80px; opacity: .6; }
.hero, .page-hero { position: relative; }
.hero > .wrap, .page-hero > .wrap { position: relative; z-index: 1; }

/* ---------- tipografi ---------- */
h1, h2, h3, .logo, .price, .hnum, .foot-mark, .stat b { font-family: var(--display); }
h1 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.06; font-size: clamp(34px, 5vw, 66px); }
h2 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; font-size: clamp(28px, 3.8vw, 46px); }
h3 { font-weight: 500; letter-spacing: -0.01em; font-size: 20px; }
h4, h5 { font-family: var(--display); font-weight: 500; }
.sub, .sec-sub, .lede p { color: var(--mut); font-size: clamp(16px, 1.6vw, 18px); }
.sub strong, .sec-sub strong, .lede strong { color: var(--txt); font-weight: 600; }

/* highlight oranye (ganti gradient-text) — inline biar aman kalau wrap */
.grad {
  background: var(--acc); color: var(--acc-ink); -webkit-text-fill-color: var(--acc-ink);
  padding: 0.02em 0.14em; border-radius: 6px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* kicker → eyebrow pill */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--panel-hi); border: 1px solid var(--line);
  font-family: var(--body); font-size: 11.5px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--mut); margin-bottom: 18px;
}

/* ---------- nav → pill ---------- */
.nav { background: linear-gradient(rgba(10, 10, 10, .85), rgba(10, 10, 10, .55)); border-bottom: 0; }
.nav.at-top { background: linear-gradient(rgba(10, 10, 10, .85), rgba(10, 10, 10, .55)); }
.nav-in { height: 72px; }
.logo { font-weight: 700; letter-spacing: -0.01em; font-size: 19px; display: inline-flex; align-items: center; }
.logo::before { content: "D"; margin-right: 10px; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; font-size: 15px; font-weight: 700; }
.logo span { color: var(--txt); }
.nav-links { display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.nav-link { padding: 9px 18px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); transition: .2s; }
.nav-link:hover { background: var(--panel-hi); color: var(--txt); }
.nav-link[aria-current="page"] { background: rgba(255, 255, 255, .1); color: var(--acc); }
.nav-toggle { border-color: var(--line); color: var(--txt); border-radius: 999px; }
.nav-menu { background: rgba(10, 10, 10, .96); }
.nav-menu-links a { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; color: var(--txt); border-color: var(--line); }
.nav-menu-links a span { color: var(--acc); }

/* ---------- tombol ---------- */
.btn, .btn-ghost, .btn.round, .btn-ghost.round {
  border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
  padding: 15px 26px; box-shadow: none; border: 0; gap: 0; white-space: nowrap;
  transition: transform .15s, background .15s, color .15s;
}
.btn { background: var(--acc2); color: var(--acc-ink); }
.btn:hover { background: var(--acc); transform: translateY(-1px); box-shadow: 0 14px 40px rgba(255, 153, 28, .25); }
.btn::after { content: ""; margin-left: 12px; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.btn .arr { display: none; }
.btn > span:not(.arr) { margin-left: .35em; }
.btn-sm { padding: 11px 18px; font-size: 12px; }
.btn-lg { padding: 18px 32px; font-size: 14px; }
.btn-ghost { background: var(--panel-hi); color: var(--txt); border: 1px solid var(--line); padding: 14px 24px; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: var(--txt); border-color: rgba(255, 255, 255, .2); }
.btn-ghost .arr { display: none; }
.btn-note { color: var(--mut); font-size: 13px; }

/* ---------- kartu ---------- */
.glass, .card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  backdrop-filter: none; -webkit-backdrop-filter: none; position: relative; overflow: hidden;
}
.card { padding: 32px; }
.card:hover { border-color: rgba(255, 255, 255, .16); transform: none; }
/* sorot ikut kursor (dipasang JS: --mx/--my) */
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(255, 153, 28, .14), transparent 70%);
}
.card:hover::after { opacity: 1; }
.glow::before { background: radial-gradient(600px 200px at 50% -40%, rgba(255, 153, 28, .14), transparent); opacity: 1; filter: none; inset: 0; border-radius: inherit; }
.card h3 { color: var(--txt); margin-bottom: 12px; }
.card p { color: var(--mut); font-size: 15.5px; }
.badge {
  font-family: var(--body); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--acc); color: var(--acc-ink); border: 0; border-radius: 8px; padding: 6px 10px;
}
.badge.soon { background: var(--panel-hi); color: var(--mut); }
.hnum { color: var(--acc); font-weight: 600; letter-spacing: .08em; font-size: 13px; }

/* checklist */
.vlist li::before { background: rgba(255, 153, 28, .15); color: var(--acc); border: 0; }
.vlist li strong { color: var(--txt); }

/* harga */
.price-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.price { color: var(--acc); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(40px, 5vw, 60px); line-height: 1; }
.anchor { color: var(--mut); }
.math { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.math .accent { color: var(--acc); }

/* FAQ */
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq summary { font-weight: 600; font-size: 16.5px; padding: 18px 0; color: var(--txt); }
.faq summary::after { color: var(--acc); font-family: var(--display); font-size: 22px; content: "+"; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mut); }

/* pill announcement */
.pill { background: var(--panel-hi); border: 1px solid var(--line); color: var(--txt); border-radius: 999px; font-size: 13px; }
.pill strong { color: var(--acc); }
.pill .pill-arr { color: var(--acc); }

/* rails & shade (halaman dalam) */
.rails i { background: linear-gradient(rgba(255, 255, 255, .06), transparent); }
.page-shade { background: linear-gradient(180deg, rgba(255, 153, 28, .08), transparent 60%); }

/* frame browser native, telegram, pipeline, dll — ikut token */
.frame, .tg, .chat-card, .bonus-shot, .demo-shot, .proof-placeholder, .claude-badge, .mini, .work { border-color: var(--line); }
.frame { background: #111; border-radius: 20px; }
.frame-bar { background: #161616; border-color: var(--line); }
.pipe-step { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.pipe-step i { background: rgba(255, 153, 28, .15); color: var(--acc); }
.pipe-arrow { color: var(--acc); }
.tg-num.up { color: var(--good); }
.work-link { color: var(--acc); }
.work-meta span { background: var(--panel-hi); border: 1px solid var(--line); border-radius: 999px; color: var(--mut); }

/* logo cloud & marquee */
.lc-cell { border-color: var(--line); background: var(--panel); color: var(--mut); }
.lc-cell:hover { background: var(--panel-hi); color: var(--txt); }
.lc-plus::before, .lc-plus::after { background: var(--acc); }
.stack-fine, .sec-note { color: rgba(255, 255, 255, .4); }

/* stats bulat (opsional: <div class="stats"><div class="stat"><b data-count="57">0</b><span>…</span></div>) */
.stats { display: flex; justify-content: center; flex-wrap: wrap; margin: 40px 0; }
.stat { width: 210px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); display: grid; place-content: center; text-align: center; margin: 0 -12px; }
.stat b, .stat strong { display: block; font-family: var(--display); font-size: 40px; font-weight: 600; line-height: 1; }
.stat strong em { color: var(--acc); }
.stat span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--mut); }

/* closer / CTA akhir */
.closer .wrap { background: linear-gradient(180deg, rgba(255, 153, 28, .16), rgba(255, 153, 28, .03)); border: 1px solid var(--line); border-radius: 40px; padding: 70px 30px; text-align: center; }

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot-links a { color: var(--mut); }
.foot-links a:hover { color: var(--txt); }
.foot-copy { color: rgba(255, 255, 255, .4); }
.foot-mark { font-weight: 700; letter-spacing: -0.04em; font-size: clamp(56px, 13vw, 150px); max-width: 100%; overflow: hidden; background: linear-gradient(180deg, rgba(255, 153, 28, .28), transparent 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- /auto & /sistem (auto.css) ---------- */
.hero-cta .btn, .hero-cta .btn-ghost { border-radius: 999px; }
.form-card, .step, .pain, .gain, .how-step { background: var(--panel) !important; border: 1px solid var(--line) !important; border-radius: var(--r) !important; backdrop-filter: none !important; }
input, textarea, select { font-family: var(--body); }
.form-card input, .form-card select, .form-card textarea { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--txt); border-radius: 14px; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(255, 153, 28, .2); }
.form-card button[type="submit"], button.btn { border-radius: 999px; }

/* ---------- reveal: lebih halus, dengan jeda bertahap ---------- */
[data-reveal] { transition-duration: .7s; }
.grid > [data-reveal]:nth-child(2) { transition-delay: 80ms; }
.grid > [data-reveal]:nth-child(3) { transition-delay: 160ms; }
.grid > [data-reveal]:nth-child(4) { transition-delay: 240ms; }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-in { height: 64px; }
  .logo { font-size: 17px; }
  .logo::before { width: 26px; height: 26px; font-size: 13px; }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(30px, 8.6vw, 42px); line-height: 1.14; overflow-wrap: anywhere; }
  h1 .grad, h2 .grad, h1 .hl, h1 em, .tc-h em { white-space: normal !important; padding-top: 0; padding-bottom: 0; }
  html, body { overflow-x: hidden; max-width: 100vw; }
  img, video, svg, canvas { max-width: 100%; }
  h2 { font-size: clamp(26px, 7.5vw, 32px); }
  h3 { font-size: 18px; }
  .card { padding: 24px; border-radius: 22px; }
  .btn, .btn-ghost { padding: 14px 20px; font-size: 12px; white-space: normal; text-align: left; max-width: 100%; }
  .btn::after { flex: none; }
  .btn-lg { padding: 16px 24px; font-size: 13px; }
  .stat { width: 112px; flex: none; margin: 2px; aspect-ratio: 1; }
  .stat b, .stat strong { font-size: 24px; }
  .stat span { font-size: 11.5px; line-height: 1.25; }
  .stats-in { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; }
  .closer .wrap { padding: 48px 20px; border-radius: 28px; }
  .arches i { width: 44px; }
}
