:root{
    --bg:#f5fbff;
    --text:#0f394c;
    --accent:#49b5e7;
    --white:#fff;
    --muted:#6e8b99;
    --border:#e3eef4;
    --shadow:0 8px 24px rgba(15,57,76,0.06);
    --radius:16px;
    --radius-sm:12px;
    --focus:0 0 0 3px rgba(73,181,231,.35);
}
.content{
    color:var(--text);
    background:var(--bg);
    -webkit-font-smoothing:antialiased;
}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1100px;margin-inline:auto;padding:24px}

.btn{
    appearance:none;border:0;border-radius:999px;padding:12px 18px;
    font-weight:600;cursor:pointer;transition:transform .05s ease, box-shadow .2s ease, background .2s ease;
}
.btn:focus{outline:none;box-shadow:var(--focus)}
.btn-accent{background:var(--accent);color:#fff;box-shadow:0 6px 18px rgba(73,181,231,0.35)}
.btn-accent:hover{filter:brightness(0.98)}
.btn-ghost{background:transparent;border:1px solid var(--border);color:var(--text)}
.btn-ghost:hover{background:#eef7fb}


section {
    padding: 0;
}

section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.heros {
    text-align: center;
}

.heros h1{
    font-size:clamp(28px,4.2vw,52px);
    line-height:1.08;margin:0 0 12px;letter-spacing:-.02em;
}

.heros p, #tool-section .drop i, #tool-section .drop .big, .dz-sub {
    color: var(--text);
}

#tool-section .drop {
    transition: all ease 0.3s;
}
#tool-section .drop:hover {
    opacity: 0.7;
}

.sub{color:var(--muted);margin: 0;}
.controls{margin-top:14px;}

#tool {
    max-width: 800px;
    width: 100%;
    margin: auto;
}
.files-container {
    display: none;
    text-align: end;
    margin-top: 20px;
}
.hero-card{
    background:var(--white);border:1px solid var(--border);
    border-radius:var(--radius);box-shadow:var(--shadow);padding:22px
}
.tool{margin-top:4px}
.drop{
    border:2px dashed #cfe6f3;border-radius:var(--radius);
    background:#f0f8fd;display:grid;place-items:center;text-align:center;
    padding:28px 5px;transition:border-color .2s ease, background .2s ease; cursor:pointer;
    min-height: 250px;
}
.drop.dragover{border-color:var(--accent);background:#e9f6fd}
.drop .big{font-weight:700;margin:16px 0 6px 0}
.muted{color:var(--muted)}

.radio-group{
    display:flex;gap:6px;background:#f8fcff;border:1px solid var(--border);
    border-radius:999px;padding:6px;align-items:center;flex-wrap:wrap
}
.radio{position:relative;flex:1;text-align: center;}
.radio input{position:absolute;opacity:0;pointer-events:none}
.radio label{
    display:block;padding:8px 12px;border-radius:999px;cursor:pointer;
    font-weight:600;color:var(--muted)
}
.radio input:checked + label{background:#e5f4fd;color:var(--text);box-shadow:inset 0 0 0 1px #cfe6f3}

.files{margin-top:16px;display:grid;gap:12px}
.file{
    background:#fff;border:1px solid var(--border);border-radius:var(--radius-sm);
    padding:12px 14px;display:grid;gap:15px
}
.file-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.name{font-weight:700;text-align:left;word-break: break-word;}
.size{color:var(--muted);font-weight:600;flex:1;}
.progress{
    width:100%;height:10px;background:#edf3f7;border-radius:999px;overflow:hidden;position:relative
}
.bar{
    height:100%;width:0;background:linear-gradient(90deg,var(--accent),#74c9ee);
    transition:width .2s ease
}
.result{
    display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:space-between
}
.tag{font-weight:700;color:#0a7ab1;background:#e6f5fd;border:1px solid #cfe6f3;padding:6px 10px;border-radius:999px;text-align: left;}
.ghost-link{color:#0f394c;border:1px solid var(--border);padding:8px 12px;border-radius:999px}
.ghost-link:hover{background:#f5fbff}
.danger{color:#b94a4a}

section{margin-top:40px}
.cards{display:grid;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}
.card{
    background:#fff;border:1px solid var(--border);border-radius:var(--radius);
    padding:18px;box-shadow:var(--shadow)
}
.card h3{margin:0 0 6px}

.steps{display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}
.step{
    background:#fff;border:1px solid var(--border);border-radius:var(--radius);
    box-shadow:var(--shadow);padding:18px;text-align:center
}
.step .num{
    width:36px;height:36px;border-radius:999px;background:#e6f5fd;
    display:grid;place-items:center;font-weight:800;margin:0 auto 10px
}

.qa{background:#fff;border:1px solid var(--border);border-radius:var(--radius-sm);padding:16px;height: 100%;}
.qa h4{margin:0 0 8px}

.dz-browse {
    background: white;
    padding: 10px 16px;
    border-radius: 99px;
    box-shadow: inset 0 0 0 1px #cfe6f3;
    margin-top: 10px;
    border: none;
    color: #0f394c;
    transition: all ease 0.3s;
    cursor: pointer;
}

.dz-sub {
    margin: 0;
}

.dz-tags{
    display:flex;
    gap:8px;
    justify-content:center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.tag{
    font-weight: 700;
    color: #0a7ab1;
    background:#e6f5fd;
    border:1px solid #cfe6f3;
    padding:6px 10px;
    border-radius:999px;
    font-size: 12px;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 900px){
    .steps,.cards{grid-template-columns:1fr}
}

@media (max-width: 560px) {
    .controls .radio-group .radio label, .tag, .ghost-link {
        font-size: 10px;
    }
}