/*
 * aksaraoffice.id — Paket Aplikasi Perkantoran Desktop Indonesia
 * Mendukung Transformasi Society 5.0 & Smart City (Puskomedia & Pustekno)
 */

:root {
    /* Palet Utama Aksara */
    --blue: #1f4fd8;
    --blue-600: #1942b8;
    --blue-700: #143596;
    --blue-900: #0c1f5e;
    --blue-50: #eef3ff;
    --blue-100: #d9e5ff;
    --blue-200: #b8ceff;

    /* Aksen Kunyit Nusantara */
    --accent: #f5a623;
    --accent-600: #d98b0e;
    --accent-50: #fff8eb;
    --accent-100: #ffebc2;

    /* Warna Empat Aplikasi Utama */
    --tulis: #2563eb;
    --tulis-50: #eff6ff;
    --tulis-100: #dbeafe;
    --hitung: #14975a;
    --hitung-50: #e6f7ef;
    --hitung-100: #c6eedb;
    --paparan: #ea580c;
    --paparan-50: #fff1e8;
    --paparan-100: #ffdec9;
    --pdf: #e11d48;
    --pdf-50: #fff0f3;
    --pdf-100: #ffd9e1;

    /* Netral & Permukaan */
    --bg: #ffffff;
    --bg-subtle: #f5f8fc;
    --soft: #f5f8fc;
    --navy: #081229;
    --navy-2: #0f214a;
    --text: #0f172a;
    --text-2: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --line-2: #cbd5e1;
    --line-strong: #cbd5e1;

    --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    --font-serif: "Source Serif 4", Georgia, serif;
    --font-mono: "JetBrains Mono", monospace;
    --font-jv: "Noto Sans Javanese", sans-serif;

    --radius-xl: 22px;
    --radius-lg: 16px;
    --radius: 14px;
    --radius-sm: 8px;

    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 4px 12px -2px rgba(15, 23, 42, 0.07);
    --shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.1);
    --shadow-md: 0 16px 36px -8px rgba(15, 23, 42, 0.11);
    --shadow-window: 0 0 0 1px rgba(15, 23, 42, 0.08), 0 28px 70px -12px rgba(12, 31, 94, 0.24), 0 50px 100px -24px rgba(31, 79, 216, 0.2);

    --maxw: 1240px;
    --gutter: clamp(18px, 4vw, 36px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: all 0.18s ease; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; color: var(--text); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
main:focus { outline: none; }
.icon { flex: none; display: inline-block; vertical-align: middle; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 760px; }
.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px;
    background: var(--blue); color: #fff; font-weight: 700; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }
.preview-bar { background: var(--accent); color: #3b2a00; padding: 8px var(--gutter); font-size: 14px; font-weight: 600; }
.preview-bar a { color: inherit; text-decoration: underline; }

/* ------------------------------------------------ Top Vision Banner */

.top-banner {
    background: linear-gradient(90deg, #081229 0%, #143596 50%, #081229 100%);
    color: #eef3ff;
    font-size: 13.5px;
    padding: 9px var(--gutter);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.top-banner-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.top-banner-left { display: flex; align-items: center; gap: 10px; }
.badge-vision {
    background: linear-gradient(135deg, #f5a623 0%, #fbbf24 100%);
    color: #1e1300;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
}
.top-banner a { color: #ffd479; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------ Sticky Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    flex: none;
}
.brand:hover { text-decoration: none; color: var(--text); }
.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, #2563eb 0%, #143596 100%);
    box-shadow: 0 6px 16px -4px rgba(31, 79, 216, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    display: grid;
    place-items: center;
    flex: none;
}
.brand-wordmark { display: flex; flex-direction: column; }
.brand-title { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.brand-title span { color: var(--blue); }
.brand-sub { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; margin-top: 2px; }

.site-nav { display: flex; justify-content: center; flex: 1; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-subtle);
    padding: 5px;
    border-radius: 999px;
    border: 1px solid var(--line);
}
.nav-links a {
    display: block;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
}
.nav-links a:hover, .nav-links a[aria-current] {
    background: #fff;
    color: var(--blue);
    box-shadow: var(--shadow-xs);
    text-decoration: none;
}

.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-disclosure { display: none; }
.nav-disclosure > summary { list-style: none; }
.nav-disclosure > summary::-webkit-details-marker { display: none; }
.nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.nav-disclosure[open] .nav-toggle-bars { background: transparent; }
.nav-disclosure[open] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-disclosure[open] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* ------------------------------------------------ Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 700;
    font-size: 15px;
    padding: 11px 22px;
    border-radius: 11px;
    border: 1.5px solid transparent;
    transition: all 0.18s ease;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 9px; }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 13px; }
.btn-primary {
    background: linear-gradient(180deg, #275be8 0%, #183fb2 100%);
    color: #fff;
    box-shadow: 0 10px 22px -6px rgba(31, 79, 216, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover {
    background: linear-gradient(180deg, #1f4fd8 0%, #12318f 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -6px rgba(31, 79, 216, 0.65);
}
.btn-secondary, .btn-outline {
    background: #fff;
    color: var(--text);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-xs);
}
.btn-secondary:hover, .btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-50);
}
.text-link { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

/* ------------------------------------------------ Hero Section */

.hero {
    position: relative;
    padding: clamp(48px, 6vw, 84px) 0 clamp(68px, 8vw, 108px);
    background:
        radial-gradient(65% 55% at 50% 0%, rgba(217, 229, 255, 0.78) 0%, rgba(255, 255, 255, 0) 75%),
        radial-gradient(35% 35% at 85% 18%, rgba(255, 235, 194, 0.55) 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, #f8faff 0%, #ffffff 48%);
    overflow: hidden;
}
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(31, 79, 216, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(31, 79, 216, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 30%, transparent 80%);
    pointer-events: none;
}

.hero-header {
    position: relative;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px 6px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--blue-200);
    box-shadow: var(--shadow-sm);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--blue-700);
    margin-bottom: 22px;
}
.status-pill-dot {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--hitung-50);
    display: grid;
    place-items: center;
    flex: none;
}
.status-pill-dot::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hitung);
}

.hero-title {
    font-size: clamp(38px, 5.8vw, 66px);
    line-height: 1.06;
    letter-spacing: -0.035em;
    margin-bottom: 20px;
}
.hero-title .highlight {
    background: linear-gradient(120deg, var(--blue) 0%, #0d9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-javanese-accent {
    display: inline-block;
    font-family: var(--font-jv);
    font-size: 0.42em;
    font-weight: 400;
    color: var(--accent-600);
    background: var(--accent-50);
    border: 1px solid var(--accent-100);
    padding: 2px 12px;
    border-radius: 999px;
    vertical-align: middle;
    margin-left: 6px;
    letter-spacing: 0;
    -webkit-text-fill-color: var(--accent-600);
}

.hero-lead {
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--text-2);
    max-width: 66ch;
    margin: 0 auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.hero-meta {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--text-2);
    font-weight: 600;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Interactive Switcher Bar */
.workspace-switcher-bar {
    margin: 44px auto 16px;
    max-width: 1120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.suite-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    padding: 5px;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-xs);
    flex-wrap: wrap;
}
.suite-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 0;
    background: transparent;
    color: var(--text-2);
    font-weight: 700;
    font-size: 13.5px;
    transition: all 0.15s ease;
}
.suite-tab-btn:hover { background: var(--bg-subtle); }
.suite-tab-btn.is-active {
    background: var(--navy);
    color: #fff;
    box-shadow: var(--shadow-xs);
}
.suite-dot { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.smart-sync-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    background: var(--blue-50);
    color: var(--blue-700);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--blue-200);
}

