/* Custom size input styles (added only for new feature) */
.custom-size-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}
.custom-size-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
}
.custom-size-header input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.custom-size-header label {
    font-weight: 600;
    color: #2d3748;
    cursor: pointer;
}
.custom-size-inputs {
    display: none;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}
.custom-size-inputs.active { display: flex; }
.size-input-group { flex: 1; min-width: 140px; }
.size-input-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
}
.size-input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 1rem;
}
.size-unit-select {
    padding: 10px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    min-width: 90px;
    height: 42px;
}
/* Accuracy badge */
.accuracy-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 5px;
}
.accuracy-exact { background: #d1fae5; color: #065f46; }
.accuracy-close { background: #fef3c7; color: #92400e; }
.accuracy-far { background: #fee2e2; color: #991b1b; }
/* Progress bar */
.progress-wrap {
    display: none;
    margin: 20px auto;
    max-width: 500px;
}
.progress-wrap.active { display: block; }
.progress-bar-outer {
    width: 100%;
    height: 20px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}
.progress-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    width: 0%;
    transition: width 0.3s;
}
.progress-label {
    text-align: center;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 600;
}

        .landing-cta { text-align: center; margin: 2rem 0; }
        .btn-large { padding: 1rem 2rem; font-size: 1.2rem; }
        .feature-list { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; margin: 2rem 0; }
        .feature-item { background: #f7fafc; border-radius: 8px; padding: 1.5rem; flex: 1 1 200px; text-align: center; }
        .tip-box { background: #ebf8ff; border-left: 4px solid #3182ce; padding: 1.5rem; margin: 2rem 0; border-radius: 0 0.5rem 0.5rem 0; }
        .comparison-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
        .comparison-table th { background: #4299e1; color: white; padding: 0.75rem; }
        .comparison-table td { border: 1px solid #e2e8f0; padding: 0.75rem; }

        /* ===== Compressor UI ===== */
        .progress-wrap { display: none; max-width: 500px; margin: 1.5rem auto; }
        .progress-wrap.active { display: block; }
        .progress-bar-outer {
            width: 100%; height: 22px; background: #e2e8f0;
            border-radius: 11px; overflow: hidden;
        }
        .progress-bar-inner {
            height: 100%; background: linear-gradient(90deg, #4f46e5, #7c3aed);
            width: 0%; transition: width 0.3s;
        }
        .progress-label {
            text-align: center; margin-top: 8px;
            font-size: 0.9rem; color: #4a5568; font-weight: 600;
        }
        .accuracy-badge {
            display: inline-block; padding: 3px 10px;
            border-radius: 12px; font-size: 0.75rem;
            font-weight: 600; margin-left: 6px;
        }
        .accuracy-exact { background: #d1fae5; color: #065f46; }
        .accuracy-close { background: #fef3c7; color: #92400e; }
        .accuracy-far   { background: #fee2e2; color: #991b1b; }

        #landingState label.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(229,62,62,0.3); }
