:root {
    --bg: #f6f8fb;
    --text: #132238;
    --muted: #64748b;
    --primary: #0f766e;
    --primary-dark: #115e59;
    --accent: #f59e0b;
    --danger: #dc2626;
    --success: #16a34a;
    --info: #2563eb;
    --card: rgba(255, 255, 255, 0.86);
    --border: rgba(15, 23, 42, 0.10);
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.10);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

body.admin-body {
    background: #eef4f7;
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg {
    max-width: 100%;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    width: min(820px, calc(100% - 32px));
}

.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 12% 8%, rgba(20, 184, 166, 0.23), transparent 30%),
        radial-gradient(circle at 84% 12%, rgba(245, 158, 11, 0.22), transparent 28%),
        linear-gradient(135deg, #f8fbff 0%, #eef7f4 100%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand small,
.admin-user small,
.footer-grid span,
small {
    display: block;
    color: var(--muted);
    font-weight: 500;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), #14b8a6);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.32);
}

.brand-mark.large {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    font-size: 1.25rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a,
.admin-menu a {
    padding: 10px 14px;
    border-radius: 14px;
    color: #334155;
    font-weight: 700;
    font-size: 0.92rem;
}

.main-nav a.active,
.main-nav a:hover,
.admin-menu a.active,
.admin-menu a:hover {
    background: rgba(15, 118, 110, 0.10);
    color: var(--primary-dark);
}

.nav-toggle {
    display: none;
    border: 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: var(--shadow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 15px;
    padding: 12px 18px;
    min-height: 44px;
    color: var(--text);
    background: #ffffff;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.13);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #14b8a6);
    color: #ffffff !important;
    box-shadow: 0 14px 35px rgba(20, 184, 166, 0.26);
}

.btn-light {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
}

.btn-danger {
    background: #fee2e2;
    color: #991b1b;
}

.btn-sm {
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.86rem;
}

.btn-block {
    width: 100%;
}

.hero {
    padding: 72px 0 48px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
}

.pill,
.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--primary-dark);
    background: rgba(20, 184, 166, 0.12);
    border: 1px solid rgba(20, 184, 166, 0.20);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.eyebrow {
    margin: 0 0 12px;
}

.hero h1,
.page-hero h1,
.admin-topbar h1 {
    margin: 14px 0 14px;
    font-size: clamp(2.4rem, 6vw, 4.9rem);
    line-height: 0.95;
    letter-spacing: -0.065em;
}

.hero p,
.page-hero p,
.lead {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 660px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.glass-card,
.service-card,
.panel,
.search-card,
.result-card,
.modern-form,
.login-card,
.success-ticket,
.empty-state,
.stat-card {
    border: 1px solid var(--border);
    background: var(--card);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-card {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    padding: 32px;
    border-radius: 34px;
}

.card-orbit {
    position: absolute;
    right: -80px;
    top: -80px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.45), rgba(20, 184, 166, 0.35));
    filter: blur(4px);
}

.hero-card h2 {
    position: relative;
    margin: 0 0 30px;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    letter-spacing: -0.045em;
}

.metric-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.metric-list div {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
}

.metric-list strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.metric-list span {
    color: var(--muted);
    font-weight: 700;
    font-size: 0.88rem;
}

.section {
    padding: 52px 0;
}

.muted-section {
    background: rgba(255, 255, 255, 0.42);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-heading {
    margin-bottom: 26px;
}

.section-heading h2,
.steps-grid h2,
.panel h2,
.empty-state h2,
.result-card h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3.2vw, 2.7rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 26px;
    border-radius: var(--radius);
    transition: transform 0.2s ease, border 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(20, 184, 166, 0.35);
}

.service-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: rgba(15, 118, 110, 0.10);
    font-size: 1.55rem;
}

.service-card h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--muted);
    margin: 0 0 24px;
}

.service-card strong {
    margin-top: auto;
    color: var(--primary-dark);
}

.steps-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 28px;
    align-items: start;
}

.steps {
    display: grid;
    gap: 14px;
}

.steps div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 14px;
    padding: 18px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--border);
}

.steps span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #ffffff;
    background: var(--primary);
    border-radius: 14px;
    font-weight: 900;
}