/* Desktop Window Stage */
.desktop-stage {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
}
.desktop-glow {
    position: absolute;
    inset: 5% 3% -4%;
    background: linear-gradient(125deg, rgba(37, 99, 235, 0.24), rgba(20, 151, 90, 0.2) 48%, rgba(234, 88, 12, 0.22));
    filter: blur(44px);
    border-radius: 32px;
    z-index: 0;
    pointer-events: none;
}
.os-window {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-window);
    border: 1px solid #cbd5e1;
    overflow: hidden;
    text-align: left;
}
.os-titlebar {
    background: #e8edf5;
    border-bottom: 1px solid #cbd5e1;
    display: flex;
    align-items: flex-end;
    padding: 8px 12px 0;
    gap: 4px;
    user-select: none;
}
.os-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px 8px 2px;
    font-weight: 800;
    font-size: 12.5px;
    color: var(--navy);
}
.os-tabs {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    overflow-x: auto;
    flex: 1;
}
.os-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 9px 9px 0 0;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid transparent;
    border-bottom: 0;
    cursor: pointer;
    white-space: nowrap;
}
.os-tab:hover { background: rgba(255, 255, 255, 0.82); }
.os-tab.is-active {
    background: #fff;
    color: var(--text);
    font-weight: 700;
    border-color: #cbd5e1;
}
.os-window-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 4px 10px 12px;
}
.os-window-controls span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 1.5px solid #94a3b8;
}

.os-pane { display: none; min-height: 510px; }
.os-pane.is-active { display: block; }

/* PANE 1: BERANDA AKSARA */
.home-pane-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: 510px;
}
.app-sidebar {
    background: #f8fafc;
    border-right: 1px solid var(--line);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.app-side-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
    border: 0;
    background: transparent;
    width: 100%;
    text-align: left;
    transition: background 0.15s, color 0.15s;
}
.app-side-item:hover {
    background: #eef2f7;
}
.app-side-item.is-active {
    background: var(--blue-50);
    color: var(--blue);
    font-weight: 700;
}
.app-side-footer {
    margin-top: auto;
    padding: 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 12px;
}
.ready-indicator {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    color: var(--hitung);
    margin-bottom: 4px;
}
.ready-indicator::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hitung);
    box-shadow: 0 0 0 3px var(--hitung-50);
}

