*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, sans-serif;
    background:#f6f7fb;
    color:#111827;
    min-height:100vh;
    padding-bottom:25px;
}

/* REDUCED HEADER */

.header{
    width:100%;
    height:50px;
    background:#ffffff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 24px;
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
    position:sticky;
    top:0;
    z-index:100;
}

.logo{
    height:42px;
    object-fit:contain;
}

.menu-btn{
    border:none;
    background:transparent;
    font-size:32px;
    line-height:1;
    cursor:pointer;
    color:#111827;
}

/* STICKY FOOTER */

.footer{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    height:25px;
    background:#ffffff;
    border-top:1px solid #e5e7eb;
    padding:0 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    color:#6b7280;
    font-size:12px;
    z-index:90;
}

.footer a{
    color:#2563eb;
    text-decoration:none;
    font-weight:700;
}
/* HERO */

.hero{
    text-align:center;
    padding:42px 20px 20px;
}

.hero h1{
    font-size:34px;
    font-weight:800;
    margin-bottom:12px;
}

.hero p{
    color:#6b7280;
    font-size:18px;
    line-height:1.6;
}

/* CATEGORIES */

.categories{
    max-width:760px;
    margin:0 auto;
    padding:20px 22px 50px;
    text-align:center;
}

.categories h2{
    font-size:28px;
    font-weight:800;
    margin-bottom:12px;
}

.sub-title{
    color:#6b7280;
    font-size:18px;
    line-height:1.5;
    margin-bottom:32px;
}

.grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:18px;
}

.card{
    background:#ffffff;
    height:140px;
    border-radius:20px;
    padding:16px 10px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:0 8px 22px rgba(0,0,0,0.07);
}

.icon{
    font-size:34px;
    margin-bottom:8px;
}

.icon i{
    font-size:34px;
    color:#2563eb;
}

.name{
    font-size:18px;
    font-weight:800;
}
.card:hover{
    transform:translateY(-4px);
}

.card:active{
    transform:scale(0.98);
}


/* MODAL - BOTTOM SHEET STYLE */

.modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.58);
    z-index:999;
    align-items:flex-end;
    justify-content:center;
    padding:0;
}

.modal.show{
    display:flex;
}

.modal-box{
    background:#ffffff;
    width:100%;
    max-width:100%;
    max-height:92vh;
    overflow-y:auto;
    border-radius:28px 28px 0 0;
    padding:18px;
    box-shadow:0 -10px 40px rgba(0,0,0,.25);
    animation:slideUp .25s ease;
}

@keyframes slideUp{
    from{ transform:translateY(100%); }
    to{ transform:translateY(0); }
}

.modal-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:10px;
}

.modal-header h3{
    margin:0;
    font-size:24px;
    font-weight:900;
    line-height:1.1;
    white-space:nowrap;
}

.modal-close{
    width:36px;
    height:36px;
    min-width:36px;
    border:none;
    border-radius:50%;
    background:#f3f4f6;
    color:#111827;
    font-size:26px;
    font-weight:800;
    cursor:pointer;
    line-height:1;
}

.modal-box label{
    display:block;
    font-size:14px;
    font-weight:800;
    margin:8px 0 5px;
    color:#1f2937;
}

.modal-box input,
.modal-box textarea{
    width:100%;
    border:1.5px solid #d1d5db;
    border-radius:14px;
    font-size:14px;
    background:#ffffff;
    outline:none;
}

.modal-box input::placeholder,
.modal-box textarea::placeholder{
    font-size:13px;
}

.modal-box input{
    height:38px;
    padding:7px 12px;
    margin-bottom:8px;
}

.modal-box textarea{
    min-height:92px;
    padding:10px 12px;
    resize:none;
    margin-bottom:8px;
}

.modal-box input:focus,
.modal-box textarea:focus{
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,.08);
}

.location-btn{
    width:100%;
    height:38px;
    margin-top:0;
    border:2px dashed #2563eb;
    background:#eff6ff;
    color:#2563eb;
    border-radius:14px;
    font-size:14px;
    font-weight:900;
}

.actions{
    margin-top:8px;
}

.btn{
    width:100%;
    height:42px;
    border:none;
    border-radius:14px;
    font-size:15px;
    font-weight:800;
    cursor:pointer;
}

.submit{
    background:#2563eb;
    color:#ffffff;
    box-shadow:0 12px 25px rgba(37,99,235,.25);
    white-space:nowrap;
    margin-top:0;
}

