/* ============================================================
   convertheictojpeg.com — Apple Dark UI Design System
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0A0A0B;
  --bg-2:        #0E0E10;
  --bg-card:     rgba(255,255,255,0.025);
  --bg-elevated: rgba(255,255,255,0.05);
  --bg-hover:    rgba(255,255,255,0.08);

  --text:           #F4F4F5;
  --text-sec:       rgba(244,244,245,0.58);
  --text-ter:       rgba(244,244,245,0.32);

  /* monochrome accent system — white is the primary accent */
  --accent:      #FFFFFF;
  --blue:        #E5E5E7;   /* link color, near-white for cohesion */
  --blue-light:  #FFFFFF;
  --green:       #6EE7A8;
  --red:         #FF6B6B;
  --orange:      #FFB86B;
  --purple:      #C9B8FF;

  --sep:         rgba(255,255,255,0.06);
  --sep-solid:   rgba(255,255,255,0.08);

  --glass-bg:    rgba(12,12,14,0.72);
  --glass-bd:    rgba(255,255,255,0.07);
  --card-bd:     rgba(255,255,255,0.07);
  --card-bd-hover: rgba(255,255,255,0.16);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 100px;

  --shadow:    0 8px 40px rgba(0,0,0,0.5);
  --shadow-lg: 0 24px 80px rgba(0,0,0,0.7);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.25s var(--ease);

  --max: 1080px;
  --nav-h: 70px;
}

html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}
/* Signature premium glow — soft light pooling from top */
body::before {
  content: "";
  position: fixed;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: 1200px; height: 800px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 35%, transparent 65%);
  pointer-events: none; z-index: 0;
}
body > * { position: relative; z-index: 1; }
a { color: var(--text); text-decoration: none; transition: opacity var(--t); }
a:hover { opacity: 0.7; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; border: none; outline: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

/* ── SELECTION ── */
::selection { background: rgba(255,255,255,0.18); color: #fff; }

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-bd);
  display: flex; align-items: center;
}
.nav-inner {
  max-width: var(--max); width: 100%; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 17px; font-weight: 600; letter-spacing: -0.4px;
  color: var(--text); text-decoration: none;
  display: flex; align-items: center; gap: 2px;
}
.nav-logo span { color: var(--text); opacity: 0.5; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px; font-weight: 400;
  color: var(--text-sec); padding: 6px 10px;
  border-radius: var(--r-sm);
  transition: color var(--t), background var(--t);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--text); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; padding: 6px;
  border-radius: var(--r-sm);
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-sec); border-radius: 2px;
  transition: var(--t);
}
.nav-mobile {
  display: none; flex-direction: column;
  background: var(--bg-card);
  border-bottom: 1px solid var(--sep);
  padding: 8px 16px 16px;
}
.nav-mobile a {
  display: block; padding: 12px 8px;
  font-size: 15px; color: var(--text-sec);
  border-bottom: 1px solid var(--sep);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

/* ══════════════════════════════════════════
   AD CONTAINERS
══════════════════════════════════════════ */
.ad-wrap {
  max-width: var(--max); margin: 0 auto;
  padding: 12px 24px; text-align: center;
}
.ad-label {
  font-size: 9.5px; color: var(--text-ter);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.ad-unit {
  display: block; min-height: 90px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--card-bd);
  border-radius: var(--r);
  overflow: hidden;
}
.ad-wrap.in-content { margin: 36px auto; }

/* ══════════════════════════════════════════
   PAGE WRAPPER
══════════════════════════════════════════ */
.page { max-width: var(--max); margin: 0 auto; padding: 0 24px 80px; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  text-align: center;
  padding: 56px 0 40px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.01em;
  color: var(--text-sec);
  padding: 7px 16px 7px 13px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-bd);
  border-radius: var(--r-pill);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.hero-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--text); box-shadow: 0 0 10px rgba(255,255,255,0.6);
}
.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 700; letter-spacing: -1.5px;
  line-height: 1.1; margin-bottom: 16px;
  color: var(--text);
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub {
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--text-sec); max-width: 540px;
  margin: 0 auto 28px; line-height: 1.55;
}
.hero-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-bottom: 32px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.01em;
  color: var(--text-sec);
  padding: 7px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-bd);
  border-radius: var(--r-pill);
  backdrop-filter: blur(10px);
}
/* Hero badge color modifiers — monochrome chips, faintly tinted icons */
.badge.green, .badge.blue, .badge.orange, .badge.purple { color: var(--text-sec); }
.badge svg { width: 14px; height: 14px; opacity: 0.9; }
.badge.green svg { color: var(--green); }
.badge.blue svg { color: var(--text); opacity: 0.7; }
.badge.orange svg { color: var(--orange); }
.badge.purple svg { color: var(--purple); }
.hero-badges { margin-bottom: 8px; }

