/* FILE: assets/css/style.css
   Clean Engineering Aesthetic v2 — Stape/Vercel-inspired, High-Contrast Rhythm */

:root {
    --bg-page: #ffffff;
    --bg-surface: #f1f5f9;
    --bg-surface-soft: #f8fafc;
    --bg-ink: #0b1120;
    --bg-ink-card: #111c33;
    --bg-ink-soft: #131c31;

    --ink-primary: #0f172a;
    --ink-secondary: #334155;
    --ink-muted: #64748b;
    --ink-inverse: #ffffff;
    --ink-inverse-muted: #94a3b8;

    --line-subtle: #e2e8f0;
    --line-strong: #cbd5e1;
    --line-dark: rgba(148, 163, 184, 0.22);

    --accent-primary: #2563eb;
    --accent-primary-hover: #1d4ed8;
    --accent-cyan: #0ea5e9;
    --accent-soft: #eff6ff;
    --accent-emerald: #059669;
    --accent-emerald-soft: #ecfdf5;
    --accent-amber: #b45309;
    --accent-amber-soft: #fffbeb;
    --accent-rose: #be123c;
    --accent-rose-soft: #fff1f2;

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 12px 32px -12px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 22px 48px -18px rgba(15, 23, 42, 0.24), 0 0 0 1px rgba(15, 23, 42, 0.06);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --container-max: 1140px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-primary);
    background: var(--bg-page);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
}

a:hover {
    color: var(--accent-primary-hover);
}

code {
    font-family: var(--font-mono);
    font-size: 0.85em;
    background: var(--bg-surface);
    border: 1px solid var(--line-subtle);
    padding: 2px 6px;
    border-radius: 5px;
    color: var(--ink-primary);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-subtle);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 20px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.025em;
    color: var(--ink-primary);
}

.brand-logo img {
    max-height: 36px;
    width: auto;
    object-fit: contain;
}

.brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan));
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.main-nav a:not(.btn) {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-secondary);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.main-nav a:not(.btn):hover,
.main-nav a:not(.btn).is-active {
    color: var(--ink-primary);
    border-bottom-color: var(--accent-primary);
}

.nav-toggle {
    display: none;
    background: var(--bg-page);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    width: 42px;
    height: 42px;
    font-size: 18px;
    color: var(--ink-primary);
    cursor: pointer;
}

/* =========================================================
   BUTTONS & PILLS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: var(--ink-inverse);
    border-color: #1d4ed8;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    color: var(--ink-inverse);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.34);
}

.btn-secondary {
    background: var(--bg-page);
    color: var(--ink-primary);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-surface);
    border-color: var(--ink-muted);
    color: var(--ink-primary);
    transform: translateY(-1px);
}

.btn-ghost-light {
    background: rgba(255, 255, 255, 0.05);
    color: var(--ink-inverse);
    border-color: rgba(255, 255, 255, 0.26);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--ink-inverse);
    transform: translateY(-1px);
}

.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-block { width: 100%; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-primary);
    border: 1px solid #bfdbfe;
}

.pill-emerald {
    background: var(--accent-emerald-soft);
    color: var(--accent-emerald);
    border-color: #a7f3d0;
}

.pill-amber {
    background: var(--accent-amber-soft);
    color: var(--accent-amber);
    border-color: #fde68a;
}

.pill-accent {
    background: rgba(56, 189, 248, 0.14);
    color: #7dd3fc;
    border-color: rgba(125, 211, 252, 0.3);
}

/* =========================================================
   SECTIONS, DARK TECH BAND & TYPOGRAPHY
   ========================================================= */
.section {
    padding: 56px 0;
    border-bottom: 1px solid var(--line-subtle);
    background: var(--bg-page);
}

.section-alt {
    background: var(--bg-surface);
}

/* Dark Tech Section untuk memecah kesan putih monoton */
.section-dark {
    background:
        radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.22), transparent 44%),
        radial-gradient(circle at 88% 82%, rgba(14, 165, 233, 0.16), transparent 42%),
        linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
    color: var(--ink-inverse);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.section-dark h2,
.section-dark h3,
.section-dark strong {
    color: var(--ink-inverse);
}

.section-dark p {
    color: #cbd5e1;
}

.section-dark .eyebrow {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(96, 165, 250, 0.28);
}

