:root {
    --cream: #f7f4ed;
    --cream-light: #fbfaf7;
    --purple: #21145f;
    --purple-dark: #17104a;
    --gold: #a87519;
    --gold-light: #c18a25;
    --text: #17152b;
    --muted: #68677a;
    --border: #e5e0d7;
    --white: #ffffff;
    --success: #eaf6ed;
    --success-text: #246b36;
    --error: #fff0f0;
    --error-text: #9c2929;
    --shadow: 0 28px 65px rgba(42, 32, 74, 0.15);
    --radius: 14px;
}

.brand-logo {
    height: 42px;
    width: auto;
    display: block;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream-light);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

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

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 248, 242, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.nav-container {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.desktop-nav a {
    padding: 10px 13px;
    color: var(--purple);
    font-size: 14px;
    font-weight: 600;
}

.desktop-nav a:hover {
    color: var(--gold);
}

.desktop-nav .nav-portal {
    margin-left: 8px;
    padding: 11px 17px;
    background: var(--purple);
    color: var(--white);
    border-radius: 9px;
}

.desktop-nav .nav-portal:hover {
    color: var(--white);
    background: var(--purple-dark);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--white);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--purple);
}

.mobile-nav {
    display: none;
}

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 70px 0 80px;

    background:
        radial-gradient(circle at 78% 30%, rgba(193, 138, 37, 0.12), transparent 28%),
        linear-gradient(135deg, var(--cream-light), #f3eee4);

    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;

    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 4px;
}

.hero h1 {
    max-width: 620px;
    margin: 0 0 23px;

    color: var(--purple);
    font-size: clamp(43px, 5vw, 67px);
    line-height: 1.04;
    letter-spacing: -2.8px;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    max-width: 610px;
    margin: 0;

    color: var(--muted);
    font-size: 18px;
}




/* =========================================================
   REFERENCE-STYLE DASHBOARD MOCKUP
   ========================================================= */

.dashboard-mockup {
    position: relative;

    width: 100%;
    padding: 14px;

    background: var(--white);
    border: 1px solid #ddd6c9;
    border-radius: 18px;

    box-shadow: 0 28px 65px rgba(42, 32, 74, 0.15);

    transform: rotate(1deg);
}

.mockup-top {
    height: 32px;

    display: flex;
    align-items: center;
    gap: 6px;

    border-bottom: 1px solid #eee9df;
}

.mockup-dot {
    width: 8px;
    height: 8px;

    flex: 0 0 8px;

    border-radius: 50%;
    background: #d9d1c3;
}

.mockup-body {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);

    min-height: 360px;
}

.mockup-sidebar {
    min-width: 0;
    padding: 17px 11px;

    border-right: 1px solid #eee9df;
}

.mockup-logo {
    margin-bottom: 23px;

    color: var(--purple);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
}

.mockup-menu-item {
    padding: 9px 5px;

    color: #555166;
    font-size: 8px;
    font-weight: 700;
    line-height: 1.35;
}

.mockup-menu-item.active {
    color: var(--gold);
}

.mockup-main {
    min-width: 0;
    padding: 20px;
}

.mockup-main h3 {
    margin: 0 0 16px;

    color: var(--purple);
    font-size: 18px;
    line-height: 1.2;
}

.mockup-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mockup-stat {
    min-width: 0;
    padding: 14px;

    border: 1px solid #eee9df;
    border-radius: 10px;

    background: #fcfbf8;
}

.mockup-stat small {
    display: block;

    margin-bottom: 4px;

    color: #858092;
    font-size: 9px;
    line-height: 1.2;
}

.mockup-stat strong {
    display: block;

    color: var(--purple);
    font-size: 16px;
    line-height: 1.25;

    white-space: nowrap;
}

.mockup-chart {
    height: 145px;

    position: relative;
    overflow: hidden;

    margin-top: 12px;

    border: 1px solid #eee9df;
    border-radius: 10px;

    background: linear-gradient(180deg, #fff, #faf8f2);
}

.mockup-chart-svg {
    display: block;

    width: 100%;
    height: 100%;
}

.mockup-chart-svg line {
    stroke: #eee9df;
    stroke-width: 1;
    stroke-dasharray: 4 4;
}

.mockup-chart-svg .chart-area {
    fill: rgba(193, 138, 37, 0.08);
}

.mockup-chart-svg .chart-line {
    fill: none;
    stroke: var(--gold);
    stroke-width: 3;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.mockup-chart-svg circle {
    fill: var(--gold);
    stroke: #fff;
    stroke-width: 2;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 31px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 46px;
    padding: 14px 21px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background: #8f6416;
    transform: translateY(-1px);
}

.btn-outline {
    border: 1px solid #c9bfae;
    background: transparent;
    color: var(--purple);
}

.btn-outline:hover {
    background: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--purple);
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 19px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--purple);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--purple-dark);
    transform: translateY(-1px);
}

.btn-outline {
    border-color: var(--purple);
    color: var(--purple);
    background: transparent;
}