.steps p {
    margin: 0;
    color: var(--muted);
}

.page-hero {
    padding: 62px 0 34px;
}

.page-hero.compact h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.form-shell {
    display: grid;
    gap: 18px;
}

.modern-form {
    padding: 26px;
    border-radius: var(--radius);
}

.compact-form {
    box-shadow: none;
    border: 0;
    padding: 0;
    background: transparent;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

label {
    display: grid;
    gap: 8px;
    font-weight: 800;
    color: #334155;
    font-size: 0.92rem;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    padding: 12px 14px;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(15, 118, 110, 0.55);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

textarea {
    resize: vertical;
}

.span-2 {
    grid-column: span 2;
}

.success-ticket {
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.14), rgba(20, 184, 166, 0.10));
}

.success-ticket span {
    color: var(--muted);
    font-weight: 800;
}

.success-ticket strong {
    display: block;
    margin: 4px 0;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
}

.success-ticket p {
    margin: 0;
    color: var(--muted);
}

.search-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
}

.empty-state {
    margin-top: 20px;
    padding: 34px;
    border-radius: var(--radius);
    text-align: center;
}

.empty-state span {
    font-size: 2.8rem;
}

.empty-state p {
    margin: 10px auto 0;
    max-width: 540px;
    color: var(--muted);
}

.result-card {
    margin-top: 20px;
    padding: 26px;
    border-radius: var(--radius);
}

.result-header,
.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.detail-grid div {
    padding: 16px;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.88);
    border: 1px solid var(--border);
}

.detail-grid span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.detail-grid strong {
    display: block;
    margin-top: 4px;
}

.badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
    white-space: nowrap;
}

.badge-success {
    color: #166534;
    background: #dcfce7;
}

.badge-warning {
    color: #92400e;
    background: #fef3c7;
}

.badge-info {
    color: #1e40af;
    background: #dbeafe;
}

.badge-danger,
.badge-danger-soft {
    color: #991b1b;
    background: #fee2e2;
}

.badge-muted {
    color: #475569;
    background: #e2e8f0;
}

.login-section {
    min-height: calc(100vh - 78px);
    display: grid;
    place-items: center;
    padding: 46px 16px;
}

.login-card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    width: min(930px, 100%);
    overflow: hidden;
    border-radius: 34px;
}

.login-art {
    padding: 42px;
    color: #ffffff;
    background:
        radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.7), transparent 28%),
        linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.login-art h1 {
    margin: 26px 0 10px;
    font-size: 2.8rem;
    letter-spacing: -0.055em;
    line-height: 1;
}

.login-art p {
    color: rgba(255, 255, 255, 0.82);
}

.login-form {
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 42px;
    background: rgba(255, 255, 255, 0.85);
}

.hint-box {
    margin-top: 22px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hint-box.soft {
    margin-top: 0;
    color: var(--muted);
    background: rgba(15, 118, 110, 0.08);
    border-color: rgba(15, 118, 110, 0.16);
}

code {
    padding: 2px 6px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.12);
}

.flash-stack {
    display: grid;
    gap: 10px;
    padding-top: 18px;
}

.alert {
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 800;
    border: 1px solid var(--border);
    background: #ffffff;
}

.alert-success {
    color: #166534;
    background: #dcfce7;
}

.alert-danger {
    color: #991b1b;
    background: #fee2e2;
}

.alert-warning {
    color: #92400e;
    background: #fef3c7;
}

.site-footer {
    padding: 34px 0;
    background: #0f172a;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 18px;
}

.footer-grid p {
    color: #cbd5e1;
    margin: 4px 0 0;
}

/* Admin */
.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 280px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.86);
    border-right: 1px solid var(--border);
    backdrop-filter: blur(20px);
    overflow-y: auto;
}

.admin-brand {
    margin-bottom: 26px;
}

.admin-menu {
    display: grid;
    gap: 6px;
}

