:root {
    --bg-main: #020712;
    --bg-deep: #030a16;
    --bg-panel: #050d1f;
    --primary: #1fe0c0;
    --primary-soft: rgba(31, 224, 192, 0.3);
    --accent: #11b2ff;
    --accent-soft: rgba(17, 178, 255, 0.3);
    --gold: #f5c66b;
    --gold-soft: #f4d29d;

    /* TEKS LEBIH TAJAM & KONTRAS */
    --text-main: #f8fbff;
    --text-muted: #c3d1ff;

    --shadow-strong: 0 30px 70px rgba(0, 0, 0, 0.9);
    --radius-xl: 32px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, #05142b 0, #020712 40%, #010309 100%);
    color: var(--text-main);
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* PERTAJAM TEKS UTILITY BOOTSTRAP YANG TERLALU REDUP */
.text-white-50 {
    color: rgba(248, 249, 252, 0.88) !important;
}

/* ================= SHELL LAYOUT ================= */

.wm-shell {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 16px;
}

@media (min-width: 992px) {
    .wm-shell {
        padding: 24px 40px;
    }
}

.wm-shell-bg {
    pointer-events: none;
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 0%, rgba(17, 178, 255, 0.26), transparent 60%),
        radial-gradient(circle at 80% 10%, rgba(31, 224, 192, 0.22), transparent 65%),
        linear-gradient(180deg, #020712 0, #02040a 100%);
    opacity: .95;
}

.wm-shell-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    background: radial-gradient(circle at top left, rgba(31, 224, 192, 0.14), rgba(3, 9, 22, 0.97));
    border-radius: 28px;
    border: 1px solid rgba(31, 224, 192, 0.35);
    box-shadow: var(--shadow-strong);
    display: flex;
    overflow: hidden;
}

/* Efek noise halus */
.wm-noise::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
    pointer-events: none;
}

/* ================= SIDE MENU ================= */

