
/* =========================================================
   KIRIBANG! — COMPLETE STYLESHEET
   Landing Page + Authentication + Dashboard
   Modern Mobility / Minimalist Premium Design
   ========================================================= */

/* 1. DESIGN SYSTEM */
:root {
    color-scheme: light;
    --red: #D92D20;
    --red-dark: #B42318;
    --yellow: #F5C542;
    --dark: #172033;
    --muted: #667085;
    --cream: #FAFAF8;
    --white: #FFFFFF;
    --font: "DM Sans", "Plus Jakarta Sans", sans-serif;

    --page: #FFFFFF;
    --surface: #FFFFFF;
    --surface-soft: #F5F6F8;
    --border: #EAECF0;
    --text: #172033;
    --text-muted: #667085;

    --shadow-soft: 0 12px 34px rgba(16, 24, 40, .07);
    --shadow-card: 0 16px 36px rgba(16, 24, 40, .09);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--page);
    line-height: 1.6;
    transition: background .25s ease, color .25s ease;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1160px, 90%);
    margin: auto;
}

/* 2. BRAND */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--red);
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 5px 14px rgba(217, 45, 32, .18);
}

.brand-name {
    color: var(--text);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -1.2px;
}

.brand-name span {
    color: var(--red);
}

/* 3. NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    height: 82px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 27px;
    font-size: 14px;
    font-weight: 600;
}

.nav-links a:not(.nav-button):not(.nav-login) {
    color: var(--text-muted);
    transition: color .2s ease;
}

.nav-links a:not(.nav-button):not(.nav-login):hover {
    color: var(--red);
}

.nav-login {
    color: var(--text);
    font-weight: 700;
}

.nav-button {
    padding: 11px 18px;
    border-radius: 12px;
    background: var(--red);
    color: #FFFFFF;
    box-shadow: 0 5px 14px rgba(217, 45, 32, .14);
    transition: .2s ease;
}

.nav-button:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 27px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--text);
    font-size: 18px;
    cursor: pointer;
    transition: .2s ease;
}

.theme-toggle:hover {
    border-color: var(--red);
    color: var(--red);
}

/* 4. HERO */
.hero {
    overflow: hidden;
    padding: 85px 0 105px;
    background: linear-gradient(180deg, var(--surface-soft) 0%, var(--page) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 55px;
}

.eyebrow,
.section-kicker {
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--surface);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #27B879;
}