.admin-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-main {
    min-height: 100vh;
    margin-left: 280px;
    padding: 26px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.admin-topbar h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.admin-user {
    padding: 12px 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    text-align: right;
    font-weight: 900;
}

.admin-flash {
    padding-top: 0;
    margin-bottom: 18px;
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}

.stat-card {
    padding: 20px;
    border-radius: 22px;
}

.stat-card span {
    font-size: 1.7rem;
}

.stat-card p {
    margin: 12px 0 4px;
    color: var(--muted);
    font-weight: 800;
}

.stat-card strong {
    display: block;
    font-size: 2.2rem;
    line-height: 1;
    letter-spacing: -0.05em;
}

.stat-card.accent {
    background: linear-gradient(135deg, #ffffff, #fff7ed);
}

.admin-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.admin-grid-2.align-start {
    align-items: start;
}

.panel {
    padding: 20px;
    border-radius: 24px;
}

.panel-header a {
    color: var(--primary-dark);
    font-weight: 900;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

th,
td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

th {
    color: #475569;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

tr:last-child td {
    border-bottom: 0;
}

.admin-table small {
    margin-top: 2px;
}

.text-muted {
    color: var(--muted);
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filter-form input {
    flex: 1 1 260px;
}

.filter-form select {
    width: auto;
    min-width: 180px;
}

.count-chip {
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--primary-dark);
    background: rgba(15, 118, 110, 0.10);
    font-weight: 900;
}

.mini-form {
    display: grid;
    gap: 8px;
    min-width: 180px;
}

.help-panel p,
.nice-list {
    color: var(--muted);
}

.nice-list {
    padding-left: 18px;
}

.profile-panel {
    max-width: 850px;
}

@media (max-width: 980px) {
    .hero-grid,
    .steps-grid,
    .admin-grid-2,
    .login-card {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .admin-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-sidebar {
        position: static;
        width: auto;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .admin-main {
        margin-left: 0;
    }

    .admin-menu {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 740px) {
    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: 78px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .hero {
        padding-top: 48px;
    }

    .service-grid,
    .admin-cards,
    .form-grid,
    .detail-grid,
    .footer-grid,
    .metric-list,
    .search-card {
        grid-template-columns: 1fr;
    }

    .span-2 {
        grid-column: span 1;
    }

    .admin-topbar,
    .result-header,
    .panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-menu {
        grid-template-columns: 1fr;
    }

    .admin-main {
        padding: 16px;
    }

    .login-art,
    .login-form {
        padding: 28px;
    }
}
.inline-form {
    display: inline;
}

.file-upload-label input[type="file"] {
    padding: 14px;
    background: rgba(240, 253, 250, 0.72);
    border-style: dashed;
}

.file-hint {
    color: var(--muted);
    font-weight: 700;
    line-height: 1.45;
}

.file-list {
    display: grid;
    gap: 8px;
    min-width: 160px;
}

.file-link {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 9px 10px;
    border-radius: 12px;
    background: rgba(20, 184, 166, 0.10);
    color: var(--primary-dark);
    font-weight: 800;
    text-decoration: none;
    border: 1px solid rgba(20, 184, 166, 0.18);
}

.file-link:hover {
    background: rgba(20, 184, 166, 0.16);
}

.file-link small {
    color: var(--muted);
    font-weight: 700;
}

.delete-form {
    min-width: 90px;
}

.delete-form .btn-danger {
    width: 100%;
    justify-content: center;
}

.btn-secondary {
    background: rgba(15, 118, 110, 0.10);
    color: var(--primary-dark);
    border: 1px solid rgba(15, 118, 110, 0.18);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.checkbox-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(240, 253, 250, 0.70);
}

.checkbox-card input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.checkbox-card span {
    display: grid;
    gap: 4px;
}

.checkbox-card small {
    color: var(--muted);
    line-height: 1.45;
}

.mt-4 {
    margin-top: 24px;
}

.help-list {
    color: var(--muted);
    line-height: 1.8;
    padding-left: 22px;
    font-weight: 700;
}

/* Cek Proses Pengajuan */
.process-card {
    overflow: hidden;
}

.process-timeline-wrap {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.process-timeline-wrap h3 {
    margin: 0 0 16px;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.process-timeline {
    display: grid;
    gap: 12px;
}

.timeline-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.72);
}

.timeline-step span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: #475569;
    background: #e2e8f0;
    font-weight: 900;
}

.timeline-step strong {
    display: block;
    margin-bottom: 2px;
}

.timeline-step p {
    margin: 0;
    color: var(--muted);
}

.timeline-step.completed {
    background: rgba(220, 252, 231, 0.58);
    border-color: rgba(22, 163, 74, 0.22);
}

.timeline-step.completed span {
    color: #ffffff;
    background: var(--success);
}

.timeline-step.current {
    background: rgba(240, 253, 250, 0.92);
    border-color: rgba(20, 184, 166, 0.34);
    box-shadow: 0 16px 35px rgba(15, 118, 110, 0.10);
}

.timeline-step.current span {
    color: #ffffff;
    background: var(--primary);
}

.timeline-step.rejected {
    background: rgba(254, 226, 226, 0.82);
    border-color: rgba(220, 38, 38, 0.25);
}

.timeline-step.rejected span {
    color: #ffffff;
    background: var(--danger);
}

.soft-state {
    background: rgba(255, 255, 255, 0.68);
}

/* BIMWIN Digital */
.service-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-cards {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.bimwin-overview {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 18px;
    align-items: start;
}

.bimwin-intro {
    min-height: 100%;
}

.bimwin-feature-grid {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.bimwin-feature-grid div {
    display: grid;
    gap: 4px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(240, 253, 250, 0.74);
    border: 1px solid rgba(20, 184, 166, 0.16);
}

.bimwin-feature-grid span {
    color: var(--muted);
    font-weight: 700;
}

.video-session-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.video-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--border);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.session-number,
.session-editor-number {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--primary-dark);
    background: rgba(15, 118, 110, 0.10);
    font-size: 0.78rem;
    font-weight: 900;
}

.video-card h3 {
    margin: 0;
    font-size: 1.12rem;
    letter-spacing: -0.03em;
}

.video-card p {
    margin: 0;
    color: var(--muted);
    font-weight: 650;
}

.video-frame,
.video-placeholder,
.video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    color: #ffffff;
    text-align: center;
    padding: 16px;
    background: linear-gradient(135deg, #0f766e, #0f172a);
}

.video-placeholder span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-weight: 900;
}

.video-placeholder small {
    color: rgba(255, 255, 255, 0.76);
}

.session-editor-list {
    display: grid;
    gap: 14px;
}

.session-editor-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(248, 250, 252, 0.80);
    border: 1px solid var(--border);
}

.session-editor-form textarea {
    min-height: 76px;
}

@media (max-width: 980px) {
    .bimwin-overview,
    .video-session-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   FINAL TOUCH - PERAPIAN HEADER, FOOTER, DAN HALAMAN PUBLIK
   KUA MUARA KAMAN
   Kode ini adalah tambahan global. Letakkan setelah style utama.
========================================================= */

/* ===== HEADER ===== */
.site-header {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid rgba(15, 118, 110, 0.10) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06) !important;
    backdrop-filter: blur(18px);
}

.site-header .container {
    width: min(1320px, calc(100% - 32px));
}

.nav-wrap {
    min-height: 86px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 285px;
    flex: 0 0 auto;
    text-decoration: none;
}

.brand-mark,
.logo-kemenag-box {
    width: 62px !important;
    height: 62px !important;
    min-width: 62px !important;
    border-radius: 18px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f766e, #14b8a6) !important;
    box-shadow: 0 10px 26px rgba(15, 118, 110, 0.22) !important;
}

.logo-kemenag-box img,
.brand-mark img {
    width: 52px !important;
    height: 52px !important;
    object-fit: contain;
    display: block;
}

.brand span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    line-height: 1.15;
}

.brand strong {
    display: block;
    color: #10201d;
    font-size: 21px;
    font-weight: 850;
    letter-spacing: -0.55px;
    line-height: 1.18;
    white-space: nowrap;
}

.brand small {
    display: block;
    color: #64748b;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex: 1 1 auto;
    flex-wrap: nowrap;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 13px;
    border-radius: 15px;
    color: #334155;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.15px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.22s ease;
}

.main-nav a:hover {
    color: #0f766e;
    background: rgba(15, 118, 110, 0.08);
}

.main-nav a.active,
.main-nav .active {
    color: #0f766e !important;
    background: rgba(15, 118, 110, 0.12) !important;
}

.main-nav a:nth-child(3),
.main-nav a:nth-child(6),
.main-nav a:nth-child(7),
.main-nav a:nth-child(8) {
    white-space: normal;
    min-width: 86px;
}

.main-nav a.btn,
.main-nav a.btn-primary,
.main-nav .btn-primary {
    min-width: 128px;
    min-height: 56px;
    padding: 13px 20px;
    border-radius: 18px;
    color: #ffffff !important;
    background: linear-gradient(135deg, #0f766e, #14b8a6) !important;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.24);
}

.main-nav a.btn:hover,
.main-nav a.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(15, 118, 110, 0.28);
}

.nav-toggle {
    width: 46px;
    height: 46px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.18);
}

/* ===== FOOTER ===== */
.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding: 46px 0 34px;
    color: #ffffff;
    background:
        radial-gradient(circle at top left, rgba(242, 201, 76, 0.16), transparent 28%),
        linear-gradient(135deg, #052e2b 0%, #064e45 48%, #0f766e 100%) !important;
    border-top: 1px solid rgba(242, 201, 76, 0.18);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.08;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg width='90' height='90' viewBox='0 0 90 90' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23f2c94c' stroke-width='1'%3E%3Cpath d='M45 7 L58 32 L83 45 L58 58 L45 83 L32 58 L7 45 L32 32 Z'/%3E%3C/g%3E%3C/svg%3E");
}

.site-footer .container {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
}

.footer-grid {
    display: grid !important;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 22px;
    align-items: stretch;
}

.footer-grid > div {
    min-height: 132px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(12px);
}

.footer-grid strong {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -0.4px;
    line-height: 1.2;
}

.footer-grid span {
    display: block;
    margin-bottom: 10px;
    color: #f2c94c !important;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-grid p {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
}

/* ===== HALAMAN PUBLIK SELAIN BERANDA ===== */
body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    color: #132238;
}

main {
    overflow: hidden;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 58px !important;
    color: #ffffff;
    background:
        radial-gradient(circle at top right, rgba(242, 201, 76, 0.24), transparent 30%),
        radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.20), transparent 34%),
        linear-gradient(135deg, #052e2b 0%, #064e45 48%, #0f766e 100%) !important;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.08;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23f2c94c' stroke-width='1'%3E%3Cpath d='M50 8 L64 36 L92 50 L64 64 L50 92 L36 64 L8 50 L36 36 Z'/%3E%3Ccircle cx='50' cy='50' r='22'/%3E%3C/g%3E%3C/svg%3E");
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero.compact h1,
.page-hero h1 {
    max-width: 860px;
    margin: 16px 0 16px !important;
    color: #ffffff !important;
    font-size: clamp(2.2rem, 5vw, 4.4rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.055em !important;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84) !important;
    font-size: 1.05rem;
    line-height: 1.85;
}

.page-hero .eyebrow,
.page-hero p.eyebrow {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 8px;
    padding: 9px 14px;
    border-radius: 999px;
    color: #fff7d6 !important;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.section {
    padding: 70px 0 !important;
}

.section.muted,
.muted,
.muted-section {
    background:
        radial-gradient(circle at top left, rgba(20, 184, 166, 0.09), transparent 30%),
        linear-gradient(180deg, #f0fdfa, #ffffff) !important;
    border-top: 1px solid rgba(15, 118, 110, 0.10);
    border-bottom: 1px solid rgba(15, 118, 110, 0.10);
}

.section-heading {
    max-width: 820px;
    margin: 0 auto 34px !important;
    text-align: center;
}

.section-heading .eyebrow,
.section-heading p.eyebrow,
.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 12px;
    padding: 8px 13px;
    border-radius: 999px;
    color: #0f766e !important;
    background: rgba(15, 118, 110, 0.10) !important;
    border: 1px solid rgba(15, 118, 110, 0.16);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.section-heading h2,
.info-card h2,
.panel h2,
.result-card h2,
.empty-state h2 {
    margin: 0 0 12px !important;
    color: #052e2b !important;
    font-size: clamp(1.8rem, 4vw, 2.9rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.045em !important;
}

.section-heading p {
    max-width: 720px;
    margin: 0 auto;
    color: #64748b !important;
    line-height: 1.8;
}

.service-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 20px !important;
}

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 270px;
    padding: 26px !important;
    border-radius: 26px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(15, 118, 110, 0.11) !important;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08) !important;
    backdrop-filter: blur(14px);
    transition: 0.22s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, #0f766e, #f2c94c);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 118, 110, 0.24) !important;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12) !important;
}

