/* =========================================
   SAFE CSS
   DOES NOT MODIFY HEADER / FOOTER
========================================= */

header,
header *,
nav,
nav *,
footer,
footer *{
font-family:inherit !important;
}

/* =========================================
   PAGE
========================================= */

.meta-page{
max-width:1180px;
margin:0 auto;
padding:10px 20px 30px;
position:relative;
}

/* BLUE BACKGROUND EFFECT */

.meta-page::before{
content:"";
position:absolute;
top:-160px;
right:-220px;
width:720px;
height:720px;
background:
radial-gradient(circle,
rgba(96,165,250,.14) 0%,
rgba(96,165,250,.06) 38%,
transparent 72%);
pointer-events:none;
z-index:-1;
}

/* =========================================
   HERO
========================================= */

.meta-hero{
text-align:center;
margin-bottom:14px;
}

.meta-hero h1{
font-family:'Inter',sans-serif;
font-size:42px;
font-weight:800;
line-height:1.1;
letter-spacing:-1.5px;
color:#0f172a;
margin-bottom:10px;
}

.meta-hero h1 span{
color:#78a6ff;
}

.meta-hero p{
max-width:760px;
margin:0 auto;
font-size:17px;
line-height:1.8;
color:#64748b;
}

/* =========================================
   TOOL SECTION
========================================= */

.meta-tool-section{
margin-top:0;
}

.meta-tool-card{
display:grid;
grid-template-columns:1.05fr .95fr;
gap:28px;
background:#fff;
border:1px solid #e5e7eb;
border-radius:28px;
padding:28px;
box-shadow:
0 10px 28px rgba(15,23,42,.04);
}

/* =========================================
   LEFT SIDE
========================================= */

.meta-left{
display:flex;
flex-direction:column;
}

/* HEADER */

.meta-header{
display:flex;
align-items:center;
gap:18px;
margin-bottom:24px;
}

.meta-icon-box{
width:78px;
height:78px;
border-radius:20px;
background:#eff6ff;
border:1px solid #dbeafe;
display:flex;
align-items:center;
justify-content:center;
flex-shrink:0;
}

.meta-icon-box img{
width:42px;
height:42px;
object-fit:contain;
}

.meta-header h2{
font-family:'Poppins',sans-serif;
font-size:31px;
font-weight:800;
line-height:1.2;
color:#0f172a;
margin-bottom:6px;
}

.meta-header p{
font-size:15px;
line-height:1.8;
color:#64748b;
max-width:520px;
}

/* =========================================
   UPLOAD AREA
========================================= */

.upload-area{
border:2px dashed #d7deea;
border-radius:24px;
padding:34px 24px;
background:#f8fafc;
text-align:center;
transition:.2s ease;
}

.upload-area.dragover{
border-color:#60a5fa;
background:#eff6ff;
}

.upload-icon{
width:74px;
height:74px;
margin-bottom:16px;
object-fit:contain;
}

.upload-area h3{
font-size:24px;
font-weight:800;
color:#0f172a;
margin-bottom:8px;
}

.upload-area p{
font-size:15px;
color:#64748b;
margin-bottom:22px;
}

/* BUTTON */

#choose-file-btn{
height:56px;
padding:0 26px;
border:none;
border-radius:16px;
background:#4361e7;
color:#fff;
font-size:16px;
font-weight:700;
cursor:pointer;
transition:.2s ease;
}

#choose-file-btn:hover{
background:#3150dd;
}

/* QUICK ACTIONS */

.upload-actions{
display:flex;
justify-content:center;
gap:12px;
margin-top:18px;
flex-wrap:wrap;
}

.upload-action-btn{
height:46px;
padding:0 18px;
border:1px solid #dbe3ee;
border-radius:14px;
background:#fff;
display:flex;
align-items:center;
gap:10px;
font-size:14px;
font-weight:600;
color:#334155;
cursor:pointer;
transition:.2s ease;
}

.upload-action-btn:hover{
border-color:#60a5fa;
background:#eff6ff;
}

.upload-action-btn img{
width:18px;
height:18px;
object-fit:contain;
}

/* =========================================
   IMAGE INFO
========================================= */

.image-info{
margin-top:22px;
border:1px solid #e5e7eb;
border-radius:20px;
overflow:hidden;
background:#fff;
}

.info-row{
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
padding:18px 22px;
border-bottom:1px solid #edf1f5;
}

.info-row:last-child{
border-bottom:none;
}

.info-label{
display:flex;
align-items:center;
gap:12px;
font-size:15px;
font-weight:700;
color:#0f172a;
}

.info-label img{
width:18px;
height:18px;
object-fit:contain;
}

.info-value{
font-size:15px;
font-weight:600;
color:#475569;
text-align:right;
}

/* =========================================
   ACTION BUTTONS
========================================= */

.tool-buttons{
display:flex;
gap:14px;
margin-top:22px;
flex-wrap:wrap;
}

#clean-btn,
#download-btn{
height:58px;
padding:0 24px;
border:none;
border-radius:16px;
font-size:15px;
font-weight:700;
cursor:pointer;
transition:.2s ease;
display:flex;
align-items:center;
justify-content:center;
gap:10px;
}

#clean-btn{
background:#0f172a;
color:#fff;
}

#clean-btn:hover:not(:disabled){
background:#020617;
}

#download-btn{
background:#4361e7;
color:#fff;
}

#download-btn:hover:not(:disabled){
background:#3150dd;
}

#clean-btn:disabled,
#download-btn:disabled{
background:#cbd5e1;
cursor:not-allowed;
}

#download-btn img{
width:18px;
height:18px;
object-fit:contain;
}

