:root {
    color-scheme: light;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --paper: #ffffff;
    --wash: #f8fafc;
    --brand: #0284c7;
    --brand-dark: #0369a1;
    --amber: #fbbf24;
    --max-width: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
a { color: inherit; }
.site-header, .site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 40px, var(--max-width));
    margin-inline: auto;
}
.site-header { min-height: 76px; border-bottom: 1px solid var(--line); }
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-dark);
    font-size: 18px;
    font-weight: 750;
    text-decoration: none;
}
.brand-mark {
    display: grid;
    width: 34px;
    aspect-ratio: 1;
    place-items: center;
    color: var(--paper);
    background: var(--brand);
    border-radius: 9px;
    font-size: 17px;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--brand); }
.menu-toggle { display: none; }
main { width: min(100% - 40px, var(--max-width)); margin-inline: auto; }
.hero { padding: clamp(64px, 11vw, 132px) 0 76px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 12px; color: var(--brand); font-size: 11px; font-weight: 750; letter-spacing: 0.08em; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(42px, 7vw, 76px); line-height: 1.04; font-weight: 750; }
.hero h1 span { color: var(--brand); }
.hero-copy { max-width: 600px; margin: 22px 0 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 6px;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}
.button-primary { color: var(--paper); background: var(--brand); }
.button-primary:hover { background: var(--brand-dark); }
.button-muted { color: var(--muted); background: var(--wash); border-color: var(--line); cursor: not-allowed; }
.hero-note, .architecture-note, .pricing-note { color: var(--muted); font-size: 13px; }
.hero-note { margin: 12px 0 0; }
.content-section { padding: 64px 0; border-bottom: 1px solid var(--line); }
.section-heading { max-width: 680px; margin-bottom: 28px; }
.section-heading h2, .growth-section h2 { margin: 0; font-size: clamp(26px, 4vw, 38px); line-height: 1.2; }
.section-heading > p:last-child, .growth-section > div:first-child > p:last-child { max-width: 680px; margin: 12px 0 0; color: var(--muted); }
.two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.two-column h3, .swot-grid h3, .canvas-grid h3 { margin: 0 0 8px; font-size: 16px; }
.two-column p, .swot-grid p, .canvas-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.check-list, .plain-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: grid; gap: 2px; padding-left: 16px; border-left: 2px solid var(--amber); }
.check-list span, .plain-list li { color: var(--muted); font-size: 14px; }
.plain-list li strong { color: var(--ink); }
.architecture { display: flex; align-items: stretch; gap: 12px; }
.architecture-node {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 16px;
    background: var(--wash);
    border: 1px solid var(--line);
    border-radius: 6px;
}
.architecture-node strong { font-size: 14px; }
.architecture-node span { color: var(--muted); font-size: 12px; }
.architecture-arrow { align-self: center; color: var(--brand); font-weight: 700; }
.architecture-note { margin: 14px 0 0; }
.swot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.swot-grid article { padding: 18px 18px 18px 0; }
.swot-grid article + article { padding-left: 18px; border-left: 1px solid var(--line); }
.canvas-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.canvas-grid article { min-height: 130px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.canvas-grid h3 { color: var(--brand-dark); font-size: 14px; }
.canvas-grid p { font-size: 13px; }
.growth-section { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); gap: 48px; align-items: start; }
.pricing-list { border-top: 1px solid var(--line); }
.pricing-list > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pricing-list span { font-size: 14px; font-weight: 700; }
.pricing-list strong { color: var(--brand-dark); font-size: 14px; }
.pricing-list small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.pricing-note { grid-column: 2; margin: -32px 0 0; }
.site-footer { min-height: 90px; gap: 20px; }
.site-footer p { margin: 0; color: var(--muted); font-size: 12px; text-align: right; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

@media (max-width: 760px) {
    .site-header, .site-footer, main { width: min(100% - 32px, var(--max-width)); }
    .site-header { position: relative; min-height: 68px; }
    .menu-toggle {
        display: grid;
        width: 42px;
        height: 42px;
        align-content: center;
        justify-items: center;
        gap: 5px;
        padding: 0;
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: 6px;
    }
    .menu-toggle span { width: 18px; height: 2px; background: var(--brand-dark); }
    .site-nav {
        position: absolute;
        z-index: 2;
        top: calc(100% - 1px);
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 8px 16px;
        background: var(--paper);
        border: 1px solid var(--line);
    }
    .site-nav.is-open { display: flex; flex-direction: column; }
    .site-nav a { padding: 10px 0; }
    .hero { padding: 68px 0 54px; }
    .hero-copy { font-size: 16px; }
    .content-section { padding: 48px 0; }
    .two-column, .growth-section { grid-template-columns: 1fr; gap: 28px; }
    .architecture { display: grid; grid-template-columns: 1fr; }
    .architecture-node { min-height: 88px; padding: 12px; }
    .architecture-arrow { justify-self: center; transform: rotate(90deg); }
    .swot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .swot-grid article:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
    .swot-grid article:nth-child(4) { border-top: 1px solid var(--line); }
    .canvas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .canvas-grid article { min-height: 144px; padding: 12px; }
    .pricing-note { grid-column: 1; margin: -16px 0 0; }
}

@media (max-width: 420px) {
    .hero-actions { align-items: stretch; flex-direction: column; }
    .button { width: 100%; padding-inline: 10px; font-size: 13px; }
    .swot-grid article { padding-right: 10px; }
    .swot-grid article + article { padding-left: 10px; }
    .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding-block: 18px; }
    .site-footer p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* Signature 3D "Efek Timbul" & Depth Tokens */
        .card-timbul {
            background: #ffffff;
            border: 1px solid rgba(226, 232, 240, 0.9);
            border-top: 1.5px solid rgba(255, 255, 255, 0.9);
            box-shadow: 
                0 10px 25px -5px rgba(15, 23, 42, 0.08),
                0 8px 10px -6px rgba(15, 23, 42, 0.04),
                inset 0 1px 1px 0 rgba(255, 255, 255, 1);
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .card-timbul:hover {
            transform: translateY(-6px) scale(1.01);
            box-shadow: 
                0 20px 35px -10px rgba(2, 132, 199, 0.16),
                0 12px 15px -6px rgba(15, 23, 42, 0.08),
                inset 0 1px 2px 0 rgba(255, 255, 255, 1);
            border-color: rgba(2, 132, 199, 0.3);
        }

        .btn-timbul-primary {
            background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
            border-top: 1px solid rgba(255, 255, 255, 0.4);
            box-shadow: 
                0 6px 16px -2px rgba(2, 132, 199, 0.4),
                0 2px 4px -1px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
            transition: all 0.18s ease-in-out;
        }

        .btn-timbul-primary:hover {
            transform: translateY(-2px);
            box-shadow: 
                0 10px 22px -2px rgba(2, 132, 199, 0.5),
                0 4px 6px -1px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
        }

        .btn-timbul-primary:active {
            transform: translateY(1px);
            box-shadow: 
                0 2px 6px 0 rgba(2, 132, 199, 0.3),
                inset 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .btn-timbul-amber {
            background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
            border-top: 1px solid rgba(255, 255, 255, 0.4);
            box-shadow: 
                0 6px 16px -2px rgba(245, 158, 11, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
            transition: all 0.18s ease-in-out;
        }

        .btn-timbul-amber:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 22px -2px rgba(245, 158, 11, 0.5);
        }

        .glass-header {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(226, 232, 240, 0.8);
            box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
        }

        /* 3D Phone Mockup Bezel */
        .phone-bezel-3d {
            border: 12px solid #0f172a;
            border-radius: 40px;
            box-shadow: 
                0 25px 60px -15px rgba(15, 23, 42, 0.35),
                0 10px 20px -5px rgba(2, 132, 199, 0.2),
                inset 0 0 0 2px rgba(255, 255, 255, 0.2);
            position: relative;
        }

        .badge-gold {
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
            color: #ffffff;
            box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
        }

        /* Tab Content Display Logic */
        .demo-tab-content { display: none; }
        .demo-tab-content.active { display: block; }

        /* Custom Scrollbar */
        ::-webkit-scrollbar { width: 6px; height: 6px; }
        ::-webkit-scrollbar-track { background: #f1f5f9; }
        ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 9999px; }

        .floating-decorations {
            position: absolute;
            inset: 0;
            z-index: 20;
            pointer-events: none;
        }

        .floating-icon {
            position: absolute;
            display: grid;
            width: 48px;
            height: 48px;
            place-items: center;
            border: 1px solid rgba(226, 232, 240, 0.9);
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.96);
            box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
            font-size: 20px;
            animation: icon-float 4s ease-in-out infinite;
        }

        .floating-rocket { top: -20px; right: -14px; color: #0284c7; animation-delay: -0.5s; }
        .floating-motorcycle { top: 34%; left: -28px; color: #059669; animation-delay: -1.6s; }
        .floating-book { right: -20px; bottom: 24%; color: #d97706; animation-delay: -2.4s; }
        .floating-paper { bottom: -18px; left: 28%; color: #e11d48; animation-delay: -3.2s; }

        @keyframes icon-float {
            0%, 100% { transform: translateY(0) rotate(-5deg); }
            50% { transform: translateY(-12px) rotate(5deg); }
        }

        @media (max-width: 640px) {
            .floating-icon { width: 42px; height: 42px; font-size: 18px; }
            .floating-motorcycle { left: -14px; }
            .floating-book { right: -10px; }
            .floating-rocket { right: -6px; }
        }

        @media (prefers-reduced-motion: reduce) {
            .floating-icon { animation: none; }
        }


/* Cegah scroll horizontal tanpa memotong ikon/kartu yang melayang di Hero */
html, body { overflow-x: clip; }