.service-icon {
    width: 62px !important;
    height: 62px !important;
    display: grid !important;
    place-items: center;
    margin-bottom: 18px !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg, #ecfdf5, #fff7d6) !important;
    color: #0f766e;
    font-size: 29px !important;
}

.service-card h3 {
    margin: 0 0 10px !important;
    color: #052e2b !important;
    font-size: 1.18rem !important;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.service-card p {
    margin: 0 0 18px !important;
    color: #64748b !important;
    line-height: 1.72;
}

.service-card strong,
.service-card span:last-child {
    margin-top: auto;
    color: #0f766e !important;
    font-weight: 900;
}

.form-shell,
.modern-form,
.search-card,
.result-card,
.info-card,
.cta-box,
.panel,
.empty-state,
.success-ticket {
    border-radius: 28px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(15, 118, 110, 0.11) !important;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08) !important;
    backdrop-filter: blur(14px);
}

.modern-form,
.info-card,
.cta-box,
.panel,
.result-card,
.empty-state {
    padding: 28px !important;
}

.form-grid {
    gap: 18px !important;
}

label {
    color: #334155 !important;
    font-size: 0.94rem !important;
    font-weight: 850 !important;
    letter-spacing: -0.01em;
}

input,
textarea,
select {
    min-height: 48px;
    border-radius: 16px !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    background: #ffffff !important;
    color: #132238 !important;
    font-size: 15px !important;
    line-height: 1.5;
    padding: 13px 15px !important;
}

