/* ═══════════════════════════════════════
   PIXSHIFT — Main Stylesheet
   ═══════════════════════════════════════ */

/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0A0A0B;
  --surface: #111113;
  --surface2: #1A1A1E;
  --surface3: #222228;
  --border: #252528;
  --border2: #333338;
  --accent: #00E5A0;
  --accent2: #00B87A;
  --accent-dim: rgba(0, 229, 160, 0.10);
  --accent-dim2: rgba(0, 229, 160, 0.18);
  --text: #F0F0F4;
  --text2: #9090A0;
  --text3: #555560;
  --red: #FF4D6A;
  --red-dim: rgba(255, 77, 106, 0.12);
  --amber: #FFB547;
  --amber-dim: rgba(255, 181, 71, 0.12);
  --font: 'Syne', sans-serif;
  --mono: 'DM Mono', monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --transition: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light theme */
body.light {
  --bg: #F5F5F7;
  --surface: #FFFFFF;
  --surface2: #F0F0F2;
  --surface3: #E8E8EC;
  --border: #E2E2E8;
  --border2: #CCCCDA;
  --text: #0A0A0B;
  --text2: #5A5A6A;
  --text3: #9090A0;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --accent-dim: rgba(0, 184, 122, 0.10);
  --accent-dim2: rgba(0, 184, 122, 0.18);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  line-height: 1.5;
  transition: background var(--transition), color var(--transition);
}

/* Noise overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}
body.light .noise-overlay { opacity: 0.2; }

/* ── HEADER ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--transition);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.logo-mark:hover { transform: rotate(-5deg) scale(1.05); }
.logo-mark.small { width: 26px; height: 26px; border-radius: 7px; }
.logo-text-wrap { display: flex; flex-direction: column; }
.logo-name { font-size: 15px; font-weight: 800; letter-spacing: 0.08em; line-height: 1; }
.logo-tagline { font-size: 10px; color: var(--text3); font-family: var(--mono); letter-spacing: 0.04em; margin-top: 2px; }
.header-right { display: flex; align-items: center; gap: 10px; }
.privacy-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-family: var(--mono);
  padding: 5px 10px;
  border-radius: 20px;
  border: 1px solid var(--border2);
  color: var(--text3);
  white-space: nowrap;
}
body.light .privacy-badge { color: var(--accent2); border-color: rgba(0,184,122,0.3); background: var(--accent-dim); }
.theme-btn {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border2);
  background: var(--surface);
  color: var(--text2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.theme-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── HERO ── */
.hero {
  padding: 60px 24px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,229,160,0.12) 0%, transparent 70%);
  pointer-events: none;
}
body.light .hero::before { background: radial-gradient(ellipse, rgba(0,184,122,0.10) 0%, transparent 70%); }
.hero-inner { max-width: 640px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  font-size: 11px; font-family: var(--mono); font-weight: 500;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0,229,160,0.35);
  color: var(--accent);
  background: var(--accent-dim);
  margin-bottom: 20px;
}
body.light .hero-badge { border-color: rgba(0,184,122,0.35); }
.hero-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.hero-accent { color: var(--accent); }
body.light .hero-accent { color: var(--accent2); }
.hero-sub {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 24px;
}
.hero-formats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.hero-formats span {
  font-size: 11px;
  font-family: var(--mono);
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid var(--border2);
  background: var(--surface);
  color: var(--text3);
}

/* ── APP CONTAINER ── */
.app-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 48px;
}
.app-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
}

/* ── LEFT COLUMN ── */
.col-left { display: flex; flex-direction: column; gap: 16px; }
.col-right { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 73px; }

/* ── DROP ZONE ── */
.dropzone {
  border: 1.5px dashed var(--border2);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--surface);
  position: relative;
  outline: none;
}
.dropzone:hover, .dropzone:focus, .dropzone.drag {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.dropzone.drag { transform: scale(1.01); }
#file-input { display: none; }
.dz-icon-wrap { margin: 0 auto 16px; }
.dz-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  color: var(--text3);
  transition: all var(--transition);
}
.dropzone:hover .dz-icon, .dropzone.drag .dz-icon {
  background: var(--accent-dim2);
  border-color: var(--accent);
  color: var(--accent);
}
.dz-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.dz-sub { font-size: 13px; color: var(--text2); margin-bottom: 16px; }
.dz-link { color: var(--accent); cursor: pointer; }
body.light .dz-link { color: var(--accent2); }
.dz-formats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.dz-formats span {
  font-size: 10px; font-family: var(--mono);
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text3);
}