.badge svg { width: 13px; height: 13px; flex-shrink: 0; }
.badge.green { color: var(--green); border-color: rgba(48,209,88,0.25); background: rgba(48,209,88,0.08); }
.badge.blue  { color: var(--blue);  border-color: rgba(10,132,255,0.25); background: rgba(10,132,255,0.08); }

/* ══════════════════════════════════════════
   CONVERTER CARD (Signature element)
══════════════════════════════════════════ */
.converter-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--card-bd);
  border-radius: var(--r-xl);
  padding: 30px;
  margin-bottom: 22px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
}

/* Drop Zone */
.dropzone {
  position: relative;
  border: 1.5px dashed rgba(255,255,255,0.14);
  border-radius: var(--r-lg);
  padding: 56px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--t), background var(--t);
  overflow: hidden;
  background: rgba(255,255,255,0.012);
}
.dropzone:hover { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.03); }
.dropzone::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: calc(var(--r-lg) + 1px);
  background: conic-gradient(from var(--angle, 0deg),
    rgba(10,132,255,0) 0%,
    rgba(10,132,255,0.35) 25%,
    rgba(191,90,242,0.35) 50%,
    rgba(10,132,255,0) 75%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.dropzone:hover::before,
.dropzone.dragging::before { opacity: 1; }
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes rotate-halo { to { --angle: 360deg; } }
.dropzone:hover, .dropzone.dragging {
  border-color: var(--blue);
  background: rgba(10,132,255,0.04);
  animation: rotate-halo 3s linear infinite;
}
.dropzone-icon {
  width: 52px; height: 52px; margin: 0 auto 14px;
  background: var(--bg-elevated);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.dropzone-icon svg { width: 26px; height: 26px; color: var(--blue); }
.dropzone-title { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.dropzone-sub { font-size: 14px; color: var(--text-sec); }
.dropzone-sub strong { color: var(--blue); cursor: pointer; }
.dropzone-hint { font-size: 12px; color: var(--text-ter); margin-top: 10px; }

/* Options Row */
.options-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--sep);
}
.opt-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.opt-label { font-size: 13px; color: var(--text-sec); font-weight: 500; }
.opt-seg {
  display: flex; background: var(--bg-elevated);
  border-radius: var(--r-sm); padding: 3px; gap: 2px;
}
.opt-seg button {
  font-size: 13px; font-weight: 500;
  padding: 5px 13px; border-radius: 6px;
  color: var(--text-sec); background: none;
  transition: var(--t);
}
.opt-seg button.active { background: var(--bg-hover); color: var(--text); }

/* Quality Slider */
.quality-wrap { display: flex; align-items: center; gap: 10px; }
.quality-wrap input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 110px; height: 4px;
  background: var(--bg-elevated);
  border-radius: 2px; outline: none;
}
.quality-wrap input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%; background: var(--blue);
  cursor: pointer; box-shadow: 0 0 0 3px rgba(10,132,255,0.25);
}
.quality-val { font-size: 13px; color: var(--text-sec); min-width: 32px; }

/* Download Toggle */
.dl-toggle {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto;
}
.dl-toggle-label { font-size: 13px; color: var(--text-sec); font-weight: 500; }
.dl-seg {
  display: flex; background: var(--bg-elevated);
  border-radius: var(--r-sm); padding: 3px; gap: 2px;
}
.dl-seg button {
  font-size: 12.5px; font-weight: 500;
  padding: 5px 11px; border-radius: 6px;
  color: var(--text-sec); background: none;
  transition: var(--t);
}
.dl-seg button.active { background: var(--bg-hover); color: var(--text); }