.hero h1 {
    margin: 25px 0 20px;
    color: var(--text);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(42px, 5vw, 65px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -3px;
}

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

.hero-description {
    max-width: 510px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.9;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 48px;
    padding: 14px 21px;
    border: 0;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.button-primary {
    background: var(--red);
    color: #FFFFFF;
    box-shadow: 0 7px 18px rgba(217, 45, 32, .16);
}

.button-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

.button-outline {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
}

.button-outline:hover {
    border-color: var(--red);
    color: var(--red);
}

.hero-note {
    margin-top: 28px;
    color: var(--text-muted);
    font-size: 12px;
}

/* 5. HERO ILLUSTRATION */
.hero-visual {
    position: relative;
    padding: 20px;
}

.visual-card {
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: 25px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.visual-top,
.visual-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.visual-label {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.visual-badge {
    padding: 7px 11px;
    border-radius: 7px;
    background: #FFF2D0;
    color: #B37C09;
    font-size: 11px;
    font-weight: 800;
}

.angkot-illustration {
    position: relative;
    overflow: hidden;
    height: 270px;
    margin: 20px 0;
    border-radius: 18px;
    background: #FFF2D4;
}

.sun {
    position: absolute;
    top: 25px;
    right: 35px;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    background: #FFCC57;
}

.road-sign {
    position: absolute;
    top: 42px;
    left: 28px;
    padding: 8px 14px;
    border-radius: 5px;
    background: #FFFFFF;
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 5px 10px #00000010;
}

.angkot {
    position: absolute;
    bottom: 48px;
    left: 50%;
    z-index: 2;
    width: 260px;
    height: 130px;
    transform: translateX(-50%);
}

.angkot-roof {
    width: 180px;
    height: 34px;
    margin: auto;
    border-radius: 40px 40px 0 0;
    background: #D92D20;
}

.angkot-window {
    display: flex;
    justify-content: center;
    gap: 6px;
    height: 36px;
    background: #D92D20;
}

.angkot-window span {
    width: 73px;
    border: 4px solid #FFFFFF;
    border-radius: 5px;
    background: #BCE4E9;
}

.angkot-body {
    display: grid;
    place-items: center;
    height: 48px;
    border-radius: 4px 4px 12px 12px;
    background: var(--yellow);
    color: #49330B;
    font-size: 12px;
    font-weight: 900;
}

.wheel {
    position: absolute;
    bottom: -12px;
    width: 34px;
    height: 34px;
    border: 7px solid #30343B;
    border-radius: 50%;
    background: #B6B6B6;
}

.wheel-left {
    left: 35px;
}

.wheel-right {
    right: 35px;
}

.road {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 36px;
    background: #41444B;
}

.road::after {
    position: absolute;
    top: 16px;
    width: 100%;
    border-top: 3px dashed #FFFFFF;
    content: "";
}

.visual-bottom {
    padding: 3px 3px 0;
}

.visual-bottom strong,
.visual-bottom small {
    display: block;
}

.visual-bottom strong {
    font-size: 14px;
}

.visual-bottom small {
    color: var(--text-muted);
    font-size: 11px;
}

.visual-arrow {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--red);
    color: #FFFFFF;
}

.floating-tag {
    position: absolute;
    z-index: 3;
    padding: 12px 16px;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 10px 35px #00000015;
    font-size: 12px;
    font-weight: 700;
}

.tag-one {
    top: 5px;
    right: -8px;
}

.tag-two {
    bottom: 5px;
    left: -5px;
}

/* 6. ROUTE SEARCH */
.search-section {
    position: relative;
    z-index: 5;
    margin-top: -48px;
}

.search-card {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.search-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.search-heading h2 {
    margin-top: 5px;
    color: var(--text);
    font-size: 23px;
    letter-spacing: -.8px;
}

.search-heading p {
    color: var(--text-muted);
    font-size: 13px;
}

.search-icon {
    color: var(--red);
    font-size: 34px;
}

.route-form {
    display: grid;
    grid-template-columns: 1fr 35px 1fr auto;
    align-items: end;
    gap: 15px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.form-field input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    background: var(--surface-soft);
    color: var(--text);
    font-size: 13px;
}

.form-field input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(217, 45, 32, .09);
}

.swap-icon {
    padding-bottom: 13px;
    color: var(--red);
    font-weight: 800;
    text-align: center;
}

.search-button {
    white-space: nowrap;
}

.search-disclaimer {
    margin-top: 13px;
    color: var(--text-muted);
    font-size: 11px;
}

/* 7. GENERAL SECTIONS */
.section-padding {
    padding: 100px 0;
}

.section-heading {
    max-width: 650px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-heading h2,
.about-copy h2,
.partners-content h2 {
    margin: 13px 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.25;
    letter-spacing: -1.8px;
}

.section-heading h2 span,
.about-copy h2 span {
    color: var(--red);
}

.section-heading p,
.about-copy p,
.partners-content p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* 8. FEATURES */
.features {
    background: var(--page);
}

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

.feature-card {
    position: relative;
    overflow: hidden;
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    border-radius: 12px;
    font-size: 23px;
}

.icon-red {
    background: #FFEBE8;
    color: var(--red);
}

.icon-yellow {
    background: #FFF5D9;
    color: #B7810D;
}

.icon-green {
    background: #E4F8EC;
    color: #218B52;
}

.icon-blue {
    background: #E9F2FF;
    color: #3478C8;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 16px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.9;
}

.feature-number {
    position: absolute;
    top: 18px;
    right: 20px;
    color: var(--border);
    font-size: 24px;
    font-weight: 800;
}

/* 9. ABOUT */
.about-section {
    background: var(--surface-soft);
}

.about-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 80px;
}

.about-art {
    display: grid;
    place-items: center;
}

.about-circle {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: var(--yellow);
    transform: rotate(-5deg);
}

.about-big-text {
    color: var(--red);
    font-size: 47px;
    font-weight: 900;
    letter-spacing: -3px;
}

.about-small-text {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.about-mini-bus {
    margin-top: 12px;
    font-size: 65px;
}

.about-copy h2 {
    margin: 14px 0 20px;
}

.about-copy p {
    margin-bottom: 13px;
}

.text-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
}

/* 10. PARTNERS */
.partners-section {
    background: var(--page);
    text-align: center;
}

.partners-content {
    max-width: 760px;
}

.partners-content h2 {
    margin-bottom: 17px;
}

.partner-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px;
    margin-top: 28px;
}

.partner-list span {
    padding: 11px 18px;
    border-radius: 30px;
    background: #FFF4ED;
    color: #A94632;
    font-size: 12px;
    font-weight: 700;
}

/* 11. FOOTER */
.footer {
    padding: 35px 0;
    background: #172033;
    color: #FFFFFF;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-brand .brand-name {
    color: #FFFFFF;
}

.footer-content p,
.copyright {
    color: #B8BBC2;
    font-size: 11px;
}

/* 12. AUTHENTICATION PAGES */
.auth-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 36px 18px;
    background: var(--surface-soft);
}

.auth-shell {
    width: min(100%, 460px);
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.auth-shell h1 {
    margin-bottom: 8px;
    font: 800 28px/1.2 "Plus Jakarta Sans", sans-serif;
    letter-spacing: -1px;
    color: var(--text);
}

.auth-subtitle {
    margin-bottom: 25px;
    color: var(--text-muted);
    font-size: 14px;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-form label {
    display: grid;
    gap: 7px;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.auth-form input,
.auth-form select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    background: var(--surface-soft);
    color: var(--text);
    font: inherit;
}

.auth-form input:focus,
.auth-form select:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(217, 45, 32, .09);
}

.auth-form button {
    width: 100%;
    margin-top: 5px;
}

.auth-message {
    min-height: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

.auth-message.error {
    color: #B42318;
}

.auth-message.success {
    color: #067647;
}

.auth-foot {
    margin-top: 22px;
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
}

.auth-foot a {
    color: var(--red);
    font-weight: 700;
}

.back-home {
    display: inline-block;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

/* 13. DASHBOARD LAYOUT */
.dashboard-layout {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    min-height: 100vh;
    background: var(--surface-soft);
    color: var(--text);
}

.dash-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 34px;
    height: 100vh;
    padding: 28px 18px;
    border-right: 1px solid var(--border);
    background: var(--surface);
}

.dash-sidebar .brand {
    padding: 0 7px;
}

.dash-nav {
    display: grid;
    gap: 7px;
}

.dash-nav a,
.dash-nav button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--text-muted);
    font: 600 14px var(--font);
    text-align: left;
    cursor: pointer;
    transition: background .2s ease, color .2s ease,
                border-color .2s ease, transform .2s ease;
}

.dash-nav a:hover,
.dash-nav button:hover {
    background: rgba(217, 45, 32, .07);
    color: var(--red);
}

.dash-nav a.active {
    background: rgba(217, 45, 32, .09);
    color: var(--red);
    font-weight: 700;
}

/* 14. DASHBOARD LOGOUT BUTTON */
#logoutButton {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--text-muted);
    font: 600 14px var(--font);
    text-align: left;
    cursor: pointer;
    transition: all .2s ease;
}