textarea {
    min-height: 120px;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(15, 118, 110, 0.58) !important;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.13) !important;
}

input[type="file"] {
    padding: 14px !important;
    border-style: dashed !important;
    background: #f0fdfa !important;
}

.file-hint,
small,
.text-muted {
    color: #64748b !important;
}

.btn {
    min-height: 46px;
    padding: 12px 18px !important;
    border-radius: 16px !important;
    font-weight: 900 !important;
    letter-spacing: -0.01em;
}

.btn-primary {
    color: #ffffff !important;
    background: linear-gradient(135deg, #0f766e, #14b8a6) !important;
    box-shadow: 0 14px 34px rgba(15, 118, 110, 0.22) !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(15, 118, 110, 0.28) !important;
}

.btn-light,
.btn-secondary {
    color: #0f766e !important;
    background: rgba(15, 118, 110, 0.09) !important;
    border: 1px solid rgba(15, 118, 110, 0.16) !important;
}

.btn-danger {
    color: #991b1b !important;
    background: #fee2e2 !important;
}

.check-list,
.nice-list,
.help-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li,
.nice-list li,
.help-list li {
    position: relative;
    padding: 14px 16px 14px 48px;
    border-radius: 17px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #475569;
    font-weight: 700;
    line-height: 1.65;
}

.check-list li::before,
.nice-list li::before,
.help-list li::before {
    content: "âœ“";
    position: absolute;
    left: 14px;
    top: 14px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 9px;
    color: #ffffff;
    background: #0f766e;
    font-size: 13px;
    font-weight: 900;
}

.cta-box {
    text-align: left;
    display: grid;
    gap: 12px;
}

.cta-box h2 {
    margin: 0;
    color: #052e2b !important;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    letter-spacing: -0.04em;
}

.cta-box p {
    margin: 0 0 6px;
    color: #64748b;
    line-height: 1.75;
}

.process-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
    gap: 18px !important;
}