/* Convert Button */
.btn-convert {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px 24px; margin-top: 20px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.2px;
  background: var(--text); color: #0A0A0B;
  border-radius: var(--r-pill); border: none;
  box-shadow: 0 8px 30px rgba(255,255,255,0.12);
  transition: transform var(--t), box-shadow var(--t), opacity var(--t);
  cursor: pointer;
}
.btn-convert:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255,255,255,0.2); }
.btn-convert:active { transform: translateY(0); }
.btn-convert:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn-convert svg { width: 18px; height: 18px; }

/* File Queue */
.file-queue { margin-top: 16px; display: none; flex-direction: column; gap: 6px; }
.file-queue.has-files { display: flex; }
.file-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-elevated); border-radius: var(--r-sm);
  padding: 10px 14px;
}
.file-item-icon { font-size: 18px; flex-shrink: 0; }
.file-item-info { flex: 1; min-width: 0; }
.file-item-name {
  font-size: 13.5px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.file-item-size { font-size: 12px; color: var(--text-sec); }
.file-item-status { font-size: 12px; margin-left: auto; flex-shrink: 0; }
.file-item-status.done { color: var(--green); }
.file-item-status.error { color: var(--red); }
.file-item-status.processing { color: var(--orange); }
.file-item-remove {
  background: none; color: var(--text-ter); font-size: 16px;
  padding: 2px 6px; border-radius: 4px;
  transition: color var(--t);
}
.file-item-remove:hover { color: var(--red); }

/* Progress */
.progress-wrap { margin-top: 14px; display: none; }
.progress-wrap.visible { display: block; }
.progress-bar-bg {
  height: 4px; background: var(--bg-elevated);
  border-radius: 2px; overflow: hidden;
}
.progress-bar-fill {
  height: 100%; background: var(--blue);
  border-radius: 2px; width: 0%;
  transition: width 0.3s var(--ease);
}
.progress-text { font-size: 12px; color: var(--text-sec); margin-top: 6px; text-align: center; }

/* Results */
.results-card {
  background: var(--bg-card); border: 1px solid var(--sep);
  border-radius: var(--r-xl); padding: 24px;
  display: none; margin-bottom: 20px;
}
.results-card.visible { display: block; }
.results-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.results-title { font-size: 17px; font-weight: 600; }
.results-count { font-size: 13px; color: var(--text-sec); }
.results-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.btn-dl-zip, .btn-dl-all, .btn-reset {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500;
  padding: 9px 18px; border-radius: var(--r-sm);
  transition: var(--t);
}
.btn-dl-zip {
  background: var(--blue); color: #fff;
}
.btn-dl-zip:hover { background: var(--blue-light); }
.btn-dl-all {
  background: var(--bg-elevated); color: var(--text);
}
.btn-dl-all:hover { background: var(--bg-hover); }
.btn-reset {
  background: none; color: var(--text-sec);
  border: 1px solid var(--sep);
}
.btn-reset:hover { color: var(--text); border-color: var(--text-ter); }
.result-list { display: flex; flex-direction: column; gap: 6px; }
.result-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-elevated); border-radius: var(--r-sm);
  padding: 10px 14px;
}
.result-thumb {
  width: 40px; height: 40px; border-radius: 6px;
  object-fit: cover; flex-shrink: 0;
  background: var(--bg-hover);
}
.result-info { flex: 1; min-width: 0; }
.result-name {
  font-size: 13.5px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.result-size { font-size: 12px; color: var(--text-sec); }
.btn-dl-single {
  background: var(--bg-hover); color: var(--blue);
  font-size: 13px; font-weight: 500;
  padding: 6px 12px; border-radius: var(--r-sm);
  transition: var(--t); flex-shrink: 0;
  display: flex; align-items: center; gap: 5px;
}
.btn-dl-single:hover { background: rgba(10,132,255,0.15); }

/* ══════════════════════════════════════════
   CONTENT SECTIONS
══════════════════════════════════════════ */
.section { margin: 56px 0; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.01em;
  color: var(--text-sec);
  padding: 6px 15px; margin-bottom: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-bd);
  border-radius: var(--r-pill);
}
.section h2 {
  font-size: clamp(24px, 4.2vw, 38px);
  font-weight: 500; letter-spacing: -1.2px;
  line-height: 1.15; margin-bottom: 16px;
}
.section h3 {
  font-size: 19px; font-weight: 600;
  letter-spacing: -0.3px; margin-bottom: 10px;
}
.section p {
  font-size: 15.5px; color: var(--text-sec);
  line-height: 1.7; margin-bottom: 12px;
}
.section p:last-child { margin-bottom: 0; }

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin-top: 28px;
}
.feature-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  border: 1px solid var(--card-bd);
  border-radius: var(--r-lg); padding: 26px;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.feature-item:hover {
  border-color: var(--card-bd-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.feature-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 19px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.feature-title { font-size: 16px; font-weight: 600; margin-bottom: 7px; letter-spacing: -0.2px; }
.feature-desc { font-size: 13.5px; color: var(--text-sec); line-height: 1.6; }

/* Steps */
.steps { margin-top: 24px; display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--sep);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(10,132,255,0.12);
  border: 1px solid rgba(10,132,255,0.3);
  color: var(--blue); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.step-content h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.step-content p  { font-size: 14px; color: var(--text-sec); margin: 0; }

/* ══════════════════════════════════════════
   FAQ (AEO Optimized)
══════════════════════════════════════════ */
.faq { margin: 56px 0; }
.faq h2 {
  font-size: clamp(24px, 4.2vw, 36px);
  font-weight: 500; letter-spacing: -1.2px;
  margin-bottom: 24px;
}
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-list { gap: 10px !important; }
.faq-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008));
  border: 1px solid var(--card-bd);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color var(--t);
}
.faq-item:hover { border-color: var(--card-bd-hover); }
.faq-q {
  width: 100%; text-align: left;
  background: none; padding: 18px 22px;
  font-size: 15.5px; font-weight: 500; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: background var(--t);
}
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-q svg {
  width: 18px; height: 18px; color: var(--text-sec);
  flex-shrink: 0; transition: transform var(--t);
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  padding: 0 20px; max-height: 0; overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
  font-size: 14.5px; color: var(--text-sec); line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 20px 16px; }

