@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #64748b;
  --paper: #f8fafc;
  --surface: #ffffff;
  --line: #e2e8f0;
  --green: #0284c7;
  --orange: #38bdf8;
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(14, 165, 233, .10), transparent 24rem),
    radial-gradient(circle at 88% 8%, rgba(139, 92, 246, .07), transparent 22rem),
    linear-gradient(to bottom, #f8fafc, #ffffff);
  color: var(--ink);
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #38bdf8; outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: sticky; z-index: 20; top: 14px; width: min(1320px, calc(100% - 48px)); height: 72px; margin: 14px auto 0; padding: 0 25px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(226, 232, 240, .95); border-radius: 18px; background: rgba(255, 255, 255, .82); box-shadow: 0 12px 35px rgba(15, 23, 42, .07); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: Manrope, sans-serif; font-size: 19px; font-weight: 800; letter-spacing: -.8px; }
.brand small { display: block; margin-top: 1px; color: #94a3b8; font-size: 7px; letter-spacing: 1.6px; line-height: 1; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: white; background: #0f172a; font-size: 16px; }
.brand-light { color: #94a3b8; }
.header-link, .back-to-top { color: #475569; font-size: 13px; font-weight: 600; }
.header-link { display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px; border: 1px solid #cbd5e1; border-radius: 999px; background: white; transition: border-color .2s, color .2s, transform .2s; }
.header-link:hover { transform: translateY(-1px); border-color: #7dd3fc; color: #0369a1; }
.eyebrow { margin: 0 0 14px; color: #0284c7; font-size: 10px; font-weight: 700; letter-spacing: 1.65px; }
.eyebrow-dot { width: 7px; height: 7px; display: inline-block; margin: 0 8px 1px 0; border-radius: 50%; background: #10b981; }
h1, h2, h3, p { margin-top: 0; }

.portal-hero {
  position: relative;
  width: min(1320px, calc(100% - 48px));
  min-height: 480px;
  margin: 24px auto 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 79% 23%, rgba(56, 189, 248, .2), transparent 19rem),
    radial-gradient(circle at 94% 84%, rgba(139, 92, 246, .17), transparent 20rem),
    linear-gradient(118deg, #0f172a 4%, #172338 58%, #1e293b);
  color: #f8fafc;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .16);
}
.portal-hero-inner {
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .92fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(38px, 5.2vw, 72px);
}
.portal-hero-copy { max-width: 610px; animation: portal-enter .7s ease both; }
.portal-hero .eyebrow { color: #7dd3fc; }
.portal-hero .eyebrow-dot { background: #38bdf8; box-shadow: 0 0 14px rgba(56, 189, 248, .8); }
.portal-hero h1 {
  margin: 0 0 19px;
  font-family: Manrope, sans-serif;
  font-size: clamp(42px, 5.2vw, 70px);
  font-weight: 700;
  line-height: .99;
  letter-spacing: -.065em;
}
.portal-hero h1 span { color: #7dd3fc; }
.portal-hero-lead { max-width: 520px; margin-bottom: 25px; color: #cbd5e1; font-size: 15px; line-height: 1.8; }
.hero-cta {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 18px;
  border: 1px solid #7dd3fc;
  border-radius: 999px;
  background: #38bdf8;
  color: #082f49;
  font-size: 12px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.hero-cta:hover { transform: translateY(-2px); background: #7dd3fc; box-shadow: 0 10px 24px rgba(56, 189, 248, .22); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 37px; }
.hero-facts div { display: grid; gap: 3px; }
.hero-facts strong { font-family: Manrope, sans-serif; font-size: 19px; letter-spacing: -.5px; }
.hero-facts span { color: #94a3b8; font-size: 10px; }
.portal-showcase {
  min-width: 0;
  padding: 17px;
  border: 1px solid rgba(203, 213, 225, .2);
  border-radius: 18px;
  background: rgba(15, 23, 42, .52);
  box-shadow: 0 22px 60px rgba(2, 6, 23, .24);
  backdrop-filter: blur(12px);
  animation: portal-enter .8s .12s ease both;
}
.showcase-topline, .showcase-bottom { display: flex; justify-content: space-between; gap: 12px; color: #94a3b8; font-size: 8px; font-weight: 700; letter-spacing: 1.1px; }
.showcase-topline { padding: 2px 2px 13px; }
.showcase-tiles { display: grid; grid-template-columns: 1.05fr .88fr 1fr; gap: 9px; }
.showcase-tile { position: relative; min-height: 220px; overflow: hidden; padding: 13px; border-radius: 9px; }
.showcase-tile > span { position: relative; z-index: 1; font-size: 7px; font-weight: 700; letter-spacing: .8px; }
.showcase-tile strong { position: relative; z-index: 1; display: block; margin-top: 29px; font-family: Manrope, sans-serif; font-size: clamp(17px, 2vw, 25px); line-height: 1.05; letter-spacing: -.06em; }
.showcase-tile em { color: #38bdf8; font-style: normal; }
.showcase-tile-editorial { background: linear-gradient(145deg, #334155, #111827); color: #f8fafc; }
.showcase-tile-editorial i { position: absolute; right: -26px; bottom: -34px; width: 130px; height: 130px; border: 1px solid rgba(125, 211, 252, .55); border-radius: 50%; box-shadow: 0 0 0 17px rgba(125, 211, 252, .07), 0 0 0 34px rgba(125, 211, 252, .05); }
.showcase-tile-product { background: #7dd3fc; color: #082f49; }
.showcase-tile-product strong { font-size: clamp(14px, 1.8vw, 21px); letter-spacing: -.035em; }
.showcase-tile-product b { position: absolute; right: 12px; bottom: 10px; font-size: 23px; }
.showcase-tile-digital { display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(150deg, #312e81, #172554); color: #f8fafc; }
.showcase-tile-digital strong { margin: auto 0 2px; font-size: clamp(16px, 1.9vw, 22px); }
.showcase-signal { width: 45px; height: 45px; align-self: center; margin-top: 17px; border: 1px solid rgba(196, 181, 253, .8); border-radius: 50%; background: radial-gradient(circle, #c4b5fd 0 4px, transparent 5px); box-shadow: 0 0 28px rgba(167, 139, 250, .55), inset 0 0 18px rgba(167, 139, 250, .25); }
.showcase-bottom { padding: 13px 2px 1px; font-size: 7px; }
.showcase-bottom b { color: #7dd3fc; font-size: 12px; }
.hero-bottomline { position: absolute; right: clamp(38px, 5.2vw, 72px); bottom: 18px; left: clamp(38px, 5.2vw, 72px); display: flex; justify-content: space-between; gap: 14px; padding-top: 12px; border-top: 1px solid rgba(203, 213, 225, .16); color: #94a3b8; font-size: 8px; font-weight: 700; letter-spacing: 1.1px; }
@keyframes portal-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.catalog-note { margin: -5px 0 24px; padding: 13px 16px; border: 1px solid #bae6fd; border-radius: 11px; background: #f0f9ff; color: #475569; font-size: 12px; line-height: 1.65; }
.catalog-note strong { color: #0369a1; }

.collection { width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding: clamp(48px, 6vw, 82px) 0 100px; }
.collection-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 32px; }
.collection-heading .eyebrow { margin-bottom: 13px; }
.collection-heading h2 { margin: 0; font-family: Manrope, sans-serif; font-size: clamp(36px, 4vw, 50px); line-height: 1.08; letter-spacing: -2.2px; }
.heading-period { color: var(--orange); }
.collection-intro { max-width: 380px; margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.toolbar { display: grid; grid-template-columns: minmax(210px, 280px) 1fr; align-items: center; gap: 20px; margin-bottom: 17px; padding: 16px; border: 1px solid #e2e8f0; border-radius: 16px; background: rgba(255, 255, 255, .78); }
.search-box { width: 100%; height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid #cbd5e1; border-radius: 11px; background: var(--surface); }
.search-icon { color: #84877e; font-size: 23px; line-height: 1; transform: rotate(-20deg); }
.search-box input { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-box input:focus-visible { outline: none; }
.search-box input::placeholder { color: #9c9e96; }
kbd { padding: 2px 6px; border: 1px solid #e6e4dc; border-radius: 3px; color: #999b93; font-size: 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { min-height: 35px; padding: 0 13px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; color: #64748b; cursor: pointer; font-size: 11px; transition: .18s ease; }
.filter-button:hover { border-color: #7dd3fc; color: #0369a1; }
.filter-button.is-active { border-color: #0f172a; background: #0f172a; color: white; box-shadow: 0 4px 10px rgba(15, 23, 42, .14); }
.results-count { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 17px; color: #72766c; font-size: 12px; font-weight: 600; }
.results-count::before { width: 7px; height: 7px; border-radius: 50%; background: #10b981; content: ""; }
.demo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.demo-card { min-width: 0; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 15px; background: var(--surface); box-shadow: 0 5px 18px rgba(15, 23, 42, .035); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.demo-card:hover { transform: translateY(-5px); border-color: #bae6fd; box-shadow: 0 18px 40px rgba(15, 23, 42, .10); }
.demo-card[hidden] { display: none; }
.demo-preview { width: 100%; height: clamp(190px, 19vw, 250px); position: relative; display: block; overflow: hidden; background: #e5e5de; }
.demo-screenshot { width: 360%; height: 360%; position: absolute; top: 0; left: 0; transform: scale(.2777778); transform-origin: top left; border: 0; pointer-events: none; }
.preview-label { position: absolute; z-index: 3; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: rgba(255,255,255,.82); color: #565a50; font-size: 8px; font-weight: 700; letter-spacing: .8px; backdrop-filter: blur(7px); }
.preview-dot { width: 5px; height: 5px; border-radius: 50%; background: #10b981; }
.preview-open { position: absolute; z-index: 3; right: 12px; bottom: 12px; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: white; color: #252721; cursor: pointer; font-size: 17px; box-shadow: 0 5px 14px rgba(20, 24, 21, .14); transition: transform .2s, background .2s; }
.demo-preview:hover .preview-open, .preview-open:focus-visible { transform: translate(2px, -2px); background: #e8bd8c; }

.card-info { padding: 20px 20px 21px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.category { padding: 6px 10px; border-radius: 999px; font-size: 9px; font-weight: 700; }
.category-wisata { background: #edf2e8; color: #55704f; }
.category-bisnis { background: #f5ece2; color: #a06743; }
.category-kreatif { background: #f3e8ec; color: #986477; }
.category-pendidikan { background: #f7f0d9; color: #8a7041; }
.category-kuliner { background: #f5e8df; color: #a5653d; }
.category-properti { background: #e8eee8; color: #54705b; }
.category-kesehatan { background: #f4e7e5; color: #a56570; }
.category-produk { background: #edf2d7; color: #667522; }
.category-pernikahan { background: #eee8f0; color: #80698d; }
.category-teknologi { background: #e9e9fc; color: #5b59a3; }
.card-number { color: #a0a197; font-size: 9px; letter-spacing: .7px; }
.card-info h3 { margin-bottom: 7px; font-family: Manrope, sans-serif; font-size: 20px; letter-spacing: -.6px; }
.card-info > p { min-height: 40px; margin-bottom: 18px; color: #777a72; font-size: 12px; line-height: 1.7; }
.card-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 12px; padding-top: 15px; border-top: 1px solid #eef2f7; }
.text-action, .tab-action { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 700; }
.text-action span { color: #0284c7; font-size: 14px; }
.tab-action { color: #878980; font-size: 10px; font-weight: 500; }
.tab-action:hover { color: var(--green); }
.empty-state { grid-column: 1 / -1; padding: 60px 20px; text-align: center; }
.empty-state > span { color: #adb2a5; font-size: 36px; }
.empty-state h3 { margin: 12px 0 7px; font-family: Manrope, sans-serif; font-size: 20px; }
.empty-state p { margin-bottom: 19px; color: var(--muted); font-size: 13px; }
.reset-button { padding: 10px 15px; border: 0; border-radius: 4px; background: var(--ink); color: white; cursor: pointer; font-size: 11px; }

.site-footer { width: min(1320px, calc(100% - 48px)); min-height: 94px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; border-top: 1px solid rgba(148, 163, 184, .24); }
.site-footer .brand { font-size: 16px; }
.site-footer .brand-mark { width: 26px; height: 26px; font-size: 13px; }
.site-footer p { margin: 0; color: #8b8d85; font-size: 11px; }

.preview-dialog { width: min(1340px, calc(100vw - 40px)); max-width: none; height: min(900px, calc(100vh - 40px)); max-height: none; overflow: hidden; padding: 0; border: 1px solid #deded7; border-radius: 9px; background: #f3f3ef; box-shadow: 0 25px 90px rgba(18, 24, 19, .28); }
.preview-dialog[open] { display: flex; flex-direction: column; }
.preview-dialog::backdrop { background: rgba(19, 23, 19, .7); backdrop-filter: blur(3px); }
.dialog-toolbar { min-height: 65px; display: flex; flex-shrink: 0; justify-content: space-between; align-items: center; gap: 20px; padding: 9px 16px 9px 20px; }
.dialog-kicker { color: #81847b; font-size: 8px; font-weight: 700; letter-spacing: 1.1px; }
.dialog-heading h2 { margin: 3px 0 0; font-family: Manrope, sans-serif; font-size: 14px; letter-spacing: -.3px; }
.dialog-controls { display: flex; align-items: center; gap: 12px; }
.size-switch { display: inline-flex; padding: 3px; border: 1px solid #e0e0d9; border-radius: 5px; background: white; }
.size-button { width: 30px; height: 27px; padding: 0; border: 0; border-radius: 3px; background: transparent; color: #82857d; cursor: pointer; font-size: 16px; }
.size-button.is-active { background: #e9eee8; color: #355a45; }
.dialog-tab { color: #686c63; font-size: 10px; }
.dialog-close { width: 31px; height: 31px; padding: 0 0 3px; border: 1px solid #e1e1da; border-radius: 50%; background: white; color: #5c6058; cursor: pointer; font-size: 23px; line-height: 1; }
.dialog-close:hover { background: #262923; color: white; }
.preview-stage { min-height: 0; flex: 1; display: flex; justify-content: center; overflow: auto; padding: 12px; background-color: #e7e7e0; background-image: radial-gradient(#c9cbc2 .7px, transparent .7px); background-size: 12px 12px; }
.preview-stage iframe { width: 100%; height: 100%; flex: 0 0 100%; border: 1px solid #d5d6cf; border-radius: 3px; background: white; box-shadow: 0 4px 18px rgba(32, 35, 31, .09); }
.preview-dialog.is-mobile { width: min(460px, calc(100vw - 24px)); height: min(850px, calc(100vh - 24px)); }
.preview-dialog.is-mobile .preview-stage { justify-content: center; }
.preview-dialog.is-mobile .preview-stage iframe { width: 390px; max-width: 100%; flex-basis: 390px; }

@media (max-width: 950px) {
  .portal-hero { min-height: 0; }
  .portal-hero-inner { min-height: 0; grid-template-columns: 1fr; gap: 35px; padding: 48px; }
  .portal-hero-copy { max-width: 700px; }
  .portal-showcase { width: min(100%, 620px); justify-self: center; }
  .showcase-tile { min-height: 190px; }
  .hero-bottomline { position: static; margin: 0 48px 18px; }
  .collection-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .toolbar { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .site-header { top: 8px; width: calc(100% - 24px); height: 64px; margin-top: 8px; padding: 0 14px; border-radius: 15px; }
  .brand { gap: 8px; font-size: 16px; }
  .brand-mark { width: 30px; height: 30px; border-radius: 9px; font-size: 14px; }
  .header-link { gap: 6px; padding: 9px 11px; font-size: 10px; }
  .portal-hero { width: calc(100% - 24px); margin-top: 13px; border-radius: 21px; }
  .portal-hero-inner { gap: 29px; padding: 34px 20px 25px; }
  .portal-hero .eyebrow { font-size: 8px; letter-spacing: 1.15px; }
  .portal-hero h1 { font-size: clamp(39px, 11vw, 54px); }
  .portal-hero-lead { font-size: 13px; }
  .hero-facts { gap: 19px; margin-top: 28px; }
  .hero-facts strong { font-size: 17px; }
  .hero-facts span { font-size: 9px; }
  .portal-showcase { padding: 11px; border-radius: 14px; }
  .showcase-tiles { gap: 6px; }
  .showcase-tile { min-height: 150px; padding: 9px; border-radius: 7px; }
  .showcase-tile > span { font-size: 6px; letter-spacing: .4px; }
  .showcase-tile strong { margin-top: 23px; font-size: clamp(15px, 5vw, 20px); }
  .showcase-tile-product strong { font-size: clamp(12px, 4vw, 17px); }
  .showcase-tile-digital strong { font-size: clamp(14px, 4.5vw, 18px); }
  .showcase-signal { width: 34px; height: 34px; }
  .showcase-bottom { font-size: 6px; letter-spacing: .55px; }
  .hero-bottomline { margin: 0 20px 15px; font-size: 6px; letter-spacing: .65px; }
  .catalog-note { margin: -3px 0 18px; padding: 11px 12px; font-size: 11px; }
  .collection { width: calc(100% - 32px); padding: 44px 0 64px; }
  .collection-heading { gap: 9px; margin-bottom: 23px; }
  .collection-heading .eyebrow { margin-bottom: 10px; font-size: 9px; }
  .collection-heading h2 { font-size: clamp(34px, 9vw, 42px); letter-spacing: -1.7px; }
  .collection-intro { font-size: 12px; }
  .toolbar { gap: 12px; margin-bottom: 14px; padding: 12px; border-radius: 14px; }
  .search-box { width: 100%; }
  .filters { gap: 5px; }
  .filter-button { min-height: 32px; padding: 0 11px; font-size: 10px; }
  .demo-grid { grid-template-columns: 1fr; gap: 15px; }
  .demo-preview { height: clamp(205px, 58vw, 260px); }
  .card-info { padding: 17px; }
  .card-info h3 { font-size: 19px; }
  .card-info > p { min-height: 0; }
  .site-footer { width: calc(100% - 32px); min-height: 95px; flex-wrap: wrap; gap: 12px; padding: 18px 0; }
  .site-footer p { order: 3; width: 100%; }
  .back-to-top { font-size: 10px; }
  .preview-dialog { width: calc(100vw - 20px); height: calc(100vh - 20px); }
  .dialog-toolbar { min-height: 60px; padding-right: 10px; padding-left: 13px; }
  .dialog-controls { gap: 7px; }
  .dialog-tab { font-size: 9px; }
  .preview-dialog.is-mobile { width: calc(100vw - 12px); height: calc(100vh - 12px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