.process-card {
    padding: 22px !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 118, 110, 0.11) !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07) !important;
}

.process-card span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 13px;
    border-radius: 15px;
    color: #ffffff;
    background: linear-gradient(135deg, #064e45, #14b8a6);
    font-weight: 900;
}

.process-card h3 {
    margin: 0 0 8px;
    color: #052e2b;
    font-size: 1.08rem;
}

.process-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.65;
}

.detail-grid div {
    padding: 16px !important;
    border-radius: 18px !important;
    background: #f8fafc !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.detail-grid span {
    color: #64748b !important;
    font-weight: 850 !important;
}

.video-card {
    border-radius: 24px !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 118, 110, 0.11) !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1180px) {
    .site-header .container {
        width: min(100% - 24px, 1180px);
    }

    .brand {
        min-width: 235px;
        gap: 12px;
    }

    .brand-mark,
    .logo-kemenag-box {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        border-radius: 16px !important;
    }

    .logo-kemenag-box img,
    .brand-mark img {
        width: 48px !important;
        height: 48px !important;
    }

    .brand strong {
        font-size: 18px;
        white-space: normal;
    }

    .brand small {
        font-size: 13px;
    }

    .main-nav a {
        padding: 9px 10px;
        font-size: 14px;
    }

    .main-nav a.btn,
    .main-nav a.btn-primary,
    .main-nav .btn-primary {
        min-width: 110px;
        padding: 12px 16px;
        font-size: 15px;
    }
}

