@font-face {
  font-family: "Inter";
  src: url("/assets/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --violet-500: #8b5cf6;
  --green-500: #22c55e;
  --teal-500: #14b8a6;
  --orange-500: #f97316;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--slate-900);
  background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
svg { display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 65px;
  border-bottom: 1px solid rgba(226,232,240,.9);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
}
.nav-shell {
  width: min(100% - 32px, 1248px);
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 750; letter-spacing: -.025em; }
.brand-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(145deg, #2563eb 0%, #4f46e5 100%);
  box-shadow: 0 5px 12px rgba(37,99,235,.22);
}
.brand-icon svg { width: 20px; height: 20px; stroke-width: 1.9; }
.desktop-nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--slate-600); }
.desktop-nav i { font-style: normal; color: var(--slate-300); }
.desktop-nav a, .site-footer a { transition: color .18s ease; }
.desktop-nav a:hover, .site-footer a:hover { color: var(--blue-600); }
.nav-actions { position: relative; display: flex; align-items: center; gap: 4px; }
.language-button, .menu-button { border: 0; background: transparent; border-radius: 8px; height: 36px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.language-button { gap: 6px; padding: 0 10px; font-size: 14px; font-weight: 500; }
.language-button svg { width: 16px; height: 16px; }
.language-button .chevron { width: 14px; }
.language-button:hover, .menu-button:hover { background: var(--slate-100); }
.language-button[aria-expanded="true"] { background: var(--slate-100); }
.language-button[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.language-button .chevron { transition: transform .18s ease; }
.language-menu { position: absolute; top: 43px; right: 0; z-index: 70; width: 148px; padding: 6px; border: 1px solid var(--slate-200); border-radius: 11px; background: rgba(255,255,255,.98); box-shadow: 0 16px 35px rgba(15,23,42,.14); }
.language-option { position: relative; width: 100%; height: 38px; padding: 0 34px 0 12px; border: 0; border-radius: 7px; color: var(--slate-600); background: transparent; cursor: pointer; text-align: left; font-size: 13px; font-weight: 600; }
.language-option:hover { color: var(--slate-900); background: var(--slate-50); }
.language-option.is-active { color: var(--blue-600); background: var(--blue-50); }
.language-option.is-active::after { content: "✓"; position: absolute; top: 50%; right: 12px; transform: translateY(-50%); font-size: 13px; font-weight: 800; }
.menu-button { display: none; width: 36px; padding: 8px; }
.menu-button svg { width: 20px; height: 20px; }
.mobile-menu { position: absolute; top: 64px; left: 0; right: 0; padding: 10px 16px 16px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--slate-200); box-shadow: 0 12px 25px rgba(15,23,42,.08); }
.mobile-menu a { display: block; padding: 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--slate-600); }
.mobile-menu a:hover { background: var(--slate-50); color: var(--blue-600); }

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 1635px;
  padding: 128px 16px;
  background: #f8fafc;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(82px); pointer-events: none; opacity: .28; }
