/* ==========================================================================
   TOKO BUKU JINGGA — DESIGN SYSTEM & STYLESHEET
   Inspirasi Desain: Launch UI Template (21st.dev by Mikołaj Dobrucki)
   Palet: Warm Terracotta, Amber Jingga & Soft Cream
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS (CSS Custom Properties)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette (Warm Terracotta & Accents) */
  --color-primary: #D96B43;
  --color-primary-hover: #C25832;
  --color-primary-active: #A84522;
  --color-primary-dark: #9E3F1F;
  --color-primary-tint: #FFF1E8;
  --color-primary-subtle: #FDF6F0;
  --color-primary-glow: rgba(217, 107, 67, 0.24);
  --color-primary-subtle-glow: rgba(217, 107, 67, 0.08);

  /* Background Tokens (Soft Cream Theme) */
  --bg-base: #FAF6F0;
  --bg-surface: #FFFFFF;
  --bg-surface-tint: #F4ECE1;
  --bg-surface-alt: #F8F3EC;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(250, 246, 240, 0.88);
  --bg-glass-card: rgba(255, 255, 255, 0.85);

  /* Text & Typography Colors */
  --text-primary: #2A2523;       /* Warm Charcoal / Off-black */
  --text-secondary: #605651;     /* Readable Muted */
  --text-tertiary: #8C827D;      /* Caption / Light */
  --text-inverse: #FFFFFF;
  --text-accent: #D96B43;

  /* Borders & Dividers */
  --border-subtle: #EADBCC;
  --border-card: #EDE3D6;
  --border-hover: #D96B43;
  --border-focus: #D96B43;

  /* Badges & Status */
  --badge-gold: #F59E0B;
  --badge-gold-bg: #FEF3C7;
  --badge-green: #10B981;
  --badge-green-bg: #D1FAE5;

  /* Typography Fonts */
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Modular Font Scale */
  --font-xs: 0.75rem;    /* 12px */
  --font-sm: 0.875rem;   /* 14px */
  --font-base: 1rem;     /* 16px */
  --font-lg: 1.125rem;   /* 18px */
  --font-xl: 1.25rem;    /* 20px */
  --font-2xl: 1.5rem;    /* 24px */
  --font-3xl: 1.875rem;  /* 30px */
  --font-4xl: 2.25rem;   /* 36px */
  --font-5xl: 3rem;      /* 48px */
  --font-6xl: 3.75rem;   /* 60px */

  /* Line Heights */
  --leading-tight: 1.18;
  --leading-snug: 1.35;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Border Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Shadows (Launch UI Multilayer Elevation) */
  --shadow-sm: 0 1px 3px rgba(42, 37, 35, 0.05), 0 1px 2px rgba(42, 37, 35, 0.03);
  --shadow-md: 0 4px 14px rgba(42, 37, 35, 0.07), 0 2px 6px rgba(42, 37, 35, 0.04);
  --shadow-lg: 0 12px 30px rgba(42, 37, 35, 0.09), 0 4px 12px rgba(42, 37, 35, 0.04);
  --shadow-xl: 0 20px 40px rgba(42, 37, 35, 0.12), 0 8px 16px rgba(42, 37, 35, 0.06);
  --shadow-hover: 0 22px 45px rgba(217, 107, 67, 0.15), 0 8px 18px rgba(42, 37, 35, 0.05);

  /* Launch UI Ambient Glow Gradients */
  --glow-radial: radial-gradient(ellipse at center, rgba(217, 107, 67, 0.22) 0%, rgba(217, 107, 67, 0) 70%);
  --glow-warm: radial-gradient(circle at 50% 0%, rgba(234, 161, 90, 0.25) 0%, transparent 65%);

  /* Layout Widths */
  --container-max: 1200px;
  --container-narrow: 840px;
  --header-height: 76px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: var(--leading-normal);
  overflow-x: hidden;
  position: relative;
}

/* Selection */
::selection {
  background-color: var(--color-primary-tint);
  color: var(--color-primary-dark);
}

/* Accessible focus visible */
:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 3px;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-weight: 600;
  line-height: var(--leading-tight);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.25s ease;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
}

.section-tinted {
  background-color: var(--bg-surface-tint);
}