#logoutButton:hover {
    border-color: rgba(217, 45, 32, .12);
    background: rgba(217, 45, 32, .09);
    color: var(--red);
}

#logoutButton:active {
    transform: scale(.98);
}

/* 15. DASHBOARD MAIN CONTENT */
.dash-main {
    min-width: 0;
    padding: 36px;
}

.dash-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.dash-top h1 {
    margin-top: 5px;
    color: var(--text);
    font: 800 27px/1.3 "Plus Jakarta Sans", sans-serif;
    letter-spacing: -.8px;
}

.dash-panel {
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.dash-panel h2,
.dash-panel h3 {
    color: var(--text);
    font-family: "Plus Jakarta Sans", sans-serif;
    letter-spacing: -.4px;
}

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

.dash-muted {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.8;
}

.dash-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 30px;
    background: #FFF4D6;
    color: #805B00;
    font-size: 12px;
    font-weight: 700;
}

.dash-panel .button {
    text-decoration: none;
}

/* 16. DARK MODE */
html[data-theme="dark"] {
    color-scheme: dark;

    --page: #111827;
    --surface: #1B2638;
    --surface-soft: #222F43;
    --border: #344054;
    --text: #F2F4F7;
    --text-muted: #AAB4C3;
    --dark: #F2F4F7;
    --muted: #AAB4C3;
    --cream: #111827;
    --white: #1B2638;

    --shadow-soft: 0 14px 34px rgba(0, 0, 0, .22);
    --shadow-card: 0 16px 36px rgba(0, 0, 0, .25);
}

html[data-theme="dark"] body {
    background: var(--page);
    color: var(--text);
}

html[data-theme="dark"] .navbar {
    background: var(--surface);
    border-bottom-color: var(--border);
}

html[data-theme="dark"] .hero {
    background: linear-gradient(180deg, #1B2638 0%, #111827 100%);
}

html[data-theme="dark"] .about-section {
    background: var(--surface-soft);
}

html[data-theme="dark"] .partners-section,
html[data-theme="dark"] .features {
    background: var(--page);
}

html[data-theme="dark"] .visual-card,
html[data-theme="dark"] .search-card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .dash-panel {
    border-color: var(--border);
    background: var(--surface);
    color: var(--text);
}

html[data-theme="dark"] .visual-card small,
html[data-theme="dark"] .visual-label {
    color: var(--text-muted);
}

html[data-theme="dark"] .button-outline {
    border-color: var(--border);
    background: var(--surface);
    color: var(--text);
}

html[data-theme="dark"] .nav-links {
    background: var(--surface);
}

html[data-theme="dark"] .nav-links a:not(.nav-button):not(.nav-login) {
    color: var(--text-muted);
}

html[data-theme="dark"] .nav-login {
    color: var(--text);
}

html[data-theme="dark"] .dash-sidebar {
    border-color: var(--border);
    background: var(--surface);
}

html[data-theme="dark"] .dashboard-layout {
    background: var(--page);
}

html[data-theme="dark"] .dash-top h1,
html[data-theme="dark"] .dash-panel h2,
html[data-theme="dark"] .dash-panel h3 {
    color: var(--text);
}

html[data-theme="dark"] .dash-nav a,
html[data-theme="dark"] #logoutButton {
    color: var(--text-muted);
}