.section-dark .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--ink-inverse);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: none;
}

.section-dark .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.45);
}

.section-dark .card {
    background: rgba(17, 28, 51, 0.82);
    border-color: var(--line-dark);
    box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.45);
}

.section-dark code {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(148, 163, 184, 0.28);
    color: #93c5fd;
}

.section-header {
    max-width: 720px;
    margin-bottom: 28px;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-primary);
    background: var(--accent-soft);
    border: 1px solid #dbeafe;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}

h1, h2, h3, h4 {
    margin: 0 0 14px 0;
    color: var(--ink-primary);
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(30px, 4.2vw, 44px);
    line-height: 1.14;
    font-weight: 800;
}

h2 {
    font-size: clamp(24px, 3vw, 33px);
    line-height: 1.22;
    font-weight: 800;
}

h3 {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

p {
    margin: 0 0 14px 0;
    color: var(--ink-secondary);
}

p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   HERO & DARK TELEMETRY PIPELINE (STAPE/VERCEL INSPIRED)
   ========================================================= */
.hero {
    position: relative;
    padding: 68px 0 76px 0;
    border-bottom: 1px solid var(--line-subtle);
    background-color: #f8fafc;
    background-image:
        radial-gradient(circle at 82% 18%, rgba(37, 99, 235, 0.11), transparent 42%),
        radial-gradient(circle at 12% 85%, rgba(14, 165, 233, 0.09), transparent 38%),
        radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: auto, auto, 24px 24px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-lead {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink-primary);
    margin: 14px 0 12px 0;
    line-height: 1.48;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bg-page);
    border: 1px solid var(--line-subtle);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink-secondary);
    box-shadow: var(--shadow-sm);
}

.hero-meta::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
    flex-shrink: 0;
}

/* Dark Telemetry Pipeline Card (Hero Kanan index.php) */
.pipeline-box {
    background: linear-gradient(180deg, #0f172a 0%, #0b1120 100%);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-lg);
    color: var(--ink-inverse);
}

.pipeline-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #94a3b8;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.pipeline-top span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
}

.pipeline-top span:first-child::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
}

.pipeline-top span:last-child {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.14);
    padding: 3px 8px;
    border-radius: 4px;
}

.pipeline-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.pipeline-node {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 14px 15px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--radius-md);
    background: rgba(30, 41, 59, 0.55);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.pipeline-node:hover {
    border-color: rgba(96, 165, 250, 0.5);
    transform: translateX(3px);
}

.pipeline-node strong {
    display: block;
    font-size: 14px;
    color: #f8fafc;
    margin-bottom: 3px;
}

.pipeline-node span {
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.5;
}

.node-idx {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: #7dd3fc;
    background: rgba(14, 165, 233, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.32);
    border-radius: 6px;
    padding: 3px 8px;
    margin-top: 1px;
    flex-shrink: 0;
}

/* =========================================================
   ZIGZAG SPLIT LAYOUT (DESKTOP ZIGZAG, MOBILE TEXT-FIRST)
   ========================================================= */
.split-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: center;
}

.split-copy {
    min-width: 0;
}

.split-media {
    min-width: 0;
}

@media (min-width: 901px) {
    .split-row.is-reversed .split-media {
        order: -1;
    }
}

/* =========================================================
   GRIDS, CARDS & COMPARISON LEDGER
   ========================================================= */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.card {
    background: var(--bg-page);
    border: 1px solid var(--line-subtle);
    border-radius: var(--radius-md);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    border-color: var(--line-strong);
}

.section-alt .card {
    background: var(--bg-page);
}

.card-subtle {
    background: var(--bg-surface-soft);
}

.checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checklist li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 11px;
    font-size: 14.5px;
    color: var(--ink-secondary);
}

.checklist li:last-child {
    margin-bottom: 0;
}

.checklist li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-primary);
    font-weight: 700;
}

.checklist.check-emerald li::before {
    content: "✓";
    color: var(--accent-emerald);
}

.checklist.check-rose li::before {
    content: "×";
    color: var(--accent-rose);
}

/* Comparison Table dengan Highlight Kolom Solusi */
.compare-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line-subtle);
    border-radius: var(--radius-lg);
    background: var(--bg-page);
    box-shadow: var(--shadow-md);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    min-width: 620px;
}

