:root {
    --brand-primary: #F27D26;
    --brand-primary-hover: #d66518;
    --brand-bg: #F9F9F9;
    --brand-card: #FFFFFF;
    --brand-text: #1A1A1A;
    --brand-muted: #666666;
    --brand-border: #E5E5E5;
    --radius: 12px;
    --font-family: 'Inter', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-family); background-color: var(--brand-bg); color: var(--brand-text); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.main-content { padding: 40px 0 60px; }
.hero-text { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.hero-text h1 { font-size: 2.5rem; margin-bottom: 15px; }
.tool-card { background: var(--brand-card); border-radius: var(--radius); padding: 40px; max-width: 800px; margin: 0 auto; border: 1px solid var(--brand-border); }
.upload-area { border: 2px dashed var(--brand-border); border-radius: var(--radius); padding: 40px; text-align: center; cursor: pointer; background: #FAFAFA; }
.upload-area:hover { border-color: var(--brand-primary); background: #FFF8F3; }
.btn { display: inline-block; padding: 12px 24px; border-radius: 50px; font-weight: 600; cursor: pointer; border: none; font-size: 1rem; }
.btn-primary { background-color: var(--brand-primary); color: white; }
.btn-primary:hover { background-color: var(--brand-primary-hover); }
.btn-primary.disabled { background-color: #ccc; cursor: not-allowed; }
.btn-secondary { background: transparent; border: 2px solid var(--brand-primary); color: var(--brand-primary); }
.btn-text { background: none; color: var(--brand-muted); text-decoration: underline; margin-top: 10px; }
.btn-lg { width: 100%; padding: 16px; }
.file-list { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.file-item { background: #f0f0f0; padding: 10px; border-radius: 6px; font-size: 0.8rem; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.settings-panel { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--brand-border); }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.setting-group.full-width { grid-column: 1 / -1; }
.slider { width: 100%; height: 6px; background: #ddd; border-radius: 3px; -webkit-appearance: none; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-primary); cursor: pointer; }
.checkbox-container { display: flex; align-items: center; position: relative; padding-left: 30px; cursor: pointer; margin-bottom: 10px; }
.checkbox-container input { position: absolute; opacity: 0; cursor: pointer; }
.checkmark { position: absolute; top: 0; left: 0; height: 20px; width: 20px; background: #eee; border-radius: 4px; }
.checkbox-container input:checked ~ .checkmark { background: var(--brand-primary); }
.resize-options { margin-top: 15px; padding: 15px; background: #f5f5f5; border-radius: 6px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 5px; }
.chip { background: white; border: 1px solid #ddd; padding: 5px 12px; border-radius: 20px; font-size: 0.85rem; cursor: pointer; }
.chip.selected { background: var(--brand-primary); color: white; border-color: var(--brand-primary); }
.input-text { width: 100%; padding: 8px; margin-top: 5px; border: 1px solid #ddd; border-radius: 6px; }
.progress-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.9); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 10; }
.spinner { width: 40px; height: 40px; border: 4px solid #f3f3f3; border-top: 4px solid var(--brand-primary); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 15px; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.result-area { text-align: center; padding: 20px 0; }
.success-icon { width: 60px; height: 60px; background: #2ecc71; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 20px; }
.stats-card { display: flex; justify-content: center; gap: 30px; margin: 20px 0; padding: 20px; background: #f9f9f9; border-radius: var(--radius); }
.stat { display: flex; flex-direction: column; }
.stat-value { font-size: 1.5rem; font-weight: 700; }
.stat.savings .stat-value { color: #2ecc71; }
.info-section { background: white; padding: 60px 0; border-top: 1px solid var(--brand-border); margin-top: 40px; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.accordion-header { width: 100%; text-align: left; padding: 15px 0; background: none; border: none; font-weight: 600; cursor: pointer; border-bottom: 1px solid #eee; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.hidden { display: none !important; }
@media (max-width: 768px) { .settings-grid { grid-template-columns: 1fr; } .stats-card { flex-direction: column; } }
