@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: dark;
    --bg: #101827;
    --panel: #172235;
    --panel2: #1c2a40;
    --text: #f4f7fc;
    --muted: #91a0b7;
    --blue: #6387ff;
    --border: rgba(255,255,255,.09);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: var(--bg);
    font-family: Vazirmatn, Tahoma, sans-serif;
}

.page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(69,105,220,.19), transparent 50%),
        radial-gradient(ellipse at 90% 65%, rgba(20,150,170,.07), transparent 40%);
    z-index: -1;
}

.topbar {
    height: 76px;
    padding: 0 max(calc((100% - 1080px)/2), 24px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
    text-decoration: none;
    font-size: 17px;
    font-weight: 800;
    direction: ltr;
}

.brand-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg,#7797ff,#4564dc);
    border-radius: 11px;
    box-shadow: 0 5px 20px #4667d544;
    color: white;
    font-size: 21px;
}

.brand-light { color: #91a9ff; margin-left: 5px; }

.top-status {
    color: var(--muted);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e5a84b;
    box-shadow: 0 0 10px #e5a84b66;
}

.main {
    width: min(100% - 36px, 850px);
    margin: 0 auto;
}

.intro {
    text-align: center;
    padding: 65px 15px 35px;
}

.eyebrow {
    color: #91a9ff;
    font-size: 11px;
    letter-spacing: 3px;
    direction: ltr;
    font-weight: 700;
}

.intro h1 {
    font-size: clamp(29px,5vw,43px);
    margin: 13px 0 9px;
    font-weight: 800;
}

.intro h1 span {
    color: #86a0ff;
}

.intro p {
    max-width: 570px;
    margin: auto;
    color: var(--muted);
    font-size: 14px;
    line-height: 2;
}

.workspace {
    background: linear-gradient(145deg,#1b2940,#172235);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 27px;
    box-shadow: 0 25px 80px #00000035;
}

.workspace-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
}

.workspace-heading h2 {
    margin: 0 0 4px;
    font-size: 18px;
}

.workspace-heading p {
    color: var(--muted);
    font-size: 12px;
    margin: 0;
}

.secure-label {
    white-space: nowrap;
    font-size: 11px;
    color: #a7b9ff;
    background: #637fff18;
    padding: 8px 12px;
    border-radius: 30px;
}

.secure-label span { color: #65d9a0; }

.dropzone {
    min-height: 235px;
    border: 1.5px dashed #52678b;
    background: #111d2f80;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 25px 15px;
    transition: .2s;
    cursor: pointer;
}

.dropzone.dragging {
    border-color: #86a0ff;
    background: #607fff17;
}

.dropzone input {
    display: none;
}

.upload-icon {
    width: 53px;
    height: 53px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #92aaff;
    background: #718eff1c;
    margin-bottom: 10px;
}

.upload-icon svg { width: 27px; height: 27px; }

.dropzone h3 { font-size: 15px; margin: 3px 0; }
.dropzone p { color: var(--muted); font-size: 12px; margin: 2px 0 14px; }

.browse-btn {
    background: #627ff0;
    color: white;
    border: 0;
    border-radius: 8px;
    padding: 9px 23px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.browse-btn:hover { background: #7892ff; }

.file-rules {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 17px;
    color: #8292ac;
    font-size: 10px;
}

.file-rules span {
    padding: 4px 9px;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.selected-file {
    margin-top: 15px;
    padding: 13px;
    background: #111d2f;
    border: 1px solid var(--border);
    border-radius: 11px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.selected-file[hidden] { display: none; }

.file-symbol {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #667ff022;
    color: #9bb0ff;
    font-size: 11px;
    font-weight: 800;
}

.file-info { flex: 1; min-width: 0; }
.file-info strong, .file-info span { display: block; }
.file-info strong { font-size: 12px; overflow-wrap: anywhere; }
.file-info span { font-size: 10px; color: var(--muted); margin-top: 4px; }

.remove-file {
    border: 0;
    background: transparent;
    color: #a5b2c8;
    font-size: 23px;
    cursor: pointer;
}

.options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}

.option-item {
    display: flex;
    gap: 11px;
    align-items: center;
    background: #ffffff05;
    border: 1px solid var(--border);
    border-radius: 11px;
    padding: 13px;
}

.option-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: #7894ff18;
    color: #9db1ff;
    border-radius: 9px;
    font-size: 19px;
}

.option-item strong, .option-item small { display: block; }
.option-item strong { font-size: 11px; }
.option-item small { color: var(--muted); font-size: 9px; margin-top: 4px; }

.submit-btn {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 14px 18px;
    color: white;
    background: linear-gradient(100deg,#5375e7,#718eff);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    opacity: 1;
    transition: opacity .2s ease, filter .2s ease;
}

.submit-btn:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.submit-btn:not(:disabled):hover {
    filter: brightness(1.08);
}

.btn-arrow { font-size: 18px; line-height: 16px; }

.notice {
    margin-top: 13px;
    color: #c3a76d;
    background: #dba84c0d;
    border: 1px solid #dba84c27;
    border-radius: 9px;
    padding: 11px 13px;
    font-size: 10px;
    line-height: 1.9;
}

.notice-icon {
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border: 1px solid currentColor;
    border-radius: 50%;
    margin-left: 6px;
    font-size: 10px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
    margin: 25px 0 45px;
}

.feature {
    text-align: center;
    padding: 19px 12px;
    border: 1px solid var(--border);
    background: #ffffff04;
    border-radius: 13px;
}

.feature-icon {
    display: block;
    color: #91a9ff;
    font-size: 23px;
    margin-bottom: 7px;
}

.feature strong { font-size: 12px; }
.feature p { font-size: 10px; color: var(--muted); margin: 6px 0 0; }

footer {
    border-top: 1px solid var(--border);
    min-height: 65px;
    padding: 15px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #71819b;
    font-size: 10px;
    direction: ltr;
}

@media(max-width:600px) {
    .topbar { height: 65px; padding: 0 17px; }
    .intro { padding: 48px 5px 27px; }
    .workspace { padding: 18px 14px; }
    .workspace-heading { align-items: flex-start; }
    .secure-label { font-size: 9px; padding: 7px 8px; }
    .options { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; gap: 9px; }
    .feature { display: flex; align-items: center; text-align: right; gap: 12px; padding: 13px; }
    .feature-icon { margin: 0; }
    .feature p { margin-right: auto; }
    footer { padding: 15px; }
}