.compare-table th,
.compare-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid var(--line-subtle);
    vertical-align: top;
}

.compare-table th {
    background: var(--bg-surface);
    font-weight: 700;
    color: var(--ink-primary);
}

.compare-table th:last-child {
    background: #eff6ff;
    color: var(--accent-primary-hover);
    border-left: 2px solid #bfdbfe;
}

.compare-table td:last-child {
    background: #f8fbff;
    border-left: 2px solid #dbeafe;
    color: var(--ink-primary);
    font-weight: 500;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

/* =========================================================
   PRICING & OFFER BLOCK
   ========================================================= */
.pricing-layout {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 28px;
    align-items: start;
}

.pricing-card {
    position: relative;
    background: var(--bg-page);
    border: 1.5px solid var(--accent-primary);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.pricing-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-cyan), #10b981);
}

.price-figure {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 14px 0 6px 0;
    font-variant-numeric: tabular-nums;
}

.price-figure .amount {
    font-size: clamp(32px, 3.6vw, 40px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink-primary);
}

.price-figure .unit {
    font-size: 14px;
    color: var(--ink-muted);
    font-weight: 600;
}

.price-ledger {
    margin: 18px 0;
    padding: 14px 16px;
    background: var(--bg-surface-soft);
    border: 1px solid var(--line-subtle);
    border-radius: var(--radius-md);
    font-size: 13.5px;
}

.ledger-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--line-subtle);
}

.ledger-row span:last-child {
    text-align: right;
}

.ledger-row:last-child {
    border-bottom: none;
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px solid var(--line-subtle);
    font-weight: 700;
    color: var(--ink-primary);
}

.strike {
    text-decoration: line-through;
    color: var(--ink-muted);
    margin-right: 6px;
    font-weight: 400;
}

.notice-box {
    padding: 16px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line-subtle);
    background: var(--bg-surface-soft);
    font-size: 14px;
    margin-top: 16px;
}

.notice-box.amber {
    background: var(--accent-amber-soft);
    border-color: #fde68a;
    color: var(--ink-primary);
}

.notice-box.emerald {
    background: var(--accent-emerald-soft);
    border-color: #a7f3d0;
    color: var(--ink-primary);
}

/* =========================================================
   SHOWCASE IMAGE FRAME (APP WINDOW & PORTRAIT + LIGHTBOX)
   ========================================================= */
.img-box {
    margin: 0;
}

.media-frame {
    display: block;
    margin: 0;
    background: var(--bg-page);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.media-frame:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.35);
}

.frame-chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--line-subtle);
}

.frame-dots {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.frame-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
}

.frame-dots span:nth-child(1) { background: #f87171; }
.frame-dots span:nth-child(2) { background: #fbbf24; }
.frame-dots span:nth-child(3) { background: #34d399; }

.frame-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.frame-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent-primary);
    background: var(--accent-soft);
    border: 1px solid #bfdbfe;
    padding: 2px 7px;
    border-radius: 999px;
    flex-shrink: 0;
}

.frame-body {
    position: relative;
    background: #ffffff;
    padding: 10px;
}

.frame-body img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    cursor: zoom-in;
}

.frame-zoom-btn {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 6px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
    backdrop-filter: blur(6px);
}

.media-frame:hover .frame-zoom-btn,
.frame-zoom-btn:focus {
    opacity: 1;
    transform: translateY(0);
}

.frame-zoom-btn:hover {
    background: var(--accent-primary);
}

/* Frame di dalam Dark Section */
.section-dark .media-frame {
    background: #111c33;
    border-color: rgba(96, 165, 250, 0.28);
    box-shadow: 0 24px 54px -18px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(96, 165, 250, 0.14);
}

.section-dark .frame-chrome {
    background: linear-gradient(180deg, #1e293b 0%, #162033 100%);
    border-bottom-color: rgba(148, 163, 184, 0.2);
}

.section-dark .frame-title {
    color: #e2e8f0;
}

.section-dark .frame-badge {
    background: rgba(56, 189, 248, 0.14);
    color: #7dd3fc;
    border-color: rgba(125, 211, 252, 0.28);
}

/* Portrait Frame Khusus Foto Profil (tanpa chrome browser) */
.media-frame.is-portrait {
    padding: 10px;
    background: linear-gradient(145deg, #ffffff 0%, #e2e8f0 100%);
    border: 1px solid var(--line-strong);
}

.portrait-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-ink);
}

