* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f2f4f7;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a2e;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.page {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
}

.info-section {
  margin-top: 2.5rem;
}

.info-section h2 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.info-section h3 {
  font-size: 1rem;
  margin: 1.25rem 0 0.35rem;
}

.info-section p {
  color: #475467;
  line-height: 1.6;
  margin: 0;
}

.steps-list {
  color: #475467;
  line-height: 1.7;
  padding-left: 1.25rem;
  margin: 0;
}

.page-footer {
  text-align: center;
  color: #98a2b3;
  font-size: 0.8rem;
  margin-top: 3rem;
}

h1 {
  margin: 0 0 0.25rem;
  font-size: 1.75rem;
}

.subtitle {
  margin: 0 0 1.5rem;
  color: #667085;
}

.dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px dashed #c7cbd4;
  border-radius: 12px;
  padding: 2rem 1rem;
  cursor: pointer;
  color: #667085;
  transition: border-color 0.15s ease;
}

.dropzone:hover,
.dropzone.dragover {
  border-color: #4f46e5;
}

.quality-section {
  margin: 1.5rem 0 1rem;
}

.quality-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

#quality-value {
  font-weight: 700;
  color: #4f46e5;
}

input[type='range'] {
  width: 100%;
  accent-color: #4f46e5;
}

.quality-labels {
  display: flex;
  justify-content: space-between;
  color: #98a2b3;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.size-estimate {
  display: flex;
  justify-content: space-between;
  background: #f9fafb;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.format-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.format-row select {
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #e4e7ec;
  font-size: 0.9rem;
}

button {
  width: 100%;
  padding: 0.85rem;
  border: none;
  border-radius: 10px;
  background: #4f46e5;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

button:disabled {
  background: #c7cbd4;
  cursor: not-allowed;
}

.progress-bar {
  height: 10px;
  border-radius: 6px;
  background: #e4e7ec;
  overflow: hidden;
  margin-top: 1.5rem;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: #4f46e5;
  transition: width 0.3s ease;
}

#progress-text {
  text-align: center;
  color: #667085;
  margin: 0.75rem 0 0;
}

#result-section {
  text-align: center;
  margin-top: 1.5rem;
}

#savings-text {
  color: #12b76a;
  font-weight: 600;
  margin: 0.25rem 0 0.75rem;
}

#download-btn {
  display: inline-block;
  width: auto;
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #12b76a;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
}

.error {
  color: #d92d20;
  text-align: center;
  margin-top: 1rem;
}

.hidden {
  display: none;
}

.support-row {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e4e7ec;
}

.pride-badge {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.3rem 0.7rem;
  background: #fef3f2;
  color: #b42318;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