.hero-glow-blue { width: 520px; height: 520px; left: -210px; top: -150px; background: #bfdbfe; }
.hero-glow-violet { width: 540px; height: 540px; right: -170px; top: 720px; background: #ddd6fe; }
.hero-shell { position: relative; z-index: 1; width: min(100%, 1024px); margin: 0 auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 4px 12px; color: var(--blue-600); background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 999px; font-size: 12px; line-height: 16px; font-weight: 650; letter-spacing: .025em; }
.eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 4px rgba(59,130,246,.12); }
.hero-title { margin: 0 0 32px; color: var(--slate-900); font-size: 72px; line-height: 1.02; font-weight: 900; letter-spacing: -.048em; }
.hero-title strong { font-weight: 900; color: transparent; background: linear-gradient(100deg, #2563eb 0%, #7c3aed 100%); background-clip: text; -webkit-background-clip: text; }
.hero-title em { color: var(--slate-400); font-style: normal; }
.hero-copy { max-width: 672px; margin: 0 auto; color: var(--slate-600); font-size: 20px; line-height: 1.65; }
.hero-copy b { color: var(--slate-900); font-weight: 700; }

.upload-wrap { position: relative; max-width: 768px; height: 432px; margin: 48px auto 0; transition: height .28s ease; }
.upload-wrap.has-files { height: 490px; }
.upload-wrap.has-files.settings-open { height: 540px; }
.upload-aura { position: absolute; inset: -2px; border-radius: 18px; background: linear-gradient(120deg, rgba(59,130,246,.38), rgba(139,92,246,.42)); filter: blur(17px); opacity: .55; transform: translateY(12px); }
.app-window { position: relative; height: 100%; overflow: hidden; border: 1px solid var(--slate-200); border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: 0 25px 50px -12px rgba(15,23,42,.23), 0 5px 14px rgba(15,23,42,.08); }
.window-bar { height: 48px; padding: 0 18px; display: flex; align-items: center; border-bottom: 1px solid var(--slate-100); background: rgba(248,250,252,.92); }
.traffic-lights { display: flex; gap: 7px; }
.traffic-lights i { width: 11px; height: 11px; border-radius: 50%; background: #fb7185; }
.traffic-lights i:nth-child(2) { background: #fbbf24; }
.traffic-lights i:nth-child(3) { background: #4ade80; }
.window-title { margin-left: 14px; display: flex; align-items: center; gap: 6px; color: var(--slate-500); font-size: 12px; font-weight: 500; }
.window-title svg { width: 14px; height: 14px; }
.drop-zone { position: absolute; inset: 72px 40px 40px; width: auto; border: 2px dashed var(--slate-200); border-radius: 16px; background: rgba(255,255,255,.64); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.drop-zone:hover, .drop-zone.is-dragging { border-color: #93c5fd; background: var(--blue-50); transform: translateY(-1px); }
.upload-icon { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 16px; color: var(--blue-600); background: var(--blue-50); }
.upload-icon svg { width: 32px; height: 32px; stroke-width: 1.8; }
.drop-title { color: var(--slate-800); font-size: 18px; line-height: 28px; font-weight: 700; }
.drop-copy { max-width: 490px; margin-top: 8px; color: var(--slate-500); font-size: 13px; line-height: 20px; }
.conversion-panel { position: absolute; inset: 72px 40px 24px; text-align: left; }
.conversion-summary-card { height: 82px; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #dbe3ec; border-radius: 16px; background: #fff; box-shadow: 0 2px 4px rgba(15,23,42,.1); }
.summary-main { min-width: 0; display: flex; align-items: center; gap: 16px; }
.summary-picture { flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(145deg,#2f80ff 0%,#4f46f7 100%); box-shadow: 0 7px 12px rgba(79,70,229,.24); }
.summary-picture svg { width: 27px; height: 27px; stroke-width: 2; }
.summary-copy { min-width: 0; display: grid; gap: 2px; }
.summary-title-row { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.summary-title-row strong { color: var(--slate-900); font-size: 18px; line-height: 24px; font-weight: 800; letter-spacing: -.02em; }
.summary-size { display: inline-flex; align-items: center; height: 21px; padding: 0 9px; border-radius: 999px; color: var(--slate-500); background: var(--slate-100); font-size: 12px; font-weight: 650; }
.summary-state { color: var(--slate-500); font-size: 13px; line-height: 18px; }
.summary-state.is-complete { color: #00ad43; font-weight: 650; }
.summary-state.is-error { color: #dc2626; font-weight: 650; }
.summary-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.summary-actions button { height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.summary-actions button:hover:not(:disabled) { transform: translateY(-1px); }
.summary-actions button:disabled { cursor: wait; opacity: .66; }
.summary-actions svg { width: 19px; height: 19px; stroke-width: 1.9; }
.clear-files { padding: 0 9px; color: var(--slate-500); background: transparent; font-size: 14px; }
.clear-files:hover:not(:disabled) { color: var(--slate-800); }
.start-conversion, .download-all { min-width: 112px; padding: 0 15px; border-radius: 14px; color: #fff; font-size: 14px; box-shadow: 0 8px 15px -7px rgba(15,23,42,.35); }
.start-conversion { background: var(--slate-900); }
.start-conversion:hover:not(:disabled) { background: #172033; box-shadow: 0 10px 18px -7px rgba(15,23,42,.45); }
.download-all { background: #00b845; box-shadow: 0 8px 15px -7px rgba(0,184,69,.42); }
.download-all:hover:not(:disabled) { background: #00a83f; box-shadow: 0 10px 18px -7px rgba(0,184,69,.48); }
html[lang="en"] .start-conversion, html[lang="en"] .download-all { min-width: 132px; }
.add-more { width: 44px; flex: 0 0 44px; border: 2px dashed #d8dee7 !important; border-radius: 14px; color: var(--slate-400); background: #fff; box-shadow: 0 2px 4px rgba(15,23,42,.06); }
.add-more:hover:not(:disabled) { color: var(--blue-600); border-color: #93c5fd !important; background: var(--blue-50); }
.output-settings { margin: 35px auto 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; color: #617693; background: transparent; cursor: pointer; font-size: 15px; font-weight: 700; }
.output-settings svg { width: 18px; height: 18px; stroke-width: 1.9; }
.output-settings .settings-chevron { width: 16px; transition: transform .18s ease; }
.output-settings[aria-expanded="true"] .settings-chevron { transform: rotate(180deg); }
.output-settings:hover { color: var(--blue-600); }
.output-options { width: max-content; margin: 12px auto 0; padding: 9px 14px; display: flex; align-items: center; gap: 18px; border: 1px solid var(--slate-200); border-radius: 10px; color: var(--slate-500); background: rgba(248,250,252,.92); font-size: 12px; font-weight: 600; }
.queue-section { margin-top: 36px; }
.output-options:not([hidden]) + .queue-section { margin-top: 18px; }
.queue-heading { display: flex; align-items: center; gap: 10px; margin: 0 8px 14px; color: #617693; }
.queue-heading svg { width: 18px; height: 18px; stroke-width: 1.7; }
.queue-heading h3 { margin: 0; font-size: 15px; line-height: 22px; font-weight: 700; }
.file-list { max-height: 138px; overflow: auto; display: grid; gap: 10px; padding: 0 2px 3px; }
.file-row { position: relative; min-height: 90px; display: grid; grid-template-columns: 56px minmax(0,1fr) auto; align-items: center; gap: 18px; padding: 16px; border: 1px solid #e6ebf1; border-radius: 15px; background: #fff; box-shadow: 0 2px 4px rgba(15,23,42,.09); }
.file-thumb { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 13px; background: #f5f7fa; color: var(--slate-500); transition: color .18s ease, background .18s ease; }
.file-thumb svg { width: 27px; height: 27px; stroke-width: 1.8; }
.file-row.is-converting .file-thumb svg { animation: queue-pulse 1s ease-in-out infinite; }
.file-row.is-complete .file-thumb { color: #00ad43; background: #eafaf0; }
.file-row.is-error .file-thumb { color: #dc2626; background: #fef2f2; }
.file-meta { min-width: 0; display: grid; gap: 5px; }
.file-name { overflow: hidden; color: var(--slate-900); font-size: 15px; line-height: 20px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.file-status { display: flex; align-items: center; gap: 7px; color: var(--slate-400); font-size: 13px; line-height: 18px; font-weight: 500; }
.file-row:not(.is-complete):not(.is-error) .file-status { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.file-status.is-complete { color: var(--slate-500); font-weight: 650; }
.file-status.is-error { color: #dc2626; }
.status-dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #7ddc9c; }
.file-size-badge { align-self: start; margin: 6px 52px 0 0; padding: 2px 7px; border: 1px solid #dfe4ea; border-radius: 5px; color: var(--slate-400); background: #fbfcfd; font-size: 11px; line-height: 16px; font-weight: 650; white-space: nowrap; }
@keyframes queue-pulse { 50% { opacity: .4; transform: scale(.93); } }

.format-area { padding: 80px 0 64px; }
.section-kicker { display: flex; align-items: center; justify-content: center; gap: 10px; }
.section-kicker span { width: 4px; height: 28px; border-radius: 99px; background: linear-gradient(#2563eb,#8b5cf6); }
.section-kicker h3 { margin: 0; color: var(--slate-900); font-size: 24px; line-height: 32px; font-weight: 750; }
.section-hint { margin: 8px 0 0; color: var(--slate-500); font-size: 14px; }
.format-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.format-card { position: relative; min-height: 274px; padding: 38px 24px 22px; border: 1px solid var(--slate-200); border-radius: 14px; background: rgba(255,255,255,.9); box-shadow: 0 8px 20px -15px rgba(15,23,42,.28); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.format-card:hover { transform: translateY(-4px); border-color: #bfdbfe; box-shadow: 0 18px 35px -20px rgba(37,99,235,.35); }
.format-card.selected { margin-top: -16px; min-height: 290px; border: 2px solid #bfdbfe; box-shadow: 0 20px 35px -18px rgba(37,99,235,.3), 0 0 0 5px rgba(139,92,246,.07); }
.recommend { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; color: #fff; background: linear-gradient(90deg,#2563eb,#7c3aed); font-size: 11px; font-weight: 700; white-space: nowrap; }
.format-icon, .feature-icon { display: grid; place-items: center; border-radius: 10px; }
.format-icon { width: 52px; height: 52px; margin: 0 auto 18px; }
.format-icon svg { width: 26px; height: 26px; }
.format-icon.blue, .feature-icon.blue { color: var(--blue-600); background: var(--blue-50); }
.format-icon.orange { color: var(--orange-500); background: #fff7ed; }
.format-icon.teal { color: var(--teal-500); background: #f0fdfa; }
.format-card h4 { margin: 0 0 12px; font-size: 18px; line-height: 28px; font-weight: 750; }
.format-card p { min-height: 48px; margin: 0 0 20px; color: var(--slate-600); font-size: 13px; line-height: 20px; }
.card-action { display: block; padding-top: 17px; border-top: 1px solid var(--slate-100); color: var(--slate-600); font-size: 13px; font-weight: 650; }
.card-action.blue-text { color: var(--blue-600); }
.card-action.orange-text { color: #ea580c; }
.card-action.webp-text { color: #a21caf; }
.card-action b { margin-left: 4px; }
.trust-row { padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 64px; color: var(--slate-500); opacity: .7; font-size: 13px; }
.trust-row span { display: flex; align-items: center; gap: 8px; }
.trust-row svg { width: 17px; height: 17px; }

body[data-output-format="jpg"] .hero-section {
  background: linear-gradient(115deg, #fff7ed 0%, #f8fafc 43%, #fffbeb 100%);
}
body[data-output-format="jpg"] .hero-glow-blue { background: #fed7aa; }
body[data-output-format="jpg"] .hero-glow-violet { background: #fde68a; }
body[data-output-format="jpg"] .eyebrow { color: #c2410c; border-color: #fed7aa; background: #fff7ed; }
body[data-output-format="jpg"] .eyebrow span { background: #f97316; box-shadow: 0 0 0 4px rgba(249,115,22,.12); }
body[data-output-format="jpg"] .hero-title strong { background-image: linear-gradient(100deg, #f97316 0%, #d97706 100%); }
body[data-output-format="jpg"] .upload-aura { background: linear-gradient(120deg, rgba(251,146,60,.4), rgba(250,204,21,.34)); }
body[data-output-format="jpg"] .section-kicker span { background: linear-gradient(#f97316,#f59e0b); }
body[data-output-format="jpg"] .format-card:nth-child(1) { order: 2; }
body[data-output-format="jpg"] .format-card:nth-child(2) { order: 1; }
body[data-output-format="jpg"] .format-card:nth-child(3) { order: 3; }
body[data-output-format="jpg"] .format-card.selected { border-color: #fdba74; box-shadow: 0 20px 35px -18px rgba(234,88,12,.32), 0 0 0 5px rgba(249,115,22,.07); }
body[data-output-format="jpg"] .format-card.selected:hover { border-color: #fb923c; }
body[data-output-format="jpg"] .recommend { background: linear-gradient(90deg,#f97316,#d97706); }

body[data-output-format="webp"] .hero-section {
  background: linear-gradient(115deg, #faf5ff 0%, #f8fafc 46%, #fdf2f8 100%);
}
body[data-output-format="webp"] .hero-glow-blue { background: #ddd6fe; }
body[data-output-format="webp"] .hero-glow-violet { background: #fbcfe8; }
body[data-output-format="webp"] .eyebrow { color: #9333ea; border-color: #e9d5ff; background: #faf5ff; }
body[data-output-format="webp"] .eyebrow span { background: #c026d3; box-shadow: 0 0 0 4px rgba(192,38,211,.12); }
body[data-output-format="webp"] .hero-title strong { background-image: linear-gradient(100deg, #9333ea 0%, #db2777 100%); }
body[data-output-format="webp"] .upload-aura { background: linear-gradient(120deg, rgba(147,51,234,.4), rgba(219,39,119,.33)); }
body[data-output-format="webp"] .section-kicker span { background: linear-gradient(#9333ea,#db2777); }
body[data-output-format="webp"] .format-card:nth-child(1) { order: 2; }
body[data-output-format="webp"] .format-card:nth-child(2) { order: 3; }
body[data-output-format="webp"] .format-card:nth-child(3) { order: 1; }
body[data-output-format="webp"] .format-card.selected { border-color: #d8b4fe; box-shadow: 0 20px 35px -18px rgba(147,51,234,.34), 0 0 0 5px rgba(219,39,119,.06); }
body[data-output-format="webp"] .format-card.selected:hover { border-color: #c084fc; }
body[data-output-format="webp"] .recommend { background: linear-gradient(90deg,#9333ea,#db2777); }
body[data-output-format="webp"] .format-icon.teal { color: #a21caf; background: #fdf4ff; }
body[data-output-format="webp"] th:nth-child(4) { color: #f0abfc; }
body[data-output-format="webp"] td:nth-child(4) { color: #86efac; }

.features-section { min-height: 910px; padding: 96px 0; background: #fff; }
.wide-shell { width: min(100% - 32px, 1120px); margin: 0 auto; }
.section-heading.centered { margin-bottom: 64px; text-align: center; }
.section-heading h2 { margin: 0 0 16px; font-size: 36px; line-height: 40px; font-weight: 750; letter-spacing: -.025em; }
.section-heading p { max-width: 672px; margin: 0 auto; color: var(--slate-600); font-size: 16px; line-height: 24px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: 263px; gap: 24px; }
.feature-card { position: relative; overflow: hidden; padding: 32px; border: 1px solid var(--slate-100); border-radius: 16px; background: var(--slate-50); }
.feature-card h3 { position: relative; z-index: 2; margin: 19px 0 10px; font-size: 20px; line-height: 28px; font-weight: 750; }
.feature-card p { position: relative; z-index: 2; margin: 0; color: var(--slate-600); font-size: 14px; line-height: 22px; }
.privacy-card, .batch-card { grid-column: span 2; }
.privacy-card { background: #f8fafc; }
.feature-icon { position: relative; z-index: 2; width: 42px; height: 42px; }
.feature-icon svg { width: 22px; height: 22px; }
.feature-icon.green { color: #16a34a; background: #ecfdf5; }
.feature-icon.indigo { color: #fff; background: rgba(255,255,255,.12); }
.feature-icon.purple { color: #9333ea; background: #faf5ff; }
.speed-card { color: #fff; border-color: #312e81; background: linear-gradient(145deg,#1e3a5f 0%,#312e81 100%); }
.speed-card p { color: #e0e7ff; }
.quality-card { background: #eff6ff; }
.batch-card { background: linear-gradient(140deg,#fafafa 0%,#f8fafc 100%); }
.batch-card p { max-width: 55%; }
.shield-watermark { position: absolute; width: 200px; height: 210px; right: 34px; bottom: -45px; color: #dcfce7; opacity: .45; stroke-width: 8; }
.batch-illustration { position: absolute; right: 28px; bottom: 26px; width: 220px; padding: 18px; border: 1px solid #fff; border-radius: 14px; background: rgba(255,255,255,.88); box-shadow: 0 18px 30px -15px rgba(15,23,42,.22); transform: rotate(3deg); }
.batch-illustration span { height: 34px; display: grid; grid-template-columns: 28px 1fr 16px; align-items: center; gap: 8px; border-bottom: 1px solid var(--slate-100); }
.batch-illustration span:last-child { border: 0; }
.batch-illustration i { width: 24px; height: 20px; border-radius: 4px; background: #e9d5ff; }
.batch-illustration b { width: 80%; height: 6px; border-radius: 99px; background: var(--slate-100); }
.batch-illustration em { color: #22c55e; font-style: normal; font-size: 12px; }

.comparison-section { min-height: 659px; padding: 96px 0; color: #fff; background: var(--slate-900); }
.comparison-shell { width: min(100% - 32px, 864px); margin: 0 auto; }
.section-heading.inverse { margin-bottom: 48px; }
.section-heading.inverse h2 { color: #fff; font-size: 30px; line-height: 36px; }
.section-heading.inverse p { color: var(--slate-400); }
.table-wrap { overflow: hidden; border: 1px solid var(--slate-700); border-radius: 16px; background: var(--slate-800); box-shadow: 0 25px 50px -12px rgba(0,0,0,.35); }
table { width: 100%; border-collapse: collapse; table-layout: fixed; }
th, td { height: 56px; padding: 0 24px; text-align: left; font-size: 14px; }
th { color: #fff; background: #334155; font-weight: 700; }
th:nth-child(2) { color: #60a5fa; }
th:nth-child(3) { color: #4ade80; }
td { border-top: 1px solid #334155; color: #cbd5e1; }
td:first-child { color: #fff; font-weight: 650; }
td.good { color: #86efac; }
td.apple { color: #93c5fd; }

.article-section { min-height: 868px; padding: 96px 0; background: #fff; }
.article-shell { width: min(100% - 32px, 736px); margin: 0 auto; color: var(--slate-600); font-size: 16px; line-height: 1.62; }
.article-shell h2 { margin: 0 0 32px; color: var(--slate-900); font-size: 30px; line-height: 36px; font-weight: 750; }
.article-shell h3 { margin: 32px 0 8px; color: var(--slate-900); font-size: 20px; line-height: 28px; font-weight: 750; }
.article-shell h2 + h3 { margin-top: 0; }
.article-shell p { margin: 0; }
.article-shell ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.article-shell li { display: grid; grid-template-columns: 18px 1fr; gap: 4px; }
.article-shell li > span { color: var(--blue-600); }
.article-shell strong { color: var(--slate-800); }

.faq-section { min-height: 921px; padding: 96px 0; background: var(--slate-50); }
.faq-shell { width: min(100% - 32px, 736px); margin: 0 auto; }
.faq-heading { margin-bottom: 48px; text-align: center; }
.help-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; color: var(--blue-600); background: var(--blue-50); box-shadow: 0 0 0 8px rgba(219,234,254,.45); }
.help-icon svg { width: 24px; height: 24px; }
.faq-heading h2 { margin: 0; font-size: 30px; line-height: 36px; font-weight: 750; }
.faq-list { display: grid; gap: 16px; }
.faq-list article { padding: 24px; border: 1px solid var(--slate-200); border-radius: 10px; background: #fff; box-shadow: 0 2px 5px rgba(15,23,42,.04); }
.faq-list h3 { margin: 0 0 8px; color: var(--slate-900); font-size: 18px; line-height: 28px; font-weight: 750; display: flex; align-items: baseline; gap: 8px; }
.faq-list h3 span { color: var(--blue-500); }
.faq-list p { margin: 0 0 0 4px; padding-left: 24px; border-left: 2px solid var(--blue-100); color: var(--slate-600); font-size: 16px; line-height: 26px; }

.site-footer { min-height: 314px; padding: 64px 0 32px; border-top: 1px solid var(--slate-200); background: #fff; }
.footer-grid { width: min(100% - 32px, 1248px); margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 32px; }
.footer-brand p { max-width: 288px; margin: 12px 0 0; color: var(--slate-500); font-size: 14px; line-height: 20px; }
.footer-grid h4 { margin: 0 0 14px; color: var(--slate-900); font-size: 16px; font-weight: 750; }
.footer-grid > div:not(.footer-brand) a { display: block; width: fit-content; margin-top: 8px; color: var(--slate-600); font-size: 14px; line-height: 20px; }
.copyright { width: min(100% - 32px, 1248px); margin: 44px auto 0; padding-top: 26px; border-top: 1px solid var(--slate-100); color: var(--slate-400); text-align: center; font-size: 12px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%,20px); padding: 10px 16px; border-radius: 9px; background: var(--slate-900); color: #fff; box-shadow: 0 16px 30px rgba(15,23,42,.22); font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

@media (max-width: 767px) {
  .site-header { height: 65px; }
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }
  .language-button span, .language-button .chevron { display: none; }
  .language-button { width: 36px; padding: 0; }
  .language-menu { right: 40px; }
  .nav-shell { width: calc(100% - 32px); }

  .hero-section { min-height: 2298px; padding: 128px 16px 96px; }
  .hero-glow-blue { left: -330px; top: -120px; }
  .hero-glow-violet { right: -380px; top: 850px; }
  .hero-title { margin-bottom: 26px; font-size: 48px; line-height: 1.1; letter-spacing: -.045em; }
  .hero-copy { font-size: 16px; line-height: 26px; }
  .upload-wrap { height: 432px; margin-top: 40px; }
  .upload-wrap.has-files { height: 560px; }
  .upload-wrap.has-files.settings-open { height: 610px; }
  .window-bar { padding: 0 14px; }
  .drop-zone { inset: 68px 16px 24px; }
  .upload-icon { width: 58px; height: 58px; margin-bottom: 18px; }
  .drop-title { font-size: 16px; }
  .drop-copy { padding: 0 16px; font-size: 12px; }
  .conversion-panel { inset: 64px 12px 14px; }
  .conversion-summary-card { height: 158px; padding: 14px; flex-direction: column; align-items: stretch; justify-content: center; gap: 13px; }
  .summary-main { gap: 12px; }
  .summary-picture { width: 46px; height: 46px; border-radius: 13px; }
  .summary-title-row strong { font-size: 17px; }
  .summary-actions { justify-content: flex-end; }
  .clear-files { margin-right: auto; padding: 0 5px; }
  .start-conversion, .download-all { min-width: 126px; }
  html[lang="en"] .start-conversion, html[lang="en"] .download-all { min-width: 136px; }
  .output-settings { margin-top: 24px; font-size: 14px; }
  .queue-section { margin-top: 25px; }
  .output-options:not([hidden]) + .queue-section { margin-top: 16px; }
  .queue-heading { margin-bottom: 10px; }
  .file-list { max-height: 154px; }
  .file-row { min-height: 82px; grid-template-columns: 48px minmax(0,1fr) auto; gap: 12px; padding: 12px; }
  .file-row:not(.is-complete):not(.is-error) .file-status { position: static; transform: none; }
  .file-thumb { width: 48px; height: 48px; }
  .file-thumb svg { width: 24px; height: 24px; }
  .file-size-badge { margin: 4px 0 0; }
  .format-area { padding: 72px 16px 56px; }
  .section-kicker { justify-content: flex-start; }
  .section-kicker h3 { font-size: 20px; line-height: 28px; }
  .section-hint { text-align: left; padding-left: 14px; }
  .format-grid { margin-top: 38px; grid-template-columns: 1fr; gap: 24px; }
  .format-card, .format-card.selected { min-height: 259px; margin-top: 0; padding: 34px 22px 20px; }
  .format-card.selected { min-height: 278px; }
  .format-card p { min-height: auto; }
  .trust-row { gap: 20px; padding-top: 12px; font-size: 11px; }

  .features-section { min-height: 1759px; padding: 96px 0; }
  .section-heading.centered { margin-bottom: 54px; text-align: left; }
  .section-heading h2 { font-size: 30px; line-height: 36px; }
  .section-heading p { font-size: 14px; line-height: 22px; }
  .feature-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 20px; }
  .feature-card, .privacy-card, .batch-card { grid-column: auto; min-height: 310px; padding: 28px; }
  .speed-card { min-height: 256px; }
  .quality-card { min-height: 276px; }
  .batch-card { min-height: 410px; padding-bottom: 190px; }
  .batch-card p { max-width: none; }
  .batch-illustration { left: 24px; right: 24px; bottom: 24px; width: auto; }
  .shield-watermark { right: -18px; bottom: -60px; }

  .comparison-section { min-height: 835px; padding: 96px 0; }
  .section-heading.inverse { margin-bottom: 40px; text-align: center; }
  .section-heading.inverse h2 { font-size: 28px; line-height: 34px; }
  .table-wrap { border-radius: 12px; overflow-x: auto; }
  table { min-width: 650px; }
  th, td { height: 66px; padding: 0 16px; font-size: 12px; }

  .article-section { min-height: 1255px; padding: 96px 0; }
  .article-shell { font-size: 15px; line-height: 1.68; }
  .article-shell h2 { font-size: 28px; line-height: 36px; }
  .article-shell h3 { font-size: 18px; }

  .faq-section { min-height: 1032px; padding: 96px 0; }
  .faq-heading { margin-bottom: 48px; }
  .faq-list article { padding: 20px; }
  .faq-list h3 { align-items: flex-start; font-size: 16px; line-height: 24px; }
  .faq-list p { padding-left: 16px; font-size: 14px; line-height: 23px; }

  .site-footer { min-height: 546px; padding-top: 64px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
  .copyright { margin-top: 38px; }
}

@media (max-width: 420px) {
  .brand { font-size: 18px; }
  .brand-icon { width: 28px; height: 28px; border-radius: 7px; }
  .hero-title { font-size: 43px; }
  .eyebrow { font-size: 11px; }
  .trust-row { justify-content: flex-start; padding-left: 4px; }
  .comparison-shell { width: calc(100% - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (prefers-color-scheme: dark) {
  :root { color-scheme: light; }
}