.portrait-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.portrait-caption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(11, 17, 32, 0.82);
    backdrop-filter: blur(8px);
    color: #f8fafc;
    font-size: 12.5px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.14);
    width: fit-content;
    max-width: calc(100% - 24px);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    flex-shrink: 0;
}

/* Placeholder jika file gambar belum di-upload */
.img-placeholder {
    border: 1.5px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--bg-surface-soft);
    padding: 26px 22px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.img-ph-badge {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent-primary);
    background: var(--accent-soft);
    border: 1px solid #bfdbfe;
    padding: 2px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.img-ph-title { font-size: 15px; font-weight: 700; color: var(--ink-primary); }
.img-ph-desc { font-size: 13px; color: var(--ink-muted); line-height: 1.5; }
.img-ph-path { align-self: flex-start; margin-top: 4px; }

/* Lightbox Zoom Modal */
.lb-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(11, 17, 32, 0.88);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lb-overlay.is-open {
    display: flex;
}

.lb-dialog {
    position: relative;
    max-width: 1080px;
    width: 100%;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
}

.lb-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    color: #e2e8f0;
    font-size: 13.5px;
    font-weight: 600;
}

.lb-close {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
}

.lb-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lb-body {
    padding: 12px;
    background: #ffffff;
    max-height: 82vh;
    overflow: auto;
}