.home-pane-main { padding: 22px 28px; background: #fff; }
.home-pane-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.home-greeting h3 { font-size: 18px; }
.home-greeting p { font-size: 13px; color: var(--muted); }
.home-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 13px;
    color: var(--muted);
    min-width: 270px;
    background: #f8fafc;
}
.home-search input {
    border: 0;
    background: transparent;
    font: inherit;
    color: var(--text);
    width: 100%;
    outline: none;
}
.tpl-mini-card {
    padding: 0;
    text-align: left;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.tpl-mini-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--blue);
}
.recent-row-clickable {
    cursor: pointer;
    transition: background 0.12s ease;
}
.recent-row-clickable:hover td {
    background: var(--blue-50);
}
.tb-chip {
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid var(--line-strong);
    background: #fff;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 600;
    transition: all 0.14s ease;
}
.tb-chip:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-50);
}
.tb-chip.is-active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}
.tb-chip.tb-chip-danger {
    background: var(--pdf-50);
    color: var(--pdf);
    border-color: var(--pdf-100);
}
.tb-chip.tb-chip-danger:hover {
    background: var(--pdf);
    color: #fff;
}
.sheet-clickable-row {
    cursor: pointer;
    transition: background 0.12s ease;
}
.sheet-clickable-row:hover td {
    background: #f8fafc;
}
.sheet-clickable-row.is-selected-row td {
    background: #f0fdf4;
}
.slide-thumb-btn {
    background: #fff;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 10px;
    text-align: left;
    font-size: 11px;
    color: var(--text-2);
    transition: all 0.15s ease;
    width: 100%;
}
.slide-thumb-btn:hover {
    border-color: var(--blue);
}
.slide-thumb-btn.is-active {
    border-color: var(--paparan);
    background: var(--paparan-50);
    color: var(--text);
    box-shadow: var(--shadow-xs);
}
.slide-mini-box {
    height: 44px;
    background: #fff;
    border: 1px solid #dbe3f0;
    border-radius: 4px;
    margin-top: 5px;
    padding: 7px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.slide-mini-box span {
    height: 5px;
    border-radius: 2px;
    display: block;
}
.slide-mini-box small {
    height: 4px;
    background: #cbd5e1;
    border-radius: 2px;
    display: block;
}
.slide-stage-card {
    display: none;
    aspect-ratio: 16 / 9;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 58%, var(--paparan-50) 100%);
    border-left: 6px solid var(--paparan);
    transition: all 0.2s ease;
}
.slide-stage-card.is-active {
    display: flex;
}
.slide-stage-card[data-theme="samudra"] {
    background: linear-gradient(135deg, #ffffff 55%, var(--blue-50) 100%);
    border-left-color: var(--blue);
}
.slide-stage-card[data-theme="samudra"] .slide-kicker { color: var(--blue); }
.slide-stage-card[data-theme="zamrud"] {
    background: linear-gradient(135deg, #ffffff 55%, var(--hitung-50) 100%);
    border-left-color: var(--hitung);
}
.slide-stage-card[data-theme="zamrud"] .slide-kicker { color: var(--hitung); }
.slide-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--paparan);
}
.slide-main-title {
    font-size: 22px;
    margin-top: 6px;
    color: var(--text);
}
.slide-main-sub {
    font-size: 13.5px;
    color: var(--text-2);
    margin-top: 8px;
}
.slide-badges-row {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-2);
}
.slide-badges-row span {
    padding: 5px 12px;
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
}
.slide-chart-bars {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}
.slide-bar-row {
    display: grid;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
}
.slide-bar-track {
    background: #f1f5f9;
    border-radius: 6px;
    overflow: hidden;
    height: 22px;
}
.slide-bar-fill {
    height: 100%;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 6px;
}
.pdf-page-view { display: none; }
.pdf-page-view.is-active { display: block; }

.pane-section-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin: 18px 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.create-new-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.create-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.15s;
    text-align: left;
}
.create-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.create-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
    font-size: 16px;
    flex: none;
}
.create-meta strong { display: block; font-size: 13.5px; color: var(--text); }
.create-meta span { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); }