.section-alt {
  background-color: var(--bg-surface-alt);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  background: var(--color-primary-tint);
  border: 1px solid rgba(217, 107, 67, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-title {
  font-size: var(--font-3xl);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: var(--font-4xl);
  }
}

.section-description {
  font-size: var(--font-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .section-description {
    font-size: var(--font-lg);
  }
}

/* --------------------------------------------------------------------------
   4. BUTTONS & UI COMPONENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: var(--font-sm);
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.btn:active {
  transform: scale(0.97);
}

/* Primary Button (Launch UI Terracotta with Glow) */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(217, 107, 67, 0.35);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: var(--text-inverse);
  box-shadow: 0 8px 22px rgba(217, 107, 67, 0.45);
  transform: translateY(-2px);
}

/* Secondary Button (Refined Outline) */
.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--color-primary-tint);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* WhatsApp Floating/Accent Button */
.btn-wa {
  background-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-wa:hover {
  background-color: #1EBE5D;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: var(--font-base);
}

.btn-sm {
  padding: 8px 16px;
  font-size: var(--font-xs);
}

/* --------------------------------------------------------------------------
   5. HEADER & STICKY NAVIGATION BAR
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.site-header.nav-scrolled {
  border-bottom-color: var(--border-subtle);
  box-shadow: var(--shadow-sm);
  background: rgba(250, 246, 240, 0.94);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.brand-text {
  font-family: var(--font-serif);
  font-size: var(--font-xl);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.brand-text span {
  color: var(--color-primary);
}

/* Nav Menu Desktop */
.nav-menu {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header Utilities */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Operational Status Badge */
.status-badge {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: var(--font-xs);
  font-weight: 600;
  padding: 6px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
}

@media (min-width: 640px) {
  .status-badge {
    display: inline-flex;
  }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--badge-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite cubic-bezier(0.45, 0, 0.2, 1);
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

.mobile-drawer.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  font-size: var(--font-lg);
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  padding: 8px 0;
}

.mobile-nav-link:hover {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   6. HERO SECTION (Launch UI Inspired)
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 60px;
  padding-bottom: 96px;
  position: relative;
  overflow: hidden;
}

/* Ambient Glow Behind Hero */
.hero-ambient-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 550px;
  background: var(--glow-radial);
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.hero-content-wrapper {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* Announcement Pill */
.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: var(--font-xs);
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  transition: all 0.25s ease;
}

.announcement-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.announcement-icon {
  color: var(--badge-gold);
}

.hero-headline {
  font-size: var(--font-3xl);
  letter-spacing: -0.03em;
  line-height: var(--leading-tight);
  margin-bottom: 20px;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: var(--font-5xl);
  }
}

@media (min-width: 1024px) {
  .hero-headline {
    font-size: 3.5rem;
  }
}

.hero-headline-gradient {
  background: linear-gradient(135deg, #D96B43 20%, #9E3F1F 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline {
  font-size: var(--font-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .hero-subheadline {
    font-size: var(--font-lg);
  }
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-bottom: 56px;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
    gap: 16px;
  }
}

/* Hero Showcase Frame */
.hero-showcase-container {
  position: relative;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl);
}

.hero-showcase-inner {
  position: relative;
  border-radius: calc(var(--radius-xl) - 6px);
  overflow: hidden;
  background: #FFFFFF;
}

.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .hero-img {
    height: 520px;
  }
}

/* Floating Overlay Card inside Hero */
.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 320px;
  text-align: left;
}

.badge-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-text-title {
  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--text-primary);
}

.badge-text-sub {
  font-size: var(--font-xs);
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   7. SOCIAL PROOF & LOGO CLOUD (Trust Section)
   -------------------------------------------------------------------------- */
.social-proof-section {
  padding-top: 40px;
  padding-bottom: 60px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface-alt);
}

.social-proof-header {
  text-align: center;
  margin-bottom: 32px;
}

.social-proof-label {
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}

.logo-cloud-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 44px;
  margin-bottom: 48px;
}

.publisher-badge {
  font-family: var(--font-serif);
  font-size: var(--font-base);
  font-weight: 700;
  color: var(--text-secondary);
  padding: 8px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  letter-spacing: -0.01em;
  transition: all 0.25s ease;
  user-select: none;
}

