/* ════════════════════════════════════════
   ZipForge — File Compressor (style.css)
   HF Tools & ShambhuAI website ke saath match
   ════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;600;700;800&family=Noto+Sans+Devanagari:wght@300;400;500&display=swap');

/* ── CSS Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #f7f4ef;
  --surface:   #ffffff;
  --border:    #e4ddd3;
  --accent:    #c0622a;
  --accent2:   #e07b3f;
  --accent-lt: #fdf0e8;
  --text:      #1e1a16;
  --muted:     #8a7f74;
  --shadow:    0 2px 16px rgba(0,0,0,0.07);
  --radius:    16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Baloo 2', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(192,98,42,0.06) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(224,123,63,0.06) 0%, transparent 50%);
}

/* ════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════ */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
  text-decoration: none;
}
.navbar .logo img { width: 32px; height: 32px; object-fit: contain; }

.navbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.2s;
}
.navbar a::before { content: '←'; font-size: 0.9rem; }
.navbar a:hover { background: var(--accent-lt); border-color: var(--accent2); color: var(--accent); }
.navbar .logo::before { content: none; }

/* ════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════ */
.hero {
  text-align: center;
  padding: 3rem 1.5rem 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-lt);
  border: 1px solid rgba(192,98,42,0.25);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  letter-spacing: 0.5px;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 0.7rem;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 0.5rem;
  line-height: 1.65;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.info-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}
  .seo-content {
    max-width: 860px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: inherit;
    color: #1a1a2e;
    line-height: 1.8;
  }
 
  .seo-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 12px;
    color: #0f172a;
    border-left: 4px solid #f59e0b;
    padding-left: 12px;
  }
 
  .seo-content p {
    margin-bottom: 14px;
    color: #374151;
    font-size: 0.97rem;
  }
 
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
  }
 
  .feature-card {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 16px;
  }
 
  .feature-card .icon { font-size: 1.4rem; }
  .feature-card strong { display: block; margin: 6px 0 4px; font-size: 0.95rem; color: #92400e; }
  .feature-card span { font-size: 0.85rem; color: #4b5563; }
 
  .level-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
  }
 
  .level-card {
    border-radius: 12px;
    padding: 20px;
    text-align: center;
  }
 
  .level-card.fast   { background: #f0fdf4; border: 2px solid #4ade80; }
  .level-card.bal    { background: #fffbeb; border: 2px solid #fbbf24; }
  .level-card.max    { background: #fef2f2; border: 2px solid #f87171; }
 
  .level-card .badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
  }
 
  .level-card.fast .badge { background: #22c55e; }
  .level-card.bal  .badge { background: #f59e0b; }
  .level-card.max  .badge { background: #ef4444; }
 
  .level-card strong { display: block; font-size: 1rem; margin-bottom: 6px; color: #0f172a; }
  .level-card span   { font-size: 0.83rem; color: #4b5563; }
 
  .steps-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    counter-reset: steps;
  }
 
  .steps-list li {
    counter-increment: steps;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 14px;
    border: 1px solid #e2e8f0;
  }
 
  .steps-list li::before {
    content: counter(steps);
    background: #f59e0b;
    color: white;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
  }
 
  .use-cases {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
  }
 
  .use-case-tag {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.85rem;
    color: #92400e;
  }
 
  .compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.92rem;
  }
 
  .compare-table th {
    background: #f59e0b;
    color: white;
    padding: 12px 16px;
    text-align: left;
  }
 
  .compare-table td {
    padding: 11px 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
  }
 
  .compare-table tr:nth-child(even) td { background: #fffbeb; }
 
  .faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
  }
 
  .faq-q {
    background: #f9fafb;
    padding: 14px 18px;
    font-weight: 600;
    color: #92400e;
    font-size: 0.95rem;
  }
 
  .faq-a {
    padding: 12px 18px;
    color: #4b5563;
    font-size: 0.9rem;
    border-top: 1px solid #e5e7eb;
  }
 
  .info-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 0.92rem;
    color: #78350f;
  }
 
  @media (max-width: 600px) {
    .level-cards { grid-template-columns: 1fr; }
  }
/* ════════════════════════════════════════
   HOW TO USE STEPS
   ════════════════════════════════════════ */
.how-to-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.how-to {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.step {
  flex: 1;
  text-align: center;
  padding: 1rem;
  border-right: 1px solid var(--border);
}
.step:last-child { border-right: none; }

.step-num {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
}

.step-text {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

/* ════════════════════════════════════════
   MAIN PAGE LAYOUT
   ════════════════════════════════════════ */
.converter-page {
  padding: 1.5rem 1.5rem 3rem;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════
   DROP ZONE
   ════════════════════════════════════════ */
.drop-zone-wrapper { width: 100%; }

.drop-zone {
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.25s;
  animation: fadeUp 0.4s ease both;
}

.drop-zone:hover,
.drop-zone.dragging {
  border-color: var(--accent2);
  background: var(--accent-lt);
  box-shadow: 0 4px 24px rgba(192,98,42,0.1);
  transform: translateY(-2px);
}

.dz-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 24px;
  gap: 10px;
}

.dz-icon {
  width: 64px; height: 64px;
  color: var(--accent);
  background: var(--accent-lt);
  border: 1px solid rgba(192,98,42,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin-bottom: 6px;
  transition: transform 0.3s;
}
.drop-zone:hover .dz-icon { transform: translateY(-4px); }

.dz-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.dz-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.browse-btn {
  margin-top: 6px;
  padding: 0.55rem 1.8rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  border-radius: 100px;
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 10px rgba(192,98,42,0.25);
}
.browse-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(192,98,42,0.3);
}

/* ════════════════════════════════════════
   CONTROLS
   ════════════════════════════════════════ */
.controls-section {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  animation: fadeUp 0.4s ease 0.1s both;
}

.control-card {
  flex: 1;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.control-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: uppercase;
}

.level-buttons { display: flex; gap: 0.5rem; }

.level-btn {
  flex: 1;
  padding: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.level-btn:hover { border-color: var(--accent2); color: var(--accent); background: var(--accent-lt); }
.level-btn.active { background: var(--accent-lt); border-color: var(--accent); color: var(--accent); box-shadow: 0 2px 8px rgba(192,98,42,0.12); }

.level-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-wrap:focus-within { border-color: var(--accent2); box-shadow: 0 0 0 3px rgba(192,98,42,0.08); }
.input-wrap input {
  flex: 1; background: none; border: none; outline: none;
  padding: 0.6rem 0.9rem;
  color: var(--text);
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}
.input-wrap .ext { padding: 0.6rem 0.9rem 0.6rem 0; font-size: 0.85rem; color: var(--accent); font-weight: 700; }

/* ════════════════════════════════════════
   FILE LIST
   ════════════════════════════════════════ */
.file-list-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: fadeUp 0.4s ease 0.15s both;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.3rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.section-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }

.clear-btn {
  background: none;
  border: 1px solid rgba(192,98,42,0.25);
  border-radius: 100px;
  color: var(--accent);
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.clear-btn:hover { background: var(--accent-lt); border-color: var(--accent); }

.file-list {
  max-height: 300px;
  overflow-y: auto;
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.file-list::-webkit-scrollbar { width: 4px; }
.file-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.file-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.3rem;
  gap: 0.9rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  animation: fadeUp 0.25s ease both;
}
.file-item:last-child { border-bottom: none; }
.file-item:hover { background: var(--bg); }

.file-type-badge {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--accent);
  border: 1px solid rgba(192,98,42,0.15);
  flex-shrink: 0;
  text-transform: uppercase;
}

.file-info { flex: 1; min-width: 0; }
.file-name { font-size: 0.9rem; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-size { font-size: 0.75rem; color: var(--muted); margin-top: 1px; font-weight: 500; }

.file-remove {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  transition: all 0.2s;
  font-weight: 700;
  line-height: 1.4;
}
.file-remove:hover { color: var(--accent); border-color: var(--accent2); background: var(--accent-lt); }

.file-stats {
  padding: 0.75rem 1.3rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  gap: 1.5rem;
  background: var(--bg);
  font-weight: 500;
}
.file-stats span { color: var(--accent); font-weight: 700; }

/* ════════════════════════════════════════
   PROGRESS
   ════════════════════════════════════════ */
.progress-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeUp 0.3s ease both;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
#progressPercent { color: var(--accent); font-weight: 800; }

.progress-track {
  height: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 100px;
  width: 0%;
  transition: width 0.3s ease;
}

.progress-glow { display: none; }

.progress-detail {
  font-size: 0.78rem;
  color: var(--muted);
  font-family: 'Noto Sans Devanagari', sans-serif;
}

/* ════════════════════════════════════════
   ACTION BUTTON
   ════════════════════════════════════════ */
.action-section {
  display: flex;
  justify-content: center;
  animation: fadeUp 0.4s ease 0.2s both;
}

.compress-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 3rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  border-radius: 100px;
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 18px rgba(192,98,42,0.28);
}
.compress-btn:hover { opacity: 0.92; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(192,98,42,0.35); }
.compress-btn:active { transform: translateY(0); }
.compress-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-icon { font-size: 1.1rem; animation: spin 5s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════
   RESULT CARD
   ════════════════════════════════════════ */
.result-section { display: flex; justify-content: center; animation: fadeUp 0.4s ease both; }

.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem 2rem;
  text-align: center;
  width: 100%;
  max-width: 560px;
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}

.result-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}

.result-title { font-size: 1.15rem; font-weight: 800; color: var(--text); }

.result-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem 1rem;
}

.stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-val { font-size: 1.3rem; font-weight: 800; color: var(--text); }
.stat-item.highlight .stat-val { color: var(--accent); }
.stat-item.savings .stat-val { color: var(--accent2); font-size: 1.6rem; }
.stat-key { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px; color: var(--muted); text-transform: uppercase; }
.stat-arrow { font-size: 1.2rem; color: var(--muted); }

.download-btn {
  width: 100%;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  border-radius: 100px;
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 18px rgba(192,98,42,0.25);
}
.download-btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(192,98,42,0.3); }

.reset-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--muted);
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
}
.reset-btn:hover { border-color: var(--accent2); color: var(--accent); background: var(--accent-lt); }

/* ════════════════════════════════════════
   TOAST
   ════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(70px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.6rem 1.5rem;
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  z-index: 1000;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.error { border-color: rgba(192,98,42,0.4); color: var(--accent); background: var(--accent-lt); }
.toast.success { border-color: rgba(192,98,42,0.25); color: var(--accent); }

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--surface);
  margin-top: auto;
}
footer strong { color: var(--accent); }

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 900px) {
  .navbar { padding: 0 1.5rem; height: 58px; }
  .hero { padding: 2.2rem 1.2rem 1.5rem; }
  .hero h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .controls-section { gap: 1rem; }
  .converter-page { padding: 1.2rem 1.2rem 2.5rem; }
}

@media (max-width: 700px) {
  .navbar { padding: 0 1rem; height: 54px; }
  .navbar .logo { font-size: 1.15rem; }
  .navbar a { font-size: 0.78rem; padding: 0.35rem 0.85rem; }
  .hero { padding: 2rem 1rem 1.2rem; }
  .hero-badge { font-size: 0.7rem; padding: 0.25rem 0.8rem; }
  .hero h1 { font-size: 1.6rem; letter-spacing: -0.3px; }
  .hero p { font-size: 0.88rem; }
  .info-chips { gap: 0.4rem; margin-top: 1rem; }
  .chip { font-size: 0.72rem; padding: 0.22rem 0.65rem; }
  .how-to { display: grid; grid-template-columns: 1fr 1fr; border-radius: 12px; }
  .step { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 0.85rem 0.6rem; }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(3) { border-bottom: none; }
  .step:nth-child(4) { border-right: none; border-bottom: none; }
  .dz-inner { padding: 36px 16px; }
  .controls-section { flex-direction: column; }
  .compress-btn { width: 100%; justify-content: center; font-size: 0.95rem; padding: 0.85rem 1rem; border-radius: 12px; }
  .result-card { padding: 1.6rem 1.2rem; }
  .download-btn { border-radius: 12px; }
  .reset-btn { border-radius: 12px; }
  footer { padding: 1.5rem 1rem; font-size: 0.75rem; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 1.4rem; }
  .level-buttons { flex-direction: column; gap: 0.4rem; }
  .result-stats { flex-direction: column; align-items: center; gap: 0.75rem; }
  .stat-arrow { transform: rotate(90deg); }
}
