/* ══════════════════════════════════════════════
   LANDING PAGE — landing.css
   Import setelah style.css
══════════════════════════════════════════════ */

/* ── BODY OVERRIDE ── */
.landing-body {
  display: block;
  padding: 0;
  background: var(--paper);
}
.landing-body::after { display: none; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  padding: 60px 24px 56px;
  text-align: center;
}

/* big watermark text */
.hero-bg-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Kaisei Decol', serif;
  font-size: clamp(6rem, 22vw, 16rem);
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  letter-spacing: 0.1em;
  pointer-events: none;
  user-select: none;
}

/* decorative circles */
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.06);
}
.hero::before { width: 340px; height: 340px; top: -120px; right: -80px; }
.hero::after  { width: 200px; height: 200px; bottom: -60px; left: -40px; }

.hero-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Kaisei Decol', serif;
  font-size: clamp(2.2rem, 7vw, 3.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 8px;
}
.hero-sub {
  font-size: clamp(1.1rem, 3.5vw, 1.6rem);
  color: var(--gold-light);
  font-weight: 400;
}

.hero-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 16px 0 28px;
}

/* stat pills */
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px 24px;
  gap: 20px;
}
.hero-stat { text-align: center; }
.hs-num {
  display: block;
  font-family: 'Kaisei Decol', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.hs-lbl {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-top: 3px;
  text-transform: uppercase;
}
.hero-divider {
  width: 1px; height: 32px;
  background: rgba(255,255,255,0.15);
}

/* ══════════════════════════════════════
   MAIN LAYOUT
══════════════════════════════════════ */
.landing-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

/* ══════════════════════════════════════
   LEVEL SECTION
══════════════════════════════════════ */
.level-section { margin-bottom: 48px; }

.level-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--paper-border);
  flex-wrap: wrap;
}
.level-tag {
  background: var(--ink);
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  border-radius: 6px;
  flex-shrink: 0;
}
.level-title {
  font-family: 'Kaisei Decol', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
}
.level-desc {
  color: var(--ink-light);
  font-size: 0.82rem;
  margin-left: auto;
}

/* ══════════════════════════════════════
   CATEGORY BLOCK
══════════════════════════════════════ */
.category-block {
  margin-bottom: 32px;
  border: 1px solid var(--paper-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--paper-border);
}
.category-header.kosakata { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
.category-header.kanji    { background: linear-gradient(135deg, #3d0c02 0%, #6b1a0e 100%); }

.cat-icon {
  font-size: 1.7rem;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  flex-shrink: 0;
  font-family: 'Kaisei Decol', serif;
  color: var(--gold-light);
}
.cat-name {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
}
.cat-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
.cat-badge {
  margin-left: auto;
  background: rgba(255,255,255,0.12);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ══════════════════════════════════════
   CHAPTER GRID
══════════════════════════════════════ */
.chapter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: white;
}

.chapter-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  padding: 20px;
  border-right: 1px solid var(--paper-border);
  transition: background 0.22s, transform 0.22s;
  position: relative;
  overflow: hidden;
}
.chapter-card:last-child { border-right: none; }
.chapter-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(.4,0,.2,1);
}
.category-block:has(.kosakata) .chapter-card::before { background: var(--gold); }
.category-block:has(.kanji)    .chapter-card::before { background: var(--red); }

.chapter-card:hover {
  background: var(--paper-warm);
  transform: translateY(-2px);
  z-index: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.09);
}
.chapter-card:hover::before { transform: scaleX(1); }

.cc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cc-num {
  font-family: 'Kaisei Decol', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--paper-border);
  line-height: 1;
}
.cc-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
}
.kosakata-tag { background: #e8f0fe; color: #1a3a8f; }
.kanji-tag    { background: #fde8e8; color: #8b1a1a; }

.cc-title {
  font-family: 'Kaisei Decol', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.cc-desc {
  font-size: 0.78rem;
  color: var(--ink-light);
  line-height: 1.4;
  min-height: 2.8em;
}
.cc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--paper-border);
}
.cc-count {
  font-size: 0.72rem;
  color: var(--ink-light);
  font-weight: 500;
}
.cc-arrow {
  font-size: 0.9rem;
  color: var(--ink-light);
  transition: transform 0.2s, color 0.2s;
}
.chapter-card:hover .cc-arrow {
  transform: translateX(4px);
  color: var(--ink);
}

/* ══════════════════════════════════════
   COMING SOON
══════════════════════════════════════ */
.coming-soon-section { margin-top: 8px; }
.coming-grid {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.coming-card {
  flex: 1;
  min-width: 100px;
  background: white;
  border: 2px dashed var(--paper-border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  opacity: 0.6;
}
.coming-level {
  display: block;
  font-family: 'Kaisei Decol', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink-light);
}
.coming-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  margin-top: 4px;
  text-transform: uppercase;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.landing-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 24px;
  font-size: 0.8rem;
  position: relative;
  overflow: hidden;
}
.footer-kana {
  font-family: 'Kaisei Decol', serif;
  font-size: 2.5rem;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.04);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 620px) {
  .hero { padding: 48px 20px 44px; }
  .hero-stats { gap: 14px; padding: 12px 18px; }
  .landing-main { padding: 32px 16px 48px; }
  .level-heading { flex-direction: column; align-items: flex-start; gap: 8px; }
  .level-desc { margin-left: 0; }
  .chapter-grid { grid-template-columns: 1fr; }
  .chapter-card { border-right: none; border-bottom: 1px solid var(--paper-border); }
  .chapter-card:last-child { border-bottom: none; }
  .coming-grid { flex-direction: row; }
}

@media (max-width: 420px) {
  .hero-stats { flex-wrap: wrap; justify-content: center; }
  .hero-divider { display: none; }
}