html[data-theme="dark"] .dash-nav a:hover,
html[data-theme="dark"] .dash-nav a.active,
html[data-theme="dark"] #logoutButton:hover {
    background: rgba(217, 45, 32, .15);
    color: #FF746B;
}

html[data-theme="dark"] .dash-chip {
    background: #47391C;
    color: #F5D77B;
}

html[data-theme="dark"] .auth-page {
    background: var(--page);
}

html[data-theme="dark"] .auth-shell {
    border-color: var(--border);
    background: var(--surface);
}

html[data-theme="dark"] .auth-shell h1,
html[data-theme="dark"] .auth-form label {
    color: var(--text);
}

html[data-theme="dark"] .auth-form input,
html[data-theme="dark"] .auth-form select {
    border-color: var(--border);
    background: var(--surface-soft);
    color: var(--text);
}

/* 17. ACCESSIBILITY */
.dash-nav a:focus-visible,
.dash-nav button:focus-visible,
#logoutButton:focus-visible,
.theme-toggle:focus-visible,
.button:focus-visible,
.nav-button:focus-visible {
    outline: 3px solid rgba(217, 45, 32, .25);
    outline-offset: 3px;
}

/* 18. RESPONSIVE — TABLET */
@media (max-width: 900px) {
    .hero-grid {
        gap: 20px;
    }

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

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

    .about-grid {
        gap: 35px;
    }

    .route-form {
        grid-template-columns: 1fr 1fr;
    }

    .swap-icon {
        display: none;
    }

    .dashboard-layout {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .dash-main {
        padding: 26px 22px;
    }

    .dash-sidebar {
        padding: 22px 13px;
    }
}

/* 19. RESPONSIVE — MOBILE */
@media (max-width: 700px) {
    .navbar {
        height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        width: 100%;
        padding: 22px 5%;
        border-bottom: 1px solid var(--border);
        background: var(--surface);
        box-shadow: 0 15px 20px #0000000d;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-button {
        text-align: center;
    }

    .nav-login {
        padding: 8px;
        text-align: center;
    }

    .theme-toggle {
        align-self: center;
    }

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

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

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

    .hero-visual {
        margin-top: 25px;
        padding: 10px;
    }

    .angkot-illustration {
        height: 230px;
    }

    .angkot {
        transform: translateX(-50%) scale(.85);
        transform-origin: bottom center;
    }

    .tag-one {
        right: -3px;
    }

    .search-card {
        padding: 23px 18px;
    }

    .search-heading h2 {
        font-size: 20px;
    }

    .route-form {
        grid-template-columns: 1fr;
    }

    .search-button {
        width: 100%;
    }

    .section-padding {
        padding: 75px 0;
    }

    .section-heading h2,
    .about-copy h2,
    .partners-content h2 {
        font-size: 32px;
    }

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

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

    .about-circle {
        width: 270px;
        height: 270px;
    }

    .about-big-text {
        font-size: 38px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-shell {
        padding: 27px 22px;
    }

    /* Dashboard mobile layout */
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dash-sidebar {
        position: sticky;
        top: 0;
        z-index: 50;
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        height: auto;
        padding: 12px 15px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .dash-sidebar .brand {
        padding: 0 4px;
    }

    .dash-nav {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .dash-nav::-webkit-scrollbar {
        display: none;
    }

    .dash-nav a,
    .dash-nav button {
        width: auto;
        min-width: max-content;
        min-height: 40px;
        padding: 9px 12px;
        font-size: 12px;
    }

    .dash-sidebar > div {
        margin-top: 0 !important;
    }

    #logoutButton {
        width: auto;
        min-height: 40px;
        padding: 9px 12px;
        font-size: 12px;
    }

    .dash-main {
        padding: 23px 16px;
    }

    .dash-top {
        margin-bottom: 20px;
    }

    .dash-top h1 {
        font-size: 22px;
    }

    .dash-panel {
        padding: 21px;
        border-radius: 17px;
    }

    .dash-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }
}

/* 20. SMALL MOBILE */
@media (max-width: 380px) {
    .dash-nav a,
    .dash-nav button,
    #logoutButton {
        padding: 8px 10px;
        font-size: 11px;
    }

    .dash-main {
        padding: 19px 12px;
    }

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

    .brand-name {
        font-size: 21px;
    }
}