.lb-body img {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--line-subtle);
    border-radius: var(--radius-md);
    background: var(--bg-page);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-trigger {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 16px 20px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.faq-trigger:hover {
    background: var(--bg-surface-soft);
}

.faq-icon {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.faq-panel {
    display: none;
    padding: 14px 20px 18px 20px;
    font-size: 14.5px;
    color: var(--ink-secondary);
    border-top: 1px solid var(--line-subtle);
}

.faq-item.is-open .faq-panel { display: block; }
.faq-item.is-open .faq-icon::before { content: "−"; }
.faq-item:not(.is-open) .faq-icon::before { content: "+"; }

/* =========================================================
   CTA STRIP & FOOTER
   ========================================================= */
.cta-strip {
    background:
        radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.3), transparent 45%),
        var(--bg-ink);
    color: var(--ink-inverse);
    padding: 64px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.cta-strip h2 { color: var(--ink-inverse); margin-top: 10px; }
.cta-strip p { color: #cbd5e1; }

.cta-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-strip-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.site-footer {
    background: #070c18;
    color: #cbd5e1;
    padding: 56px 0 44px 0;
    font-size: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
    gap: 32px;
}

.footer-logo { color: var(--ink-inverse); margin-bottom: 12px; }
.footer-desc, .footer-contact { font-size: 13.5px; color: #94a3b8; line-height: 1.6; }
.footer-copy { font-size: 12.5px; color: #64748b; margin-top: 16px; }
.site-footer h4 { color: var(--ink-inverse); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a, .footer-links span { color: #cbd5e1; font-size: 13.5px; }
.footer-links a:hover { color: var(--ink-inverse); }

/* =========================================================
   RESPONSIVE MOBILE & TABLET
   ========================================================= */
@media (max-width: 900px) {
    .section {
        padding: 40px 0;
    }

    .hero {
        padding: 32px 0 38px 0;
    }

    .hero-grid,
    .split-row,
    .pricing-layout,
    .grid-2,
    .grid-3,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .frame-zoom-btn {
        opacity: 1;
        transform: none;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-page);
        border-bottom: 1px solid var(--line-subtle);
        box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px 24px 22px 24px;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a:not(.btn) {
        padding: 11px 0;
        border-bottom: 1px solid var(--line-subtle);
    }

    .main-nav .btn {
        margin-top: 8px;
    }
}

@media (max-width: 540px) {
    .container {
        padding: 0 16px;
    }

    .hero-actions .btn,
    .cta-strip-actions .btn {
        width: 100%;
    }

    .ledger-row {
        flex-direction: column;
        gap: 2px;
    }

    .ledger-row span:last-child {
        text-align: left;
    }

    .frame-badge {
        display: none;
    }
}

/* =========================================================
   FINAL POLISH: CHROME ZOOM, DARK BADGES & TABLET/MOBILE FIX
   ========================================================= */
html {
    overflow-x: clip;
}

.main-nav a:not(.btn) {
    white-space: nowrap;
}

.frame-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.frame-chrome .frame-zoom-btn {
    position: static;
    opacity: 1;
    transform: none;
    padding: 3px 9px;
    font-size: 11px;
    border-radius: 999px;
    background: var(--bg-page);
    color: var(--ink-secondary);
    border: 1px solid var(--line-strong);
    backdrop-filter: none;
}

.frame-chrome .frame-zoom-btn:hover {
    background: var(--accent-primary);
    color: #ffffff;
    border-color: var(--accent-primary);
}

.section-dark .frame-chrome .frame-zoom-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.3);
}

.section-dark .frame-chrome .frame-zoom-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
}

.section-dark .pill {
    background: rgba(59, 130, 246, 0.16);
    color: #93c5fd;
    border-color: rgba(147, 197, 253, 0.3);
}

.section-dark .pill-emerald {
    background: rgba(16, 185, 129, 0.16);
    color: #6ee7b7;
    border-color: rgba(110, 231, 183, 0.3);
}

.ledger-row span:first-child {
    flex-shrink: 0;
    color: var(--ink-muted);
}

.ledger-row:last-child span:first-child {
    color: var(--ink-primary);
}

/* Tablet Landscape (981px - 1100px): rapatkan jarak menu agar tidak tabrakan */
@media (max-width: 1100px) and (min-width: 981px) {
    .main-nav {
        gap: 14px;
    }
    .main-nav a:not(.btn) {
        font-size: 13px;
    }
}

/* Collapse menu lebih awal di 980px (aman untuk iPad & tablet) */
@media (max-width: 980px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-page);
        border-bottom: 1px solid var(--line-subtle);
        box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px 24px 22px 24px;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a:not(.btn) {
        padding: 11px 0;
        border-bottom: 1px solid var(--line-subtle);
    }

    .main-nav .btn {
        margin-top: 8px;
    }
}

/* Tablet Portrait & HP Lebar (<= 680px) */
@media (max-width: 680px) {
    .ledger-row {
        flex-direction: column;
        gap: 3px;
    }

    .ledger-row span:last-child {
        text-align: left;
    }

    .compare-table-wrap {
        -webkit-overflow-scrolling: touch;
    }

    .compare-table-wrap::after {
        content: "← Geser tabel ke samping untuk lihat perbandingan lengkap →";
        display: block;
        text-align: center;
        font-size: 11.5px;
        font-family: var(--font-mono);
        color: var(--ink-muted);
        padding: 8px 12px;
        background: var(--bg-surface);
        border-top: 1px solid var(--line-subtle);
    }
}

/* HP Kecil (<= 540px) */
@media (max-width: 540px) {
    .hero-meta,
    .portrait-caption {
        border-radius: 10px;
        align-items: flex-start;
    }

    .hero-meta::before,
    .status-dot {
        margin-top: 5px;
    }

    .portrait-caption {
        font-size: 11.5px;
        padding: 7px 10px;
    }

    .pricing-card,
    .card {
        padding: 20px;
    }
}

/* =========================================================
   MICRO-FIX RESPONSIVE (GRID OVERFLOW, LEGAL HERO, FRAME TITLE, LIGHTBOX)
   ========================================================= */
.hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.pricing-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.hero-grid > *,
.split-row > *,
.pricing-layout > *,
.grid-2 > *,
.grid-3 > *,
.footer-grid > * {
    min-width: 0;
}

.media-frame {
    max-width: 100%;
}

.hero-meta {
    flex-wrap: wrap;
}

.frame-title {
    flex: 1;
    min-width: 0;
}

@media (max-width: 900px) {
    .hero-grid,
    .split-row,
    .pricing-layout,
    .grid-2,
    .grid-3,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 680px) {
    .compare-table-wrap::after {
        position: sticky;
        left: 0;
    }
}

@media (max-width: 540px) {
    .btn {
        white-space: normal;
        text-align: center;
    }

    .lb-overlay {
        padding: 10px;
    }

    .lb-body {
        padding: 6px;
        max-height: 86vh;
    }
}