/* ══════════════════════════════════════════
   INFO CARD (callout)
══════════════════════════════════════════ */
.callout {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--card-bd);
  border-radius: var(--r-lg);
  padding: 20px 24px; margin: 24px 0;
  display: flex; gap: 14px; align-items: flex-start;
}
.callout-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.callout-text { font-size: 14.5px; color: var(--text-sec); line-height: 1.65; }
.callout-text strong { color: var(--text); }
.callout.green { background: rgba(48,209,88,0.07); border-color: rgba(48,209,88,0.2); }
.callout.orange { background: rgba(255,159,10,0.07); border-color: rgba(255,159,10,0.2); }

/* Comparison Table */
.table-wrap { overflow-x: auto; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th {
  background: var(--bg-elevated); padding: 12px 16px;
  text-align: left; font-size: 12px; font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--text-sec); border-bottom: 1px solid var(--sep);
}
th:first-child { border-radius: var(--r-sm) 0 0 0; }
th:last-child  { border-radius: 0 var(--r-sm) 0 0; }
td { padding: 12px 16px; border-bottom: 1px solid var(--sep); color: var(--text-sec); }
td:first-child { color: var(--text); font-weight: 500; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.02); }
.td-check { color: var(--green); }
.td-cross { color: var(--red); }
.td-warn  { color: var(--orange); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--sep);
  padding: 40px 24px 28px;
  margin-top: 60px;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 32px;
}
.footer-brand { max-width: 300px; }
.footer-logo {
  font-size: 16px; font-weight: 600; letter-spacing: -0.4px;
  color: var(--text); margin-bottom: 8px;
}
.footer-logo span { color: var(--blue); }
.footer-tagline { font-size: 13px; color: var(--text-ter); line-height: 1.5; }
.footer-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.footer-links h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-ter); margin-bottom: 4px; }
.footer-links a { font-size: 13px; color: var(--text-sec); transition: color var(--t); }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  max-width: var(--max); margin: 28px auto 0;
  padding-top: 20px; border-top: 1px solid var(--sep);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer-copy { font-size: 12px; color: var(--text-ter); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 12px; color: var(--text-ter); transition: color var(--t); }
.footer-legal a:hover { color: var(--text-sec); }

/* ══════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════ */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--text-ter);
  padding: 16px 0 0; flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-sec); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb-sep { font-size: 10px; }

