/* ============================================================
   Electra Skill Academy — Stylesheet halaman landing SEO/GEO
   Ringan & mandiri (tidak memuat styles.css SPA yang 250KB+)
   supaya Core Web Vitals halaman landing tetap hijau.
   ============================================================ */

:root {
  --bg: #0d0f1c;
  --bg-2: #151829;
  --bg-3: #1a1d2e;
  --line: rgba(201, 169, 110, 0.18);
  --line-soft: rgba(245, 240, 230, 0.1);
  --gold: #c9a96e;
  --gold-light: #f0d080;
  --ink: #f5f0e6;
  --ink-muted: rgba(245, 240, 230, 0.68);
  --ink-dim: rgba(245, 240, 230, 0.5);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --radius: 14px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* ---------- Skip link (a11y) ---------- */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: #0d0f1c; padding: 10px 16px;
  border-radius: 0 0 8px 0; font-weight: 600; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 15, 28, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 0; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; letter-spacing: .02em; }
.brand:hover { text-decoration: none; }
.brand svg { flex: none; }
.brand span { font-family: var(--serif); font-size: 1.18rem; }
.brand small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--ink-muted); font-size: 13.5px; }
.nav a:hover { color: var(--gold-light); text-decoration: none; }
.nav .btn-sm {
  background: var(--gold); color: #0d0f1c; padding: 8px 16px;
  border-radius: 999px; font-weight: 600; font-size: 13px;
}
.nav .btn-sm:hover { background: var(--gold-light); }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: 12.5px; color: var(--ink-dim); padding: 18px 0 0; }
.crumbs a { color: var(--ink-dim); }
.crumbs a:hover { color: var(--gold-light); }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 52px; border-bottom: 1px solid var(--line-soft); }
.eyebrow {
  display: inline-block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--line); background: rgba(201,169,110,.08);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 18px; font-weight: 600;
}
h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2rem, 5.2vw, 3.35rem); line-height: 1.12;
  letter-spacing: -0.015em; margin: 0 0 18px;
}
h1 em { color: var(--gold-light); font-style: italic; }
.lede { font-size: clamp(1.02rem, 1.6vw, 1.16rem); color: var(--ink-muted); max-width: 68ch; margin: 0 0 26px; }

/* Jawaban ringkas — blok yang paling mudah dikutip mesin AI */
.answer-box {
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(201,169,110,.10), rgba(201,169,110,0));
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0 0 28px; max-width: 74ch;
}
.answer-box p { margin: 0; font-size: 1.02rem; }
.answer-box strong { color: var(--gold-light); }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #0d0f1c; }
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden; margin: 34px 0 0;
}
.stat { background: var(--bg-2); padding: 20px 18px; }
.stat b { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--gold-light); line-height: 1.1; }
.stat span { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-dim); }

/* ---------- Sections ---------- */
section.block { padding: 52px 0; border-bottom: 1px solid var(--line-soft); }
h2 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.01em;
}
h3 { font-size: 1.12rem; font-weight: 600; margin: 28px 0 8px; color: var(--ink); }
.sub { color: var(--ink-dim); margin: 0 0 24px; max-width: 70ch; }
p { max-width: 74ch; }
ul, ol { max-width: 74ch; padding-left: 1.2em; }
li { margin-bottom: 8px; }
li::marker { color: var(--gold); }
strong { color: var(--ink); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 24px; }
.card {
  background: var(--bg-2); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 22px;
}
.card:hover { border-color: var(--line); }
.card h3 { margin: 0 0 8px; font-size: 1.02rem; color: var(--gold-light); }
.card p { margin: 0; font-size: 14.5px; color: var(--ink-muted); }
.card .tag { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 10px; font-weight: 600; }

/* ---------- Tabel ---------- */
.table-scroll { overflow-x: auto; margin-top: 22px; border: 1px solid var(--line-soft); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 14.5px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
thead th { background: var(--bg-3); color: var(--gold); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: rgba(255,255,255,.015); }
td strong { color: var(--gold-light); }

/* ---------- FAQ ---------- */
.faq { margin-top: 24px; max-width: 82ch; }
.faq details {
  border: 1px solid var(--line-soft); border-radius: 10px;
  background: var(--bg-2); padding: 0; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; padding: 15px 18px; font-weight: 600; font-size: 15.5px;
  list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: flex-start;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { color: var(--gold-light); }
.faq .faq-a { padding: 0 18px 16px; color: var(--ink-muted); font-size: 15px; }
.faq .faq-a p:first-child { margin-top: 0; }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- Callout / CTA akhir ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--bg-3), #252940);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; margin: 52px 0; text-align: center;
}
.final-cta h2 { margin-bottom: 10px; }
.final-cta p { margin-inline: auto; }
.final-cta .cta-row { justify-content: center; margin-top: 22px; }

/* ---------- Halaman terkait ---------- */
.related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.related a {
  font-size: 13.5px; padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--line-soft); color: var(--ink-muted); background: rgba(255,255,255,.02);
}
.related a:hover { border-color: var(--gold); color: var(--gold-light); text-decoration: none; }

/* ---------- Footer ---------- */
.site-foot { padding: 40px 0 56px; color: var(--ink-dim); font-size: 13.5px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 26px; margin-bottom: 30px; }
.foot-grid h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 7px; }
.foot-grid a { color: var(--ink-muted); }
.foot-bottom { border-top: 1px solid var(--line-soft); padding-top: 20px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  section.block { padding: 40px 0; }
  .nav { gap: 12px; }
  .nav a:not(.btn-sm) { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
