body{

    margin:0;

    padding:0;

    font-family:Arial, sans-serif;

    background:#f5f7fb;

}

.header{

    background:#005BAC;

    color:white;

    height:70px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 40px;

}

.logo a{

    color:white;

    font-size:28px;

    text-decoration:none;

    font-weight:bold;

}

.menu a{

    color:white;

    text-decoration:none;

    margin-left:25px;

    font-size:16px;

}

.container{

    width:1200px;

    margin:auto;

    padding:40px;

}

.footer{

    background:#222;

    color:white;

    text-align:center;

    padding:25px;

    margin-top:60px;

}

/* ==========================================
   AI Consulting
   ========================================== */

.page-title{
    margin-bottom:30px;
}

.page-title h1{
    font-size:38px;
    margin:0 0 10px 0;
    color:#222;
}

.page-title p{
    font-size:17px;
    color:#666;
}

.ai-box{
    background:white;
    padding:35px;
    border-radius:18px;
    box-shadow:0 4px 16px rgba(0,0,0,0.08);
}

.mode-tabs{
    display:flex;
    gap:12px;
    margin-bottom:30px;
}

.mode-btn{
    border:1px solid #d0d7e2;
    background:#f5f7fb;
    color:#333;
    padding:14px 22px;
    border-radius:10px;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
}

.mode-btn.active{
    background:#005BAC;
    color:white;
    border-color:#005BAC;
}

.mode-guide{
    background:#eef4fb;
    border-left:5px solid #005BAC;
    padding:22px;
    border-radius:10px;
    margin-bottom:25px;
}

.mode-guide h3{
    margin:0 0 10px 0;
    color:#005BAC;
}

.mode-guide p{
    margin:0;
    color:#444;
    line-height:1.7;
}

.input-area{
    margin-bottom:25px;
}

.input-area label{
    display:block;
    font-weight:bold;
    margin-bottom:10px;
}

.input-area textarea{
    width:100%;
    box-sizing:border-box;
    padding:18px;
    font-size:16px;
    line-height:1.7;
    border:1px solid #ccc;
    border-radius:10px;
    resize:vertical;
    font-family:Arial, sans-serif;
}

.sample-box{
    background:#fafafa;
    border:1px solid #e2e2e2;
    border-radius:10px;
    padding:20px;
    margin-bottom:25px;
}

.sample-box strong{
    color:#222;
}

.sample-box ul{
    margin:12px 0 0 20px;
    padding:0;
}

.sample-box li{
    margin-bottom:8px;
    color:#555;
}

.form-buttons{
    text-align:right;
}

.btn-submit{
    background:#005BAC;
    color:white;
    border:0;
    padding:14px 28px;
    border-radius:8px;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
}

.btn-reset{
    background:#eee;
    color:#333;
    border:0;
    padding:14px 22px;
    border-radius:8px;
    font-size:16px;
    margin-left:8px;
    cursor:pointer;
}

.ai-notice{
    background:#fff8e1;
    border:1px solid #f1d27a;
    padding:25px;
    border-radius:14px;
    margin-top:35px;
}

.ai-notice h3{
    margin-top:0;
}

.ai-notice ul{
    margin:0 0 0 20px;
    padding:0;
}

.ai-notice li{
    margin-bottom:8px;
    line-height:1.6;
}

/* 모바일 */
@media screen and (max-width:768px){

    .mode-tabs{
        flex-direction:column;
    }

    .mode-btn{
        width:100%;
        text-align:center;
    }

    .form-buttons{
        text-align:left;
    }

    .btn-submit,
    .btn-reset{
        width:100%;
        margin:5px 0;
    }
}

/* ==========================================
   AI Result
   ========================================== */

.result-box{
    background:white;
    padding:35px;
    border-radius:18px;
    box-shadow:0 4px 16px rgba(0,0,0,0.08);
}

.result-section{
    margin-bottom:30px;
}

.result-section h3{
    color:#005BAC;
    margin-bottom:12px;
}

.question-box,
.answer-box{
    background:#f7f9fb;
    border:1px solid #e1e5ec;
    border-radius:12px;
    padding:22px;
    line-height:1.8;
    white-space:normal;
}

.answer-box{
    background:#ffffff;
    border-left:5px solid #005BAC;
}

.error-box{
    background:#fff1f1;
    border:1px solid #f0b5b5;
    color:#a30000;
    padding:25px;
    border-radius:12px;
}

.result-buttons{
    margin-top:35px;
}

.result-buttons .btn{
    margin-right:10px;
}


.manufacturer-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:25px;
}

.manufacturer-card{
    background:white;
    border-radius:16px;
    box-shadow:0 4px 14px rgba(0,0,0,0.08);
    overflow:hidden;
}

.manufacturer-thumb img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.manufacturer-info{
    padding:25px;
}

.manufacturer-info h3{
    margin-top:0;
}

.manufacturer-info h3 a{
    color:#005BAC;
    text-decoration:none;
}

.grade,
.grade-large{
    color:#f0a500;
    font-weight:bold;
    margin:10px 0;
}

.grade-large{
    font-size:26px;
}

.tag-box{
    background:#f7f9fb;
    border-radius:10px;
    padding:14px;
    margin:15px 0;
    line-height:1.6;
}

.btn-small{
    display:inline-block;
    background:#005BAC;
    color:white;
    padding:10px 18px;
    border-radius:8px;
    text-decoration:none;
}

.manufacturer-view,
.contact-box{
    background:white;
    padding:35px;
    border-radius:18px;
    box-shadow:0 4px 16px rgba(0,0,0,0.08);
}

.company-main-image img{
    width:100%;
    max-height:420px;
    object-fit:cover;
    border-radius:14px;
    margin-bottom:30px;
}

.company-section{
    margin-bottom:30px;
}

.company-section h3{
    color:#005BAC;
}

.text-box,
.readonly-box{
    background:#f7f9fb;
    border:1px solid #e1e5ec;
    border-radius:10px;
    padding:18px;
    line-height:1.8;
}

.notice-box{
    background:#fff8e1;
    border:1px solid #f1d27a;
    padding:20px;
    border-radius:12px;
    line-height:1.7;
    margin-top:30px;
}

.form-row{
    margin-bottom:22px;
}

.form-row label{
    display:block;
    font-weight:bold;
    margin-bottom:8px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="file"],
.form-row textarea{
    width:100%;
    box-sizing:border-box;
    padding:14px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:15px;
}

.empty-box{
    background:white;
    padding:35px;
    border-radius:12px;
    text-align:center;
}

@media screen and (max-width:768px){
    .manufacturer-grid{
        grid-template-columns:1fr;
    }
}

.grade {
    margin: 10px 0 14px 0;
    font-size: 16px;
    font-weight: bold;
}

.star-on {
    color: #f5a400;
    margin-right: 2px;
}

.star-off {
    color: #cccccc;
    margin-right: 2px;
}