@media (max-width: 900px) {
    .nav-wrap {
        min-height: 76px !important;
        position: relative;
    }

    .brand {
        min-width: 0;
    }

    .brand-mark,
    .logo-kemenag-box {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        border-radius: 15px !important;
    }

    .logo-kemenag-box img,
    .brand-mark img {
        width: 44px !important;
        height: 44px !important;
    }

    .brand strong {
        font-size: 17px;
        white-space: normal;
        line-height: 1.16;
    }

    .brand small {
        font-size: 12px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 14px;
        border-radius: 22px;
        background: #ffffff;
        border: 1px solid rgba(15, 118, 110, 0.12);
        box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
        z-index: 99;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a,
    .main-nav a:nth-child(3),
    .main-nav a:nth-child(6),
    .main-nav a:nth-child(7),
    .main-nav a:nth-child(8) {
        width: 100%;
        min-width: 0;
        min-height: 46px;
        justify-content: flex-start;
        padding: 12px 14px;
        border-radius: 14px;
        font-size: 15px;
        text-align: left;
        white-space: nowrap;
    }

    .main-nav a.btn,
    .main-nav a.btn-primary,
    .main-nav .btn-primary {
        width: 100%;
        justify-content: center;
        min-width: 0;
        margin-top: 4px;
        text-align: center;
    }

    .site-footer {
        padding: 38px 0 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

    .footer-grid > div {
        min-height: auto;
        padding: 22px;
        border-radius: 22px;
    }

    .footer-grid strong {
        font-size: 20px;
    }

    .page-hero {
        padding: 62px 0 48px !important;
    }

    .section {
        padding: 56px 0 !important;
    }

    .form-grid,
    .detail-grid,
    .bimwin-overview,
    .login-card,
    .search-card {
        grid-template-columns: 1fr !important;
    }

    .span-2 {
        grid-column: span 1 !important;
    }
}

@media (max-width: 420px) {
    .site-header .container,
    .site-footer .container,
    .container,
    .narrow {
        width: min(100% - 24px, 1120px) !important;
    }

    .brand {
        gap: 10px;
    }

    .brand-mark,
    .logo-kemenag-box {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
    }

    .logo-kemenag-box img,
    .brand-mark img {
        width: 40px !important;
        height: 40px !important;
    }

    .brand strong {
        font-size: 16px;
    }

    .brand small {
        font-size: 11.5px;
    }

    .page-hero {
        padding: 52px 0 42px !important;
    }

    .page-hero.compact h1,
    .page-hero h1 {
        font-size: clamp(2rem, 12vw, 3rem) !important;
    }

    .section {
        padding: 48px 0 !important;
    }

    .modern-form,
    .info-card,
    .cta-box,
    .panel,
    .result-card,
    .empty-state {
        padding: 22px !important;
        border-radius: 23px !important;
    }

    .service-card {
        min-height: auto;
        padding: 22px !important;
    }

    .btn,
    .search-card .btn {
        width: 100%;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-grid > div {
        padding: 20px;
        border-radius: 20px;
    }

    .footer-grid strong {
        font-size: 19px;
    }

    .footer-grid span {
        font-size: 12px;
    }

    .footer-grid p {
        font-size: 14px;
    }
}