.wm-side {
    width: 88px;
    background: linear-gradient(180deg, #020816, #020611);
    border-right: 1px solid rgba(31, 224, 192, 0.25);
    padding: 24px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

@media (min-width: 992px) {
    .wm-side {
        width: 120px;
        padding-inline: 18px;
    }
}

.wm-menu-btn {
    --btn-width: 220px;
    position: relative;
    border: none;
    width: 68px;
    max-width: var(--btn-width);
    height: 42px;
    margin-block: 4px;
    border-radius: 999px;
    background: linear-gradient(145deg, #19b5ff, #19ffd4);
    box-shadow:
        0 10px 18px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(0, 0, 0, 0.6),
        0 0 18px rgba(31, 224, 192, 0);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10px;
    cursor: pointer;
    overflow: hidden;
    transition:
        width .45s cubic-bezier(.19, 1, .22, 1),
        box-shadow .25s ease,
        transform .2s ease;
}

.wm-menu-btn i.icon {
    font-size: 1.2rem;
    color: #021017;
}

.wm-menu-btn span.label {
    opacity: 0;
    white-space: nowrap;
    margin-left: 8px;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #021017;
    transform: translateX(-10px);
    transition: opacity .35s ease, transform .35s ease;
}

.wm-menu-btn.size-sm {
    --btn-width: 190px;
}

.wm-menu-btn.size-md {
    --btn-width: 230px;
}

.wm-menu-btn.size-lg {
    --btn-width: 260px;
}

.wm-menu-btn:hover {
    transform: translateX(4px);
    box-shadow:
        0 14px 26px rgba(0, 0, 0, 0.85),
        0 0 28px rgba(31, 224, 192, 0.55);
}

.wm-menu-btn.active {
    width: var(--btn-width);
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.9),
        0 0 32px rgba(31, 224, 192, 0.75);
}

.wm-menu-btn.active span.label {
    opacity: 1;
    transform: translateX(0);
}

/* ================= MAIN AREA ================= */

.wm-main {
    flex: 1;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
}

.wm-main-inner {
    position: relative;
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 20px;
}

@media (min-width: 992px) {
    .wm-main-inner {
        padding: 32px 40px;
    }
}

.wm-state {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity .4s ease, transform .4s ease;
    overflow-y: auto;
}

.wm-state.home-state {
    align-items: center;
    justify-content: center;
}

.wm-state.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* ================= HOME / LOGO (DEFAULT) ================= */

.wm-home-layout {
    text-align: center;
}

.wm-logo-wrap {
    display: inline-flex;
    padding: 32px;
    border-radius: 32px;
    background: radial-gradient(circle at top, rgba(0, 0, 0, 0.2), #050d1f);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(0, 0, 0, 1);
    transform: translateX(120px);
    opacity: 0;
}

.wm-logo {
    width: min(260px, 48vw);
    height: auto;
    filter: drop-shadow(0 18px 40px rgba(0, 255, 190, .6));
}

.wm-tagline-main {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 26px;
    max-width: 640px;
    margin-inline: auto;
}

.wm-tagline-main span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.wm-tagline-sub {
    margin-top: 10px;
    font-size: .96rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-inline: auto;
}

/* ================= HERO BERANDA ================= */

.wm-hero {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wm-hero-card {
    position: relative;
    max-width: 900px;
    width: 100%;
    padding: 24px 26px 24px;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at top left, rgba(31, 224, 192, .16), var(--bg-panel));
    border: 1px solid rgba(31, 224, 192, 0.45);
    box-shadow: var(--shadow-strong);
}

.wm-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.wm-hero-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wm-panel-back-home,
.wm-panel-back {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(31, 224, 192, 0.7);
    background: radial-gradient(circle at top, var(--primary-soft), #020816);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    flex-shrink: 0;
}

.wm-hero-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.wm-chip-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: radial-gradient(circle at 0 0, rgba(245, 198, 107, 0.2), transparent 60%),
        rgba(4, 10, 20, 0.92);
    border: 1px solid rgba(245, 198, 107, 0.7);
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.wm-chip-main span.dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f5c66b, #ffe6b9);
    box-shadow: 0 0 10px rgba(245, 198, 107, 0.9);
}

.wm-chip-sub {
    font-size: .74rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(229, 236, 255, 0.7);
}

.wm-hero-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    line-height: 1.25;
    margin-bottom: 10px;
    color: var(--text-main);
}

.wm-hero-title span.brand {
    color: var(--gold);
}

.wm-hero-subtitle {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: rgba(243, 245, 255, 0.9);
}

.wm-hero-text {
    font-size: .95rem;
    color: var(--text-muted);
    max-width: 640px;
}

.wm-hero-text strong {
    color: #f7e2b8;
}

.wm-hero-meta {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    align-items: center;
    font-size: .84rem;
    color: rgba(229, 236, 255, 0.80);
}

.wm-hero-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(6, 10, 22, 0.92);
    border: 1px solid rgba(245, 198, 107, 0.6);
    font-weight: 500;
}

.wm-hero-meta-badge span.dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #f5c66b;
}

