/* ==================== RESET & GLOBAL ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==================== FLEX LAYOUT AGAR FOOTER SELALU DI BAWAH ==================== */
html,
body {
    height: 100%;
    margin: 0;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        sans-serif;
    background: #f8fafe;
    color: #1e293b;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}
main {
    flex: 1;
}

/* ==================== BATAS ORDER USER CSS ==================== */

.inspection-card {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.inspection-header {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    padding: 35px;
}

.inspection-header h3 {
    font-weight: 700;
    margin-bottom: 8px;
}

.inspection-header p {
    margin: 0;
    opacity: 0.9;
}

.inspection-body {
    padding: 35px;
}

.section-title {
    font-size: 13px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.btn-next {
    height: 58px;
    border: none;
    border-radius: 14px;
    background: #2563eb;
    font-weight: 600;
    font-size: 16px;
    padding: 0 35px;
    transition: 0.3s;
}

.btn-next:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

.required {
    color: #ef4444;
}

.info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 30px;
}

.info-box i {
    color: #2563eb;
    margin-right: 8px;
}

.step-item {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #6b7280;
    transition: 0.3s;
}

.step-item.active {
    background: #2563eb;
    color: #fff;
}

.step-line {
    width: 70px;
    height: 3px;
    background: #e5e7eb;
    margin: 0 10px;
    border-radius: 10px;
}

.step-line.active {
    background: #2563eb;
}

.inspector-card {
    border-radius: 20px;
    transition: 0.3s;
}

.inspector-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
}

.inspector-item input[type="radio"]:checked {
    accent-color: #2563eb;
}

.closest-label {
    position: absolute;
    top: 0;
    right: 0;
    background: #22c55e;
    color: #fff;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 20px;
}
/* ==================== BATAS ORDER USER CSS ==================== */

/* ==================== BATAS PROFILE USER CSS ==================== */

.profile-hero {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.btn-back {
    background: #f1f5f9;
    color: #0f172a;
    border-radius: 14px;
    padding: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
    border: 1px solid #e2e8f0;
}

.btn-back:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.btn-save {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    border-radius: 14px;
    padding: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
    border: none;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
    color: #fff;
}

.profile-hero::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.profile-hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    bottom: -120px;
    left: -120px;
}

.avatar-big {
    width: 90px;
    height: 90px;
    font-size: 34px;
    font-weight: 700;
}

.form-glass {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ==================== BATAS PROFILE USER CSS ==================== */

/* ==================== NAVBAR PREMIUM ==================== */
.navbar-premium {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    padding: 0.75rem 0;
}
.nav-link-premium,
.nav-link-premium:hover,
.nav-link-premium:focus {
    text-decoration: none !important;
    font-weight: 600;
    color: #334155 !important;
    margin: 0 0.25rem;
    padding: 0.5rem 1rem !important;
    border-radius: 40px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
}
.nav-link-premium:hover,
.nav-link-premium.active {
    background: #eff6ff;
    color: #1d4ed8 !important;
}
/* ==================== BUTTONS ==================== */
.btn-home-primary {
    background: linear-gradient(95deg, #2563eb, #1e40af);
    border-radius: 40px;
    padding: 10px 28px;
    font-weight: 600;
    color: white;
    display: inline-block;
    transition: 0.2s;
    text-decoration: none;
    border: none;
    cursor: pointer;
    text-align: center;
}
.btn-home-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px #2563eb;
    color: white;
}

.btn-home-outline {
    border: 1.5px solid #cbd5e1;
    border-radius: 40px;
    padding: 10px 28px;
    font-weight: 600;
    color: #334155;
    background: transparent;
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
}
.btn-home-outline:hover {
    background: #f1f5f9;
    border-color: #2563eb;
    color: #1d4ed8;
}

/* Tombol untuk Card Mitra */
.btn-mitra {
    background: #059669;
    border-radius: 40px;
    padding: 10px 28px;
    font-weight: 600;
    color: white;
    display: inline-block;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
}
.btn-mitra:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px #059669;
    color: white;
}

button,
a,
.btn {
    outline: none;
}
.btn-outline-premium {
    border: 1.5px solid #cbd5e1;
    border-radius: 40px;
    padding: 6px 18px;
    font-weight: 600;
    color: #334155;
    background: transparent;
    text-decoration: none;
    transition: 0.2s;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -ms-transition: 0.2s;
    -o-transition: 0.2s;
}
.btn-outline-premium:hover {
    background: #f1f5f9;
    border-color: #2563eb;
    color: #1d4ed8;
}
.btn-primary-premium {
    background: linear-gradient(95deg, #2563eb, #1e40af);
    border: none;
    border-radius: 40px;
    padding: 6px 20px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: 0.2s;
}
.btn-primary-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px #2563eb;
    color: white;
}

/* ==================== HERO (HOME & LIST INSPEKTOR) ==================== */
.hero-home {
    background: linear-gradient(135deg, #eef4ff 0%, #e6eefa 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero-small {
    background: linear-gradient(135deg, #eef4ff, #e6eefa);
    padding: 120px 0 50px;
    text-align: center;
}
.hero-shape-1 {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.08) 0%,
        rgba(37, 99, 235, 0) 70%
    );
    border-radius: 50%;
    pointer-events: none;
}
.hero-shape-2 {
    position: absolute;
    bottom: -100px;
    left: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.06) 0%,
        rgba(37, 99, 235, 0) 70%
    );
    border-radius: 50%;
    pointer-events: none;
}
.hero-shape-3 {
    position: absolute;
    top: 30%;
    left: 20%;
    width: 200px;
    height: 200px;
    background: rgba(37, 99, 235, 0.03);
    border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%;
    filter: blur(40px);
    pointer-events: none;
}
@media (max-width: 768px) {
    .hero-home {
        padding: 100px 0 50px;
    }
    .hero-small {
        padding: 100px 0 40px;
    }
}

