:root {
  --portal-navy: #061a40;
  --portal-navy-2: #0a2e69;
  --portal-blue: #175cc6;
  --portal-gold: #e2ae36;
  --portal-gold-light: #ffe29a;
  --portal-ink: #10233f;
  --portal-muted: #65748a;
  --portal-surface: #f5f8fc;
  --portal-border: rgba(13, 45, 89, .12);
  --portal-shadow: 0 22px 60px rgba(9, 35, 72, .12);
}

html { scroll-behavior: smooth; }
body { color: var(--portal-ink); background: var(--bs-body-bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; overflow-x: hidden; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 9999; background: #fff; color: #111; padding: .75rem 1rem; border-radius: .75rem; transition: top .2s; }
.skip-link:focus { top: 1rem; }
.top-strip { position: relative; z-index: 1040; color: rgba(255,255,255,.82); background: var(--portal-navy); min-height: 38px; }
.top-strip a { color: inherit; text-decoration: none; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 5px rgba(74,222,128,.14); }
.portal-navbar { top: 38px; padding: .9rem 0; transition: .25s ease; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(8,36,77,.07); }
.portal-navbar.scrolled { top: 0; box-shadow: 0 12px 35px rgba(8,35,74,.1); }
.navbar-brand img { border-radius: 14px; box-shadow: 0 9px 24px rgba(6,26,64,.15); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { color: var(--portal-navy); letter-spacing: .03em; font-size: 1rem; }
.brand-copy small { color: var(--portal-muted); margin-top: .3rem; font-size: .74rem; }
.portal-navbar .nav-link { color: #30425c; font-weight: 650; padding: .75rem .85rem !important; }
.portal-navbar .nav-link:hover { color: var(--portal-blue); }
.btn-icon { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 13px; background: rgba(13,74,151,.07); color: var(--portal-navy); border: 1px solid rgba(9,46,99,.08); }
.system-notice { padding-top: 8rem; background: #eef4fc; }
.hero-section { color: #fff; background: radial-gradient(circle at 75% 20%, rgba(41,111,223,.42), transparent 34%), linear-gradient(135deg, #04132f 0%, #08275b 55%, #0c3d87 100%); }
.hero-row { min-height: 790px; padding-top: 9rem !important; }
.hero-grid { position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, black, transparent 88%); }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 410px; height: 410px; right: -130px; top: 100px; background: radial-gradient(circle, rgba(226,174,54,.24), transparent 70%); }
.orb-two { width: 330px; height: 330px; left: -170px; bottom: -70px; background: radial-gradient(circle, rgba(54,141,255,.24), transparent 70%); }
.hero-badge { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .85rem; margin-bottom: 1.25rem; color: #ffe8ab; border: 1px solid rgba(255,219,128,.3); background: rgba(255,255,255,.08); border-radius: 999px; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-title { font-size: clamp(3rem, 6vw, 5.65rem); font-weight: 850; letter-spacing: -.055em; line-height: .98; }
.hero-title span { color: var(--portal-gold-light); }
.hero-lead { color: rgba(255,255,255,.75); max-width: 700px; font-size: 1.12rem; line-height: 1.8; }
.hero-search-wrap { max-width: 650px; position: relative; }
.search-icon { position: absolute; z-index: 2; left: 1.25rem; top: 50%; transform: translateY(-50%); color: #53667f; }
.hero-search { height: 60px; padding-left: 3.25rem; padding-right: 5rem; border: 0; border-radius: 18px; background: rgba(255,255,255,.97); box-shadow: 0 18px 50px rgba(0,0,0,.2); }
.search-shortcut { position: absolute; right: .95rem; top: 50%; transform: translateY(-50%); color: #6c7a90; font-size: .72rem; padding: .35rem .55rem; border-radius: .45rem; background: #edf1f6; }
.btn-gold { color: #15223a; border: 0; background: linear-gradient(135deg, #ffe08a, #dca225); font-weight: 800; box-shadow: 0 12px 28px rgba(217,158,31,.24); }
.btn-gold:hover { color: #111c30; transform: translateY(-2px); background: linear-gradient(135deg, #ffe7a7, #e4ad32); }
.btn-outline-hero { color: #fff; border: 1px solid rgba(255,255,255,.36); background: rgba(255,255,255,.06); font-weight: 700; }
.btn-outline-hero:hover { color: #fff; background: rgba(255,255,255,.13); }
.hero-metrics { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.hero-metrics div { display: flex; flex-direction: column; }
.hero-metrics strong { font-size: 1.65rem; color: #fff; }
.hero-metrics span { font-size: .8rem; color: rgba(255,255,255,.58); text-transform: uppercase; letter-spacing: .08em; }
.portal-preview { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.1); box-shadow: 0 35px 90px rgba(0,0,0,.28); backdrop-filter: blur(18px); }
.floating-card { animation: floatCard 5s ease-in-out infinite; }
@keyframes floatCard { 0%,100% { transform: translateY(0) rotate(1deg); } 50% { transform: translateY(-12px) rotate(0deg); } }
.preview-header { padding: 1.15rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.13); }
.preview-logo { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(135deg, #f7d16a, #cf9322); color: #17305a; }
.preview-header strong, .preview-header small { display: block; }
.preview-header small { color: rgba(255,255,255,.55); font-size: .72rem; }
.preview-live { font-size: .72rem; padding: .42rem .65rem; border-radius: 999px; background: rgba(38,190,111,.14); color: #8ef1b8; }
.preview-live span { display: inline-block; width: 7px; height: 7px; margin-right: .35rem; border-radius: 50%; background: #4ade80; }
.preview-body { padding: 1.6rem; }
.preview-welcome small { color: rgba(255,255,255,.58); }
.preview-welcome h2 { margin: .2rem 0 .6rem; font-weight: 850; letter-spacing: -.03em; }
.preview-welcome p { color: rgba(255,255,255,.65); }
.preview-apps { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-top: 1.4rem; }
.mini-app { min-height: 98px; padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; border-radius: 17px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.1); }
.mini-app i { color: #ffe08a; font-size: 1.4rem; }
.mini-app span { color: rgba(255,255,255,.85); font-size: .78rem; font-weight: 700; }
.preview-glow { position: absolute; width: 170px; height: 170px; right: -50px; bottom: -70px; border-radius: 50%; background: rgba(255,205,91,.2); filter: blur(15px); }
.scroll-indicator { position: absolute; left: 50%; bottom: 2rem; width: 28px; height: 46px; transform: translateX(-50%); border-radius: 20px; border: 1px solid rgba(255,255,255,.32); }
.scroll-indicator span { display: block; width: 4px; height: 8px; margin: 9px auto; border-radius: 4px; background: #fff; animation: scrollDot 1.7s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(18px); } }
.section-padding { padding: 6.5rem 0; }
.apps-section { background: var(--portal-surface); }
.section-kicker { display: inline-block; color: var(--portal-blue); font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .65rem; }
.section-title { color: var(--portal-navy); font-size: clamp(2rem, 3.5vw, 3.3rem); font-weight: 830; letter-spacing: -.04em; line-height: 1.08; }
.section-subtitle { color: var(--portal-muted); font-size: 1rem; line-height: 1.75; }
.section-search { position: relative; }
.section-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #718199; }
.section-search input { min-height: 52px; padding-left: 2.85rem; border-radius: 15px; border-color: var(--portal-border); background: var(--bs-body-bg); }
.subsection-title { color: var(--portal-navy); font-size: 1.15rem; font-weight: 800; }
.category-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0 1.25rem; border-bottom: 1px solid var(--portal-border); }
.category-filters { display: flex; flex-wrap: wrap; gap: .65rem; }
.category-btn { border: 1px solid var(--portal-border); color: #4d5f77; background: var(--bs-body-bg); border-radius: 999px; padding: .65rem .9rem; font-size: .83rem; font-weight: 700; transition: .2s; }
.category-btn span { margin-left: .35rem; padding: .12rem .42rem; border-radius: 999px; background: rgba(16,57,111,.07); }
.category-btn.active, .category-btn:hover { color: #fff; border-color: var(--portal-navy); background: var(--portal-navy); }
.category-btn.active span { background: rgba(255,255,255,.15); }
.result-count { color: var(--portal-muted); white-space: nowrap; font-size: .86rem; }
.app-card { position: relative; overflow: hidden; padding: 1.5rem; border: 1px solid var(--portal-border); border-radius: 23px; background: var(--bs-body-bg); box-shadow: 0 12px 35px rgba(10,45,91,.06); transition: .25s ease; }
.app-card:hover { transform: translateY(-7px); box-shadow: var(--portal-shadow); border-color: rgba(21,91,192,.22); }
.app-card.featured::before { content: "Unggulan"; position: absolute; right: -35px; top: 20px; width: 130px; text-align: center; padding: .25rem; transform: rotate(42deg); color: #21304c; background: #f3c456; font-size: .63rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.app-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.app-icon { width: 62px; height: 62px; display: grid; place-items: center; overflow: hidden; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #0c316d, #2170d7); box-shadow: 0 11px 25px rgba(18,79,163,.22); font-size: 1.6rem; }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.favorite-btn { width: 38px; height: 38px; display: grid; place-items: center; color: #8290a4; border: 0; border-radius: 11px; background: rgba(11,50,105,.06); }
.favorite-btn.active { color: #e5ad24; background: rgba(229,173,36,.12); }
.app-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin: 1.25rem 0 .8rem; }
.app-meta > span:first-child { color: var(--portal-blue); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.audience-badge { color: #687890 !important; border-radius: 999px; padding: .3rem .55rem; background: rgba(26,68,123,.06); font-size: .7rem !important; text-transform: none !important; letter-spacing: 0 !important; }
.app-card h3 { color: var(--portal-navy); font-size: 1.18rem; font-weight: 830; }
.app-card p { color: var(--portal-muted); line-height: 1.65; min-height: 78px; }
.app-card-footer { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--portal-border); }
.app-open-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--portal-blue); font-weight: 800; text-decoration: none; font-size: .84rem; }
.verified-badge, .config-badge { font-size: .68rem; }
.verified-badge { color: #16824c; }
.config-badge { color: #a66a14; }
.app-card-compact p { min-height: auto; }
.empty-state { padding: 5rem 1rem; text-align: center; }
.empty-icon { width: 80px; height: 80px; display: grid; place-items: center; margin: 0 auto 1rem; color: var(--portal-blue); background: rgba(23,92,198,.08); border-radius: 50%; font-size: 2rem; }
.value-section { background: var(--bs-body-bg); }
.value-card { padding: 2rem; border: 1px solid var(--portal-border); border-radius: 22px; background: var(--bs-body-bg); }
.value-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; margin-bottom: 1.25rem; color: var(--portal-blue); background: rgba(23,92,198,.09); font-size: 1.45rem; }
.value-card h3 { color: var(--portal-navy); font-weight: 820; }
.value-card p { color: var(--portal-muted); line-height: 1.7; margin: 0; }
.about-section { background: #eef4fb; }
.about-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.about-main-card { max-width: 440px; padding: 2.4rem; color: #fff; border-radius: 30px; background: linear-gradient(140deg, #061a40, #0c3d86); box-shadow: 0 30px 80px rgba(6,26,64,.24); }
.about-main-card img { border-radius: 22px; margin-bottom: 1.4rem; }
.text-gold { color: #f3ca67 !important; }
.about-main-card h2 { font-weight: 880; font-size: 2.4rem; letter-spacing: -.04em; }
.about-main-card p { color: rgba(255,255,255,.7); line-height: 1.7; }
.about-chip { position: absolute; padding: .8rem 1rem; border-radius: 999px; color: var(--portal-navy); background: #fff; box-shadow: var(--portal-shadow); font-weight: 800; font-size: .82rem; }
.chip-one { left: 0; top: 22%; }.chip-two { right: 0; top: 46%; }.chip-three { left: 8%; bottom: 8%; }
.about-list { display: grid; gap: 1rem; }
.about-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--portal-border); }
.about-item > i { color: var(--portal-blue); font-size: 1.45rem; }
.about-item div { display: flex; flex-direction: column; gap: .25rem; }
.about-item strong { color: var(--portal-navy); }
.about-item span { color: var(--portal-muted); }
.faq-section { background: var(--bs-body-bg); }
.help-card { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border: 1px solid var(--portal-border); border-radius: 20px; background: var(--portal-surface); }
.help-card > i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: var(--portal-blue); font-size: 1.25rem; }
.help-card div { display: flex; flex-direction: column; }
.help-card span { color: var(--portal-muted); font-size: .87rem; }
.portal-accordion .accordion-item { overflow: hidden; margin-bottom: .75rem; border: 1px solid var(--portal-border); border-radius: 16px !important; }
.portal-accordion .accordion-button { color: var(--portal-navy); font-weight: 780; box-shadow: none; }
.portal-accordion .accordion-button:not(.collapsed) { color: var(--portal-blue); background: rgba(23,92,198,.07); }
.portal-accordion .accordion-body { color: var(--portal-muted); line-height: 1.75; }
.cta-section { padding: 1rem 0 5.5rem; background: var(--bs-body-bg); }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.5rem; border-radius: 28px; color: #fff; background: linear-gradient(135deg, #071a3d, #0a397e); box-shadow: 0 30px 70px rgba(6,26,64,.2); }
.cta-card > div > span { color: #f5cb67; font-size: .75rem; font-weight: 850; letter-spacing: .12em; }
.cta-card h2 { font-weight: 850; margin: .4rem 0; }
.cta-card p { color: rgba(255,255,255,.65); margin: 0; }
.portal-footer { color: rgba(255,255,255,.7); background: #041128; }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand strong { color: #fff; }
.footer-brand span { font-size: .85rem; }
.footer-note { max-width: 600px; font-size: .83rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem; }
.footer-links a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .85rem; }
.footer-links a:hover { color: #fff; }
.copyright { font-size: .8rem; }
.back-to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 1040; width: 45px; height: 45px; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); color: #fff; border: 0; border-radius: 14px; background: var(--portal-blue); transition: .2s; box-shadow: 0 12px 28px rgba(23,92,198,.25); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.service-modal-content { border: 0; border-radius: 26px; box-shadow: 0 30px 90px rgba(5,25,58,.22); }
.service-modal-content .modal-header { padding: 2rem 2rem 1rem; }
.service-modal-content .modal-body { padding: 1rem 2rem 2rem; }
.service-card { height: 100%; display: flex; flex-direction: column; padding: 1.5rem; border-radius: 20px; border: 1px solid var(--portal-border); background: var(--bs-body-bg); box-shadow: 0 12px 30px rgba(10,42,86,.06); transition: .2s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--portal-shadow); }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 1rem; color: var(--portal-blue); border-radius: 16px; background: rgba(23,92,198,.09); font-size: 1.3rem; }
.service-card h3 { color: var(--portal-navy); font-size: 1rem; font-weight: 820; line-height: 1.45; }
.service-card p { color: var(--portal-muted); font-size: .87rem; line-height: 1.6; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }.reveal-delay-2 { transition-delay: .2s; }
[data-bs-theme="dark"] { --portal-ink: #e7edf7; --portal-muted: #9aa9bd; --portal-surface: #07162d; --portal-border: rgba(255,255,255,.1); }
[data-bs-theme="dark"] body { background: #061126; }
[data-bs-theme="dark"] .portal-navbar { background: rgba(5,18,39,.94); }
[data-bs-theme="dark"] .brand-copy strong, [data-bs-theme="dark"] .portal-navbar .nav-link, [data-bs-theme="dark"] .section-title, [data-bs-theme="dark"] .app-card h3, [data-bs-theme="dark"] .value-card h3, [data-bs-theme="dark"] .about-item strong, [data-bs-theme="dark"] .subsection-title, [data-bs-theme="dark"] .service-card h3 { color: #eef5ff; }
[data-bs-theme="dark"] .apps-section, [data-bs-theme="dark"] .about-section { background: #07162d; }
[data-bs-theme="dark"] .app-card, [data-bs-theme="dark"] .value-card, [data-bs-theme="dark"] .category-btn, [data-bs-theme="dark"] .service-card { background: #0b1d38; }
[data-bs-theme="dark"] .faq-section, [data-bs-theme="dark"] .value-section, [data-bs-theme="dark"] .cta-section { background: #061126; }
[data-bs-theme="dark"] .help-card { background: #0b1d38; }

@media (max-width: 991.98px) {
  .top-strip { display: none !important; }
  .portal-navbar, .portal-navbar.scrolled { top: 0; }
  .hero-row { min-height: auto; padding-top: 9rem !important; padding-bottom: 7rem !important; }
  .hero-title { font-size: clamp(3rem, 11vw, 4.8rem); }
  .navbar-collapse { margin-top: .8rem; padding: 1rem; border-radius: 16px; background: var(--bs-body-bg); box-shadow: 0 18px 45px rgba(8,35,74,.14); }
  .category-toolbar { align-items: flex-start; flex-direction: column; }
  .about-visual { min-height: 450px; }
  .cta-card { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 575.98px) {
  .section-padding { padding: 4.5rem 0; }
  .hero-title { font-size: 3.1rem; }
  .hero-metrics { gap: 1.5rem; }
  .app-card-footer { align-items: flex-start; flex-direction: column; }
  .about-chip { display: none; }
  .about-visual { min-height: 0; }
  .cta-card { padding: 1.6rem; }
}