.wm-hero-cta-row {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-hero-main {
    position: relative;
    border: none;
    border-radius: 999px;
    padding: 11px 22px;
    background: linear-gradient(135deg, #1fe0c0, #11b2ff);
    color: #020712;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow:
        0 18px 34px rgba(20, 255, 200, .55),
        0 0 0 1px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    cursor: pointer;
}

.btn-hero-main:hover {
    box-shadow:
        0 24px 46px rgba(20, 255, 200, .8),
        0 0 0 1px rgba(0, 0, 0, 0.85);
    transform: translateY(-1px);
}

.btn-hero-ghost {
    border-radius: 999px;
    border: 1px solid rgba(245, 198, 107, 0.7);
    padding: 10px 18px;
    background: rgba(5, 6, 14, 0.9);
    color: var(--gold-soft);
    font-size: .9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-ghost:hover {
    background: rgba(245, 198, 107, 0.09);
}

/* ================= PANEL (LAYANAN / PAKET / DLL) ================= */

.wm-panel {
    position: relative;
    max-width: 780px;
    width: 100%;
    background: radial-gradient(circle at top left, rgba(31, 224, 192, .16), var(--bg-panel));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(31, 224, 192, 0.45);
    box-shadow: var(--shadow-strong);
    padding: 22px 20px 24px;
}

@media (min-width: 768px) {
    .wm-panel {
        padding: 26px 30px 30px;
    }
}

.wm-panel-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.wm-panel-title {
    font-size: 0.98rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--text-main);
}

.wm-panel-body {
    margin-top: 8px;
    font-size: .94rem;
    color: var(--text-muted);
}

.wm-panel-body h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.wm-panel-body p {
    margin-bottom: .6rem;
}

.wm-list {
    margin-top: .5rem;
    padding-left: 1.1rem;
}

.wm-list li {
    margin-bottom: .35rem;
}

.wm-panel-cta {
    margin-top: 16px;
}

.btn-3d-main {
    position: relative;
    border-radius: 999px;
    border: none;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #020712;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 18px 34px rgba(20, 255, 200, .55);
    overflow: hidden;
}

.btn-3d-main:hover {
    box-shadow: 0 24px 46px rgba(20, 255, 200, .8);
    transform: translateY(-1px);
}

.btn-ghost {
    border-radius: 999px;
    border: 1px solid rgba(245, 198, 107, 0.6);
    padding: 10px 20px;
    background: rgba(5, 6, 14, 0.85);
    color: var(--gold-soft);
    font-size: .9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-ghost:hover {
    background: rgba(245, 198, 107, 0.08);
}

/* ================= CARD PAKET / PRICING ================= */

.wm-price-card {
    background: linear-gradient(145deg, rgba(5, 10, 24, 0.96), rgba(2, 6, 16, 0.96));
    border-radius: 22px;
    padding: 14px 14px 16px;
    border: 1px solid rgba(245, 198, 107, 0.35);
    box-shadow:
        10px 16px 30px rgba(0, 0, 0, 0.9),
        -4px -4px 12px rgba(255, 255, 255, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wm-price-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(4, 10, 20, 0.92);
    border: 1px solid rgba(245, 198, 107, 0.6);
    font-size: 0.75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 6px;
}

.wm-price-title {
    font-family: "Playfair Display", serif;
    font-size: 1.05rem;
    margin: 0;
    color: var(--text-main);
}

.wm-price-number {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: 4px;
    margin-bottom: 8px;
}

.wm-price-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-main);
}

.wm-price-list li {
    margin-bottom: 4px;
}

/* ================= PACKAGE CARDS TOGGLE ================= */
.wm-package-cards {
    display: none;
}

.wm-package-cards.show {
    display: block;
}

/* ================= DEMO GALLERY + PREVIEW ================= */

.demo-shell {
    width: 100%;
    padding-top: 4px;
}

.demo-panel {
    background: radial-gradient(circle at top left, rgba(31, 224, 192, .16), var(--bg-panel));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(31, 224, 192, 0.45);
    box-shadow: var(--shadow-strong);
    padding: 18px 18px 14px;
    position: relative;
    overflow: hidden;
}

.demo-panel-inner {
    position: relative;
    z-index: 1;
}

.demo-list {
    max-height: 520px;
    overflow-y: auto;
    padding-right: 4px;
}

.demo-list::-webkit-scrollbar {
    width: 6px;
}

.demo-list::-webkit-scrollbar-track {
    background: rgba(8, 10, 24, 0.7);
    border-radius: 999px;
}

.demo-list::-webkit-scrollbar-thumb {
    background: rgba(245, 198, 107, 0.6);
    border-radius: 999px;
}

.demo-card {
    background: linear-gradient(135deg, rgba(12, 12, 20, 0.92), rgba(4, 4, 10, 0.92));
    border-radius: 18px;
    padding: 12px 12px 11px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 12px;
    align-items: center;
    transition: all 0.18s ease-out;
    cursor: pointer;
    box-shadow:
        10px 14px 24px rgba(0, 0, 0, 0.75),
        -5px -5px 16px rgba(255, 255, 255, 0.02);
}

.demo-card-thumb {
    width: 60px;
    height: 44px;
    border-radius: 10px;
    background:
        linear-gradient(135deg, #2a3452, #1a2037),
        radial-gradient(circle at 10% 0, rgba(245, 198, 107, 0.4), transparent 60%);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.demo-card-thumb::before {
    content: "";
    position: absolute;
    inset: 16% 10%;
    border-radius: 6px;
    background: linear-gradient(135deg, #f5c66b, #f5e6c0);
    opacity: 0.7;
}

.demo-card-meta h6 {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-main);
}

.demo-card-meta small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.76;
    color: var(--text-muted);
}

.demo-card-actions .btn {
    font-size: 0.74rem;
    padding: 3px 9px;
}

.demo-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 198, 107, 0.65);
    box-shadow:
        14px 18px 30px rgba(0, 0, 0, 0.9),
        -5px -5px 18px rgba(255, 255, 255, 0.03),
        0 0 0 1px rgba(245, 198, 107, 0.35);
}

.demo-card.active {
    border-color: rgba(245, 198, 107, 0.95);
    box-shadow:
        16px 20px 36px rgba(0, 0, 0, 0.95),
        -6px -6px 20px rgba(255, 255, 255, 0.04),
        0 0 0 1px rgba(245, 198, 107, 0.55);
}

.demo-card.active h6 {
    color: var(--gold-soft);
}

.preview-panel {
    background: radial-gradient(circle at top left, rgba(31, 224, 192, .16), var(--bg-panel));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(31, 224, 192, 0.45);
    box-shadow: var(--shadow-strong);
    padding: 18px 18px 20px;
    position: relative;
    overflow: hidden;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.preview-title {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
    color: var(--text-muted);
}

.preview-actions .btn {
    font-size: 0.8rem;
}

.nav-pills .nav-link {
    border-radius: 999px;
    font-size: 0.8rem;
    padding: 6px 14px;
    background: rgba(8, 9, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(248, 249, 250, 0.8);
}

.nav-pills .nav-link.active {
    background: linear-gradient(145deg, #f5c66b, #f7e5b3);
    color: #120c03;
    border-color: rgba(245, 198, 107, 1);
}

/* Laptop mockup */
.laptop-frame {
    margin-top: 10px;
    border-radius: 20px;
    padding: 12px 12px 16px;
    background: linear-gradient(145deg, #202535, #121725);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow:
        14px 18px 30px rgba(0, 0, 0, 0.9),
        -8px -8px 18px rgba(255, 255, 255, 0.03);
    position: relative;
}

.laptop-status-dots {
    position: absolute;
    top: 10px;
    left: 18px;
    display: flex;
    gap: 6px;
}

.laptop-status-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.21);
}

.laptop-screen {
    margin-top: 18px;
    border-radius: 14px;
    overflow: hidden;
    background: #05060b;
    height: 60vh;
    min-height: 360px;
}

.laptop-screen iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.laptop-base {
    margin-top: 14px;
    height: 16px;
    border-radius: 0 0 18px 18px;
    background: linear-gradient(90deg, #5f647c, #a3a7bb, #5f647c);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

/* Phone mockup */
.phone-wrapper {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 320px;
    max-width: 100%;
    border-radius: 32px;
    padding: 10px;
    background: radial-gradient(circle at 0 0, rgba(245, 198, 107, 0.16), transparent 60%),
        linear-gradient(145deg, #222739, #141827);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        16px 22px 32px rgba(0, 0, 0, 0.95),
        -10px -10px 20px rgba(255, 255, 255, 0.04),
        0 0 0 1px rgba(245, 198, 107, 0.35);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 34%;
    height: 14px;
    border-radius: 0 0 16px 16px;
    background: rgba(6, 7, 14, 0.94);
}

.phone-screen {
    margin-top: 18px;
    border-radius: 24px;
    overflow: hidden;
    background: #050810;
    height: 520px;
    max-height: 70vh;
}

.phone-screen iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Fullscreen overlay */
.preview-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, rgba(245, 198, 107, 0.18), transparent 55%),
        rgba(1, 2, 8, 0.96);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease-out, visibility 0.22s ease-out;
}

.preview-overlay.show {
    opacity: 1;
    visibility: visible;
}

.preview-overlay-inner {
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    border-radius: 22px;
    background: linear-gradient(145deg, #050611, #101323);
    border: 1px solid rgba(245, 198, 107, 0.5);
    box-shadow:
        0 26px 65px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(245, 198, 107, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.preview-overlay-header {
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.preview-overlay-header h6 {
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
}

.preview-overlay-body {
    flex: 1;
    background: #050509;
    border-radius: 0 0 22px 22px;
    overflow: hidden;
}

.preview-overlay-body iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ================= PENAJAMAN WARNA TEKS UTAMA ================= */

/* Teks utama di panel & hero dibuat lebih kontras */
.wm-panel-body {
    color: var(--text-main);
}

.wm-panel-body p {
    color: var(--text-main);
}

.wm-list li {
    color: var(--text-main);
}

/* Hero & meta dibuat lebih terang */
.wm-hero-text {
    color: var(--text-main);
}

.wm-hero-meta {
    color: var(--text-main);
}

/* Teks paragraf di demo panel dan preview dibuat lebih terang */
.demo-panel p,
.preview-panel p {
    color: var(--text-main);
}

/* Elemen kecil / meta tetap sedikit lebih lembut */
.demo-card-meta small,
.preview-title,
.wm-chip-sub {
    color: var(--text-muted);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991.98px) {
    .wm-main-inner {
        padding: 16px;
    }

    .wm-state {
        padding: 16px;
    }

    .preview-panel {
        margin-top: 18px;
    }
}

@media (max-width: 767.98px) {

    /* ===== 0. SAAT NAVIGASI DISSEMBUNYIKAN (MOBILE) ===== */
    /* Body akan diberi class .wm-nav-hidden oleh app.js saat user memilih menu */
    body.wm-nav-hidden .wm-shell {
        padding-top: 16px;
        /* sebelumnya 48px, dikurangi karena menu hilang */
    }

    body.wm-nav-hidden .wm-side {
        display: none;
        /* baris tombol menu disembunyikan */
    }

    body.wm-nav-hidden .wm-main {
        margin-top: 0;
        /* hilangkan jarak ekstra dari menu */
    }

    body.wm-nav-hidden .wm-main-inner {
        padding-top: 12px;
        /* sedikit ruang di atas konten */
    }

    /* ===== 1. SHELL & MENU ATAS ===== */
    .wm-shell {
        /* override versi desktop */
        height: auto;
        /* tidak paksa 100vh */
        min-height: 100vh;
        /* tetap bisa full-screen */
        padding: 48px 10px 16px;
        /* TOP 48px → kartu + tombol turun lebih jauh */
    }

    .wm-shell-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: visible;
    }

    .wm-side {
        position: relative;
        width: 100%;
        padding: 10px 0 14px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 10px;
        border-bottom: 1px solid rgba(31, 224, 192, 0.25);
        z-index: 10;
    }

    /* ===== 2. TOMBOL MENU (ELIPS, MEMANJANG KE BAWAH SAAT AKTIF) ===== */
    .wm-menu-btn {
        /* bentuk ELIPS (pill) saat normal */
        width: 110px;
        height: 44px;
        border-radius: 999px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding: 0 12px;
        box-shadow:
            0 10px 18px rgba(0, 0, 0, 0.7),
            0 0 0 1px rgba(0, 0, 0, 0.6),
            0 0 18px rgba(31, 224, 192, 0);
        transition:
            height .45s cubic-bezier(.19, 1, .22, 1),
            transform .2s ease,
            box-shadow .25s ease;
    }

    .wm-menu-btn i.icon {
        font-size: 1.35rem;
        margin-right: 4px;
    }

    .wm-menu-btn span.label {
        /* teks disembunyikan saat normal */
        opacity: 0;
        white-space: nowrap;
        font-size: .80rem;
        letter-spacing: .12em;
        margin-left: 6px;
        writing-mode: vertical-rl;
        transform: translateY(10px);
        transition: opacity .35s ease, transform .35s ease;
    }

    .wm-menu-btn.active {
        /* TETAP elips di atas, tapi memanjang ke bawah */
        width: 110px;
        height: 160px;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 8px 8px 12px;
        box-shadow:
            0 16px 32px rgba(0, 0, 0, 0.9),
            0 0 32px rgba(31, 224, 192, 0.75);
    }

    .wm-menu-btn.active span.label {
        opacity: 1;
        transform: translateY(0);
        margin-left: 0;
        margin-top: 4px;
    }

    /* ===== 3. KONTEN UTAMA DI BAWAH MENU ===== */
    .wm-main {
        width: 100%;
        margin-top: 10px;
        /* jarak dari menu */
        overflow: hidden;
    }

    .wm-main-inner {
        flex: 1;
        padding: 8px 6px 20px;
        display: flex;
        align-items: stretch;
        justify-content: center;
    }

    .wm-state {
        align-items: flex-start;
        justify-content: flex-start;
        padding: 12px 4px 20px;
    }

    /* ===== 4. CARD LEBIH LELUASA ===== */
    .wm-hero-card,
    .wm-panel,
    .demo-panel,
    .preview-panel {
        border-radius: 24px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Tetap pakai blok XS seperti semula */
@media (max-width: 575.98px) {
    .demo-card {
        align-items: flex-start;
    }

    .demo-card-actions {
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
    }
}

.wm-contact-whatsapp {
    margin-top: 48px;
    /* naikkan angka ke 40px / 48px jika ingin lebih turun */
}