:root{--bg-dark: #0b0f19;--card-bg: rgba(17, 24, 39, .78);--card-border: rgba(255, 255, 255, .09);--primary: #3b82f6;--primary-hover: #2563eb;--emerald: #10b981;--emerald-hover: #059669;--text-main: #f8fafc;--text-muted: #94a3b8;--danger: #ef4444}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Cairo,system-ui,-apple-system,sans-serif;background-color:var(--bg-dark);color:var(--text-main);min-height:100vh;line-height:1.6;overflow-x:hidden}.app-wrapper{position:relative;min-height:100vh;padding:3rem 1.25rem 4rem;display:flex;flex-direction:column;align-items:center}.bg-glow{position:fixed;width:520px;height:520px;border-radius:50%;filter:blur(130px);opacity:.18;pointer-events:none;z-index:0}.glow-1{top:-120px;right:-100px;background:#3b82f6}.glow-2{bottom:-140px;left:-100px;background:#10b981}.header{position:relative;z-index:1;text-align:center;max-width:720px;margin-bottom:2.5rem}.badge{display:inline-block;padding:.35rem 1rem;border-radius:999px;background:#3b82f624;border:1px solid rgba(59,130,246,.32);color:#60a5fa;font-size:.85rem;font-weight:700;margin-bottom:1rem}.header h1{font-size:clamp(1.75rem,4vw,2.5rem);font-weight:800;margin-bottom:.75rem;letter-spacing:-.02em}.header p{color:var(--text-muted);font-size:1.05rem}.main-container{position:relative;z-index:1;width:100%;max-width:840px}.dropzone{background:var(--card-bg);border:2px dashed rgba(59,130,246,.35);border-radius:1.25rem;padding:3rem 1.5rem;text-align:center;cursor:pointer;transition:all .2s ease;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.dropzone:hover,.dropzone.dragging{border-color:var(--primary);background:#1e293bd9;transform:translateY(-2px)}.dropzone-icon{width:64px;height:64px;margin:0 auto 1.25rem;border-radius:1rem;background:#3b82f61f;color:#60a5fa;display:flex;align-items:center;justify-content:center}.dropzone-icon svg{width:34px;height:34px}.dropzone h2{font-size:1.35rem;font-weight:700;margin-bottom:.35rem}.dropzone p{color:var(--text-muted);font-size:.95rem;margin-bottom:1.5rem}.primary-btn{font-family:inherit;font-size:1rem;font-weight:700;padding:.75rem 1.75rem;border-radius:.75rem;border:none;background:var(--primary);color:#fff;cursor:pointer;transition:background .2s ease}.primary-btn:hover:not(:disabled){background:var(--primary-hover)}.primary-btn:disabled{opacity:.65;cursor:not-allowed}.results-section{margin-top:2rem;background:var(--card-bg);border:1px solid var(--card-border);border-radius:1.25rem;padding:1.5rem;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.results-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.25rem}.results-header h3{font-size:1.15rem;font-weight:700}.text-btn{background:none;border:none;color:var(--text-muted);font-family:inherit;font-size:.9rem;cursor:pointer}.text-btn:hover{color:var(--danger)}.files-list{display:flex;flex-direction:column;gap:.85rem}.file-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;border-radius:.9rem;background:#0f172abf;border:1px solid var(--card-border);flex-wrap:wrap}.file-info{display:flex;align-items:center;gap:.9rem;min-width:0;flex:1}.pdf-badge{flex-shrink:0;width:44px;height:44px;border-radius:.65rem;background:#ef444424;border:1px solid rgba(239,68,68,.3);color:#f87171;font-weight:800;font-size:.8rem;display:flex;align-items:center;justify-content:center}.file-details{min-width:0}.file-details h4{font-size:1rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-meta{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;font-size:.85rem;color:var(--text-muted);margin-top:.2rem}.dot{opacity:.45}.success-text{color:#34d399;font-weight:600}.error-text{color:#f87171}.pages-badge{background:#10b98124;color:#34d399;padding:.1rem .55rem;border-radius:999px;font-size:.78rem;font-weight:700}.download-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.6rem 1.2rem;border-radius:.65rem;background:var(--emerald);color:#fff;text-decoration:none;font-weight:700;font-size:.9rem;transition:background .2s ease;white-space:nowrap}.download-btn:hover{background:var(--emerald-hover)}.spinner-box{display:flex;align-items:center;gap:.5rem;color:#60a5fa;font-size:.9rem;font-weight:600}.spinner{width:18px;height:18px;border:2.5px solid rgba(96,165,250,.25);border-top-color:#60a5fa;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.25rem;margin-top:2.5rem}.feature-item{background:var(--card-bg);border:1px solid var(--card-border);border-radius:1rem;padding:1.35rem}.feature-title{font-weight:700;font-size:1.02rem;margin-bottom:.45rem;color:#e2e8f0}.feature-item p{font-size:.9rem;color:var(--text-muted)}