/* ── STATS BAR ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
  transition: all var(--transition);
}
.stat-card.accent { border-color: rgba(0,229,160,0.25); background: var(--accent-dim); }
body.light .stat-card.accent { border-color: rgba(0,184,122,0.25); }
.stat-num {
  font-size: 20px; font-weight: 700;
  font-family: var(--mono);
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-card.accent .stat-num { color: var(--accent); }
body.light .stat-card.accent .stat-num { color: var(--accent2); }
.stat-label { font-size: 10px; font-family: var(--mono); color: var(--text3); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── FILE LIST ── */
.file-list { display: flex; flex-direction: column; gap: 8px; }
.empty-state {
  text-align: center;
  padding: 48px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.es-icon { color: var(--text3); margin-bottom: 12px; }
.empty-state p { font-size: 14px; color: var(--text2); margin-bottom: 6px; }
.empty-state span { font-size: 12px; color: var(--text3); font-family: var(--mono); }

/* ── FILE CARD ── */
.file-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: slideIn 0.22s ease;
  transition: border-color var(--transition);
}
.file-card:hover { border-color: var(--border2); }
.file-card.done { border-color: rgba(0,229,160,0.2); }
.file-card.error { border-color: rgba(255,77,106,0.2); }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.fc-top {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
}
.fc-thumb {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.fc-thumb-ph {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text3);
  font-size: 20px;
  flex-shrink: 0;
}
.fc-info { min-width: 0; }
.fc-name {
  font-size: 13px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 3px;
}
.fc-meta { font-size: 11px; color: var(--text3); font-family: var(--mono); }
.fc-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.fc-status {
  font-size: 10px; font-family: var(--mono);
  padding: 3px 8px; border-radius: 6px;
  white-space: nowrap;
}
.fc-status.pending  { background: var(--surface2); color: var(--text3); border: 1px solid var(--border); }
.fc-status.working  { background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(255,181,71,.3); animation: pulse 1s infinite; }
.fc-status.done     { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(0,229,160,.3); }
body.light .fc-status.done { color: var(--accent2); }
.fc-status.error    { background: var(--red-dim); color: var(--red); border: 1px solid rgba(255,77,106,.3); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }
.fc-remove-btn {
  background: none; border: none;
  color: var(--text3); cursor: pointer;
  font-size: 18px; line-height: 1;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color var(--transition);
}
.fc-remove-btn:hover { color: var(--red); }

/* progress */
.fc-progress { margin-top: 10px; }
.progress-track {
  height: 3px;
  background: var(--border2);
  border-radius: 2px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  width: 0%;
  transition: width 0.4s ease;
}

/* download row */
.fc-download {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.fc-download.show { display: flex; }
.fc-dl-details { flex: 1; min-width: 0; }
.fc-dl-size { font-size: 12px; font-family: var(--mono); color: var(--text2); }
.fc-dl-saving { font-size: 11px; font-family: var(--mono); }
.fc-dl-saving.positive { color: var(--accent); }
body.light .fc-dl-saving.positive { color: var(--accent2); }
.fc-dl-saving.negative { color: var(--text3); }
.fc-dl-btn {
  font-size: 12px; font-family: var(--mono);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0,229,160,.3);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  flex-shrink: 0;
}
body.light .fc-dl-btn { color: var(--accent2); border-color: rgba(0,184,122,.3); }
.fc-dl-btn:hover { background: var(--accent); color: #000; border-color: var(--accent); }

/* ── PANEL CARDS ── */
.panel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.panel-title { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text2); }
.panel-hint { font-size: 11px; font-family: var(--mono); color: var(--accent); }
body.light .panel-hint { color: var(--accent2); }

/* ── FORMAT GRID ── */
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fmt-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text2);
  font-size: 12px; font-family: var(--mono); font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
}
.fmt-icon { font-size: 16px; }
.fmt-btn:hover { border-color: var(--border2); color: var(--text); }
.fmt-btn.active { border-color: var(--accent); background: var(--accent-dim); color: var(--accent); }
body.light .fmt-btn.active { color: var(--accent2); border-color: var(--accent2); }

/* ── QUALITY SLIDER ── */
.slider-wrap { display: flex; flex-direction: column; gap: 8px; }
.slider-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--text3); font-family: var(--mono); }
.quality-val-display { font-size: 13px; font-family: var(--mono); font-weight: 500; }
input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--border2);
  outline: none;
  cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--accent);
  transition: transform var(--transition);
}
body.light input[type=range]::-webkit-slider-thumb { border-color: #fff; background: var(--accent2); box-shadow: 0 0 0 1px var(--accent2); }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type=range]::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  cursor: pointer;
}
input[type=range]:disabled { opacity: 0.3; cursor: not-allowed; }
input[type=range]:disabled::-webkit-slider-thumb { cursor: not-allowed; }
.quality-stops { display: flex; justify-content: space-between; font-size: 10px; color: var(--text3); font-family: var(--mono); padding: 0 2px; }

