:root {
            --primary: #00B14F;      /* Hijau Grab */
            --primary-hover: #009140;
            --primary-light: #E5F7ED;
            --bg-gray: #F5F5F5;
            --white: #FFFFFF;
            --text-dark: #1a1a1a;
            --text-mid: #555555;
            --text-gray: #888888;
            --border: #E8E8E8;
            --green: #D4AF37;        /* Gold Accent */
            --green-light: #FEF9C3;  /* Light Gold */

            --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
            --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);

            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 16px;
            --radius-xl: 20px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
            -webkit-tap-highlight-color: transparent;
        }

        html { scroll-behavior: smooth; }

        body {
            background-color: #D5D5D5;
            color: var(--text-dark);
            display: flex;
            justify-content: center;
        }

        /* === DARK MODE VARIABLES === */
        body.dark-mode {
            background-color: #121212;
            --bg-gray: #1E1E1E;
            --white: #2C2C2C;
            --text-dark: #F5F5F5;
            --text-mid: #CCCCCC;
            --text-gray: #AAAAAA;
            --border: #444444;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.5);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
            --shadow-lg: 0 8px 24px rgba(0,0,0,0.6);
        }
        body.dark-mode .app-footer { background: #000000; }
        body.dark-mode .form-control { background: #333333; color: #fff; }
        body.dark-mode .qris-modal-content { background: #2C2C2C; }
        body.dark-mode .bottom-nav { background: rgba(30, 30, 30, 0.85); border-top: 1px solid rgba(255,255,255,0.05); }
        body.dark-mode .fab-circle { border-color: #121212; }
        body.dark-mode .search-bar { background: #333; border: 1px solid #444 !important; }

        /* === APP SHELL === */
        .app-container {
            width: 100%;
            max-width: 480px;
            background-color: var(--bg-gray);
            height: 100vh;
            height: 100dvh;
            position: relative;
            box-shadow: var(--shadow-lg);
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        /* === DESKTOP / PC VIEW (PHONE MOCKUP) === */
        @media (min-width: 481px) {
            body {
                align-items: center;
                background: linear-gradient(135deg, #2b3240 0%, #151821 100%);
            }
            .app-container {
                height: 90vh !important;
                max-height: 850px;
                border-radius: 36px;
                border: 10px solid #1a1a1a;
                box-shadow: 0 25px 50px -12px rgba(0,0,0,0.7), inset 0 0 0 2px #333;
                margin: 20px auto; /* Force horizontal centering */
            }
            
            /* Hide scrollbar for cleaner phone look */
            .content-area::-webkit-scrollbar { width: 6px; }
            .content-area::-webkit-scrollbar-track { background: transparent; }
            .content-area::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 10px; }
        }

        /* === LOADER === */
        #loader {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: var(--white);
            z-index: 9999;
            display: flex; flex-direction: column;
            justify-content: center; align-items: center;
            gap: 12px;
            transition: opacity 0.4s ease;
        }
        .spinner {
            width: 36px; height: 36px;
            border: 3px solid var(--border);
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        .loader-text { font-size: 0.8rem; color: var(--text-gray); }
        @keyframes spin { 100% { transform: rotate(360deg); } }

        /* === HEADER === */
        .app-header {
            background: var(--white);
            padding: 12px 15px;
            padding-top: calc(12px + env(safe-area-inset-top, 0px));
            position: sticky; top: 0;
            z-index: 1000;
            box-shadow: var(--shadow-sm);
        }

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

        .brand-logo {
            width: 36px; height: 36px;
            border-radius: 10px;
            object-fit: cover;
            flex-shrink: 0;
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        }

        .brand-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
        .brand-name {
            font-size: 0.85rem; font-weight: 700;
            color: var(--primary);
            line-height: 1.2;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .brand-tagline { font-size: 0.65rem; color: var(--text-gray); }

        .status-badge {
            display: inline-flex; align-items: center; gap: 5px;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.65rem; font-weight: 600;
            flex-shrink: 0;
        }
        .status-badge.online { background: var(--primary-light); color: var(--primary); }
        .status-badge.offline { background: #FEF2F2; color: #EF4444; }
        .status-dot {
            width: 7px; height: 7px;
            border-radius: 50%;
            animation: pulse-dot 1.5s ease-in-out infinite;
        }
        .status-badge.online .status-dot { background: var(--primary); }
        .status-badge.offline .status-dot { background: #EF4444; animation: none; }
        @keyframes pulse-dot {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.4; transform: scale(0.7); }
        }

        .search-bar {
            background: var(--bg-gray);
            border-radius: var(--radius-md);
            display: flex; align-items: center;
            padding: 9px 12px;
        }
        .search-bar i { color: var(--primary); margin-right: 10px; font-size: 0.85rem; }
        .search-bar input {
            border: none; background: none; outline: none;
            width: 100%; font-size: 0.85rem; color: var(--text-dark);
        }

        /* === SCROLLABLE CONTENT === */
        .content-area {
            flex: 1;
            overflow-y: auto;
            padding-bottom: 75px;
        }

        /* === DARK MODE TOGGLE === */
        .dark-toggle {
            background: none; border: none;
            color: var(--text-gray); font-size: 1.2rem;
            cursor: pointer; margin-left: 8px;
            transition: color 0.3s;
        }
        .dark-toggle:hover { color: var(--primary); }

        /* === FAVORITE SLIDER & EXTRA SERVICES === */
        .fav-slider {
            display: flex; gap: 12px;
            overflow-x: auto; scroll-snap-type: x mandatory;
            padding-bottom: 10px; margin-top: 10px;
        }
        .fav-slider::-webkit-scrollbar { display: none; }
        .fav-card {
            min-width: 130px; background: var(--bg-gray);
            border-radius: var(--radius-md); overflow: hidden;
            scroll-snap-align: start; flex-shrink: 0;
            border: 1px solid var(--border); cursor: pointer;
            transition: border-color 0.2s;
        }
        .fav-card:active { border-color: var(--primary); }
        .fav-img { width: 100%; height: 80px; object-fit: cover; }
        .fav-info { padding: 8px; }
        .fav-title { font-size: 0.75rem; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
        .fav-subtitle { font-size: 0.65rem; color: var(--text-gray); }

        .extra-services {
            display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
            padding: 0 15px 15px; background: var(--white); margin-bottom: 8px;
        }
        .extra-card {
            background: var(--bg-gray); border: 1px solid var(--border);
            border-radius: var(--radius-md); padding: 12px;
            display: flex; align-items: center; gap: 10px; cursor: pointer;
            text-decoration: none; color: var(--text-dark);
        }
        .extra-card i { font-size: 1.2rem; color: var(--primary); }
        .extra-card span { font-size: 0.75rem; font-weight: 600; line-height: 1.2; }

        /* === PROMO CODE & REVIEW BUTTON === */
        .promo-container {
            display: flex; gap: 8px; margin-bottom: 14px;
        }
        .btn-outline {
            display: inline-block; padding: 10px 15px;
            border: 1px solid var(--primary); border-radius: var(--radius-md);
            color: var(--primary); font-size: 0.85rem; font-weight: 600;
            text-align: center; cursor: pointer; text-decoration: none;
            transition: all 0.2s; width: 100%; margin-top: 10px;
        }
        .btn-outline:active { background: var(--primary-light); }

        /* === SERVICE TABS === */
        .service-tabs {
            display: flex; gap: 8px; margin-bottom: 20px;
            background: var(--bg-gray); padding: 5px; border-radius: var(--radius-md);
            border: 1px solid var(--border);
        }
        .service-tab {
            flex: 1; padding: 10px 5px; text-align: center;
            font-size: 0.75rem; font-weight: 600; color: var(--text-gray);
            border-radius: var(--radius-md); cursor: pointer;
            transition: all 0.3s;
        }
        .service-tab.active {
            background: var(--primary); color: #fff;
            box-shadow: var(--shadow-sm);
        }
        .service-tab i { display: block; font-size: 1.2rem; margin-bottom: 4px; }

        /* === FLEET SELECTION === */
        .fleet-selection {
            display: none; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 15px;
        }
        .fleet-card {
            border: 2px solid var(--border); border-radius: var(--radius-md); padding: 10px;
            text-align: center; cursor: pointer; transition: all 0.2s;
            background: var(--bg-gray); color: var(--text-gray);
        }
        .fleet-card.active {
            border-color: var(--primary); color: var(--primary); background: #e8f5e9;
        }
        body.dark-mode .fleet-card.active { background: #1a3320; }
        .fleet-card i { font-size: 1.5rem; margin-bottom: 5px; }
        .fleet-title { font-size: 0.8rem; font-weight: 700; }
        .fleet-desc { font-size: 0.65rem; }

        /* === ADMIN PROFILE === */
        .admin-profile {
            display: flex; align-items: center; gap: 15px;
            background: var(--white); padding: 15px; border-radius: var(--radius-md);
            margin: 15px; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
        }
        .admin-img {
            width: 70px; height: 70px; border-radius: 50%; object-fit: cover;
            border: 2px solid var(--primary); padding: 2px; flex-shrink: 0;
        }
        .admin-info h3 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin: 0 0 4px; display: flex; align-items: center; gap: 5px; }
        .admin-info h3 i { color: #1DA1F2; font-size: 0.9rem; }
        .admin-info p { font-size: 0.72rem; color: var(--text-gray); line-height: 1.4; margin: 0; }

        /* === GALLERY === */
        .gallery-title { font-size: 0.9rem; font-weight: 700; margin: 20px 15px 10px; color: var(--text-dark); }
        .gallery-slider {
            display: flex; gap: 10px; padding: 0 15px 15px; overflow-x: auto; scroll-snap-type: x mandatory;
        }
        .gallery-slider::-webkit-scrollbar { display: none; }
        .gallery-item {
            min-width: 160px; height: 160px; scroll-snap-align: start; flex-shrink: 0;
            border-radius: var(--radius-md); overflow: hidden; position: relative;
            box-shadow: var(--shadow-sm);
        }
        .gallery-item img { width: 100%; height: 100%; object-fit: cover; }
        .gallery-caption {
            position: absolute; bottom: 0; left: 0; right: 0;
            background: rgba(0,0,0,0.6); color: #fff; font-size: 0.7rem; padding: 6px; text-align: center;
        }

        /* === FLOATING WA === */
        .floating-wa {
            position: fixed; bottom: 80px; right: 20px; z-index: 99;
            background: #25D366; color: white; width: 50px; height: 50px;
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            font-size: 1.5rem; box-shadow: var(--shadow-md); transition: transform 0.2s;
            text-decoration: none;
        }
        .floating-wa:active { transform: scale(0.9); }

        /* === STATS BAR === */
        .stats-bar {
            display: flex;
            background: var(--white);
            padding: 16px 10px;
            margin-bottom: 8px;
            gap: 4px;
        }
        .stat-item {
            flex: 1;
            text-align: center;
            border-right: 1px solid var(--border);
        }
        .stat-item:last-child { border-right: none; }
        .stat-number {
            font-size: 1.2rem; font-weight: 800;
            color: var(--primary);
            line-height: 1;
        }
        .stat-label {
            font-size: 0.6rem; color: var(--text-gray);
            margin-top: 3px; font-weight: 500;
        }

        /* === PROMO BANNERS === */
        .promo-section {
            padding: 12px 0 12px 15px;
            background: var(--white);
            margin-bottom: 8px;
        }
        .banner-container {
            display: flex; gap: 10px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            padding-right: 15px;
        }
        .banner-container::-webkit-scrollbar { display: none; }
        .banner {
            min-width: 82%; height: 110px;
            border-radius: var(--radius-md);
            background: var(--primary);
            color: var(--white);
            scroll-snap-align: center;
            display: flex; align-items: center; justify-content: space-between;
            padding: 18px;
            box-shadow: var(--shadow-sm);
        }
        .banner-text h3 { font-size: 1rem; margin-bottom: 4px; font-weight: 700; }
        .banner-text p { font-size: 0.75rem; opacity: 0.9; }
        .banner > i { font-size: 2.5rem; opacity: 0.25; }

        /* === CATEGORIES === */
        .categories {
            background: var(--white);
            padding: 18px 15px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 14px 8px;
            margin-bottom: 8px;
        }
        .category-item {
            display: flex; flex-direction: column; align-items: center;
            text-decoration: none; color: var(--text-dark); gap: 6px;
        }
        .category-icon {
            width: 44px; height: 44px;
            background: var(--primary-light);
            border-radius: 12px;
            display: flex; justify-content: center; align-items: center;
            color: var(--primary); font-size: 1.1rem;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .category-item:active .category-icon { transform: scale(0.92); }
        .category-item span { font-size: 0.7rem; text-align: center; font-weight: 500; }

        /* === CARA KERJA === */
        .how-it-works {
            background: var(--white);
            padding: 20px 15px;
            margin-bottom: 8px;
        }
        .how-title {
            font-size: 1rem; font-weight: 700;
            margin-bottom: 16px;
            display: flex; align-items: center; gap: 8px;
        }
        .how-title i { color: var(--primary); }
        .steps-container {
            display: flex; flex-direction: column; gap: 0;
            position: relative;
        }
        .step {
            display: flex; align-items: flex-start; gap: 12px;
            position: relative;
            padding-bottom: 20px;
        }
        .step:last-child { padding-bottom: 0; }
        .step-icon {
            width: 36px; height: 36px;
            background: var(--primary);
            border-radius: 50%;
            display: flex; justify-content: center; align-items: center;
            color: white; font-size: 0.8rem; font-weight: 700;
            flex-shrink: 0;
            z-index: 2;
        }
        .step::before {
            content: '';
            position: absolute;
            left: 17px; top: 36px;
            width: 2px;
            height: calc(100% - 36px);
            background: var(--border);
            z-index: 1;
        }
        .step:last-child::before { display: none; }
        .step-content h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 2px; }
        .step-content p { font-size: 0.75rem; color: var(--text-gray); line-height: 1.4; }

        /* === SECTION HEADERS === */
        .section-header {
            padding: 15px 15px 10px;
            background: var(--white);
            font-size: 1rem; font-weight: 700;
            display: flex; align-items: center; gap: 8px;
        }
        .section-header i { color: var(--primary); }

        /* === FORMS === */
        .app-section {
            background: var(--white);
            padding: 0 15px 20px;
            margin-bottom: 8px;
        }
        .form-group { margin-bottom: 14px; }
        .form-group label {
            display: block; margin-bottom: 6px;
            font-size: 0.8rem; color: var(--text-dark); font-weight: 700;
        }
        .form-control {
            width: 100%; padding: 11px 12px;
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            font-size: 0.88rem;
            background: var(--white);
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .form-control:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(34,197,94,0.08);
        }
        textarea.form-control { resize: vertical; min-height: 80px; }

        /* === AUTOCOMPLETE === */
        .autocomplete-container { position: relative; }
        .autocomplete-list {
            position: absolute; top: 100%; left: 0; right: 0;
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            box-shadow: var(--shadow-md);
            max-height: 200px; overflow-y: auto;
            z-index: 1005; list-style: none;
            display: none;
        }
        .autocomplete-list li {
            padding: 10px 12px;
            border-bottom: 1px solid #f5f5f5;
            font-size: 0.82rem; cursor: pointer;
            display: flex; align-items: flex-start; gap: 8px;
            transition: background 0.15s;
        }
        .autocomplete-list li i { color: var(--text-gray); margin-top: 2px; }
        .autocomplete-list li:hover { background: var(--primary-light); color: var(--primary); }
        .autocomplete-list li:last-child { border-bottom: none; }
        .autocomplete-list strong { color: var(--text-dark); font-weight: 600; }
        .loading-text { padding: 10px; font-size: 0.82rem; color: var(--text-gray); text-align: center; }

        /* === BUTTONS === */
        .btn {
            width: 100%; padding: 13px; border: none;
            border-radius: var(--radius-md);
            font-size: 0.95rem; font-weight: 600;
            cursor: pointer; text-align: center;
            display: inline-flex; justify-content: center; align-items: center; gap: 8px;
            transition: transform 0.1s, background 0.2s;
        }
        .btn:active { transform: scale(0.98); }
        .btn-primary { background: var(--primary); color: var(--white); }
        .btn-primary:active { background: var(--primary-hover); }

        /* === RESULT BOX === */
        .result-box {
            background: var(--primary-light);
            border-radius: var(--radius-md);
            padding: 15px; margin-top: 15px;
            display: none;
            border: 1px solid rgba(34,197,94,0.1);
        }
        .result-box h4 { font-size: 0.85rem; color: var(--text-gray); margin-bottom: 4px; }
        .result-box .price { font-size: 1.5rem; color: var(--primary); font-weight: 800; }
        .result-box .distance { font-size: 0.82rem; color: var(--text-dark); font-weight: 500; margin-top: 4px; }
        #map {
            height: 180px;
            border-radius: var(--radius-sm);
            margin-top: 10px; display: none;
            z-index: 1;
        }

        /* === TESTIMONIALS === */
        .testimonials {
            background: var(--white);
            padding: 20px 15px;
            margin-bottom: 8px;
        }
        .testi-title {
            font-size: 1rem; font-weight: 700;
            margin-bottom: 14px;
            display: flex; align-items: center; gap: 8px;
        }
        .testi-title i { color: var(--primary); }
        .testi-scroll {
            display: flex; gap: 10px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            padding-bottom: 4px;
        }
        .testi-scroll::-webkit-scrollbar { display: none; }
        .testi-card {
            min-width: 78%;
            background: var(--bg-gray);
            border-radius: var(--radius-md);
            padding: 14px;
            scroll-snap-align: start;
        }
        .testi-header {
            display: flex; align-items: center; gap: 10px;
            margin-bottom: 8px;
        }
        .testi-avatar {
            width: 34px; height: 34px;
            border-radius: 50%;
            background: var(--primary);
            display: flex; justify-content: center; align-items: center;
            color: white; font-weight: 700; font-size: 0.8rem;
        }
        .testi-name { font-size: 0.8rem; font-weight: 600; }
        .testi-loc { font-size: 0.65rem; color: var(--text-gray); }
        .testi-stars { color: #FBBF24; font-size: 0.7rem; margin-bottom: 6px; }
        .testi-text { font-size: 0.78rem; color: var(--text-mid); line-height: 1.5; }

        /* === PAYMENT METHODS === */
        .payment-section {
            background: var(--white);
            padding: 20px 15px;
            margin-bottom: 8px;
        }
        .payment-title {
            font-size: 1rem; font-weight: 700;
            margin-bottom: 14px;
            display: flex; align-items: center; gap: 8px;
        }
        .payment-title i { color: var(--primary); }
        .payment-methods {
            display: flex; flex-direction: column; gap: 10px;
        }
        .pay-card {
            display: flex; align-items: center; gap: 12px;
            padding: 12px 14px;
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .pay-card:hover {
            border-color: var(--primary);
            box-shadow: 0 2px 8px rgba(34,197,94,0.08);
        }
        .pay-icon {
            width: 40px; height: 40px;
            border-radius: 10px;
            display: flex; justify-content: center; align-items: center;
            font-size: 1.1rem;
            flex-shrink: 0;
        }
        .pay-icon.cash { background: #FEF3C7; color: #D97706; }
        .pay-icon.dana { background: #DBEAFE; color: #2563EB; }
        .pay-icon.qris { background: #EDE9FE; color: #7C3AED; }
        .pay-info { flex: 1; min-width: 0; }
        .pay-name { font-size: 0.82rem; font-weight: 600; }
        .pay-detail { font-size: 0.72rem; color: var(--text-gray); margin-top: 1px; }
        .pay-number {
            font-size: 0.85rem; font-weight: 700;
            color: var(--text-dark);
            letter-spacing: 0.5px;
            margin-top: 2px;
        }
        .pay-action {
            flex-shrink: 0;
        }
        .btn-small {
            padding: 6px 12px;
            border: 1px solid var(--border);
            border-radius: 20px;
            background: var(--bg-gray);
            font-size: 0.7rem; font-weight: 600;
            color: var(--text-mid);
            cursor: pointer;
            transition: all 0.2s;
            display: inline-flex; align-items: center; gap: 4px;
        }
        .btn-small:active { transform: scale(0.95); }
        .btn-small.copied {
            background: var(--green-light);
            color: var(--green);
            border-color: var(--green);
        }

        /* QRIS Modal */
        .qris-modal {
            display: none;
            position: fixed; top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 9998;
            justify-content: center; align-items: center;
            animation: fadeIn 0.2s ease;
        }
        .qris-modal.show { display: flex; }
        .qris-modal-content {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 24px;
            max-width: 320px; width: 90%;
            text-align: center;
            position: relative;
            animation: slideUp 0.3s ease;
        }
        .qris-modal-content img {
            width: 100%; max-width: 260px;
            border-radius: var(--radius-sm);
            margin: 12px auto;
            display: block;
        }
        .qris-modal-title {
            font-size: 0.95rem; font-weight: 700;
            margin-bottom: 4px;
        }
        .qris-modal-sub {
            font-size: 0.75rem; color: var(--text-gray);
        }
        .qris-close {
            position: absolute; top: 12px; right: 14px;
            background: none; border: none;
            font-size: 1.2rem; color: var(--text-gray);
            cursor: pointer;
        }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        @keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

        /* === FAQ === */
        .faq-section {
            background: var(--white);
            padding: 20px 15px;
            margin-bottom: 8px;
        }
        .faq-title {
            font-size: 1rem; font-weight: 700;
            margin-bottom: 12px;
            display: flex; align-items: center; gap: 8px;
        }
        .faq-title i { color: var(--primary); }
        .faq-item {
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            margin-bottom: 8px;
            overflow: hidden;
        }
        .faq-item:last-child { margin-bottom: 0; }
        .faq-question {
            padding: 12px 14px;
            font-size: 0.82rem; font-weight: 600;
            cursor: pointer;
            display: flex; justify-content: space-between; align-items: center;
            background: var(--bg-gray);
            transition: background 0.2s;
        }
        .faq-question:hover { background: var(--primary-light); }
        .faq-question i {
            font-size: 0.7rem; color: var(--text-gray);
            transition: transform 0.3s;
        }
        .faq-item.open .faq-question i { transform: rotate(180deg); }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        .faq-answer-inner {
            padding: 12px 14px;
            font-size: 0.78rem; color: var(--text-mid);
            line-height: 1.6;
        }
        .faq-item.open .faq-answer { max-height: 200px; }

        /* === FOOTER === */
        .app-footer {
            background: var(--text-dark);
            color: rgba(255,255,255,0.95);
            padding: 30px 20px;
            margin-bottom: 0;
        }
        .footer-brand {
            font-size: 1rem; font-weight: 700;
            color: var(--white); margin-bottom: 8px;
        }
        .footer-desc { font-size: 0.8rem; line-height: 1.6; margin-bottom: 16px; color: rgba(255,255,255,0.85); }
        .footer-row {
            display: flex; align-items: center; gap: 10px;
            margin-bottom: 10px; font-size: 0.8rem;
            color: rgba(255,255,255,0.95);
        }
        .footer-row i { color: var(--primary); width: 16px; text-align: center; }
        .footer-divider {
            border: none; border-top: 1px solid rgba(255,255,255,0.15);
            margin: 20px 0;
        }
        .footer-social {
            display: flex; gap: 12px;
            margin-bottom: 16px;
        }
        .footer-social a {
            width: 36px; height: 36px;
            border-radius: 50%;
            background: rgba(255,255,255,0.15);
            display: flex; justify-content: center; align-items: center;
            color: var(--white);
            text-decoration: none; font-size: 0.9rem;
            transition: background 0.2s, color 0.2s;
        }
        .footer-social a:hover { background: var(--primary); color: var(--white); }
        .footer-copy { font-size: 0.75rem; text-align: center; opacity: 0.8; color: var(--white); }

        /* === BOTTOM NAV (PREMIUM UPGRADE) === */
        .bottom-nav {
            position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
            width: 100%; max-width: 480px;
            background: rgba(255, 255, 255, 0.85); /* Glassmorphism */
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            display: flex; justify-content: space-around; align-items: flex-end;
            padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
            border-top: 1px solid rgba(0,0,0,0.08);
            box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
            z-index: 1001;
        }
        
        .nav-item {
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            text-decoration: none; color: var(--text-mid); /* Improved contrast */
            gap: 4px; width: 33.33%; position: relative;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            -webkit-tap-highlight-color: transparent;
        }
        
        /* Outline effect for inactive (since we use solid fontawesome mostly, we make inactive a bit lighter) */
        .nav-item i { font-size: 1.25rem; opacity: 0.7; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
        .nav-item span { font-size: 0.65rem; font-weight: 500; z-index: 2; transition: color 0.3s; }
        
        /* Pill Background for Active Item */
        .nav-indicator {
            position: absolute;
            top: -4px; width: 45px; height: 32px;
            background: var(--primary-light);
            border-radius: 16px;
            opacity: 0; transform: scale(0.5) translateY(10px);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 1;
        }
        
        .nav-item.active { color: var(--primary); }
        .nav-item.active i { opacity: 1; transform: scale(1.15) translateY(-2px); z-index: 2; color: var(--primary); }
        .nav-item.active .nav-indicator { opacity: 1; transform: scale(1) translateY(0); }

        /* Floating Action Button (FAB) Style for Center Item */
        .nav-fab { transform: translateY(-15px); }
        .fab-circle {
            width: 56px; height: 56px;
            background: var(--primary);
            border-radius: 50%;
            display: flex; justify-content: center; align-items: center;
            box-shadow: 0 6px 16px rgba(0, 177, 79, 0.4);
            margin-bottom: 4px;
            border: 4px solid var(--white);
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .nav-item.nav-fab i { color: #fff; font-size: 1.5rem; opacity: 1; transform: none; }
        .nav-item.nav-fab span { color: var(--text-dark); font-weight: 600; }
        .nav-item.nav-fab:active .fab-circle { transform: scale(0.92); box-shadow: 0 2px 8px rgba(0, 177, 79, 0.3); }

        /* === TOAST === */
        #toast {
            visibility: hidden; min-width: 200px;
            background: rgba(0,0,0,0.85); color: #fff;
            text-align: center; border-radius: 24px;
            padding: 11px 20px;
            position: absolute; z-index: 1002;
            left: 50%; bottom: 80px;
            transform: translateX(-50%);
            font-size: 0.8rem; font-weight: 500;
            opacity: 0; transition: opacity 0.3s;
        }
        #toast.show { visibility: visible; opacity: 1; }

        /* === SKELETON LOADING === */
        .skeleton {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite linear;
            border-radius: 4px;
        }
        body.dark-mode .skeleton {
            background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
        }
        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        /* === BOTTOM SHEET MODAL === */
        .bottom-sheet {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.5); z-index: 2000;
            display: flex; flex-direction: column; justify-content: flex-end;
            visibility: hidden; opacity: 0; transition: all 0.3s ease;
        }
        .bottom-sheet.show { visibility: visible; opacity: 1; }
        .sheet-content {
            background: var(--white); width: 100%; max-width: 480px; margin: 0 auto;
            border-top-left-radius: 20px; border-top-right-radius: 20px;
            padding: 20px; transform: translateY(100%); transition: transform 0.3s ease;
            position: relative;
        }
        body.dark-mode .sheet-content { background: #1e1e1e; color: #fff; }
        .bottom-sheet.show .sheet-content { transform: translateY(0); }
        .sheet-handle {
            width: 40px; height: 5px; background: #ddd; border-radius: 3px;
            margin: 0 auto 15px;
        }
        .sheet-close {
            position: absolute; top: 15px; right: 20px;
            font-size: 1.5rem; color: var(--text-gray);
            background: none; border: none; cursor: pointer;
        }
        .sheet-img {
            width: 120px; height: 120px; border-radius: 50%;
            object-fit: cover; margin: 0 auto 15px; display: block;
            border: 4px solid var(--primary-light);
        }