/* ==========================================================================
   JomCuci918 Free Kredit — Design Tokens
   ========================================================================== */
:root {
  --bg: #0a0d12;
  --bg-alt: #0d1218;
  --surface: #11161d;
  --surface-2: #161d26;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --gold: #e8c15a;
  --gold-light: #f7e2a4;
  --gold-dark: #b8912f;
  --emerald: #14a76c;
  --emerald-light: #33d48f;
  --emerald-dark: #0c7a4f;
  --text: #f2f0e9;
  --text-muted: #a9b1bb;
  --text-faint: #838d98;
  --border: rgba(232, 193, 90, 0.18);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-sm: 10px;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --header-h: 76px;
  --container: 1200px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body, h1, h2, h3, h4, p, ul, ol, figure, table {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold-light);
}

h1 { font-size: clamp(2rem, 4.5vw + 1rem, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; color: var(--text); margin-bottom: 0.5rem; }

p { color: var(--text-muted); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #14110a;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
a, button {
  -webkit-tap-highlight-color: transparent;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; margin-top: 8px; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: #16130a;
  box-shadow: 0 10px 25px rgba(232, 193, 90, 0.25);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(232, 193, 90, 0.4); }

.btn-emerald {
  background: linear-gradient(135deg, var(--emerald-light), var(--emerald) 60%, var(--emerald-dark));
  color: #06170f;
  box-shadow: 0 10px 25px rgba(20, 167, 108, 0.25);
}
.btn-emerald:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(20, 167, 108, 0.4); }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--gold-light);
}
.btn-outline:hover { background: rgba(232, 193, 90, 0.08); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--gold-light); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  width: 100%;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 13, 18, 0.65);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, height 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  height: 64px;
  background: rgba(8, 10, 14, 0.88);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  height: 46px;
  width: auto;
  transition: height 0.3s ease;
}
.site-header.scrolled .brand-logo { height: 38px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav ul {
  display: flex;
  gap: 22px;
}
.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 2px;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--emerald));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--gold-light);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 490;
}
.overlay.visible { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb { margin-bottom: 18px; }
.breadcrumb ol { display: flex; gap: 8px; font-size: 0.82rem; color: var(--text-faint); flex-wrap: wrap; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--text-faint); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb li[aria-current="page"] { color: var(--gold-light); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(232, 193, 90, 0.12), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(20, 167, 108, 0.14), transparent 60%),
    var(--bg);
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Ccircle cx='2' cy='2' r='0.6' fill='%23e8c15a' fill-opacity='0.25'/%3E%3C/svg%3E");
  opacity: 0.3;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.eyebrow, .section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-light);
  font-weight: 600;
  margin-bottom: 12px;
}
.hero-sub {
  font-size: 1.08rem;
  max-width: 680px;
  margin: 18px 0 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--emerald));
  box-shadow: 0 0 10px rgba(232, 193, 90, 0.6);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { max-width: 720px; font-size: 1.02rem; margin-bottom: 34px; }
.disclaimer-note {
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-top: 24px;
  font-style: italic;
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.feature-img {
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}

.check-list { margin: 18px 0 24px; display: grid; gap: 10px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-muted);
  font-size: 0.96rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--emerald-light);
  font-weight: 700;
}

/* ==========================================================================
   Grids / Cards
   ========================================================================== */
.grid { display: grid; gap: 22px; margin-top: 8px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card {
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 193, 90, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.card-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  height: 40px;
  display: flex;
  align-items: center;
}
.card-icon img { height: 100%; width: auto; border-radius: 6px; }
.card p { font-size: 0.92rem; }

.provider-grid { margin-top: 20px; }
.provider-chip {
  text-align: center;
  padding: 18px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gold-light);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.provider-chip:hover { transform: translateY(-4px); border-color: rgba(232, 193, 90, 0.4); }

/* ==========================================================================
   Promo Panel
   ========================================================================== */
.promo-panel {
  border-radius: var(--radius);
  padding: 32px;
}
.promo-panel ol { display: grid; gap: 10px; margin: 16px 0 20px; counter-reset: step; }
.promo-panel ol li {
  position: relative;
  padding-left: 34px;
  color: var(--text-muted);
  font-size: 0.94rem;
  counter-increment: step;
}
.promo-panel ol li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--emerald));
  color: #10130a;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Table
   ========================================================================== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--glass-border); }