.btn-outline:hover {
    background: var(--purple);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--purple);
}

.btn-full {
    width: 100%;
}

.hero-note {
    margin-top: 24px;
    color: var(--muted);
    font-size: 13px;
}

.section {
    padding: 88px 0;
}

.section-light {
    background: var(--cream-light);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.section-heading h2,
.cta-box h2 {
    margin: 0 0 12px;
    color: var(--purple-dark);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card,
.contact-card {
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.feature-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    background: var(--cream);
    color: var(--gold);
    border-radius: 10px;
    font-size: 20px;
}

.feature-card h3,
.contact-card h2,
.guide-step h2 {
    margin: 0 0 9px;
    color: var(--purple-dark);
}

.feature-card p,
.contact-card p,
.guide-step p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.cta-section {
    padding: 30px 0 80px;
    background: var(--cream-light);
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 45px;
    background: var(--purple);
    border-radius: 22px;
}

.cta-box h2,
.cta-box p {
    color: var(--white);
}

.cta-box p {
    margin: 0;
    opacity: 0.75;
}

.page-hero {
    padding: 70px 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
}

.page-hero.compact {
    padding: 55px 0;
}

.page-hero h1 {
    margin: 0 0 10px;
    color: var(--purple-dark);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.08;
}

.page-hero p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
}

.guide-content {
    max-width: 900px;
}

.guide-step {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 25px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.step-number {
    color: var(--gold);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.contact-label {
    display: block;
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.text-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--purple);
    font-weight: 700;
}

.text-link:hover {
    color: var(--gold);
}

.auth-wrap {
    display: flex;
    justify-content: center;
}

.auth-card {
    width: min(560px, 100%);
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-bottom: 25px;
    padding: 5px;
    background: var(--cream);
    border-radius: 10px;
}

.auth-tabs a {
    padding: 11px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    border-radius: 7px;
}

.auth-tabs a.active {
    background: var(--white);
    color: var(--purple);
    box-shadow: 0 2px 8px rgba(36, 25, 54, 0.06);
}

.alert {
    padding: 12px 14px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
}

.alert-success {
    background: var(--success);
    color: var(--success-text);
}

.alert-error {
    background: var(--error);
    color: var(--error-text);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--purple-dark);
    font-size: 14px;
    font-weight: 700;
}

.form-group input {
    width: 100%;
    min-height: 45px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    font: inherit;
    outline: none;
}

.form-group input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(179, 138, 82, 0.12);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.site-footer {
    padding: 45px 0 20px;
    background: var(--purple-dark);
    color: var(--white);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-inner strong {
    color: var(--gold-light);
}

.footer-inner p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    margin-top: 35px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
}


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

@media (max-width: 900px) {

    .hero {
        padding: 65px 0;
    }

    .dashboard-mockup {
        max-width: 650px;
        margin: 0 auto;
    }

}

@media (max-width: 600px) {

    .hero {
        min-height: auto;
        padding: 58px 0 70px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .dashboard-mockup {
        padding: 10px;
        border-radius: 15px;
    }

    .mockup-body {
        grid-template-columns: 88px minmax(0, 1fr);
        min-height: 310px;
    }

    .mockup-sidebar {
        padding: 12px 7px;
    }

    .mockup-logo {
        font-size: 11px;
        margin-bottom: 18px;
    }

    .mockup-menu-item {
        padding: 7px 4px;
        font-size: 7px;
    }

    .mockup-main {
        padding: 14px;
    }

    .mockup-main h3 {
        margin-bottom: 12px;
        font-size: 16px;
    }

    .mockup-stat {
        padding: 10px;
    }

    .mockup-stat small {
        font-size: 8px;
    }

    .mockup-stat strong {
        font-size: 12px;
    }

    .mockup-chart {
        height: 120px;
        margin-top: 10px;
    }
}


@media (max-width: 900px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-nav {
        display: none;
        padding: 8px 20px 18px;
        background: var(--cream-light);
        border-top: 1px solid var(--border);
    }

    .mobile-nav.is-open {
        display: block;
    }

    .mobile-nav a {
        display: block;
        padding: 13px 0;
        border-bottom: 1px solid var(--border);
        color: var(--purple);
        font-weight: 700;
        font-size: 14px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .nav-container {
        min-height: 68px;
    }

    .hero {
        padding: 58px 0 65px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 60px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 30px 24px;
    }

    .auth-card {
        padding: 22px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .guide-step {
        grid-template-columns: 48px 1fr;
        gap: 15px;
    }
}

.account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.account-card {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.account-card h2 {
    margin: 0 0 10px;
    color: var(--purple-dark);
}

.account-card > p {
    margin: 0 0 24px;
    color: var(--muted);
}

.account-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.account-row:last-of-type {
    border-bottom: 0;
}

.account-row span {
    color: var(--muted);
}

.account-row strong {
    color: var(--purple-dark);
    text-align: right;
    overflow-wrap: anywhere;
}

.account-feature-placeholder {
    margin-top: 28px;
    padding: 18px;
    background: var(--cream);
    border-radius: 12px;
}

.account-feature-placeholder strong {
    color: var(--purple-dark);
}

.account-feature-placeholder p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 900px) {
    .account-grid {
        grid-template-columns: 1fr;
    }
}

.hero-free {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 18px;

    background: #f5e8c8;
    border: 1px solid #c9a24d;
    border-radius: 999px;

    color: #6f4d08;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.2px;

    box-shadow: 0 5px 15px rgba(111, 77, 8, 0.12);
}

.cta-actions .btn-login {
    background: #c99a2e;
    color: #24165f;
    border: 2px solid #c99a2e;
}

.cta-actions .btn-portal {
    background: #ffffff;
    color: #24165f;
    border: 2px solid #ffffff;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 70px;
}

.password-show {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);

    border: 0;
    background: transparent;

    color: #24165f;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    padding: 4px;
}

.password-show:hover {
    text-decoration: underline;
}

.field-check {
    min-height: 20px;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
}

.field-check.success {
    color: #218739;
}

.field-check.error {
    color: #c0392b;
}

.auth-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 16px;
    border: 1px solid #e1ddd5;
    border-radius: 12px;
    background: #fff;
    color: #17356f;
    font-size: 18px;
    font-family: inherit;
    line-height: 1.5;
    box-sizing: border-box;
    resize: vertical;
}

.auth-form textarea::placeholder {
    color: #777;
}

.auth-form textarea:focus {
    outline: none;
    border-color: #332078;
    box-shadow: 0 0 0 3px rgba(51, 32, 120, 0.08);
}

/* =========================================
   Business Category Custom Dropdown
   ========================================= */

.category-dropdown-wrapper {
    position: relative;
    width: 100%;
}

.category-dropdown-button {
    width: 100%;
    min-height: 58px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    color: var(--text);
    font: inherit;
    font-size: 18px;
    text-align: left;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;
}

.category-dropdown-button:hover {
    border-color: var(--gold);
}

.category-dropdown-button:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(179, 138, 82, 0.12);
}

.category-dropdown-arrow {
    margin-left: 15px;
    color: var(--purple-dark);
    font-size: 22px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.category-dropdown-wrapper.open .category-dropdown-arrow {
    transform: rotate(180deg);
}

.category-dropdown-menu {
    display: none;

    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;

    max-height: 300px;
    overflow-y: auto;

    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;

    box-shadow: 0 10px 30px rgba(36, 25, 54, 0.15);

    z-index: 1000;

    padding: 6px;
}

.category-dropdown-wrapper.open .category-dropdown-menu {
    display: block;
}

.category-dropdown-option {
    display: block;

    width: 100%;
    padding: 13px 14px;

    border: none;
    border-radius: 8px;

    background: transparent;
    color: var(--text);

    font: inherit;
    font-size: 16px;
    text-align: left;

    cursor: pointer;
}

.category-dropdown-option:hover {
    background: var(--cream);
    color: var(--purple-dark);
}

.category-dropdown-option.selected {
    background: rgba(179, 138, 82, 0.12);
    color: var(--purple-dark);
    font-weight: 700;
}

@media (max-width: 600px) {

    .category-dropdown-button {
        min-height: 56px;
        font-size: 16px;
    }

    .category-dropdown-option {
        padding: 13px 12px;
        font-size: 15px;
    }

    .category-dropdown-menu {
        max-height: 260px;
    }

}

/* =========================================
   Searchable Kota / Kabupaten
   ========================================= */

.city-search-wrapper {
    position: relative;
    width: 100%;
}

.city-search-input {
    width: 100%;
    height: 58px;
    padding: 0 16px;
    border: 1px solid #e1ddd5;
    border-radius: 12px;
    background: #fff;
    color: #17356f;
    font-size: 18px;
    font-family: inherit;
    box-sizing: border-box;
}

.city-search-input::placeholder {
    color: #777;
}

.city-search-input:focus {
    outline: none;
    border-color: #332078;
    box-shadow: 0 0 0 3px rgba(51, 32, 120, 0.08);
}

.city-search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e1ddd5;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    z-index: 1000;
}

.city-search-dropdown.show {
    display: block;
}

.city-search-option {
    padding: 14px 16px;
    font-size: 16px;
    color: #17356f;
    cursor: pointer;
    border-bottom: 1px solid #f1eee8;
}

.city-search-option:last-child {
    border-bottom: none;
}

.city-search-option:hover {
    background: #f5f2ff;
}

.city-search-option.active {
    background: #f0edff;
}

.city-search-empty {
    padding: 16px;
    font-size: 15px;
    color: #777;
}

/* Mobile */
@media (max-width: 600px) {

    .city-search-input {
        height: 56px;
        font-size: 16px;
    }

    .city-search-option {
        padding: 13px 14px;
        font-size: 15px;
    }

    .city-search-dropdown {
        max-height: 240px;
    }
}

.forgot-password-link {
    margin-top: 14px;
}

.forgot-password-link a {
    font-size: 14px;
}