/* ══════════════════════════════════════════
   BLOG / ARTICLE
══════════════════════════════════════════ */
.article h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; margin: 36px 0 12px; }
.article h3 { font-size: 19px; font-weight: 600; margin: 28px 0 10px; }
.article p  { font-size: 15.5px; color: var(--text-sec); line-height: 1.75; margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 16px 20px; }
.article li { font-size: 15px; color: var(--text-sec); line-height: 1.7; margin-bottom: 6px; }
.article strong { color: var(--text); font-weight: 600; }

/* ══════════════════════════════════════════
   PRIVACY / ABOUT / CONTACT
══════════════════════════════════════════ */
.legal-page h1 { font-size: 32px; font-weight: 700; letter-spacing: -1px; margin-bottom: 8px; }
.legal-page .updated { font-size: 13px; color: var(--text-ter); margin-bottom: 36px; }
.legal-page h2 { font-size: 19px; font-weight: 600; margin: 32px 0 10px; }
.legal-page p, .legal-page li { font-size: 15px; color: var(--text-sec); line-height: 1.7; margin-bottom: 12px; }
.legal-page ul { margin-left: 20px; }

/* Contact Form */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--text-sec); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; background: var(--bg-card);
  border: 1px solid var(--sep); border-radius: var(--r-sm);
  padding: 11px 14px; font-size: 15px; font-family: var(--font);
  color: var(--text); outline: none;
  transition: border-color var(--t);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10,132,255,0.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px;
  font-size: 14.5px; font-weight: 600;
  background: var(--text); color: #0A0A0B;
  border-radius: var(--r-pill); border: none;
  box-shadow: 0 8px 30px rgba(255,255,255,0.12);
  transition: transform var(--t), box-shadow var(--t);
  cursor: pointer;
}
.btn-submit:hover { background: var(--blue-light); transform: translateY(-1px); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 680px) {
  :root { --nav-h: 58px; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 36px 0 28px; }

  .converter-card { padding: 18px; }
  .dropzone { padding: 36px 16px; }

  .options-row { flex-direction: column; align-items: flex-start; }
  .dl-toggle { margin-left: 0; }

  .feature-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; }

  .footer-bottom { flex-direction: column; gap: 12px; }
}

@media (max-width: 420px) {
  .page { padding: 0 16px 60px; }
  .hero h1 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ══════════════════════════════════════════
   PREMIUM ATMOSPHERE — aurora, grain, grid, reveal
   (all GPU-only; disabled under reduced-motion)
══════════════════════════════════════════ */

/* Aurora: slow-drifting color blobs behind everything */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora span {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.5; will-change: transform;
}
.aurora .a1 { width: 520px; height: 520px; top: -12%; left: 8%;
  background: radial-gradient(circle, rgba(120,140,255,0.16), transparent 70%);
  animation: drift1 22s ease-in-out infinite; }
.aurora .a2 { width: 460px; height: 460px; top: 6%; right: 4%;
  background: radial-gradient(circle, rgba(180,130,255,0.14), transparent 70%);
  animation: drift2 26s ease-in-out infinite; }
.aurora .a3 { width: 600px; height: 600px; top: 38%; left: 40%;
  background: radial-gradient(circle, rgba(90,200,255,0.10), transparent 70%);
  animation: drift3 30s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(60px,40px)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-50px,50px)} }
@keyframes drift3 { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-45%,-40px)} }

/* Faint grid texture overlay */
.grid-tex { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}

/* Grain — inline SVG noise, no network request */
.grain { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Cursor spotlight on hero */
.spotlight { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,0.06), transparent 60%);
  transition: opacity 0.3s; }
.hero { position: relative; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Glow-border on hover for cards */
.feature-item, .converter-card { position: relative; }
.feature-item::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.35), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity var(--t); pointer-events: none;
}
.feature-item:hover::after { opacity: 1; }

/* Compatibility chips row */
.compat-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8px 0 4px; }
.compat-chip { display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--text-sec);
  padding: 9px 16px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.035); border: 1px solid var(--card-bd);
  backdrop-filter: blur(10px); }
.compat-chip svg { width: 15px; height: 15px; opacity: 0.8; }

/* Marquee benefit strip */
.marquee { overflow: hidden; margin: 44px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: scrollx 32s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; color: var(--text-sec); white-space: nowrap; }
.marquee-item svg { width: 17px; height: 17px; opacity: 0.6; }
@keyframes scrollx { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .aurora span, .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .spotlight { display: none; }
}