.bonus-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.bonus-table th, .bonus-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--glass-border);
}
.bonus-table th {
  background: rgba(232, 193, 90, 0.08);
  color: var(--gold-light);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.bonus-table tbody tr:last-child td { border-bottom: none; }
.bonus-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }

/* ==========================================================================
   Steps
   ========================================================================== */
.steps { display: grid; gap: 20px; margin: 30px 0; counter-reset: stepnum; }
.steps.compact { margin: 20px 0; }
.steps li {
  position: relative;
  padding: 22px 24px 22px 68px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  counter-increment: stepnum;
}
.steps li::before {
  content: counter(stepnum);
  position: absolute;
  left: 20px; top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #16130a;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps h3 { margin-bottom: 4px; }
.steps p { font-size: 0.92rem; margin: 0; }

/* ==========================================================================
   Accordion
   ========================================================================== */
.accordion { display: grid; gap: 14px; max-width: 820px; }
.accordion-item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 18px 20px;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
}
.accordion-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  position: relative;
}
.accordion-icon::before, .accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--gold-light);
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.accordion-icon::before { width: 14px; height: 2px; top: 9px; left: 3px; }
.accordion-icon::after { width: 2px; height: 14px; top: 3px; left: 9px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: rotate(90deg); opacity: 0; }
.accordion-panel {
  padding: 0 20px 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Author box
   ========================================================================== */
.author-box {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  padding: 32px;
  border-radius: var(--radius);
}
.author-avatar {
  flex-shrink: 0;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--emerald));
  color: #10130a;
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-title {
  color: var(--emerald-light);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.author-box p { margin-bottom: 12px; font-size: 0.94rem; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(232, 193, 90, 0.16), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--bg));
  text-align: center;
}
.final-cta-inner { max-width: 640px; margin: 0 auto; }
.final-cta-inner p { margin: 16px 0 28px; font-size: 1.02rem; }
.final-cta-inner .hero-actions { justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #07090c;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand img { margin-bottom: 16px; }
.footer-brand p { font-size: 0.86rem; }
.footer-links h3, .footer-legal h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.footer-links ul { display: grid; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--gold-light); }
.footer-legal p { font-size: 0.86rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #16130a;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 400;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ==========================================================================
   Cookie consent
   ========================================================================== */
.cookie-consent {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 560px;
  margin: 0 auto;
  background: rgba(14, 18, 24, 0.92);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  z-index: 600;
  transform: translateY(140%);
  transition: transform 0.4s ease;
}
.cookie-consent.visible { transform: translateY(0); }
.cookie-consent p { font-size: 0.86rem; margin-bottom: 16px; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: -100%;
    width: min(320px, 84%);
    height: calc(100vh - var(--header-h));
    background: rgba(10, 13, 18, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 32px 24px;
    gap: 30px;
    transition: right 0.35s ease;
    border-left: 1px solid var(--glass-border);
    z-index: 495;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 18px; }
  .nav-cta { flex-direction: column; align-items: stretch; }
  .menu-toggle { display: flex; }

  .two-col, .two-col.reverse { grid-template-columns: 1fr; direction: ltr; }
  .two-col.reverse > *:first-child { order: 2; }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }

  .author-box { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 60px; }
  .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn, .final-cta .btn { width: 100%; }
  .hero-actions, .final-cta-inner .hero-actions { flex-direction: column; }
  .cookie-consent { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; }
}