/* ── TOGGLES ── */
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; }
.toggle-label { font-size: 13px; color: var(--text); margin-bottom: 2px; }
.toggle-desc { font-size: 11px; color: var(--text3); }
.toggle {
  width: 40px; height: 22px;
  border-radius: 11px;
  background: var(--surface3);
  border: 1px solid var(--border2);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
  outline: none;
}
.toggle.on { background: var(--accent2); border-color: var(--accent2); }
.toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--text3);
  transition: transform 0.2s, background 0.2s;
}
.toggle.on::after { transform: translateX(18px); background: #fff; }
.toggle:focus-visible { box-shadow: 0 0 0 2px var(--accent); }

/* ── RESIZE PRESETS ── */
.preset-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.preset-btn {
  font-size: 11px; font-family: var(--mono);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text3);
  cursor: pointer;
  transition: all var(--transition);
}
.preset-btn:hover { border-color: var(--border2); color: var(--text2); }
.preset-btn.active { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
body.light .preset-btn.active { border-color: var(--accent2); color: var(--accent2); }
.custom-dims {
  display: none;
  grid-template-columns: 1fr 20px 1fr;
  align-items: end;
  gap: 10px;
  margin-top: 12px;
}
.custom-dims.show { display: grid; }
.dim-input-wrap { display: flex; flex-direction: column; gap: 5px; }
.dim-input-wrap label { font-size: 11px; color: var(--text3); font-family: var(--mono); }
.dim-input-wrap input {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: var(--text);
  font-size: 13px; font-family: var(--mono);
  outline: none;
  width: 100%;
  text-align: center;
  transition: border-color var(--transition);
}
.dim-input-wrap input:focus { border-color: var(--accent); }
body.light .dim-input-wrap input:focus { border-color: var(--accent2); }
.dim-x { font-size: 14px; color: var(--text3); text-align: center; padding-bottom: 8px; }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 12px 0; }

/* ── PRIVACY NOTE ── */
.privacy-note {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 11px; font-family: var(--mono);
  color: var(--text3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  line-height: 1.5;
}
body.light .privacy-note { border-left-color: var(--accent2); }
.privacy-note svg { flex-shrink: 0; margin-top: 1px; color: var(--accent); }
body.light .privacy-note svg { color: var(--accent2); }

/* ── ACTION BUTTONS ── */
.convert-btn {
  width: 100%;
  padding: 15px 20px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #000;
  font-family: var(--font);
  font-size: 15px; font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all var(--transition);
  letter-spacing: -0.01em;
}
body.light .convert-btn { background: var(--accent2); }
.convert-btn:hover:not(:disabled) { background: #00ffb3; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,229,160,0.3); }
body.light .convert-btn:hover:not(:disabled) { background: #00c985; box-shadow: 0 8px 24px rgba(0,184,122,0.25); }
.convert-btn:active:not(:disabled) { transform: none; }
.convert-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.convert-btn.loading { background: var(--surface2); color: var(--text2); border: 1px solid var(--border2); }

.secondary-btn {
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--border2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all var(--transition);
}
.secondary-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
body.light .secondary-btn:hover:not(:disabled) { border-color: var(--accent2); color: var(--accent2); }
.secondary-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.reset-btn {
  width: 100%;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--text3);
  font-family: var(--mono);
  font-size: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.reset-btn:hover { color: var(--red); border-color: var(--red); }

/* ── FEATURES ── */
.features {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.features-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feat-card { text-align: center; padding: 12px; }
.feat-icon { font-size: 28px; margin-bottom: 12px; }
.feat-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.feat-desc { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* ── FOOTER ── */
.footer {
  padding: 24px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
}
.footer-mid { font-size: 12px; color: var(--text3); font-family: var(--mono); }
.footer-right { font-size: 12px; color: var(--text3); }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface);
  border: 1px solid var(--border2);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  padding: 10px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  z-index: 1000;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { border-color: rgba(0,229,160,.4); color: var(--accent); }
body.light .toast.success { color: var(--accent2); }
.toast.error { border-color: rgba(255,77,106,.4); color: var(--red); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .app-grid { grid-template-columns: 1fr; }
  .col-right { position: static; }
  .features-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .privacy-badge { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 40px 16px 32px; }
  .app-container { padding: 0 16px 40px; }
  .features { padding: 32px 16px; }
  .features-inner { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .header-inner { padding: 14px 16px; }
  .format-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
  .features-inner { grid-template-columns: 1fr; }
}