.agree-notice{
    margin-top:8px;
    padding:8px 10px;
    background:#eff6ff;
    border:1px solid #bfdbfe;
    border-radius:14px;
    text-align:left;
}

.agree-line input{
    width:15px !important;
    height:15px !important;
    margin:0 !important;
    flex:0 0 15px;
}

.agree-line span{
    font-size:11px;
    line-height:1.3;
}

.agree-line a{
    color:#2563eb;
    text-decoration:none;
    font-weight:700;
}

.agree-notice p{
    margin:0 0 6px 0;
    font-size:10.5px;
    line-height:1.35;
    color:#1e40af;
}

.agree-line{
    display:flex !important;
    align-items:center;
    gap:8px;
    margin:0 !important;
}

/* SUCCESS POPUP */

.success-box{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.58);
    z-index:1000;
    align-items:flex-end;
    justify-content:center;
    padding:0;
}

.success-content{
    background:#ffffff;
    width:100%;
    max-width:100%;
    border-radius:32px 32px 0 0;
    padding:24px 24px 28px;
    text-align:center;
    box-shadow:0 -18px 50px rgba(0,0,0,.28);
    animation:slideUp .28s ease;
}

.success-content h2{
    color:#16a34a;
    font-size:20px;
    margin-bottom:22px;
    font-weight:900;
}

.success-content p{
    color:black;
    font-size:14px;
    line-height:1.6;
    margin:16px 0;
}

.success-content strong{
    font-weight:900;
    color:#111827;
}


.success-content button{
    width:100%;
    margin-top:28px;
    border:none;
    background:#22c55e;
    color:white;
    padding:12px;
    border-radius:12px;
    font-size:22px;
    font-weight:700;
    cursor:pointer;
}


.phone-field{
    display:flex;
    width:100%;
    height:38px;
    border:1.5px solid #d1d5db;
    border-radius:14px;
    overflow:hidden;
    margin-bottom:8px;
    background:#fff;
}

.country-code{
    width:86px;
    min-width:86px;
    height:38px;
    background:#f3f4f6;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    font-size:14px;
    font-weight:800;
    border-right:1px solid #d1d5db;
}

.phone-field input{
    border:none !important;
    margin:0 !important;
    border-radius:0 !important;
    flex:1;
    min-width:0;
    height:38px !important;
    padding:7px 12px !important;
}

.request-id{
    display:inline-block;
    padding:6px 14px;
    background:#eff6ff;
    color:#2563eb;
    border-radius:999px;
    font-weight:800;
}

.error-box{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.58);
    z-index:2000;
    align-items:flex-end;
    justify-content:center;
    padding:0;
}

.error-content{
    background:#fff;
    width:100%;
    max-width:100%;
    border-radius:32px 32px 0 0;
    padding:26px 24px 28px;
    text-align:center;
    box-shadow:0 -18px 50px rgba(0,0,0,.28);
    animation:slideUp .28s ease;
}

.error-content h2{
    color:#ff0000;
    font-size:24px;
    margin-bottom:14px;
    font-weight:900;
}

.error-content p{
    color:#black;
    font-size:16px;
    line-height:1.55;
    margin:0;
}

.error-content button{
    width:100%;
    margin-top:28px;
    border:none;
    background:#ff0000;
    color:white;
    padding:12px;
    border-radius:12px;
    font-size:18px;
    font-weight:900;
}

.notice{
    margin-top:14px;
    margin-bottom:0;
    background:#eff6ff;
    color:#1e40af;
    border:1px solid #bfdbfe;
    border-radius:14px;
    padding:12px 14px;
    font-size:14px;
    line-height:1.5;
    font-weight:700;
}

.info-box{
    max-width:760px;
    margin:22px auto 28px;
    padding:0 22px;
    background:transparent;
    box-shadow:none;
    border-radius:0;
}

.info-box p{
    margin:0;
    color:#6b7280;
    font-size:18px;
    line-height:1.5;
    text-align:center;
    font-weight:400;
}

@media(max-width:600px){
    .info-box p{
        font-size:17px;
        line-height:1.5;
    }
}

.how-it-works{
    max-width:760px;
    margin:25px auto 25px;
    padding:0 20px;
}

.how-it-works h2{
    text-align:center;
    font-size:24px;
    font-weight:800;
    margin-bottom:22px;
}

.step{
    background:#ffffff;
    border-radius:16px;
    padding:14px 18px;
    margin-bottom:12px;
    display:flex;
    align-items:center;
    gap:16px;
    box-shadow:0 4px 14px rgba(0,0,0,.04);
}