/* Floating Card Statistik */
.floating-card {
    background: white;
    border-radius: 28px;
    padding: 1rem 1.2rem;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.15);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.floating-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.2);
}
.float-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #eff6ff, #e0eaf9);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    transition: 0.3s;
}
@media (max-width: 768px) {
    .floating-card {
        padding: 0.8rem 1rem;
    }
    .float-icon {
        width: 38px;
        height: 38px;
    }
}

/* ==================== HERO IMAGE STYLES ==================== */
.hero-image-wrapper {
    position: relative;
    display: inline-block;
    animation: fadeInUp 0.8s ease-out;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 32px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    background: transparent !important;
}
.hero-image:hover {
    transform: scale(1.02);
}
.hero-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #1e293b;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 992px) {
    .hero-image-badge {
        bottom: 10px;
        left: 10px;
        padding: 5px 15px;
        font-size: 0.75rem;
    }
}

/* ==================== BADGE RATING ==================== */
.badge-rating {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    border-radius: 60px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    width: fit-content;
    font-size: 0.85rem;
    color: #f5b042;
    border: 1px solid rgba(37, 99, 235, 0.2);
}
.badge-rating span {
    color: #334155;
    font-weight: 500;
    margin-left: 4px;
}

/* ==================== STAT CARD (HOME) ==================== */
.stat-card-home {
    background: white;
    border-radius: 28px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    height: 100%;
}
.stat-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
}
.stat-card-home .stat-icon {
    background: linear-gradient(145deg, #eff6ff, #e2eaf9);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    margin: 0 auto;
    transition: 0.3s;
}
.stat-card-home:hover .stat-icon {
    background: linear-gradient(145deg, #2563eb, #1e40af);
}
.stat-card-home .stat-icon i {
    color: #2563eb;
    transition: 0.3s;
}
.stat-card-home:hover .stat-icon i {
    color: white;
}

/* ==================== FEATURE CARD ==================== */
.feature-card {
    background: white;
    border-radius: 28px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(37, 99, 235, 0.05);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}
.feature-icon-home {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #eff6ff, #e0eaf9);
    width: 70px;
    height: 70px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: 0.3s;
    color: #2563eb;
}
.feature-card:hover .feature-icon-home {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    transform: scale(1.02);
}

/* ==================== ROLE CARD (PEMBELI & MITRA) ==================== */
.role-card-home {
    background: white;
    border-radius: 32px;
    transition: 0.3s;
    height: 100%;
    border: none;
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.05);
}
.role-card-home:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 35px -12px rgba(0, 0, 0, 0.15);
}
.avatar-role {
    width: 70px;
    height: 70px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== STEPPER HORIZONTAL (CARA KERJA) ==================== */
.stepper-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
}
.stepper-step {
    text-align: center;
    min-width: 140px;
    flex: 1;
}
.step-circle {
    width: 56px;
    height: 56px;
    background: white;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    color: #64748b;
    margin: 0 auto 0.75rem;
    transition: all 0.2s;
    background-color: #f8fafe;
}
.stepper-step:hover .step-circle {
    border-color: #2563eb;
    color: #2563eb;
    transform: scale(1.05);
}
.step-title {
    font-weight: 700;
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 0.25rem;
}
.step-desc {
    font-size: 0.75rem;
    color: #94a3b8;
}
.stepper-arrow {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2563eb;
    opacity: 0.6;
    margin: 0 0.25rem;
    user-select: none;
}
@media (max-width: 768px) {
    .stepper-horizontal {
        flex-direction: column;
        gap: 1rem;
    }
    .stepper-step {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
        width: 100%;
        min-width: auto;
    }
    .step-circle {
        margin: 0;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    .step-title,
    .step-desc {
        text-align: left;
    }
    .stepper-arrow {
        transform: rotate(90deg);
        margin: -0.25rem 0;
        font-size: 1.5rem;
    }
}

/* ==================== TESTIMONIAL CARD ==================== */
.testimonial-card {
    background: white;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ==================== CTA GLASS ==================== */
.cta-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}
.cta-glass:hover {
    background: white;
    border-color: rgba(37, 99, 235, 0.4);
}

/* ==================== FILTER BAR (LIST INSPEKTOR) ==================== */
.filter-bar {
    background: white;
    border-radius: 60px;
    padding: 8px 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    margin-top: -30px;
    margin-bottom: 30px;
    z-index: 2;
    position: relative;
}
.filter-select,
.filter-radius {
    border: none;
    background: #f1f5f9;
    border-radius: 40px;
    padding: 8px 18px;
    font-weight: 500;
    font-size: 0.9rem;
}
.btn-locate {
    background: #2563eb;
    color: white;
    border-radius: 40px;
    padding: 8px 24px;
    font-weight: 600;
    border: none;
    transition: 0.2s;
}
.btn-locate:hover {
    background: #1d4ed8;
    transform: scale(1.02);
}
@media (max-width: 768px) {
    .filter-bar {
        border-radius: 30px;
        flex-direction: column;
        align-items: stretch !important;
    }
}

/* ==================== INSPECTOR CARD (LIST INSPEKTOR) ==================== */
.inspector-card {
    background: white;
    border-radius: 28px;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem 1.8rem;
    width: 100%;
}
.inspector-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
}
.avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, #eff6ff, #dfeaf8);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: #2563eb;
    flex-shrink: 0;
}
.info {
    flex: 1;
}
.info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.badge-cert {
    background: #eff6ff;
    color: #1e40af;
    border-radius: 40px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 600;
}
.distance-chip {
    background: #f1f5f9;
    border-radius: 40px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.rating-stars i {
    font-size: 0.85rem;
    margin-right: 2px;
}
.btn-hire {
    background: linear-gradient(95deg, #2563eb, #1e40af);
    border: none;
    border-radius: 40px;
    padding: 8px 28px;
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
    transition: 0.2s;
}
.btn-hire:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px -4px #1e40af;
}
@media (max-width: 768px) {
    .inspector-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}
.container-wide {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== FOOTER ==================== */
footer {
    background: white;
    border-top: 1px solid #e9eef3;
}

/* ==================== UTILITIES ==================== */
.text-gradient {
    background: linear-gradient(120deg, #2563eb, #7c3aed);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* ==================== RESPONSIVENESS ==================== */
@media (max-width: 768px) {
    .badge-rating {
        font-size: 0.7rem;
        padding: 4px 12px;
    }
}