.publisher-badge:hover {
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Stats Counter Row */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-item {
  padding: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: var(--font-3xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   8. LAUNCH UI BENTO GRID (Nilai Unggul Kurasi)
   -------------------------------------------------------------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-hover);
}

/* Bento Span Column Variants */
@media (min-width: 768px) {
  .bento-span-2 {
    grid-column: span 2;
  }
  .bento-span-1 {
    grid-column: span 1;
  }
}

.bento-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-primary-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.bento-tag {
  display: inline-block;
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.bento-title {
  font-size: var(--font-xl);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.bento-desc {
  font-size: var(--font-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.bento-highlight-box {
  background: var(--bg-surface-alt);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: var(--font-xs);
  color: var(--text-secondary);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   9. KATEGORI BUKU TERKURASI (4 Cards)
   -------------------------------------------------------------------------- */
.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-hover);
}

.category-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.category-card:hover .category-icon-circle {
  transform: scale(1.1);
  background: var(--color-primary);
  color: #FFFFFF;
}

.category-name {
  font-size: var(--font-lg);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.category-count {
  display: inline-block;
  font-size: var(--font-xs);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-tint);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.category-desc {
  font-size: var(--font-xs);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: 18px;
}

.category-action-link {
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.category-action-link:hover {
  color: var(--color-primary-hover);
  gap: 9px;
}

/* --------------------------------------------------------------------------
   10. KATALOG 6 BUKU TERLARIS (Featured Books)
   -------------------------------------------------------------------------- */
.books-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 640px) {
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .books-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.book-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-hover);
}

.book-cover-wrapper {
  position: relative;
  aspect-ratio: 2 / 3;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-surface-tint);
}

.book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.book-card:hover .book-cover-img {
  transform: scale(1.05);
}

.book-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: var(--font-xs);
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.04em;
}

.book-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.book-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.stars {
  color: var(--badge-gold);
  font-size: var(--font-sm);
}

.rating-score {
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--text-primary);
}

.book-title {
  font-size: var(--font-lg);
  font-weight: 700;
  line-height: var(--leading-snug);
  margin-bottom: 4px;
  color: var(--text-primary);
}

.book-author {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.book-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.book-price {
  font-family: var(--font-serif);
  font-size: var(--font-xl);
  font-weight: 700;
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   11. TESTIMONI PEMBACA (Wall of Love Grid)
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.testimonial-quote-icon {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.35;
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: var(--font-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-primary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  color: var(--color-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-sm);
  flex-shrink: 0;
}

.author-info h4 {
  font-size: var(--font-sm);
  font-weight: 700;
  margin-bottom: 2px;
}

.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-xs);
  color: var(--badge-green);
  font-weight: 600;
}

.book-tag {
  display: block;
  font-size: 0.7rem;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   12. PROMO BUNDLING (Pricing Tiers Launch UI)
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Highlighted Popular Tier */
.pricing-card-highlighted {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-hover);
  background: var(--bg-surface);
}

@media (min-width: 1024px) {
  .pricing-card-highlighted {
    transform: scale(1.05);
    z-index: 2;
  }
  .pricing-card-highlighted:hover {
    transform: scale(1.06) translateY(-4px);
  }
}

.pricing-pop-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.tier-header {
  text-align: center;
  margin-bottom: 24px;
}

.tier-name {
  font-size: var(--font-xl);
  font-weight: 700;
  margin-bottom: 8px;
}

.tier-subtitle {
  font-size: var(--font-xs);
  color: var(--text-secondary);
}

.tier-price-box {
  text-align: center;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.tier-price {
  font-family: var(--font-serif);
  font-size: var(--font-3xl);
  font-weight: 700;
  color: var(--color-primary);
}

.tier-savings {
  display: inline-block;
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--badge-green);
  background: var(--badge-green-bg);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-top: 6px;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.tier-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.check-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   13. FAQ ACCORDION INTERAKTIF
   -------------------------------------------------------------------------- */
.faq-accordion-wrapper {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.faq-button {
  width: 100%;
  padding: 22px 24px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-serif);
  font-size: var(--font-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.faq-button:hover {
  color: var(--color-primary);
}

.faq-chevron {
  color: var(--color-primary);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  opacity: 0;
}

.faq-item.active .faq-content {
  opacity: 1;
}

.faq-body {
  padding: 0 24px 22px 24px;
  font-size: var(--font-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   14. FINAL CTA BANNER (Launch UI Glow Banner)
   -------------------------------------------------------------------------- */
.final-cta-section {
  padding-top: 40px;
  padding-bottom: 96px;
}

.final-cta-card {
  position: relative;
  background: linear-gradient(135deg, #D96B43 0%, #B84E27 100%);
  border-radius: var(--radius-xl);
  padding: 60px 32px;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(217, 107, 67, 0.35);
}

@media (min-width: 768px) {
  .final-cta-card {
    padding: 80px 60px;
  }
}

.cta-ambient-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-title {
  font-size: var(--font-3xl);
  color: #FFFFFF;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .final-cta-title {
    font-size: var(--font-4xl);
  }
}

.final-cta-desc {
  font-size: var(--font-base);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--leading-relaxed);
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .final-cta-desc {
    font-size: var(--font-lg);
  }
}

.btn-cta-white {
  background-color: #FFFFFF;
  color: var(--color-primary-dark);
  font-size: var(--font-base);
  font-weight: 700;
  padding: 16px 36px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-cta-white:hover {
  background-color: var(--color-primary-tint);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------------------------------
   15. RICH FOOTER & INFORMASI KONTAK
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #231E1C;
  color: #DDD4CE;
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(234, 219, 204, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1.5fr;
  }
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: var(--font-2xl);
  color: #FFFFFF;
  margin-bottom: 12px;
}

.footer-brand h3 span {
  color: #EAA15A;
}

.footer-brand-desc {
  font-size: var(--font-sm);
  color: #A39892;
  line-height: var(--leading-relaxed);
  max-width: 380px;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.social-icon-btn:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.footer-title {
  font-size: var(--font-base);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: var(--font-sm);
  color: #A39892;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #EAA15A;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: var(--font-sm);
  color: #A39892;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: var(--leading-normal);
}

.contact-icon {
  color: #EAA15A;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-xs);
  color: #8C827D;
}

@media (min-width: 640px) {
  .footer-bottom-bar {
    flex-direction: row;
  }
}

.footer-credits {
  color: #A39892;
}