.step span{
    width:40px;
    height:40px;
    border-radius:50%;
    background:#e60023;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    flex-shrink:0;
}


.legal-page{
    max-width:900px;
    margin:0 auto;
    padding:35px 20px 70px;
}

.legal-box{
    background:#ffffff;
    border-radius:20px;
    padding:24px;
    margin-bottom:24px;
    box-shadow:0 8px 22px rgba(0,0,0,0.06);
}

.legal-box h1{
    font-size:26px;
    margin-bottom:12px;
    color:#111827;
}

.legal-box p{
    font-size:16px;
    line-height:1.7;
    color:#374151;
    margin-bottom:12px;
}

.legal-close{
    width:34px;
    height:34px;
    border:none;
    border-radius:10px;
    background:#f3f4f6;
    color:#ff0000;
    font-size:26px;
    font-weight:800;
    line-height:1;
    cursor:pointer;
}

.legal-popup{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.65);
    z-index:3000;
    align-items:center;
    justify-content:center;
    padding:16px;
}

.legal-popup-box{
    background:#fff;
    width:100%;
    max-width:420px;
    height:90vh;
    overflow-y:auto;
    border-radius:24px;
    padding:28px;
    position:relative;
}

.legal-popup-close{
    position:absolute;
    right:14px;
    top:14px;
    width:34px;
    height:34px;
    border:none;
    border-radius:10px;
    background:#f3f4f6;
    font-size:22px;
    font-weight:900;
}

.legal-popup-box h2{
    font-size:22px;
    margin-bottom:14px;
}

.legal-popup-box p{
    font-size:14px;
    line-height:1.6;
    margin-bottom:12px;
    color:#374151;
}

/* MOBILE */

@media(max-width:600px){

    .header{
        height:54px;
        padding:0 18px;
    }

    .logo{
        height:42px;
    }

    .menu-btn{
        font-size:28px;
    }

    .hero{
        padding:34px 20px 12px;
    }

    .hero h1{
        font-size:28px;
    }

    .hero p{
        font-size:16px;
    }

    .categories{
        padding:18px 18px 42px;
    }

    .categories h2{
        font-size:28px;
    }

    .sub-title{
        font-size:17px;
        margin-bottom:28px;
    }

    .grid{
        gap:10px;
    }

    .card{
        height:115px;
        border-radius:18px;
        padding:10px 8px;
    }

    .icon{
        font-size:28px;
        margin-bottom:5px;
    }

    .name{
        font-size:15px;
        line-height:1.15;
        font-weight:800;
    }

    .modal-box{
        padding:24px;
    }

    .actions{
	margin-top:14px;
    }

    .footer{
        font-size:13px;
        padding:15px;
    }

.modal-box{
    max-height:92vh;
    padding:18px;
    border-radius:28px 28px 0 0;
}

.modal-header{
    margin-bottom:12px;
}

.modal-header h3{
    font-size:24px;
}

.modal-box label{
    font-size:14px;
    margin:10px 0 6px;
}

.modal-box input{
    height:42px;
    padding:8px 12px;
}

.phone-field{
    height:42px;
    margin-bottom:10px;
}

.country-code{
    width:86px;
    min-width:86px;
    height:42px;
}

.modal-box textarea{
    min-height:92px;
    padding:12px;
    font-size:15px;
}

.location-btn{
    height:42px;
    margin-top:10px;
    font-size:15px;
}

.notice{
    margin-top:10px;
    padding:10px 12px;
    font-size:13px;
    line-height:1.4;
}


.btn{
    height:46px;
    font-size:17px;
}

.submit{
    margin-top:10px;
}

}


.btn-loading{
    opacity:0.75;
    pointer-events:none;
}

.btn-loading::after{
    content:"";
    width:14px;
    height:14px;
    margin-left:8px;
    border:2px solid #ffffff;
    border-top-color:transparent;
    border-radius:50%;
    display:inline-block;
    animation:spin .7s linear infinite;
    vertical-align:middle;
}

.location-loading{
    opacity:0.75;
    pointer-events:none;
}

.location-loading::after{
    content:"";
    width:14px;
    height:14px;
    margin-left:8px;
    border:2px solid #2563eb;
    border-top-color:transparent;
    border-radius:50%;
    display:inline-block;
    animation:spin .7s linear infinite;
    vertical-align:middle;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}

.modal-box.form-lock *{
    pointer-events:none;
}

.modal-box.form-lock{
    opacity:0.85;
}

