/* Sembunyikan garis bantu dan label debug-view CodeIgniter */
.debug-view-path,
.debug-view,
.debug-view.show-view,
.show-view .debug-view-path,
div.debug-view-path,
div.debug-view {
  display: none !important;
  visibility: hidden !important;
  border: none !important;
  outline: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ModulKU visual identity refresh: vibrant emerald, mint, warm gold and crisp surface. */
:root {
  --font-sans: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --brand-ink: #0f2e27;
  --brand-ink-soft: #244b41;
  --brand-indigo: #059669;
  --brand-violet: #10b981;
  --brand-coral: #f97316;
  --brand-gold: #f59e0b;
  --brand-paper: #f8fafc;
  --brand-surface: #ffffff;
  --brand-muted: #64748b;
  --brand-line: #e2e8f0;
  --theme-navy: #064e3b;
  --theme-slate: #047857;
  --theme-primary: #059669;
  --theme-secondary: #10b981;
  --theme-indigo: #059669;
  --theme-cyan: #0d9488;
  --theme-blue-light: #ecfdf5;
  --theme-teal: #0d9488;
  --theme-emerald: #059669;
  --theme-amber: #f59e0b;
  --theme-rose: #f43f5e;
  --zamrud-50: #f0fdf4;
  --zamrud-100: #dcfce7;
  --zamrud-200: #bbf7d0;
  --zamrud-300: #86efac;
  --zamrud-400: #4ade80;
  --zamrud-500: #22c55e;
  --zamrud-600: #16a34a;
  --zamrud-700: #15803d;
  --zamrud-800: #166534;
  --zamrud-900: #14532d;
  --zamrud-950: #052e16;
  --zamrud-deep: #064e3b;
  --zamrud-navy: #047857;
  --zamrud-primary: #059669;
  --zamrud-cyan: #0d9488;
  --zamrud-mint: #34d399;
  --zamrud-sand: #fef3c7;
  --zamrud-amber: #f59e0b;
  --zamrud-rust: #f97316;
  --grad-zamrud: linear-gradient(135deg, #065f46 0%, #059669 50%, #0d9488 100%);
  --grad-zamrud-hero: radial-gradient(ellipse at 85% 15%, rgba(254, 240, 138, 0.32), transparent 45%), radial-gradient(ellipse at 12% 88%, rgba(52, 211, 153, 0.35), transparent 48%);
  --grad-card: linear-gradient(180deg, #ffffff, #f8fafc);
  --grad-badge: linear-gradient(135deg, #059669, #10b981);
  --grad-accent: linear-gradient(135deg, #f59e0b, #f97316);
  --shadow-sm: 0 4px 14px rgba(6, 78, 59, 0.05);
  --shadow-md: 0 14px 34px rgba(6, 78, 59, 0.08);
  --shadow-lg: 0 24px 60px rgba(6, 78, 59, 0.12);
  --shadow-glow: 0 8px 26px rgba(16, 185, 129, 0.25);
  --admin-bg: #f8fafc;
  --admin-surface: #ffffff;
  --admin-surface-subtle: #f1f5f9;
  --admin-border: #e2e8f0;
  --admin-border-subtle: #f1f5f9;
  --admin-text-main: #0f172a;
  --admin-text-muted: #64748b;
  --admin-sidebar-bg: linear-gradient(180deg, #064e3b 0%, #047857 100%);
  --admin-shadow-glow: 0 6px 24px rgba(5, 150, 105, 0.25);
}

html { scroll-behavior: smooth; }
body { background: var(--brand-paper); color: var(--brand-ink); font-family: var(--font-sans); }
h1,h2,h3,h4,h5,h6 { color: var(--brand-ink); letter-spacing: -.035em; }
a { color: var(--brand-indigo); }
.text-zamrud-primary,.text-theme-primary { color: var(--brand-indigo) !important; }
.text-zamrud-cyan,.text-zamrud-mint { color: var(--brand-violet) !important; }
.text-zamrud-amber { color: var(--brand-gold) !important; }
.bg-zamrud-deep,.bg-zamrud-navy { background-color: var(--brand-ink) !important; }
.bg-zamrud-primary,.bg-zamrud-cyan { background-color: var(--brand-indigo) !important; }
.bg-zamrud-light,.bg-theme-light { background-color: #f0fdf4 !important; }
.btn-zamrud-primary,.btn-atelier-primary { color: #fff !important; border: 0 !important; background: linear-gradient(135deg,#059669,#10b981) !important; border-radius: 12px; box-shadow: 0 6px 16px rgba(16,185,129,.28); font-weight: 700; transition: transform .18s ease, box-shadow .18s ease; }
.btn-zamrud-primary:hover,.btn-atelier-primary:hover { color: #fff !important; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(16,185,129,.38); background: linear-gradient(135deg,#047857,#059669) !important; }
.btn-add-cart { border: 1px solid #a7f3d0 !important; background: #ecfdf5 !important; color: #047857 !important; border-radius: 12px; font-weight: 700; }
.btn-add-cart:hover { background: #d1fae5 !important; border-color: #6ee7b7 !important; color: #065f46 !important; }
.btn-atelier-light { border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.14); border-radius: 12px; font-weight: 700; backdrop-filter: blur(8px); }
.btn-atelier-light:hover { border-color: #fff; color: var(--brand-ink); background: #fff; }
.btn-atelier-coral { border: 0; border-radius: 12px; background: var(--brand-coral); color: #fff; font-weight: 700; }
.btn-atelier-coral:hover { background: #ea580c; color: #fff; }
.btn-soft { color: var(--brand-indigo); border: 1px solid #d1fae5; background: #f0fdf4; border-radius: 9px; }
.btn-soft-danger { color: #e11d48; border: 1px solid #ffe4e6; background: #fff1f2; border-radius: 9px; }
.form-control,.form-select { border-color: #cbd5e1; border-radius: 11px; min-height: 44px; color: var(--brand-ink); background-color: #fff; }
.form-control:focus,.form-select:focus { border-color: #10b981; box-shadow: 0 0 0 .22rem rgba(16,185,129,.15); }
.form-label { color: var(--brand-ink-soft); font-size: .83rem; font-weight: 700; }
.card,.modal-content { border-color: var(--brand-line) !important; border-radius: 18px !important; box-shadow: var(--shadow-sm); }
.badge.bg-success,.badge.bg-zamrud-primary { background: var(--brand-indigo) !important; }

/* Public storefront */
.modulku-topbar { color: #ecfdf5; background: linear-gradient(90deg, #064e3b 0%, #047857 45%, #0d9488 100%); border-bottom: 1px solid rgba(255,255,255,.12); }
.topbar-live-badge { color: #fef08a; background: rgba(254,240,138,0.18); border: 1px solid rgba(254,240,138,0.35); padding: 3px 10px; border-radius: 999px; }
.live-pulse-dot { background: #f59e0b !important; box-shadow: 0 0 0 4px rgba(245,158,11,.25) !important; }
.modulku-navbar { background: rgba(255,255,255,.98) !important; box-shadow: 0 4px 20px rgba(6,78,59,.06); border-bottom: 1px solid rgba(16,185,129,.14); backdrop-filter: blur(18px); }
.modulku-navbar .nav-link { color: #334155 !important; font-weight: 650; border-radius: 9px; }
.modulku-navbar .nav-link:hover,.modulku-navbar .nav-link.active { color: var(--brand-indigo) !important; background: #ecfdf5; }
.navbar-toggler { color: var(--brand-indigo); }
.dropdown-menu-modern { border: 1px solid #cbd5e1 !important; border-radius: 15px !important; padding: 10px; box-shadow: var(--shadow-md) !important; }
.dropdown-menu-modern .dropdown-item { border-radius: 9px; }
.hero-slider-section { padding: 34px 0 28px !important; background: linear-gradient(180deg,#ffffff 0%,#f0fdf4 100%); }
.hero-slide-card { position: relative; min-height: 480px; overflow: hidden; border-radius: 28px !important; color: #fff; background: linear-gradient(135deg, #064e3b 0%, #047857 28%, #0d9488 68%, #10b981 100%) !important; box-shadow: 0 24px 60px rgba(6,78,59,.22) !important; }
.hero-slide-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 88% 8%,rgba(254,240,138,.32),transparent 36%),radial-gradient(ellipse at 6% 100%,rgba(52,211,153,.38),transparent 48%); pointer-events: none; }
.hero-slide-card > .row { position: relative; z-index: 1; }
.hero-slide-title { color: #fff !important; font-size: clamp(2.4rem,4.1vw,4.35rem) !important; line-height: 1.03 !important; max-width: 720px; text-shadow: 0 2px 10px rgba(0,0,0,0.18); }
.hero-slide-desc { color: #ecfdf5 !important; font-size: 1.02rem !important; line-height: 1.75; max-width: 620px; }
.hero-badge-tag { color: #ffffff !important; background: rgba(255,255,255,.18) !important; border: 1px solid rgba(255,255,255,.28) !important; backdrop-filter: blur(12px); }
.hero-instructor-name { color: #fff; }
.hero-stat-badge { color: #ffffff !important; background: rgba(255,255,255,.14) !important; border: 1px solid rgba(255,255,255,.24) !important; }
.hero-slide-img-wrapper { min-height: 390px; margin: 30px; border-radius: 22px; background: linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.25); }
.hero-slide-img { max-height: 390px !important; border-radius: 20px; filter: drop-shadow(0 20px 35px rgba(0,0,0,.25)); }
.swiper-button-prev-custom,.swiper-button-next-custom { border: 1px solid #dedcf0 !important; color: var(--brand-indigo) !important; background: #fff !important; box-shadow: var(--shadow-sm); }
.swiper-pagination-bullet-active { background: var(--brand-indigo) !important; }
.quick-counter-bar { margin: -8px auto 0; padding: 20px 18px; border: 1px solid var(--brand-line); border-radius: 19px; background: #fff; box-shadow: var(--shadow-md); }
.creator-callout { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:28px 32px; border:1px solid #e8e5f4; border-radius:19px; background:linear-gradient(112deg,#fff 0%,#f4f2ff 70%,#fff2f2 100%); box-shadow:var(--shadow-sm); }
.creator-callout h2 { margin:7px 0; color:var(--brand-ink); font-size:clamp(1.25rem,2.5vw,1.8rem); font-weight:800; letter-spacing:-.045em; }
.creator-callout p { max-width:650px; margin:0; color:var(--brand-muted); font-size:.86rem; line-height:1.65; }
.creator-callout-note { color:#73758a; font-size:.76rem; }
.counter-box { border: 0 !important; background: transparent !important; }
.counter-icon { color: var(--brand-indigo) !important; background: #efedff !important; border-radius: 14px !important; }
.counter-number { color: var(--brand-ink) !important; }
.counter-label { color: var(--brand-muted) !important; }
.category-filter-scroll { border-bottom: 1px solid var(--brand-line); }
.category-filter-btn { border-radius: 999px !important; border-color: #e0deeb !important; color: #62657c !important; background: #fff !important; font-weight: 650; }
.category-filter-btn.active,.category-filter-btn:hover { color: #fff !important; border-color: var(--brand-indigo) !important; background: var(--brand-indigo) !important; }
.module-card { overflow: hidden; border: 1px solid var(--brand-line) !important; border-radius: 18px !important; background: #fff !important; box-shadow: 0 6px 20px rgba(32,35,61,.045) !important; transition: transform .2s ease, box-shadow .2s ease; }
.module-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md) !important; }
.module-card-img-wrap { background: #f2f0fb !important; }
.module-card-title { color: var(--brand-ink) !important; }
.module-cat-pill,.module-card-level { color: #5a56c3 !important; background: #f0efff !important; }
.module-card-badge { color: #fff !important; background: var(--brand-coral) !important; }
.module-price-box .text-zamrud-primary { color: var(--brand-indigo) !important; }
.testimonial-card { border: 1px solid var(--brand-line) !important; border-radius: 18px !important; background: #fff !important; }
.modulku-footer { color: #d4d4e5; background: #222541 !important; }
.landing-final-cta { background: radial-gradient(ellipse at 86% 0%,rgba(238,107,120,.3),transparent 36%),linear-gradient(125deg,#222541 0%,#35365f 62%,#514c9a 100%) !important; }
.landing-final-cta .btn-warning { color:#342e51 !important; border-color:#e7ad55 !important; background:#e7ad55 !important; }
.modulku-footer h5 { color: #fff; }
.modulku-footer .text-secondary { color: #b8b9d0 !important; }
.footer-links a { color: #c8c8dc !important; }
.footer-links a:hover { color: #efb6bd !important; }
.floating-chat-btn { background: var(--brand-coral) !important; box-shadow: 0 12px 28px rgba(238,107,120,.28) !important; }
.modulku-splash-screen { background: #222541 !important; }
.splash-glow-circle { background: rgba(139,114,238,.25) !important; }
.splash-curriculum-badge { color: #dedcff !important; background: rgba(139,114,238,.16) !important; border-color: rgba(180,167,255,.28) !important; }
.text-modul { color: #fff !important; }
.text-ku { color: #f19aa2 !important; }
.splash-loader-bar { background: linear-gradient(90deg,#8b72ee,#ee6b78) !important; }

/* Buyer workspace */
.portal-header-banner { color: #fff; background: radial-gradient(ellipse at 92% 0%,rgba(238,107,120,.28),transparent 35%),linear-gradient(120deg,#222541,#393963 68%,#5755a6) !important; }
.portal-header-banner h1,.portal-header-banner h2 { color: #fff !important; }
.dashboard-stat-card { border: 1px solid var(--brand-line) !important; border-radius: 17px !important; background: #fff !important; box-shadow: var(--shadow-sm) !important; }
.dashboard-stat-card h6 { color: var(--brand-ink) !important; }
.dashboard-stat-card .rounded-circle { color:var(--brand-indigo) !important; background:#f0efff !important; }
.dashboard-stat-card .badge { color:#5755a2 !important; border-color:#e2defc !important; background:#f1f0ff !important; }
.dashboard-nav-tabs { gap: 8px; }
.dashboard-nav-tabs .nav-link { border: 1px solid var(--brand-line); border-radius: 11px !important; color: #676a81; background: #fff; font-weight: 650; }
.dashboard-nav-tabs .nav-link.active { color: #fff !important; border-color: var(--brand-indigo); background: var(--brand-indigo) !important; box-shadow: 0 8px 20px rgba(87,85,217,.19); }
.tab-content>.tab-pane { border-radius: 18px; }
.dashboard .card,.tab-pane .card { border: 1px solid var(--brand-line) !important; }

/* Admin application shell */
.admin-body { color: var(--brand-ink); background: var(--brand-paper) !important; }
.admin-sidebar { background: linear-gradient(180deg,#20233d 0%,#292c55 100%) !important; box-shadow: 8px 0 32px rgba(32,35,61,.12); }
.admin-sidebar-header { border-color: rgba(255,255,255,.11) !important; }
.admin-sidebar-profile { border: 1px solid rgba(255,255,255,.1) !important; background: rgba(255,255,255,.065) !important; }
.admin-nav-link { color: #d5d6e6 !important; }
.admin-nav-link:hover,.admin-nav-link.active { color: #fff !important; background: rgba(139,114,238,.19) !important; }
.admin-nav-highlight { background: rgba(238,107,120,.14) !important; }
.admin-topbar { border-bottom: 1px solid var(--brand-line) !important; background: rgba(255,255,255,.93) !important; box-shadow: 0 4px 20px rgba(32,35,61,.035) !important; }
.admin-content-body { background: var(--brand-paper) !important; }
.admin-footer { border-top: 1px solid var(--brand-line) !important; background: #fff !important; }
.admin-stat-card,.admin-content-body .card { border: 1px solid var(--brand-line) !important; border-radius: 17px !important; background: #fff !important; box-shadow: var(--shadow-sm) !important; }
.admin-page-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:24px; }
.admin-page-heading h1 { margin:5px 0 6px; color: var(--brand-ink); font-size: clamp(1.65rem,2.5vw,2.25rem); font-weight: 800; }
.admin-page-heading p { margin:0; color: var(--brand-muted); }
.eyebrow { color: #7670d8; font-size: .69rem; font-weight: 800; letter-spacing: .13em; }
.panel-count { padding: 8px 12px; border:1px solid #e2e0f2; border-radius:999px; color:#514fc5; background:#f4f2ff; font-size:.78rem; font-weight:700; white-space:nowrap; }
.admin-content-body .table thead th { color: #74788d; background: #f8f7fa !important; font-size: .71rem; text-transform: uppercase; letter-spacing: .055em; }
.admin-content-body .table td,.admin-content-body .table th { border-color: #eeecf1 !important; }
.admin-content-body .btn-success { color:#fff !important; border-color:var(--brand-indigo) !important; background:var(--brand-indigo) !important; }

/* Shared contributor and review screens */
.contributor-page { max-width: 1360px; }
.contributor-hero { position:relative; display:grid; grid-template-columns:1.3fr .7fr; min-height:350px; overflow:hidden; padding:52px 56px 62px; border-radius:28px; color:#fff; background:radial-gradient(ellipse at 86% 14%,rgba(238,107,120,.34),transparent 34%),linear-gradient(124deg,#222541 0%,#37375f 61%,#514c9a 100%); box-shadow:0 26px 65px rgba(40,39,85,.18); }
.contributor-hero-copy { position:relative; z-index:2; max-width:660px; }
.contributor-hero .eyebrow { color:#c6bbff; }
.contributor-hero h1 { margin:18px 0 15px; color:#fff; font-size:clamp(2.5rem,5vw,4.25rem); line-height:1.04; letter-spacing:-.06em; }
.contributor-hero h1 span { color:#f3a0a5; }
.contributor-hero p { max-width:570px; color:#e2e1f2; font-size:1.02rem; line-height:1.75; }
.contributor-hero-meta { position:absolute; right:34px; bottom:21px; left:56px; display:flex; justify-content:space-between; color:#d3d1e8; font-size:.75rem; }
.contributor-hero-art { position:relative; display:flex; align-items:center; justify-content:center; min-height:230px; }
.hero-art-sheet { position:absolute; display:flex; align-items:center; justify-content:center; width:180px; height:225px; border-radius:12px 24px 24px 12px; box-shadow:0 24px 44px rgba(16,17,48,.27); }
.sheet-back { transform:translate(30px,8px) rotate(11deg); color:#fff; background:linear-gradient(150deg,#ee6b78,#d95a74); font-size:54px; }
.sheet-front { flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:20px; padding:26px; transform:translate(-25px,-4px) rotate(-8deg); color:#37375f; background:#fffdf8; }
.sheet-front i { color:#7770df; font-size:40px; }.sheet-label { color:#8581a1; font-size:8px; font-weight:800; letter-spacing:.18em; }.sheet-lines { width:100%; height:43px; border-top:2px solid #dedbea; border-bottom:2px solid #dedbea; }
.hero-art-orbit { position:absolute; width:260px; height:260px; border:1px solid rgba(255,255,255,.13); border-radius:50%; }.orbit-two { width:310px; height:310px; }
.workspace-stat { position:relative; display:flex; flex-direction:column; min-height:156px; padding:20px; border:1px solid var(--brand-line); border-radius:17px; background:#fff; box-shadow:var(--shadow-sm); }
.stat-icon { display:flex; align-items:center; justify-content:center; width:37px; height:37px; margin-bottom:16px; border-radius:12px; }.stat-icon.violet { color:#5755d9; background:#efedff; }.stat-icon.coral { color:#d8586a; background:#fff0f0; }.stat-icon.blue { color:#4977c8; background:#edf3ff; }.stat-icon.gold { color:#bd8332; background:#fff5e3; }
.stat-label { color:var(--brand-muted); font-size:.77rem; }.workspace-stat strong { margin-top:4px; color:var(--brand-ink); font-size:1.24rem; letter-spacing:-.035em; }.workspace-stat small { margin-top:2px; color:#9a9cac; font-size:.69rem; }
.workspace-panel { overflow:hidden; border:1px solid var(--brand-line); border-radius:18px; background:#fff; box-shadow:var(--shadow-sm); }
.panel-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:22px 24px; border-bottom:1px solid #f0eef3; }
.panel-heading h2,.commission-panel h2 { margin:5px 0 0; color:var(--brand-ink); font-size:1.15rem; font-weight:800; letter-spacing:-.035em; }
.panel-intro { margin:0; padding:18px 24px 4px; color:var(--brand-muted); font-size:.84rem; line-height:1.65; }
.contributor-table-wrap { padding:0 14px 12px; }.contributor-table { --bs-table-bg: transparent; font-size:.81rem; }
.contributor-table thead th { padding:14px 12px; border-bottom:1px solid var(--brand-line); color:#7a7d91; font-size:.67rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.contributor-table tbody td { padding:16px 12px; border-bottom:1px solid #f1eff4; color:#41445e; }
.contributor-table tbody tr:last-child td { border-bottom:0; }.contributor-table strong { color:var(--brand-ink); }
.content-status { display:inline-flex; align-items:center; padding:6px 9px; border-radius:999px; font-size:.68rem; font-weight:750; white-space:nowrap; }.content-status.status-ditinjau,.content-status.status-menunggu,.content-status.status-diajukan { color:#987025; background:#fff5dd; }.content-status.status-terbit,.content-status.status-dibayar,.content-status.status-tersedia { color:#39785f; background:#e8f6ef; }.content-status.status-ditolak { color:#b54e5b; background:#fff0f1; }.content-status.status-draf { color:#6d7084; background:#f0eff4; }
.editor-step { color:#a09dac; font-size:.72rem; font-weight:800; letter-spacing:.08em; }.editor-step i { margin-left:5px; color:var(--brand-coral); }
.contributor-editor form { padding:10px 24px 24px; }.editor-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:20px; padding-top:18px; border-top:1px solid #f0eef3; }.editor-footer>span { color:#85889a; font-size:.72rem; line-height:1.5; }
.commission-panel { padding:24px; border-radius:18px; color:#fff; background:linear-gradient(145deg,#33345a,#4b4785); box-shadow:0 14px 36px rgba(48,47,91,.14); }.commission-panel h2 { margin-top:8px; color:#fff; font-size:1.45rem; }.commission-panel p { margin:10px 0 0; color:#d6d5e8; font-size:.8rem; line-height:1.65; }.commission-panel .eyebrow { color:#c8bdff; }.commission-panel .form-label { color:#eeedf7; }.commission-panel .form-control { border-color:rgba(255,255,255,.16); background:rgba(255,255,255,.97); }
.commission-balance { margin-top:22px; color:#fff; font-size:2rem; font-weight:800; letter-spacing:-.045em; }.payout-note { margin-top:15px; color:#c5c4db; font-size:.68rem; line-height:1.6; }
.payout-history { padding-bottom:10px; }.payout-history #payoutHistoryList { padding:4px 22px 15px; }.payout-history-item { display:grid; grid-template-columns:1fr auto; gap:10px; align-items:center; padding:14px 0; border-bottom:1px solid #f0eef3; }.payout-history-item:last-child { border-bottom:0; }.payout-history-item strong { display:block; color:var(--brand-ink); font-size:.86rem; }.payout-history-item small { display:block; margin-top:3px; color:#898b9d; font-size:.69rem; }.payout-note-text { grid-column:1/-1; margin:0; color:#b04d59; font-size:.72rem; }.empty-illustration { display:inline-flex; align-items:center; justify-content:center; width:52px; height:52px; border-radius:16px; color:#7069d9; background:#f0efff; font-size:21px; }

@media (max-width: 991.98px) {
  .modulku-topbar { display:none !important; }
  .hero-slide-card { min-height:auto; }
  .hero-slide-img-wrapper { min-height:250px; margin:4px 20px 24px; }
  .hero-slide-img { max-height:250px !important; }
  .contributor-hero { grid-template-columns:1fr; min-height:0; padding:38px 32px 70px; }
  .contributor-hero-art { position:absolute; right:-26px; bottom:10px; width:230px; opacity:.24; }
  .contributor-hero-meta { right:22px; left:32px; }
}
@media (max-width: 575.98px) {
  .hero-slide-card { border-radius:20px !important; }
  .hero-slide-title { font-size:2.35rem !important; }
  .quick-counter-bar { padding:13px 8px; }
  .creator-callout { align-items:flex-start; flex-direction:column; padding:23px; }
  .contributor-page { padding-inline:16px !important; }
  .contributor-hero { padding:32px 22px 80px; border-radius:21px; }
  .contributor-hero h1 { font-size:2.45rem; }
  .contributor-hero-meta { left:22px; right:18px; align-items:flex-start; gap:6px; flex-direction:column; font-size:.67rem; }
  .workspace-stat { min-height:137px; padding:15px; }.workspace-stat strong { font-size:1rem; }
  .panel-heading { padding:18px; }.contributor-editor form { padding:10px 18px 20px; }
  .editor-footer { align-items:flex-start; flex-direction:column; }
  .editor-footer>div { width:100%; }.editor-footer .btn { flex:1; }
  .admin-page-heading { align-items:flex-start; flex-direction:column; }
}

/* ModulKU radiant emerald, mint and gold palette refresh */
.modulku-topbar { color:#ecfdf5; background:linear-gradient(90deg, #064e3b 0%, #047857 45%, #0d9488 100%); }
.modulku-navbar { border-bottom-color:rgba(16,185,129,.14); box-shadow:0 4px 20px rgba(6,78,59,.06); }
.modulku-navbar .nav-link:hover,.modulku-navbar .nav-link.active { color:#059669 !important; background:#ecfdf5; }
.hero-slider-section { background:linear-gradient(180deg,#ffffff 0%,#f0fdf4 100%); }
.hero-slide-card { background:linear-gradient(135deg, #064e3b 0%, #047857 28%, #0d9488 68%, #10b981 100%) !important; box-shadow:0 24px 60px rgba(6,78,59,.22) !important; }
.hero-slide-card::before { background:radial-gradient(ellipse at 88% 8%,rgba(254,240,138,.32),transparent 36%),radial-gradient(ellipse at 6% 100%,rgba(52,211,153,.38),transparent 48%); }
.swiper-button-prev-custom,.swiper-button-next-custom { border-color:#a7f3d0 !important; color:#059669 !important; }
.creator-callout { border-color:#d1fae5; background:linear-gradient(112deg,#fff 0%,#f0fdf4 72%,#fef9ee 100%); }
.counter-icon { background:#ecfdf5 !important; color:#059669 !important; }
.category-filter-btn { border-color:#cbd5e1 !important; color:#475569 !important; }
.category-filter-btn.active,.category-filter-btn:hover { border-color:#059669 !important; background:#059669 !important; color:#ffffff !important; }
.module-card-img-wrap { background:#f8fafc !important; }
.module-cat-pill,.module-card-level { color:#059669 !important; background:#ecfdf5 !important; }
.module-card-badge { background:#f97316 !important; }
.modulku-footer { background:linear-gradient(180deg, #0f2e27 0%, #091c17 100%) !important; }
.landing-final-cta { background:radial-gradient(ellipse at 86% 0%,rgba(254,240,138,.28),transparent 36%),linear-gradient(125deg,#064e3b 0%,#047857 45%,#0d9488 100%) !important; }
.landing-final-cta .btn-warning { color:#ffffff !important; border:0 !important; background:linear-gradient(135deg,#f59e0b,#d97706) !important; font-weight:800; box-shadow:0 6px 18px rgba(245,158,11,.4); }
.footer-links a:hover { color:#34d399 !important; }
.floating-chat-btn { background:#059669 !important; box-shadow:0 12px 28px rgba(5,150,105,.32) !important; }
.modulku-splash-screen { background:#064e3b !important; }
.splash-glow-circle { background:rgba(16,185,129,.35) !important; }
.splash-curriculum-badge { color:#ecfdf5 !important; background:rgba(255,255,255,.18) !important; border-color:rgba(255,255,255,.3) !important; }
.text-ku { color:#fef08a !important; }
.splash-loader-bar { background:linear-gradient(90deg,#10b981,#f59e0b) !important; }
.portal-header-banner { background:radial-gradient(ellipse at 92% 0%,rgba(254,240,138,.25),transparent 35%),linear-gradient(120deg,#064e3b,#047857 68%,#0d9488) !important; }
.dashboard-stat-card .rounded-circle { background:#ecfdf5 !important; }
.dashboard-stat-card .badge { color:#059669 !important; border-color:#a7f3d0 !important; background:#ecfdf5 !important; }
.admin-sidebar { background:linear-gradient(180deg,#064e3b 0%,#047857 100%) !important; box-shadow:8px 0 32px rgba(6,78,59,.15); }
.admin-nav-link:hover,.admin-nav-link.active { background:rgba(255,255,255,.16) !important; }
.admin-nav-highlight { background:rgba(245,158,11,.2) !important; }
.eyebrow { color:#059669; }
.panel-count { border-color:#a7f3d0; color:#059669; background:#ecfdf5; }
.commission-panel { background:linear-gradient(145deg,#064e3b,#059669); }
.commission-panel .eyebrow { color:#d1fae5; }
.stat-icon.violet { color:#059669; background:#ecfdf5; }
.stat-icon.coral { color:#ea580c; background:#fff7ed; }
.contributor-hero { background:radial-gradient(ellipse at 86% 14%,rgba(254,240,138,.3),transparent 34%),linear-gradient(124deg,#064e3b 0%,#047857 61%,#0d9488 100%); }
.contributor-hero .eyebrow { color:#d1fae5; }
.contributor-hero h1 span { color:#fef08a; }
.contributor-hero p,.contributor-hero-meta { color:#ecfdf5; }
.sheet-back { background:linear-gradient(150deg,#f97316,#ea580c); }
.sheet-front { color:#064e3b; }
.sheet-front i { color:#059669; }
.empty-illustration { color:#059669; background:#ecfdf5; }

.modulku-welcome-ticker { overflow:hidden; position:relative; padding:10px 0; color:#ffffff; background:linear-gradient(90deg,#047857,#059669 56%,#0d9488); box-shadow:0 2px 10px rgba(4,120,87,.15); }
.modulku-welcome-ticker::after { content:""; position:absolute; inset:0 auto 0 0; width:48px; background:linear-gradient(90deg,#047857,transparent); pointer-events:none; }
.welcome-ticker-track { display:flex; width:max-content; animation:modulkuTicker 42s linear infinite; }
.welcome-ticker-track span { display:block; padding:0 48px; font-size:.82rem; font-weight:700; letter-spacing:.015em; white-space:nowrap; }
.welcome-ticker-track i { color:#fef08a; }
.modulku-welcome-ticker:hover .welcome-ticker-track { animation-play-state:paused; }
@keyframes modulkuTicker { from { transform:translateX(0); } to { transform:translateX(-50%); } }
.quick-login-panel { padding:13px 14px; border:1px solid #d1fae5; border-radius:13px; background:#f0fdf4; }
.quick-login-panel>div:first-child { color:#064e3b; font-size:.76rem; font-weight:750; }
.quick-login-panel>div:first-child i { color:#059669; }
.quick-login-button { border:1px solid #a7f3d0; border-radius:999px; color:#047857; background:#fff; font-weight:700; }
.quick-login-button:hover { color:#fff; border-color:#059669; background:#059669; }
@media (prefers-reduced-motion: reduce) { .welcome-ticker-track { animation:none; } }

/* Marketplace navigation: compact, searchable and touch-friendly on small screens */
.navbar-desktop-shell { display:flex !important; align-items:center; justify-content:space-between; flex-wrap:nowrap !important; width:100%; }
.navbar-actions-group { display:flex; align-items:center; gap:8px; flex-shrink:0 !important; white-space:nowrap !important; margin-left:auto; }
.auth-action-btn { flex-shrink:0 !important; white-space:nowrap !important; }
.desktop-market-search { position:relative; width:clamp(120px,11vw,190px); margin-right:4px; transition:width .25s ease; }
.desktop-market-search:focus-within { width:clamp(150px,14vw,230px); }
.desktop-market-search>i { position:absolute; top:50%; left:12px; z-index:1; color:#059669; transform:translateY(-50%); font-size:.82rem; }
.desktop-market-search input { width:100%; min-height:36px; padding:6px 12px 6px 32px; border:1px solid #d1fae5; border-radius:999px; background:#f8fafc; font-size:.78rem; transition:all .2s ease; }
.desktop-market-search input:focus { border-color:#10b981; background:#fff; outline:0; box-shadow:0 0 0 3px rgba(16,185,129,.14); }
.language-switcher {
  border-color: #d1fae5 !important;
  color: #064e3b !important;
  background-color: #ffffff !important;
  font-size: 0.78rem !important;
  font-weight: 750 !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23059669' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 9px center !important;
  background-size: 10px 8px !important;
  white-space: nowrap !important;
  text-align: left !important;
  cursor: pointer;
}
.desktop-language-switcher {
  width: 78px !important;
  min-width: 78px !important;
  min-height: 36px !important;
  padding: 4px 24px 4px 10px !important;
  line-height: 26px !important;
  border-radius: 10px !important;
}
.admin-language-switcher { width:118px; min-width:108px; min-height:36px; padding:5px 23px 5px 9px; font-size:.7rem; }
.mobile-market-header { display:none; }
.mobile-bottom-nav { display:none; }

@media (max-width: 1199.98px) {
  .modulku-topbar { display:none !important; }
  body { padding-bottom:calc(74px + env(safe-area-inset-bottom)); }
  .modulku-navbar { display:block !important; padding:0 !important; border-bottom:1px solid #e6eee8; background:#fff !important; box-shadow:0 8px 22px rgba(22,53,47,.08); }
  .navbar-desktop-shell { display:none !important; }
  .mobile-market-header { display:block; width:100%; padding:10px 16px 0; }
  .mobile-market-toprow { display:flex; min-height:39px; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
  .mobile-market-brand { display:inline-flex; flex:0 0 auto; align-items:center; }
  .mobile-market-brand img { display:block; width:auto; max-width:130px; height:32px; }
  .mobile-market-actions { display:flex; align-items:center; gap:9px; }
  .mobile-language-switcher {
    width: 68px !important;
    min-width: 68px !important;
    min-height: 34px !important;
    padding: 4px 22px 4px 8px !important;
    line-height: 24px !important;
    border-radius: 10px !important;
    font-size: 0.72rem !important;
  }
  .mobile-icon-action { position:relative; display:inline-flex; width:36px; height:36px; align-items:center; justify-content:center; padding:0; border:0; border-radius:12px; color:#285a4e; background:#eff8f2; font-size:1rem; text-decoration:none; }
  .mobile-icon-action:hover { color:#087f70; background:#e2f2e9; }
  .mobile-cart-count { position:absolute; top:-3px; right:-4px; display:flex; min-width:16px; height:16px; align-items:center; justify-content:center; padding:0 4px; border:2px solid #fff; border-radius:999px; color:#fff; background:#e67b50; font-size:.58rem; font-weight:800; }
  .mobile-market-search { position:relative; display:flex; height:45px; align-items:center; gap:9px; padding:0 8px 0 13px; border:1px solid #dce9e0; border-radius:14px; background:#f6faf7; }
  .mobile-market-search>i { color:#668077; font-size:.9rem; }
  .mobile-market-search input { width:100%; min-width:0; height:100%; border:0; outline:0; color:#16352f; background:transparent; font-size:.8rem; }
  .mobile-market-search input::placeholder { color:#89988e; }
  .mobile-market-search button { display:grid; width:31px; height:31px; flex:0 0 auto; place-items:center; border:0; border-radius:10px; color:#fff; background:#087f70; }
  .mobile-market-categories { display:flex; gap:8px; overflow-x:auto; padding:10px 0 11px; scrollbar-width:none; }
  .mobile-market-categories::-webkit-scrollbar { display:none; }
  .mobile-market-categories a { flex:0 0 auto; padding:6px 11px; border:1px solid #e1ece4; border-radius:999px; color:#42645a; background:#fff; font-size:.68rem; font-weight:700; text-decoration:none; }
  .mobile-market-categories a:active,.mobile-market-categories a:hover { border-color:#c2e3d2; color:#087f70; background:#eff8f2; }
  .mobile-bottom-nav { position:fixed; right:0; bottom:0; left:0; z-index:1030; display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)); padding:8px 8px calc(8px + env(safe-area-inset-bottom)); border-top:1px solid #e2ebe4; background:rgba(255,255,255,.96); box-shadow:0 -7px 22px rgba(22,53,47,.08); backdrop-filter:blur(16px); }
  .mobile-bottom-link { display:flex; min-width:0; min-height:48px; flex-direction:column; align-items:center; justify-content:center; gap:4px; padding:2px; border:0; border-radius:13px; color:#72847b; background:transparent; font:inherit; text-decoration:none; }
  .mobile-bottom-link i { font-size:1.08rem; }
  .mobile-bottom-link span { overflow:hidden; max-width:100%; font-size:.61rem; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
  .mobile-bottom-link:hover,.mobile-bottom-link:focus-visible { color:#087f70; background:#eff8f2; }
  .modulku-welcome-ticker { padding-block:9px; }
  .welcome-ticker-track span { padding-inline:30px; font-size:.73rem; }
}

@media (max-width: 575.98px) {
  .mobile-market-header { padding-inline:13px; }
  .mobile-market-toprow { margin-bottom:8px; }
  .mobile-market-search { height:43px; border-radius:13px; }
  .mobile-bottom-nav { padding-right:5px; padding-left:5px; }
  .mobile-bottom-link { min-height:46px; }
  .admin-language-switcher { width:92px; min-width:92px; padding-right:19px; font-size:.63rem; }
}

/* =========================================================
   ENHANCED LANDING PAGE REDESIGN & ULTRA-RESPONSIVENESS
   ========================================================= */

/* Hero Enhancements */
.hero-slider-section {
  position: relative;
  padding: 28px 0 36px !important;
  background: radial-gradient(circle at 12% 18%, rgba(16, 185, 129, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 88% 12%, rgba(14, 165, 233, 0.10) 0%, transparent 42%),
              radial-gradient(circle at 50% 90%, rgba(245, 158, 11, 0.08) 0%, transparent 48%),
              linear-gradient(180deg, #ffffff 0%, #f0fdf4 45%, #ecfdf5 100%);
  border-bottom: 1px solid #e2e8f0;
}

.hero-slide-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 26px !important;
  color: #ffffff;
  background: linear-gradient(135deg, #064e3b 0%, #047857 28%, #0d9488 68%, #10b981 100%) !important;
  box-shadow: 0 24px 60px rgba(6, 78, 59, 0.22), 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

.hero-slide-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 15%, rgba(254, 240, 138, 0.32) 0%, transparent 42%),
              radial-gradient(ellipse at 12% 88%, rgba(52, 211, 153, 0.35) 0%, transparent 48%),
              radial-gradient(ellipse at 50% 50%, rgba(45, 212, 191, 0.18) 0%, transparent 55%);
  pointer-events: none;
}

.hero-slide-content {
  padding: 40px 36px 40px 44px;
  position: relative;
  z-index: 2;
}

.hero-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  backdrop-filter: blur(10px);
  margin-bottom: 16px;
}

.hero-brand-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fef08a;
  box-shadow: 0 0 0 3px rgba(254, 240, 138, 0.4);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(254, 240, 138, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(254, 240, 138, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(254, 240, 138, 0); }
}

.hero-slide-title {
  color: #ffffff !important;
  font-size: clamp(1.9rem, 3.2vw, 3.2rem) !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(4, 78, 59, 0.35);
}

.hero-slide-desc {
  color: #ecfdf5 !important;
  font-size: 0.98rem !important;
  line-height: 1.68;
  max-width: 640px;
  margin-bottom: 22px;
  font-weight: 500;
}

.hero-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.hero-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.hero-meta-chip span {
  color: #ffffff !important;
}

.hero-meta-chip i {
  color: #6ee7b7;
}

.hero-meta-chip.highlight-gold {
  color: #fef08a !important;
  border-color: rgba(253, 224, 71, 0.55);
  background: rgba(254, 240, 138, 0.22);
}
.hero-meta-chip.highlight-gold i {
  color: #fde047;
}
.hero-meta-chip.highlight-gold span {
  color: #fef08a !important;
}

.hero-author-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 13px 4px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}
.hero-author-box .small.text-zamrud-mint,
.hero-author-box [class*="text-zamrud-mint"] {
  color: #a7f3d0 !important;
  font-weight: 600 !important;
}

.hero-price-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
}

.hero-price-old {
  font-size: 0.82rem;
  color: #d1fae5;
  text-decoration: line-through;
}

.hero-price-current {
  font-size: 1.68rem;
  font-weight: 850;
  color: #fef08a;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-discount-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.btn-hero-buy {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.42) !important;
  font-weight: 800 !important;
  border-radius: 12px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn-hero-buy:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.5) !important;
  color: #ffffff !important;
}

.btn-hero-add-cart {
  background: #ffffff !important;
  color: #047857 !important;
  border: 1.5px solid #ffffff !important;
  font-weight: 800 !important;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12) !important;
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn-hero-add-cart:hover {
  background: #ecfdf5 !important;
  color: #065f46 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18) !important;
}

.hero-stage-col {
  padding: 20px 30px 20px 10px;
}

.hero-book-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 390px;
  padding: 24px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 75%);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}

.hero-book-showcase .hero-slide-img {
  max-height: 360px;
  width: auto;
  border-radius: 18px;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.28));
  transition: transform 0.35s ease;
}

.hero-book-showcase:hover .hero-slide-img {
  transform: translateY(-4px) scale(1.02);
}

.floating-hero-pill {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: #064e3b;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  animation: float-gentle 4s ease-in-out infinite;
}

.pill-top-left {
  top: 18px;
  left: -8px;
  animation-delay: 0s;
}

.pill-bottom-right {
  bottom: 20px;
  right: -6px;
  animation-delay: 2s;
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Jenjang Showcase Grid */
.jenjang-showcase-section {
  padding: 44px 0 24px;
}

.jenjang-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.jenjang-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 14px 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(6, 78, 59, 0.04);
  text-decoration: none;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.jenjang-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, #059669);
  opacity: 0.85;
  transition: height 0.2s ease, opacity 0.2s ease;
}

.jenjang-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(6, 78, 59, 0.1);
  border-color: var(--card-accent, #059669);
}

.jenjang-card:hover::before {
  height: 6px;
  opacity: 1;
}

.jenjang-icon-sq {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 12px;
  background: var(--icon-bg, #ecfdf5);
  color: var(--icon-color, #059669);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.24s ease;
}

.jenjang-card:hover .jenjang-icon-sq {
  transform: scale(1.12);
}

.jenjang-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #0f2e27;
  margin-bottom: 3px;
}

.jenjang-fase {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 9px;
}

.jenjang-badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
  background: var(--icon-bg, #ecfdf5);
  color: var(--icon-color, #059669);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Quick Counter Bar */
.quick-counter-bar {
  margin: -24px auto 28px;
  position: relative;
  z-index: 10;
  padding: 22px 28px;
  border: 1.5px solid rgba(16, 185, 129, 0.16);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(6, 78, 59, 0.08);
}

.counter-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.counter-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
  color: #059669 !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.18);
  flex-shrink: 0;
}

.counter-number {
  font-size: 1.72rem !important;
  font-weight: 850 !important;
  color: #064e3b !important;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.counter-label {
  font-size: 0.78rem !important;
  color: #64748b !important;
  font-weight: 650;
  margin-top: 2px;
}

/* Workflow Section (Cara Kerja 3 Langkah) */
.workflow-section {
  padding: 60px 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.workflow-card {
  position: relative;
  height: 100%;
  padding: 32px 26px;
  border-radius: 22px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.04);
  transition: all 0.28s ease;
}

.workflow-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(5, 150, 105, 0.1);
  border-color: #10b981;
}

.workflow-step-num {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(5, 150, 105, 0.14);
  line-height: 1;
}

.workflow-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.26);
}

.workflow-card:nth-child(2) .workflow-icon-box {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.26);
}

.workflow-card:nth-child(3) .workflow-icon-box {
  background: linear-gradient(135deg, #d97706, #fbbf24);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.26);
}

.workflow-card h4 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0f2e27;
  margin-bottom: 10px;
}

.workflow-card p {
  font-size: 0.88rem;
  line-height: 1.68;
  color: #475569;
  margin-bottom: 0;
}

/* Catalog Filter Toolbar & Search */
.catalog-search-group {
  border-radius: 999px !important;
  border: 1.5px solid #cbd5e1 !important;
  background: #ffffff;
  transition: all 0.22s ease;
}

.catalog-search-group:focus-within {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15) !important;
}

.catalog-search-group .form-control:focus {
  box-shadow: none !important;
}

.catalog-search-group .btn {
  border-radius: 0 999px 999px 0 !important;
}

.catalog-toolbar {
  background: #ffffff;
  padding: 18px 22px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(6, 78, 59, 0.04);
  margin-bottom: 28px;
}

.category-filter-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.category-filter-scroll::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.category-filter-btn {
  padding: 8px 18px !important;
  border-radius: 999px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #475569 !important;
  background: #f8fafc !important;
  white-space: nowrap;
  transition: all 0.2s ease !important;
}

.category-filter-btn:hover {
  border-color: #a7f3d0 !important;
  color: #059669 !important;
  background: #ecfdf5 !important;
}

.category-filter-btn.active {
  background: linear-gradient(135deg, #059669, #10b981) !important;
  color: #ffffff !important;
  border-color: #059669 !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.32) !important;
}

/* Module Cards Overhaul */
.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: #ffffff !important;
  box-shadow: 0 6px 20px rgba(6, 78, 59, 0.04) !important;
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden;
}

.module-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 40px rgba(6, 78, 59, 0.1) !important;
  border-color: #10b981 !important;
}

.module-card-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
}

.module-card-img {
  max-height: 160px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.12));
  transition: transform 0.35s ease;
}

.module-card:hover .module-card-img {
  transform: scale(1.06);
}

.module-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #ea580c) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.35);
  z-index: 2;
}

.module-card-level {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffffff !important;
  color: #064e3b !important;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 2;
}

.module-card-body {
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.module-cat-pill {
  font-size: 0.72rem !important;
  font-weight: 750 !important;
  color: #059669 !important;
  background: #ecfdf5 !important;
  padding: 3px 9px;
  border-radius: 6px;
}

.module-card-title {
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  line-height: 1.42 !important;
  margin: 8px 0 10px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.85em;
}

.module-card-title a {
  color: #0f172a !important;
  text-decoration: none;
  transition: color 0.18s ease;
}

.module-card-title a:hover {
  color: #059669 !important;
}

.module-instructor {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.module-instructor-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #10b981;
}

.module-instructor-name {
  font-size: 0.78rem;
  font-weight: 750;
  color: #1e293b;
  line-height: 1.2;
}

.module-meta-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 650;
  margin-bottom: 14px;
}

.module-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.price-normal {
  font-size: 0.74rem;
  color: #94a3b8;
  text-decoration: line-through;
  line-height: 1;
}

.price-discount {
  font-size: 1.18rem;
  font-weight: 850;
  color: #059669;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.btn-static-wishlist {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #e2e8f0 !important;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-static-wishlist:hover {
  color: #e11d48;
  background: #fff1f2;
  border-color: #fecdd3 !important;
}

.btn-static-add-cart {
  font-size: 0.76rem !important;
  font-weight: 750 !important;
  padding: 6px 12px !important;
  border-radius: 10px !important;
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
  transition: all 0.2s ease !important;
}

.btn-static-add-cart:hover {
  background: #d1fae5 !important;
  border-color: #6ee7b7 !important;
  color: #064e3b !important;
}

.btn-static-buy {
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  padding: 6px 14px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #059669, #10b981) !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.28) !important;
  transition: all 0.2s ease !important;
}

.btn-static-buy:hover {
  background: linear-gradient(135deg, #047857, #059669) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(16, 185, 129, 0.38) !important;
  color: #ffffff !important;
}

/* Feature Cards (Prestasi & Kualitas) */
.landing-feature-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 22px;
  padding: 32px 22px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(6, 78, 59, 0.04);
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(6, 78, 59, 0.1);
  border-color: #10b981;
}

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  transition: transform 0.24s ease;
}

.landing-feature-card:hover .feature-icon-box {
  transform: scale(1.12);
}

.feature-icon-box.icon-pdf {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
}

.feature-icon-box.icon-catalog {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
}

.feature-icon-box.icon-verify {
  background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
  color: #d97706;
}

.feature-icon-box.icon-account {
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  color: #db2777;
}

/* FAQ Section */
.faq-section {
  padding: 60px 0;
  background: #fbfdfc;
  border-top: 1px solid #e2e8f0;
}

.modulku-accordion .accordion-item {
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 16px !important;
  margin-bottom: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.03);
  transition: all 0.2s ease;
}

.modulku-accordion .accordion-item:hover {
  border-color: #a7f3d0 !important;
}

.modulku-accordion .accordion-button {
  font-weight: 750;
  color: #0f172a;
  padding: 18px 24px;
  background: #ffffff;
  box-shadow: none !important;
  font-size: 0.98rem;
}

.modulku-accordion .accordion-button:not(.collapsed) {
  color: #047857;
  background: #f0fdf4;
}

.modulku-accordion .accordion-body {
  font-size: 0.88rem;
  line-height: 1.72;
  color: #334155;
  padding: 18px 24px 22px;
  background: #ffffff;
}

/* Responsive Overrides */
@media (max-width: 1199.98px) {
  .jenjang-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 991.98px) {
  .hero-slide-card {
    min-height: auto !important;
  }
  .hero-slide-content {
    padding: 30px 22px 18px !important;
  }
  .hero-stage-col {
    padding: 8px 22px 30px !important;
  }
  .hero-book-showcase {
    min-height: 270px !important;
  }
  .hero-book-showcase .hero-slide-img {
    max-height: 250px !important;
  }
  .floating-hero-pill {
    padding: 6px 12px;
    font-size: 0.72rem;
  }
  .jenjang-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

@media (max-width: 767.98px) {
  .quick-counter-bar {
    margin-top: 12px;
    padding: 16px 14px;
  }
  .counter-box {
    gap: 10px;
  }
  .counter-icon {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }
  .counter-number {
    font-size: 1.38rem !important;
  }
  .jenjang-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .catalog-toolbar {
    padding: 14px;
  }
  .category-filter-scroll {
    padding-bottom: 8px;
  }
}

@media (max-width: 575.98px) {
  .hero-slide-title {
    font-size: 1.7rem !important;
    line-height: 1.2 !important;
  }
  .hero-slide-desc {
    font-size: 0.88rem !important;
    line-height: 1.55;
  }
  .hero-tags-row {
    gap: 6px;
  }
  .hero-meta-chip {
    font-size: 0.72rem;
    padding: 4px 10px;
  }
  .hero-price-panel {
    width: 100%;
    justify-content: space-between;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
  .jenjang-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .jenjang-card {
    padding: 16px 8px 14px;
  }
  .jenjang-icon-sq {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  .jenjang-title {
    font-size: 0.85rem;
  }
  .workflow-card {
    padding: 22px 18px;
  }
  .landing-final-cta .btn-lg {
    width: 100%;
  }
}

/* =========================================================
   FLOATING ACTION BUTTONS OVERLAP FIX (TABLET & MOBILE)
   Lifts headset and back-to-top buttons above sticky bottom nav
   ========================================================= */
@media (max-width: 1199.98px) {
  .floating-actions-container {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    right: 16px !important;
  }
  .floating-chat-btn {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.25rem !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35) !important;
  }
  #backToTopBtn {
    width: 40px !important;
    height: 40px !important;
    font-size: 0.95rem !important;
  }
  .floating-chat-box {
    bottom: calc(134px + env(safe-area-inset-bottom, 0px)) !important;
    right: 16px !important;
    width: min(340px, calc(100vw - 32px)) !important;
  }
}
