/* ══════════════════════════════════════════════════════════════
   PRODUCT — SCIENCEPRENEUR CARD GAME   (prefix: .cg-)
   Palet "game night": indigo tua + emas + teal sains.
   ══════════════════════════════════════════════════════════════ */

.cg-main {
  --cg-navy:   #17123a;
  --cg-navy-2: #241b53;
  --cg-gold:   #f5b638;
  --cg-gold-d: #e0991f;
  --cg-teal:   #14b8a6;
  --cg-ink:    #1f2937;
  --cg-mut:    #5b6472;
  --cg-soft:   #f6f5fb;
  --cg-line:   #e7e5f0;
  color: var(--cg-ink);
  background: #fff;
  font-family: 'DM Sans', system-ui, sans-serif;
}

.cg-main .container { max-width: 1120px; }
.cg-section { padding: 74px 0; }
.cg-section--soft { background: var(--cg-soft); }

.cg-eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cg-gold); margin: 0 0 12px;
}
.cg-eyebrow--dark { color: var(--cg-teal); }

.cg-h2, .cg-main h2 {
  font-family: 'DM Serif Display', serif; color: var(--cg-navy);
  font-size: 32px; line-height: 1.2; margin: 0 0 14px;
}
.cg-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.cg-head-sub { color: var(--cg-mut); font-size: 16px; margin: 6px 0 0; }

/* ── Intro singkat (apa gamenya, jenis, target usia) ── */
.cg-intro-wrap { max-width: 820px; margin: 0 auto; text-align: center; }
.cg-intro-wrap h2 { font-size: 30px; }
.cg-intro-lead { font-size: 17.5px; line-height: 1.7; color: var(--cg-mut); margin: 8px auto 30px; max-width: 720px; }
.cg-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cg-fact { background: #fff; border: 1px solid var(--cg-line); border-radius: 12px; padding: 16px 14px; }
.cg-fact-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--cg-teal); margin-bottom: 6px; }
.cg-fact-val { display: block; font-size: 14px; font-weight: 600; color: var(--cg-navy); line-height: 1.4; }

/* ── 1. HERO ── */
.cg-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 80% -10%, var(--cg-navy-2) 0%, var(--cg-navy) 60%);
  color: #fff; padding: 70px 0 84px;
}
.cg-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px; pointer-events: none;
}
.cg-hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }

.cg-breadcrumb { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; padding: 0; margin: 0 0 22px; font-size: 13px; color: rgba(255,255,255,0.6); }
.cg-breadcrumb a { color: rgba(255,255,255,0.82); text-decoration: none; }
.cg-breadcrumb a:hover { color: #fff; }
.cg-breadcrumb .sep { color: rgba(255,255,255,0.35); }

.cg-hero-text h1 { font-family: 'DM Serif Display', serif; font-size: 52px; line-height: 1.06; margin: 0 0 18px; }
.cg-hero-text h1 em { color: var(--cg-gold); font-style: italic; }
.cg-hero-sub { font-size: 18px; line-height: 1.65; color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 0 26px; }
.cg-hero-sub strong { color: #fff; }

.cg-pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.cg-pill {
  font-size: 13.5px; font-weight: 600; padding: 8px 15px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: #fff;
}

.cg-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cg-btn-buy {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 12px;
  background: linear-gradient(180deg, var(--cg-gold) 0%, var(--cg-gold-d) 100%);
  color: #2a1e00; font-weight: 700; font-size: 15.5px; text-decoration: none;
  box-shadow: 0 10px 24px rgba(245,182,56,0.32); transition: transform .15s ease, box-shadow .15s ease;
}
.cg-btn-buy:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(245,182,56,0.42); color: #2a1e00; }
.cg-btn-ghost {
  display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.28); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.cg-btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.5); color: #fff; }

/* Hero visual: kartu berjajar */
.cg-hero-visual { display: flex; justify-content: center; }
.cg-fan { position: relative; width: 260px; height: 300px; }
.cg-fan-card {
  position: absolute; top: 30px; left: 60px; width: 150px; height: 210px; border-radius: 16px;
  background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; text-align: center; border: 2px solid rgba(0,0,0,0.05);
}
.cg-fan-card--1 { transform: rotate(-16deg) translateX(-34px); background: linear-gradient(180deg,#effcf9,#fff); }
.cg-fan-card--2 { transform: rotate(0deg) translateY(-10px); z-index: 2; }
.cg-fan-card--3 { transform: rotate(16deg) translateX(34px); background: linear-gradient(180deg,#eef0ff,#fff); }
.cg-fan-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--cg-teal); }
.cg-fan-emoji { font-size: 46px; line-height: 1; }
.cg-fan-name { font-size: 14px; font-weight: 700; color: var(--cg-navy); }

/* ── 2. KONSEP ── */
.cg-concept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.cg-concept-grid h2 { font-size: 30px; }
.cg-concept-grid p { color: var(--cg-mut); font-size: 16.5px; line-height: 1.75; margin: 0 0 16px; }

/* ── 3. DUA MODE ── */
.cg-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cg-modes--three { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.cg-modes--three > .cg-mode { flex: 0 1 330px; }
@media (max-width: 640px) { .cg-modes--three > .cg-mode { flex-basis: 100%; } }
.cg-mode {
  position: relative; border-radius: 18px; padding: 30px 28px; background: #fff;
  border: 1px solid var(--cg-line); box-shadow: 0 12px 30px rgba(23,18,58,0.06);
}
.cg-mode--kids { border-top: 5px solid var(--cg-teal); }
.cg-mode--mid { border-top: 5px solid #4f46e5; }
.cg-mode--adult { border-top: 5px solid var(--cg-gold); }
.cg-mode-badge {
  display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.cg-mode--kids .cg-mode-badge { background: #e6faf6; color: #0d7a67; }
.cg-mode--mid .cg-mode-badge { background: #eef0ff; color: #3730a3; }
.cg-mode--adult .cg-mode-badge { background: #fdf3dd; color: #9a6a05; }
.cg-new { display:inline-block; margin-left:6px; padding:1px 7px; border-radius:999px; background:var(--cg-gold); color:#2a1e00; font-size:9.5px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; vertical-align:middle; }
.cg-mode h3 { font-family: 'DM Serif Display', serif; color: var(--cg-navy); font-size: 26px; margin: 0 0 4px; }
.cg-mode-age { font-size: 13.5px; font-weight: 600; color: var(--cg-mut); margin: 0 0 14px; }
.cg-mode > p { color: var(--cg-mut); font-size: 15.5px; line-height: 1.7; margin: 0 0 16px; }
.cg-mode-list { list-style: none; padding: 0; margin: 0; }
.cg-mode-list li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15px; line-height: 1.55; color: var(--cg-ink); }
.cg-mode-list li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--cg-gold); font-size: 14px; }

/* ── 4. PREVIEW KARTU ── */
.cg-card-row { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.cg-gamecard {
  width: 220px; border-radius: 18px; padding: 20px; color: #fff;
  box-shadow: 0 16px 36px rgba(23,18,58,0.18); display: flex; flex-direction: column; gap: 16px;
  min-height: 230px;
}
.cg-gamecard--biotek { background: linear-gradient(160deg,#0f766e,#0b4f49); }
.cg-gamecard--green  { background: linear-gradient(160deg,#15803d,#0d5427); }
.cg-gamecard--tech   { background: linear-gradient(160deg,#4f46e5,#312a9e); }
.cg-gamecard-top { display: flex; align-items: center; justify-content: space-between; }
.cg-gamecard-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; background: rgba(255,255,255,0.16); padding: 5px 11px; border-radius: 999px; }
.cg-gamecard-ic { font-size: 34px; }
.cg-gamecard-name { font-family: 'DM Serif Display', serif; font-size: 22px; line-height: 1.15; margin: 0; flex: 1; }
.cg-gamecard-stats { display: flex; gap: 10px; }
.cg-gamecard-stats > div { flex: 1; background: rgba(255,255,255,0.12); border-radius: 10px; padding: 10px; text-align: center; }
.cg-stat-label { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; opacity: .8; margin-bottom: 3px; }
.cg-stat-val { display: block; font-size: 22px; font-weight: 700; }
.cg-stat-val--gold { color: var(--cg-gold); }
.cg-preview-note { text-align: center; color: var(--cg-mut); font-size: 14px; font-style: italic; margin: 30px 0 0; }

/* ── 5. PERBANDINGAN ── */
.cg-compare-wrap { max-width: 820px; }
.cg-compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 12px 30px rgba(23,18,58,0.07); }
.cg-compare th, .cg-compare td { padding: 14px 18px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--cg-line); }
.cg-compare thead th { background: var(--cg-navy); color: #fff; font-weight: 600; }
.cg-compare thead th:first-child { background: var(--cg-navy-2); }
.cg-compare tbody td:first-child { font-weight: 600; color: var(--cg-navy); background: var(--cg-soft); width: 30%; }
.cg-compare tbody tr:last-child td { border-bottom: none; }

/* ── 6. ISI KOTAK ── */
.cg-box-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cg-box-item { background: #fff; border: 1px solid var(--cg-line); border-radius: 14px; padding: 24px; }
.cg-box-ic { font-size: 30px; display: block; margin-bottom: 10px; }
.cg-box-item h4 { font-size: 17px; font-weight: 700; color: var(--cg-navy); margin: 0 0 6px; }
.cg-box-item p { font-size: 14.5px; color: var(--cg-mut); line-height: 1.6; margin: 0; }

/* ── 7. CARA MAIN ── */
.cg-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cg-step { text-align: center; padding: 10px; }
.cg-step-num {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700;
  background: linear-gradient(180deg, var(--cg-gold), var(--cg-gold-d)); color: #2a1e00;
  box-shadow: 0 8px 18px rgba(245,182,56,0.32);
}
.cg-step h4 { font-size: 18px; font-weight: 700; color: var(--cg-navy); margin: 0 0 6px; }
.cg-step p { font-size: 14.5px; color: var(--cg-mut); line-height: 1.6; margin: 0; }

/* ── 8. CTA BELI ── */
.cg-buy {
  background: radial-gradient(900px 400px at 50% 120%, var(--cg-navy-2) 0%, var(--cg-navy) 65%);
  color: #fff; text-align: center; padding: 72px 0;
}
.cg-buy-inner { max-width: 640px; }
.cg-buy h2 { font-family: 'DM Serif Display', serif; font-size: 34px; margin: 0 0 12px; color: #fff; }
.cg-buy p { font-size: 16.5px; color: rgba(255,255,255,0.85); margin: 0 0 24px; }
.cg-btn-buy--lg { font-size: 17px; padding: 16px 34px; }
.cg-buy-alt { font-size: 15px; color: rgba(255,255,255,0.9); margin: 16px 0 0; }
.cg-buy-alt a { color: var(--cg-gold); font-weight: 600; text-decoration: none; }
.cg-buy-alt a:hover { text-decoration: underline; }
.cg-buy-fine { font-size: 13px; color: rgba(255,255,255,0.6); margin: 22px 0 0; font-style: italic; }

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  .cg-hero-inner, .cg-concept-grid, .cg-modes { grid-template-columns: 1fr; }
  .cg-hero-visual { margin-top: 34px; }
  .cg-box-grid, .cg-steps { grid-template-columns: 1fr 1fr; }
  .cg-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cg-section { padding: 52px 0; }
  .cg-hero { padding: 48px 0 60px; }
  .cg-hero-text h1 { font-size: 38px; }
  .cg-h2, .cg-main h2 { font-size: 26px; }
  .cg-box-grid, .cg-steps { grid-template-columns: 1fr; }
  .cg-compare th, .cg-compare td { padding: 11px 12px; font-size: 13.5px; }
  .cg-cta-row { flex-direction: column; }
  .cg-btn-buy, .cg-btn-ghost { justify-content: center; text-align: center; }
}


/* ══════════════════════════════════════════════════════════════
   EDISI HILIRISASI — tabel referensi & blok aturan
   Ditambahkan 25 Agu 2026, sumber: "Sciencepreneur Hilirisasi Final.pdf"
   ══════════════════════════════════════════════════════════════ */

.cg-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; }
.cg-table {
  width: 100%; min-width: 640px; border-collapse: collapse;
  font-size: 14.5px; background: #fff;
}
.cg-table caption {
  caption-side: top; text-align: left; font-weight: 700;
  color: var(--primary-900, #0b1f3a); padding-bottom: 10px; font-size: 15px;
}
.cg-table th {
  background: var(--primary-900, #0b1f3a); color: #fff;
  text-align: left; padding: 11px 14px; font-weight: 600;
  font-size: 13.5px; letter-spacing: .01em;
}
.cg-table td {
  padding: 11px 14px; border-bottom: 1px solid var(--neutral-200, #e5e7eb);
  color: var(--neutral-700, #334155); line-height: 1.55; vertical-align: top;
}
.cg-table tbody tr:nth-child(even) { background: var(--neutral-50, #f8fafc); }
.cg-table .cg-num { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }

/* Blok aturan bernomor */
.cg-rules { margin-top: 26px; }
.cg-rule {
  background: #fff; border: 1px solid var(--neutral-200, #e5e7eb);
  border-left: 4px solid var(--accent-600, #0d9488);
  border-radius: 12px; padding: 20px 24px; margin-bottom: 16px;
}
.cg-rule h3 { font-size: 17px; margin: 0 0 8px; color: var(--primary-900, #0b1f3a); }
.cg-rule p, .cg-rule li { font-size: 14.5px; line-height: 1.7; color: var(--neutral-600, #475569); }
.cg-rule ul { margin: 10px 0 0; padding-left: 20px; }
.cg-rule li { margin-bottom: 6px; }
.cg-rule p:last-child, .cg-rule ul:last-child { margin-bottom: 0; }

/* Rumus skor */
.cg-formula {
  background: var(--primary-900, #0b1f3a); color: #fff;
  border-radius: 14px; padding: 26px 30px; margin: 24px 0;
}
.cg-formula-label {
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  opacity: .75; margin: 0 0 12px;
}
.cg-formula-eq {
  font-family: var(--font-heading, serif); font-size: 20px;
  line-height: 1.6; margin: 0;
}
.cg-formula-note { font-size: 14px; line-height: 1.7; opacity: .85; margin: 16px 0 0; }

@media (max-width: 640px) {
  .cg-formula-eq { font-size: 17px; }
  .cg-formula { padding: 22px 20px; }
}