/* =========================================
   PRIVACY NOTE
========================================= */

.privacy-note{
margin-top:22px;
padding:18px 20px;
border-radius:18px;
background:#eff6ff;
border:1px solid #dbeafe;
display:flex;
align-items:flex-start;
gap:14px;
}

.privacy-note img{
width:24px;
height:24px;
object-fit:contain;
flex-shrink:0;
}

.privacy-note p{
font-size:14px;
line-height:1.8;
color:#334155;
}

/* =========================================
   RIGHT SIDE
========================================= */

.meta-right{
display:flex;
flex-direction:column;
justify-content:flex-start;
gap:20px;
}

/* PREVIEW */

.preview-box{
border:2px dashed #d7deea;
border-radius:26px;
background:#f8fafc;
padding:20px;
display:flex;
align-items:center;
justify-content:center;
}

.preview-inner{
width:100%;
aspect-ratio:1/1;
border-radius:20px;
background:#fff;
display:flex;
align-items:center;
justify-content:center;
overflow:hidden;
position:relative;
box-shadow:
inset 0 0 0 1px #eef2f7;
}

#preview-placeholder{
font-size:20px;
font-weight:700;
color:#94a3b8;
}

#preview-image{
max-width:100%;
max-height:100%;
display:none;
object-fit:contain;
}

/* RESULT BOX */

.result-box{
padding:20px;
border-radius:20px;
background:#ecfdf5;
border:1px solid #bbf7d0;
display:none;
}

.result-header{
display:flex;
align-items:center;
gap:12px;
margin-bottom:10px;
}

.result-header img{
width:24px;
height:24px;
object-fit:contain;
}

.result-header h3{
font-size:19px;
font-weight:800;
color:#166534;
}

.result-box p{
font-size:15px;
line-height:1.8;
color:#166534;
}

/* =========================================
   FAQ
========================================= */

.faq-section{
max-width:980px;
margin:54px auto 70px;
padding:0 24px;
}

.faq-section h2{
font-size:36px;
font-weight:800;
line-height:1.2;
color:#0f172a;
margin-bottom:44px;
}

.faq-section h3{
font-size:25px;
font-weight:700;
line-height:1.45;
color:#1e3a8a;
margin:58px 0 18px;
}

.faq-section p{
font-size:17px;
line-height:1.95;
color:#334155;
margin-bottom:18px;
}

.faq-section strong{
font-weight:700;
color:#0f172a;
}

.faq-section a{
color:#2563eb;
text-decoration:none;
border-bottom:1px solid rgba(37,99,235,.35);
transition:.2s ease;
}

.faq-section a:hover{
color:#1d4ed8;
border-bottom-color:#1d4ed8;
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:980px){

.meta-page{
padding:10px 16px 18px;
}

.meta-page::before{
top:-220px;
right:-320px;
}

.meta-hero{
margin-bottom:10px;
}

.meta-hero h1{
font-size:31px;
line-height:1.15;
letter-spacing:-1px;
}

.meta-hero p{
font-size:16px;
line-height:1.85;
}

.meta-tool-card{
grid-template-columns:1fr;
padding:22px;
gap:24px;
}

.meta-header{
flex-direction:column;
align-items:center;
text-align:center;
gap:14px;
}

.meta-icon-box{
margin:0 auto;
}

.meta-header h2{
font-size:28px;
}

.tool-buttons{
flex-direction:column;
}

#clean-btn,
#download-btn{
width:100%;
}

.info-row{
flex-direction:column;
align-items:flex-start;
gap:8px;
}

.info-value{
text-align:left;
}

.preview-box{
max-width:360px;
margin:0 auto;
width:100%;
}

.faq-section{
margin:40px auto 60px;
padding:0 18px;
}

.faq-section h2{
font-size:31px;
}

.faq-section h3{
font-size:23px;
margin-top:46px;
}

.faq-section p{
font-size:16px;
line-height:1.9;
}

}

/* =========================================
   SMALL DEVICES
========================================= */

@media(max-width:640px){

.meta-hero{
margin-bottom:8px;
}

.meta-hero h1{
font-size:25px;
line-height:1.15;
}

.meta-hero p{
font-size:15px;
}

.meta-tool-card{
padding:18px;
border-radius:22px;
}

.upload-area{
padding:28px 16px;
}

.upload-icon{
width:62px;
height:62px;
}

.upload-area h3{
font-size:21px;
}

.meta-header h2{
font-size:24px;
}

#choose-file-btn{
width:100%;
}

.upload-actions{
flex-direction:column;
}

.upload-action-btn{
width:100%;
justify-content:center;
}

.preview-box{
padding:14px;
}

.faq-section{
margin-top:28px;
}

}













.seo-info-box{
    margin-top:16px;
    padding:14px 16px;
    border-radius:12px;
    background:#f8fafc;
    border:1px solid rgba(0,0,0,0.06);
    line-height:1.7;
}

.seo-warning-box{
    margin-top:18px;
    padding:14px 16px;
    border-radius:12px;
    background:#fff8db;
    border:1px solid rgba(0,0,0,0.08);
    line-height:1.7;
}

.seo-highlight{
    margin-top:20px;
    padding:16px 18px;
    border-radius:12px;
    background:#fff7cc;
    border-left:4px solid #f4c542;
    line-height:1.8;
}

.faq-section a{
    text-decoration:none;
    font-weight:600;
}

.faq-section a:hover{
    text-decoration:underline;
}

.faq-section h3{
    margin-top:34px;
    line-height:1.4;
}

.faq-section p{
    line-height:1.8;
}