.template-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.tpl-mini-card {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
}
.tpl-mini-preview {
    height: 92px;
    padding: 10px 14px 0;
    background: linear-gradient(180deg, #eef3ff 0%, #f8fafc 100%);
}
.tpl-preview-hitung { background: linear-gradient(180deg, #e6f7ef 0%, #f8fafc 100%); }
.tpl-preview-accent { background: linear-gradient(180deg, #fff8eb 0%, #f8fafc 100%); }
.tpl-preview-paparan { background: linear-gradient(180deg, #fff1e8 0%, #f8fafc 100%); }
.tpl-paper {
    background: #fff;
    height: 100%;
    border-radius: 4px 4px 0 0;
    border: 1px solid #dbe3f0;
    border-bottom: 0;
    padding: 8px;
    font-size: 7.5px;
    line-height: 1.35;
    color: #334155;
    overflow: hidden;
}
.tpl-paper-kop {
    text-align: center;
    font-weight: 800;
    border-bottom: 1.5px double #0f172a;
    padding-bottom: 3px;
    margin-bottom: 4px;
    font-size: 7px;
}
.tpl-mini-foot {
    padding: 8px 10px;
    background: #fff;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
}
.tpl-mini-tag {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--blue-50);
    color: var(--blue);
    font-weight: 700;
}

.recent-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.recent-table td {
    padding: 9px 8px;
    border-bottom: 1px solid var(--line);
}
.recent-table tr:last-child td { border-bottom: 0; }
.recent-file-cell { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.recent-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 5px;
    font-weight: 600;
}

/* PANE 2: AKSARA TULIS */
.editor-toolbar {
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12.5px;
}
.toolbar-menu {
    display: flex;
    gap: 14px;
    font-weight: 600;
    color: var(--text-2);
    padding-right: 12px;
    border-right: 1px solid var(--line-strong);
}
.toolbar-group {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-right: 10px;
    border-right: 1px solid var(--line);
}
.tb-pill {
    padding: 4px 9px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid var(--line-strong);
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
}
.tb-btn {
    padding: 4px 8px;
    border-radius: 5px;
    font-weight: 700;
    color: var(--text-2);
}
.tb-btn.active { background: var(--tulis-100); color: var(--tulis); }

.tulis-workspace {
    background: #e2e8f0;
    padding: 24px 16px;
    display: flex;
    justify-content: center;
    min-height: 430px;
}
.tulis-paper {
    background: #fff;
    width: 100%;
    max-width: 720px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
    padding: 32px 48px;
    font-family: var(--font-serif);
    color: #111827;
}
.kop-surat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-bottom: 3px double #111827;
    padding-bottom: 12px;
    margin-bottom: 18px;
    text-align: center;
}
.kop-shield {
    width: 48px;
    height: 54px;
    border-radius: 8px 8px 24px 24px;
    background: var(--accent-50);
    border: 2px solid var(--accent-600);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-family: var(--font);
    font-size: 10px;
    color: #7c4d00;
    flex: none;
}
.kop-text h4 { font-family: var(--font); font-size: 13px; letter-spacing: 0.04em; font-weight: 800; margin: 0; }
.kop-text h3 { font-family: var(--font); font-size: 16px; letter-spacing: 0.03em; font-weight: 800; margin: 2px 0; }
.kop-text p { font-family: var(--font); font-size: 11px; color: #4b5563; }
.surat-judul { text-align: center; margin-bottom: 16px; }
.surat-judul h5 { margin: 0; font-size: 15px; text-decoration: underline; font-weight: 700; letter-spacing: 0.03em; }
.surat-judul span { font-size: 12.5px; }
.surat-body { font-size: 13.5px; line-height: 1.65; }
.surat-fields {
    margin: 10px 0 12px 24px;
    display: grid;
    grid-template-columns: 110px 12px 1fr;
    row-gap: 4px;
    font-size: 13.5px;
}
.smart-field {
    font-family: var(--font-mono);
    background: var(--blue-50);
    color: var(--blue-700);
    border: 1px solid var(--blue-200);
    padding: 1px 7px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}
.editor-statusbar {
    background: #f8fafc;
    border-top: 1px solid var(--line);
    padding: 7px 16px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

/* PANE 3: AKSARA HITUNG */
.formula-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 12.5px;
}
.cell-ref {
    background: var(--hitung-50);
    color: var(--hitung);
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 4px;
    border: 1px solid var(--hitung-100);
}
.sheet-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sheet-table th, .sheet-table td { border: 1px solid #e2e8f0; padding: 8px 12px; }
.sheet-table thead th { background: #f1f5f9; color: #475569; font-weight: 700; text-align: center; font-size: 12px; }
.sheet-row-num { background: #f1f5f9; color: #64748b; text-align: center; width: 42px; font-weight: 600; font-size: 12px; }
.sheet-header-row td { background: var(--hitung-50); font-weight: 700; color: #065f46; }
.sheet-num { text-align: right; font-family: var(--font-mono); }
.sheet-active-cell { outline: 2px solid var(--hitung); outline-offset: -2px; background: #f0fdf4; font-weight: 700; }

/* PANE 4 & 5: PAPARAN & PDF */
.pdf-workspace {
    display: grid;
    grid-template-columns: 165px 1fr;
    min-height: 430px;
    background: #cbd5e1;
}
.pdf-thumbs {
    background: #f1f5f9;
    border-right: 1px solid var(--line-strong);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pdf-thumb-item {
    background: #fff;
    border: 2px solid var(--pdf);
    border-radius: 6px;
    padding: 8px;
    font-size: 10px;
    box-shadow: var(--shadow-xs);
}
.pdf-canvas {
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.pdf-page-card {
    background: #fff;
    width: 100%;
    max-width: 640px;
    padding: 28px 36px;
    border-radius: 6px;
    box-shadow: var(--shadow-md);
}
.pdf-comment-note {
    margin-top: 14px;
    padding: 10px 14px;
    background: var(--hitung-50);
    border-left: 4px solid var(--hitung);
    border-radius: 6px;
    font-size: 12.5px;
}

/* Format Strip */
.formats-ribbon {
    max-width: 1120px;
    margin: 28px auto 0;
    padding: 16px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.formats-ribbon-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 10px;
}
.format-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.format-badge {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 8px;
    background: var(--bg-subtle);
    border: 1px solid var(--line-strong);
    color: var(--text);
}

/* ------------------------------------------------ Sections General */

.section { padding: clamp(72px, 9vw, 112px) 0; }
.section-subtle, .section-soft { background: var(--bg-subtle); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(42px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    margin-bottom: 12px;
}
.eyebrow::before {
    content: "";
    width: 18px;
    height: 2.5px;
    background: var(--accent);
    border-radius: 2px;
}
.section-head h2 { font-size: clamp(28px, 3.8vw, 44px); }
.section-lead { margin-top: 14px; font-size: 18px; color: var(--text-2); }

/* ------------------------------------------------ 4 Apps Suite Bento */

.suite-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.suite-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.suite-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.suite-card.app-tulis { --c: var(--tulis); --c-bg: var(--tulis-50); --c-line: var(--tulis-100); }
.suite-card.app-hitung { --c: var(--hitung); --c-bg: var(--hitung-50); --c-line: var(--hitung-100); }
.suite-card.app-paparan { --c: var(--paparan); --c-bg: var(--paparan-50); --c-line: var(--paparan-100); }
.suite-card.app-pdf { --c: var(--pdf); --c-bg: var(--pdf-50); --c-line: var(--pdf-100); }

.suite-card-top {
    padding: 26px 28px 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.suite-identity { display: flex; align-items: center; gap: 14px; }
.suite-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--c);
    color: #fff;
    font-weight: 800;
    font-size: 21px;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 20px -8px var(--c);
    flex: none;
}
.suite-identity h3 { font-size: 22px; }
.suite-sub { font-size: 13px; color: var(--muted); display: block; margin-top: 2px; }
.suite-kind {
    font-size: 13px;
    font-weight: 700;
    color: var(--c);
    background: var(--c-bg);
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid var(--c-line);
    white-space: nowrap;
}
.suite-try-btn {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--c);
    background: var(--c-bg);
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--c-line);
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.15s ease;
}
.suite-try-btn:hover {
    background: var(--c);
    color: #fff;
    text-decoration: none;
}
.suite-mini-ui {
    cursor: pointer;
}
.eco-sim-btn {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
}
.eco-sim-btn:hover {
    background: var(--accent);
    color: #1e1300 !important;
    border-color: var(--accent);
    text-decoration: none;
}
.tpl-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}
.template-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
.template-card-link:hover {
    text-decoration: none;
}
.template-try-hint {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--blue);
    margin-top: 4px;
}
.suite-desc { padding: 0 28px 18px; color: var(--text-2); font-size: 15.5px; }

.suite-mini-ui {
    margin: 0 20px;
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    border-radius: 14px;
    padding: 16px 16px 0;
    height: 175px;
    overflow: hidden;
}
.mini-window {
    background: #fff;
    border-radius: 10px 10px 0 0;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-bottom: 0;
    height: 100%;
    padding: 12px 14px;
    box-shadow: 0 8px 20px -8px rgba(15, 23, 42, 0.15);
    font-size: 11.5px;
}
.mini-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
    font-size: 10.5px;
    color: var(--muted);
    font-weight: 600;
}
.mini-pill {
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--bg-subtle);
    border: 1px solid var(--line);
    color: var(--text);
}

.suite-card-foot {
    padding: 18px 28px 24px;
    margin-top: auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.suite-fmt-label { font-size: 12px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.suite-fmt {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--c-bg);
    color: var(--c);
}

/* ------------------------------------------------ SOCIETY 5.0 & SMART CITY */

.society-section {
    background:
        radial-gradient(60% 60% at 50% 0%, rgba(31, 79, 216, 0.28) 0%, transparent 70%),
        linear-gradient(180deg, #081229 0%, #0d1e47 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.society-section h2 { color: #fff; }
.society-section .eyebrow { color: #ffd479; }
.society-section .section-lead { color: #cbd5e1; }

.society-hub-banner {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(245, 166, 35, 0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-xl);
    padding: 28px 32px;
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: center;
}
.society-hub-banner h3 { color: #fff; font-size: 26px; margin-bottom: 10px; }
.society-hub-banner p { color: #dbeafe; font-size: 16px; }
.society-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.society-pillar {
    background: rgba(8, 18, 41, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px;
}
.society-pillar strong { display: block; color: #ffd479; font-size: 14px; margin-bottom: 3px; }
.society-pillar span { font-size: 12.5px; color: #cbd5e1; }

.eco-architecture {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.eco-node {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.eco-node:hover {
    transform: translateY(-4px);
    border-color: #ffd479;
}
.eco-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.eco-title { font-size: 21px; font-weight: 800; color: #fff; }
.badge-connected {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(20, 151, 90, 0.25);
    color: #6ee7b7;
    border: 1px solid rgba(110, 231, 183, 0.35);
    white-space: nowrap;
}
.badge-connected::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
}
.eco-sector {
    font-size: 13px;
    font-weight: 700;
    color: #93c5fd;
}
.eco-docs-box {
    padding: 12px;
    border-radius: 10px;
    background: rgba(8, 18, 41, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13.5px;
    color: #e2e8f0;
}
.eco-docs-box strong {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-bottom: 4px;
}
.eco-foot {
    margin-top: auto;
    padding-top: 8px;
    font-size: 13.5px;
    font-weight: 700;
}
.eco-foot a { color: #ffd479; }

/* ------------------------------------------------ Keunggulan (Showcases) */

.showcase-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    margin-bottom: clamp(48px, 6vw, 80px);
}
.showcase-row.reverse .showcase-copy { order: 2; }
.showcase-copy h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.showcase-copy p { font-size: 17px; color: var(--text-2); }
.feature-points {
    margin-top: 22px;
    display: grid;
    gap: 12px;
}
.feature-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 600;
    color: var(--text);
    font-size: 15.5px;
}
.check-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--hitung-50);
    color: var(--hitung);
    border: 1px solid var(--hitung-100);
    display: grid;
    place-items: center;
    flex: none;
    margin-top: 2px;
    font-size: 13px;
}

.showcase-card {
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.showcase-bar {
    padding: 12px 18px;
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
}
.spell-canvas { padding: 28px 32px; font-family: var(--font-serif); font-size: 17px; line-height: 1.75; }
.typo-word {
    background: var(--pdf-50);
    text-decoration: underline wavy var(--pdf);
    text-underline-offset: 4px;
    padding: 1px 4px;
    border-radius: 4px;
    font-weight: 600;
}
.spell-popover {
    margin-top: 12px;
    font-family: var(--font);
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: var(--shadow-md);
    max-width: 300px;
}
.spell-popover-head {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 6px;
}
.spell-suggestion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--blue-50);
    color: var(--blue-700);
    font-weight: 800;
    font-size: 14.5px;
}

.reasons-trio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.reason-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-xs);
}
.reason-box h4 { font-size: 18px; margin-bottom: 8px; }
.reason-box p { color: var(--text-2); font-size: 15px; }

/* ------------------------------------------------ Templat Indonesia Gallery */

.templates-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}
.template-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.template-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-200);
}
.template-artwork {
    padding: 16px 18px 0;
    background: linear-gradient(180deg, var(--bg-subtle) 0%, #eef2f9 100%);
    height: 148px;
    display: flex;
    flex-direction: column;
}
.template-sheet {
    background: #fff;
    border: 1px solid #d5deec;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    flex: 1;
    padding: 10px;
    box-shadow: 0 6px 14px -6px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.sheet-kop {
    border-bottom: 1.5px solid #334155;
    padding-bottom: 4px;
    margin-bottom: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.sheet-kop span { height: 4px; width: 65%; background: var(--blue); border-radius: 2px; }
.sheet-kop small { height: 3px; width: 45%; background: #94a3b8; border-radius: 2px; }
.sheet-line { height: 4px; background: #e2e8f0; border-radius: 2px; }
.sheet-table-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: #cbd5e1;
    padding: 1px;
    border-radius: 2px;
    margin-top: 2px;
}
.sheet-table-mini i { height: 8px; background: #fff; }
.sheet-table-mini i.hd { background: var(--hitung-100); }

.template-info {
    padding: 12px 14px 14px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.template-category {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--blue);
}
.template-name { font-weight: 700; font-size: 14.5px; color: var(--text); line-height: 1.3; }

/* ------------------------------------------------ Download Section */

.download-section {
    background:
        radial-gradient(50% 60% at 50% 0%, rgba(37, 99, 235, 0.35) 0%, transparent 70%),
        var(--navy);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.download-section h2 { color: #fff; }
.download-section .eyebrow { color: #93c5fd; }
.download-section .section-lead { color: #cbd5e1; }
.dl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.dl-platform-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-xl);
    padding: 28px;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
}
.dl-platform-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.dl-platform-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    color: #fff;
    flex: none;
}
.dl-platform-head h3 { color: #fff; font-size: 22px; }
.dl-platform-head span { font-size: 12.5px; color: #94a3b8; display: block; margin-top: 2px; }
.dl-pkg-list { display: grid; gap: 10px; }
.dl-pkg-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border-radius: 11px;
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.15s ease;
}
.dl-pkg-btn:hover {
    background: var(--blue-50);
    color: var(--blue);
    transform: translateY(-1px);
    text-decoration: none;
}
.dl-pkg-btn.secondary {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.dl-pkg-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}
.dl-pkg-ext {
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--blue-50);
    color: var(--blue-700);
}
.dl-pkg-btn.secondary .dl-pkg-ext {
    background: rgba(255, 255, 255, 0.14);
    color: #e2e8f0;
}

/* ------------------------------------------------ Kabar & Artikel */

.page-head { padding-bottom: 32px; background: linear-gradient(var(--blue-50), #fff); }
.page-title { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -0.03em; }
.section-flush { padding-top: 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s; }
.news-card:hover { box-shadow: var(--shadow); }
.news-thumb { margin: -22px -22px 6px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-meta { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.news-card h3 { font-size: 20px; }
.news-card h3 a { color: var(--text); }
.news-card > p:last-child { color: var(--muted); font-size: 15.5px; }
.empty { color: var(--muted); font-size: 18px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.pager-link { font-weight: 700; }
.pager-link.is-disabled { color: var(--muted); opacity: .5; }
.pager-count { font-size: 14px; color: var(--muted); }

.article { padding: clamp(48px, 7vw, 80px) 0; }
.article-head .eyebrow a { color: inherit; }
.article-head .news-meta { margin-top: 14px; }
.article-figure { margin: 32px auto 0; }
.article-figure img { border-radius: var(--radius); }
.article-figure figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose { margin-top: 32px; font-size: 18px; line-height: 1.75; color: var(--text-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; margin-top: 1.8em; color: var(--text); }
.prose h3 { font-size: 22px; margin-top: 1.6em; color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; list-style: revert; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--blue); color: var(--muted); }
.prose img { border-radius: 10px; }
.prose a { text-decoration: underline; }
.prose code { font-family: var(--font-mono); font-size: .88em; background: var(--soft); padding: 2px 6px; border-radius: 4px; }
.prose pre { font-family: var(--font-mono); font-size: 14.5px; background: var(--soft); border: 1px solid var(--line); padding: 16px; border-radius: 10px; overflow-x: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.article-foot { margin-top: 48px; }
.article-foot .text-link, .section .btn { text-decoration: none; }

/* ------------------------------------------------ Footer */

.site-footer {
    background: #050b1c;
    color: #94a3b8;
    padding: 64px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 36px;
}
.brand-light, .brand-light:hover { color: #fff; }
.footer-jv-script {
    font-family: var(--font-jv);
    font-size: 28px;
    color: #fff;
    margin: 14px 0 6px;
}
.footer-part { max-width: 36ch; font-size: 14.5px; color: #cbd5e1; }
.footer-col h2 {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 9px; font-size: 14.5px; }
.footer-col a { color: #94a3b8; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13.5px;
}

/* ------------------------------------------------ Responsif */

@media (max-width: 1024px) {
    .suite-grid, .eco-architecture, .society-hub-banner { grid-template-columns: 1fr 1fr; }
    .templates-grid { grid-template-columns: repeat(3, 1fr); }
    .home-pane-grid { grid-template-columns: 1fr; }
    .app-sidebar { display: none; }
}
@media (max-width: 900px) {
    .nav-wide { display: none; }
    .nav-disclosure { display: block; }
    .nav-narrow {
        position: absolute; left: 0; right: 0; top: 100%; display: flex; flex-direction: column; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; box-shadow: var(--shadow);
    }
    .nav-narrow a { display: block; padding: 12px 8px; font-size: 16px; font-weight: 600; color: var(--text); }
    .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
    .suite-grid, .showcase-row, .reasons-trio, .dl-grid, .eco-architecture, .society-hub-banner, .society-pillars {
        grid-template-columns: 1fr;
    }
    .showcase-row.reverse .showcase-copy { order: 0; }
    .create-new-grid, .template-strip-grid, .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tulis-paper { padding: 20px; }
    .surat-fields { grid-template-columns: 90px 10px 1fr; margin-left: 0; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .header-cta .btn { display: none; }
    .hero-actions .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------ Menu Bar Simulasi & Layar Penuh */

.os-menubar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 14px;
    background: #162238;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12.5px;
    color: #e2e8f0;
    flex-wrap: wrap;
}
.os-menubar-left {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.os-menu-dropdown {
    position: relative;
}
.os-menu-trigger {
    background: transparent;
    border: 1px solid transparent;
    color: #e2e8f0;
    font: inherit;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.os-menu-trigger:hover,
.os-menu-dropdown.is-open .os-menu-trigger {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.os-menu-popover {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 280px;
    background: #ffffff;
    color: var(--text);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    padding: 6px;
    z-index: 60;
}
.os-menu-dropdown.is-open .os-menu-popover {
    display: grid;
    gap: 2px;
}
.os-menu-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 8px 10px;
    border-radius: 7px;
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
}
.os-menu-option:hover {
    background: var(--blue-50);
    color: var(--blue);
}
.os-menu-option kbd,
.os-menu-option small {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    background: var(--bg-subtle);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--line);
}
.os-menu-divider {
    height: 1px;
    background: var(--line);
    margin: 4px 0;
}
.os-menubar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}
.os-status-toast {
    font-size: 11.5px;
    color: #93c5fd;
    font-weight: 600;
}
.os-max-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font: inherit;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
}
.os-max-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
}
.os-window.is-maximized {
    position: fixed;
    inset: 16px;
    z-index: 999;
    max-width: none;
    display: flex;
    flex-direction: column;
    overflow: auto;
    box-shadow: 0 0 0 100vmax rgba(8, 18, 41, 0.78), var(--shadow-window);
}

/* ------------------------------------------------ Tanya Jawab (FAQ) & Bar CTA */

.faq-accordion {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}
.faq-item[open] {
    border-color: var(--blue-200);
    box-shadow: var(--shadow-sm);
}
.faq-question {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-weight: 700;
    font-size: 16.5px;
    color: var(--text);
    cursor: pointer;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--blue-50);
    color: var(--blue);
    display: grid;
    place-items: center;
    font-weight: 800;
    flex: none;
    transition: transform 0.2s ease;
}
.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: var(--blue);
    color: #fff;
}
.faq-answer {
    padding: 0 22px 20px;
    color: var(--text-2);
    font-size: 15.5px;
    line-height: 1.7;
}
.section-cta-bar {
    max-width: 860px;
    margin: 28px auto 0;
    padding: 18px 24px;
    border-radius: 14px;
    background: rgba(31, 79, 216, 0.06);
    border: 1px solid var(--blue-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    font-weight: 600;
    color: var(--text);
}
.download-section .section-cta-bar {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
    color: #e2e8f0;
}

/* ------------------------------------------------ Halaman Menu Publik (/solusi, /templat, /panduan, /unduh) */

.subpage-hero {
    padding: clamp(44px, 6vw, 72px) 0 36px;
    background:
        radial-gradient(60% 70% at 50% 0%, rgba(31, 79, 216, 0.09) 0%, transparent 70%),
        linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--line);
    text-align: center;
}
.society-subhero {
    background:
        radial-gradient(60% 70% at 50% 0%, rgba(37, 99, 235, 0.32) 0%, transparent 70%),
        linear-gradient(180deg, #081229 0%, #0f214a 100%);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}
.subpage-title {
    font-size: clamp(30px, 4.4vw, 48px);
    letter-spacing: -0.03em;
    max-width: 24ch;
    margin: 8px auto 14px;
}
.subpage-lead {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--text-2);
    max-width: 66ch;
    margin: 0 auto;
}

.workflow-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 36px;
    text-align: left;
}
.workflow-step-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 22px;
}
.workflow-step-num {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: #ffd479;
    background: rgba(245, 166, 35, 0.16);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.workflow-step-card h2 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 6px;
}
.workflow-step-card p {
    font-size: 14px;
    color: #cbd5e1;
}

.solutions-stack {
    display: grid;
    gap: 24px;
}
.solution-sector-card {
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 3.5vw, 36px);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 32px;
    align-items: center;
}
.solution-sector-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.solution-sector-meta .badge-connected {
    background: var(--hitung-50);
    color: var(--hitung);
    border-color: var(--hitung-100);
}
.solution-connector-name {
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--blue);
}
.solution-sector-main h3 {
    font-size: clamp(22px, 2.6vw, 28px);
    margin-bottom: 10px;
}
.solution-desc {
    color: var(--text-2);
    font-size: 15.5px;
    margin-bottom: 18px;
}
.solution-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.solution-metric-box {
    background: var(--bg-subtle);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
}
.solution-metric-box strong {
    display: block;
    font-size: 18px;
    color: var(--blue);
}
.solution-metric-box span {
    font-size: 12px;
    color: var(--muted);
}
.solution-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.solution-deliverables-box {
    background: var(--bg-subtle);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
}
.solution-deliverables-box h4 {
    font-size: 15px;
    margin-bottom: 12px;
}

/* Katalog Pustaka Templat (/templat) */
.catalog-controls {
    max-width: 760px;
    margin: 26px auto 0;
}
.catalog-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1.5px solid var(--line-strong);
    border-radius: 999px;
    padding: 10px 18px;
    box-shadow: var(--shadow-xs);
}
.catalog-search-wrap:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-100);
}
.catalog-search-input {
    border: 0;
    outline: none;
    width: 100%;
    font: inherit;
    font-size: 15px;
    color: var(--text);
    background: transparent;
}
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.catalog-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--shadow-xs);
}
.catalog-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.catalog-code {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--muted);
    background: var(--bg-subtle);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid var(--line);
}
.catalog-app-pill {
    font-size: 12px;
    font-weight: 700;
    color: var(--c, var(--blue));
    background: var(--c-bg, var(--blue-50));
    padding: 3px 10px;
    border-radius: 999px;
}
.catalog-card-title { font-size: 20px; }
.catalog-card-for { font-size: 13.5px; color: var(--muted); }
.catalog-card-desc { font-size: 14.5px; color: var(--text-2); }
.catalog-fields-box {
    background: var(--bg-subtle);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 4px;
}
.catalog-fields-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-bottom: 6px;
}
.catalog-fields-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.catalog-fields-list code {
    font-family: var(--font-mono);
    font-size: 11.5px;
    background: #fff;
    color: var(--blue-700);
    border: 1px solid var(--blue-200);
    padding: 2px 7px;
    border-radius: 5px;
}
.catalog-card-actions {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Modal Pratinjau Templat */
.tpl-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 18, 41, 0.72);
    backdrop-filter: blur(4px);
    display: grid;
    place-items: center;
    padding: 20px;
    z-index: 1000;
}
.tpl-modal-backdrop[hidden] { display: none; }
.tpl-modal-dialog {
    background: #fff;
    border-radius: var(--radius-xl);
    max-width: 680px;
    width: 100%;
    padding: 26px;
    box-shadow: var(--shadow-window);
}
.tpl-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.tpl-modal-close {
    background: var(--bg-subtle);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 6px 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.tpl-modal-paper {
    background: #fcfdff;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    padding: 24px;
    font-family: var(--font-serif);
}
.tpl-modal-kop {
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.03em;
    border-bottom: 3px double #0f172a;
    padding-bottom: 10px;
    margin-bottom: 16px;
}
.tpl-modal-doc-title {
    text-align: center;
    font-size: 16px;
    text-decoration: underline;
    margin-bottom: 12px;
}
.tpl-modal-doc-body {
    font-size: 14.5px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 16px;
}
.tpl-modal-vars {
    font-family: var(--font);
    font-size: 13px;
    background: var(--blue-50);
    border: 1px solid var(--blue-200);
    border-radius: 8px;
    padding: 12px;
}
.tpl-modal-footer {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--muted);
}

/* Panduan, Tabel Rumus & Pintasan (/panduan & /unduh) */
.guide-step-list {
    padding-left: 20px;
    display: grid;
    gap: 10px;
    color: var(--text-2);
    font-size: 14.5px;
}
.formula-table-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow-x: auto;
    box-shadow: var(--shadow-xs);
}
.formula-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    text-align: left;
}
.formula-table th {
    background: #f8fafc;
    padding: 14px 16px;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}
.formula-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}
.formula-id {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--hitung);
    background: var(--hitung-50);
    padding: 3px 8px;
    border-radius: 6px;
}
.formula-en {
    font-family: var(--font-mono);
    color: var(--text-2);
    background: var(--bg-subtle);
    padding: 3px 8px;
    border-radius: 6px;
}
.formula-cat-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    background: var(--blue-50);
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
}
.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}
.shortcut-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.shortcut-kbd {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-900);
    background: var(--blue-50);
    border: 1px solid var(--blue-200);
    padding: 6px 10px;
    border-radius: 8px;
    white-space: nowrap;
}
.os-detect-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--hitung-50);
    border: 1px solid var(--hitung-100);
    color: var(--hitung);
    font-weight: 700;
    font-size: 14px;
}
.install-guide-panels {
    max-width: 780px;
    margin: 0 auto;
}
.install-guide-card,
.release-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px;
    box-shadow: var(--shadow-xs);
}
.install-guide-card h3 {
    font-size: 20px;
    margin-bottom: 14px;
}
.dl-extra-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: start;
}
.release-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.release-card-head .badge-connected {
    background: var(--hitung-50);
    color: var(--hitung);
    border-color: var(--hitung-100);
}

@media (max-width: 900px) {
    .workflow-steps-grid,
    .solution-sector-card,
    .catalog-grid,
    .dl-extra-grid {
        grid-template-columns: 1fr;
    }
}
