/* ============================================================
   vidgo.css — Shared stylesheet for VidGo multi-page SEO site
   Dark theme, Inter font, all CSS extracted from yt-downloader.html
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --bg: #050816;
  --panel: #0b1020;
  --panel2: #0f172a;
  --line: rgba(148, 163, 184, .18);
  --line2: rgba(56, 189, 248, .24);
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --green: #34d399;
  --purple: #a78bfa;
  --orange: #fb923c;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .36);
}

/* ── Reset ─────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; }
button, input { font: inherit; }

/* ── Body ──────────────────────────────────────────────────── */
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 4%, rgba(59, 130, 246, .22), transparent 32%),
    radial-gradient(circle at 84% 10%, rgba(34, 211, 238, .18), transparent 30%),
    linear-gradient(180deg, #050816 0%, #060914 42%, #090d1a 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Grid background overlay ───────────────────────────────── */
.grid-bg:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .26;
  background-image:
    linear-gradient(rgba(148, 163, 184, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

/* ── Container ─────────────────────────────────────────────── */
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* ── Keyframes ─────────────────────────────────────────────── */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .32; } }
@keyframes toastSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(14px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes toastFadeOut {
  from { opacity: 1; transform: translateX(-50%) translateY(0); }
  to   { opacity: 0; transform: translateX(-50%) translateY(-8px); }
}
@keyframes barShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 22, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -.04em;
  font-size: 25px;
}
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: grid;
  place-items: center;
  box-shadow: 0 14px 38px rgba(34, 211, 238, .22);
}
.logo-mark svg { width: 22px; height: 22px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.logo small {
  display: block;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  margin-top: -5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
  transition: .2s;
}
.nav-links a:hover { background: rgba(148, 163, 184, .1); color: #fff; }
.nav-links a.active { background: rgba(148, 163, 184, .12); color: #fff; }
.nav-action { display: flex; align-items: center; gap: 10px; }
.lang-pill, .pro-pill {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .55);
  color: var(--soft);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}
.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px 7px 12px;
  white-space: nowrap;
}
.lang-label { color: var(--muted); font-size: 12px; }
.lang-select {
  min-width: 112px;
  border: 0;
  outline: 0;
  background: rgba(2, 6, 23, .72);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 28px 7px 10px;
  font: inherit;
  cursor: pointer;
}
.lang-select:focus-visible {
  box-shadow: 0 0 0 2px rgba(34, 211, 238, .55);
}
.pro-pill { background: #fff; color: #020617; border-color: #fff; }

/* ── Nav Brand (logo + site name variation) ─────────────────── */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -.04em;
  font-size: 22px;
  color: var(--text);
  text-decoration: none;
}
.nav-brand .brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(34, 211, 238, .2);
  color: #00111c;
  font-size: 18px;
  font-weight: 900;
}
.nav-brand .brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand .brand-name small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Main Nav (horizontal links used across pages) ──────────── */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.main-nav a:hover { color: #fff; background: rgba(148, 163, 184, .1); }
.main-nav a.active {
  color: var(--cyan);
  background: rgba(34, 211, 238, .1);
  border: 1px solid rgba(34, 211, 238, .22);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero { padding: 72px 0 56px; position: relative; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, .94fr);
  gap: 42px;
  align-items: center;
}
.hero-layout.hero-centered { display: block; max-width: 1040px; margin: 0 auto; text-align: center; }
.center-copy { max-width: 820px; margin: 0 auto 30px; overflow-wrap: anywhere; }
.center-copy .lead { margin: 0 auto 24px; max-width: 720px; }
.center-copy .hero-badges { justify-content: center; margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line2);
  background: rgba(34, 211, 238, .08);
  color: #bae6fd;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 20px;
}
.eyebrow > span:first-child {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(52, 211, 153, .12);
}
.eyebrow > span:not(:first-child) {
  width: auto;
  height: auto;
  min-width: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
h1 {
  font-size: clamp(42px, 7vw, 84px);
  line-height: .94;
  letter-spacing: -.075em;
  font-weight: 900;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(90deg, #fff, #93c5fd 45%, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gradient-text-tiktok {
  background-image: linear-gradient(90deg, #25f4ee 0%, #fff 46%, #fe2c55 100%);
}
.gradient-text-instagram {
  background-image: linear-gradient(90deg, #feda75 0%, #fa7e1e 28%, #d62976 58%, #962fbf 100%);
}
.gradient-text-facebook {
  background-image: linear-gradient(90deg, #eff6ff 0%, #60a5fa 48%, #1877f2 100%);
}
.gradient-text-twitter {
  background-image: linear-gradient(90deg, #fff 0%, #94a3b8 42%, #38bdf8 100%);
}
.lead { font-size: 18px; line-height: 1.75; color: var(--soft); max-width: 650px; margin-bottom: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.hero-badge {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .52);
  color: var(--soft);
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

/* ── Page Hero (per-page hero variant) ─────────────────────── */
.page-hero {
  padding: 80px 0 52px;
  position: relative;
  text-align: center;
}
.page-hero .container { max-width: 860px; }
.page-hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: .96;
  letter-spacing: -.065em;
  font-weight: 900;
  margin-bottom: 18px;
}
.page-hero .lead {
  font-size: 17px;
  color: var(--soft);
  max-width: 620px;
  margin: 0 auto 28px;
}
.page-hero .eyebrow { margin-bottom: 18px; }

/* ── Platform Grid (homepage cards) ────────────────────────── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.platform-grid-card {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .52);
  border-radius: 22px;
  padding: 22px 18px;
  text-align: center;
  color: var(--soft);
  font-weight: 800;
  font-size: 14px;
  transition: border-color .2s, background .2s, transform .2s;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.platform-grid-card:hover {
  border-color: rgba(34, 211, 238, .4);
  background: rgba(34, 211, 238, .07);
  color: #fff;
  transform: translateY(-2px);
}
.platform-grid-card .p-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #fff;
}
.platform-grid-card .p-label { font-size: 14px; font-weight: 900; }
.platform-grid-card .p-desc { font-size: 12px; color: var(--muted); font-weight: 700; }

/* ── Widget / Converter Card ────────────────────────────────── */
.converter-card {
  position: relative;
  border: 1px solid var(--line2);
  background: linear-gradient(180deg, rgba(15, 23, 42, .9), rgba(2, 6, 23, .88));
  border-radius: 32px;
  padding: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.converter-card:before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 35% 0%, rgba(34, 211, 238, .18), transparent 38%);
  pointer-events: none;
}
.card-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.status { display: flex; align-items: center; gap: 7px; text-transform: none; letter-spacing: 0; color: #86efac; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: block; }

/* ── Platform URL Card (main widget) ────────────────────────── */
.platform-url-card {
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid rgba(34, 211, 238, .28);
  background: linear-gradient(180deg, rgba(15, 23, 42, .88), rgba(2, 6, 23, .9));
  border-radius: 34px;
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  text-align: left;
}
.platform-url-card:before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 50% 0%, rgba(34, 211, 238, .20), transparent 40%);
  pointer-events: none;
}

/* ── Platform Switch / Buttons ──────────────────────────────── */
.platform-switch-title { position: relative; text-align: center; margin-bottom: 18px; }
.platform-switch-title strong { display: block; color: #fff; font-size: 19px; letter-spacing: -.02em; margin-bottom: 6px; }
.platform-switch-title span { color: var(--muted); font-size: 13px; font-weight: 700; }
.platform-buttons {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.platform-btn {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .72);
  border-radius: 18px;
  padding: 15px 12px;
  cursor: pointer;
  transition: .2s;
  color: var(--soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 94px;
  font-weight: 900;
}
.platform-btn input { display: none; }
.platform-btn .p-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
}
.platform-btn small { color: var(--muted); font-size: 11px; font-weight: 800; }
.platform-btn:has(input:checked) {
  border-color: rgba(34, 211, 238, .9);
  background: linear-gradient(180deg, rgba(34, 211, 238, .18), rgba(15, 23, 42, .75));
  box-shadow: 0 0 0 1px rgba(34, 211, 238, .24), 0 18px 48px rgba(8, 145, 178, .16);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Workflow Tabs (legacy) ──────────────────────────────────── */
.workflow-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; position: relative; }
.platform-choice {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .68);
  border-radius: 18px;
  padding: 13px 12px;
  cursor: pointer;
  transition: .2s;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.platform-choice input { display: none; }
.platform-choice b { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.platform-choice small { color: var(--muted); font-size: 11.5px; font-weight: 800; }
.platform-icon {
  width: 31px;
  height: 31px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 900;
}
.platform-choice:has(input:checked) {
  border-color: rgba(34, 211, 238, .82);
  background: linear-gradient(180deg, rgba(34, 211, 238, .16), rgba(15, 23, 42, .76));
  box-shadow: 0 0 0 1px rgba(34, 211, 238, .22), 0 18px 44px rgba(8, 145, 178, .12);
}

/* ── Mode Grid ─────────────────────────────────────────────── */
.flow-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 4px 0 16px;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.flow-divider:before, .flow-divider:after { content: ""; height: 1px; background: var(--line); }
.mode-grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.mode-card {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .72);
  border-radius: 18px;
  padding: 14px;
  cursor: pointer;
  transition: .2s;
  min-height: 96px;
}
.mode-card input { display: none; }
.mode-card strong { display: flex; align-items: center; gap: 9px; font-size: 15px; margin-bottom: 7px; }
.mode-card p { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.mode-icon { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: rgba(59, 130, 246, .16); color: #93c5fd; }
.mode-card:has(input:checked) {
  border-color: rgba(34, 211, 238, .8);
  background: linear-gradient(180deg, rgba(14, 165, 233, .18), rgba(15, 23, 42, .72));
  box-shadow: 0 0 0 1px rgba(34, 211, 238, .22), 0 18px 44px rgba(8, 145, 178, .14);
}

/* ── Output Chips ───────────────────────────────────────────── */
.center-output-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.output-chip {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .68);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: .2s;
}
.output-chip input { display: none; }
.output-chip:has(input:checked) {
  background: #fff;
  color: #020617;
  border-color: #fff;
  box-shadow: 0 10px 26px rgba(255, 255, 255, .10);
}

/* ── URL Input Box ──────────────────────────────────────────── */
.url-box {
  position: relative;
  background: #020617;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 12px;
  margin-bottom: 12px;
}
.center-url-box {
  position: relative;
  background: #020617;
  border: 1px solid rgba(148, 163, 184, .20);
  border-radius: 24px;
  padding: 14px 14px 14px 18px;
  margin-bottom: 14px;
}
.url-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
  margin: 0 0 8px 4px;
  text-transform: uppercase;
  letter-spacing: .08em;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.url-label span:last-child { color: #67e8f9; text-transform: none; letter-spacing: 0; }
.center-url-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 8px;
}
.center-url-label span:last-child { color: #67e8f9; text-transform: none; letter-spacing: 0; }
.input-row { display: flex; gap: 10px; align-items: center; }
.center-input-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; }
.center-input-row #txt-url { font-size: 17px; padding: 14px 8px; }
#txt-url, .search-input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font-size: 15px;
  padding: 12px 6px;
}
#txt-url::placeholder { color: #64748b; }
#clear-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(148, 163, 184, .1);
  color: var(--muted);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.primary-btn, .search-btn {
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #00111c;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 42px rgba(34, 211, 238, .22);
  white-space: nowrap;
}
.option-row { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 16px; }
.select-pill {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .7);
  color: var(--soft);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 800;
}

/* ── Result / Output Area ───────────────────────────────────── */
.result-shell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(2, 6, 23, .52);
  padding: 14px;
  color: var(--muted);
  min-height: 86px;
}
.center-result {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(2, 6, 23, .52);
  padding: 14px;
  color: var(--muted);
  min-height: 86px;
}
.result-mini {
  display: grid;
  grid-template-columns: minmax(96px, 118px) minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-width: 0;
}
.result-thumb {
  width: 92px;
  height: 56px;
  min-width: 92px;
  max-width: 92px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59, 130, 246, .24), rgba(34, 211, 238, .14));
  display: grid;
  place-items: center;
  color: #e0f2fe;
  flex-shrink: 0;
  overflow: hidden;
  contain: paint;
}
.result-thumb.result-thumb-media {
  width: min(118px, 28vw);
  height: auto;
  min-width: 96px;
  max-width: 118px;
  max-height: none;
  background: rgba(15, 23, 42, .62);
}
.result-thumb img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: inherit;
}
.result-mini > div:not(.result-thumb) { min-width: 0; }
.result-mini strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.result-mini span {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
}

/* ── Stats ─────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.stat {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .48);
  border-radius: 18px;
  padding: 14px;
}
.stat b { display: block; font-size: 22px; letter-spacing: -.04em; }
.stat span { color: var(--muted); font-size: 12px; font-weight: 700; }

/* ── Preview Panel ──────────────────────────────────────────── */
.preview-panel {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .52);
  border-radius: 32px;
  padding: 18px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .18);
}
.browser-bar { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.dot:nth-child(1) { background: #f87171; }
.dot:nth-child(2) { background: #fbbf24; }
.dot:nth-child(3) { background: #34d399; }
.mock-video {
  height: 250px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(59, 130, 246, .28), rgba(167, 139, 250, .2) 45%, rgba(34, 211, 238, .14));
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.mock-video:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 25%, rgba(255, 255, 255, .18), transparent 28%);
}
.play-large {
  width: 78px;
  height: 78px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
}
.play-large svg { width: 34px; height: 34px; color: #0f172a; margin-left: 4px; }
.format-list { display: grid; gap: 10px; margin-top: 14px; }
.format-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(2, 6, 23, .48);
  border-radius: 18px;
  padding: 12px;
}
.format-row i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(34, 211, 238, .12);
  display: grid;
  place-items: center;
  color: #67e8f9;
  font-style: normal;
  font-weight: 900;
}
.format-row strong { font-size: 14px; }
.format-row span { font-size: 12px; color: var(--muted); }
.format-row button {
  border: 1px solid var(--line);
  background: #fff;
  color: #020617;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 900;
  font-size: 12px;
}
.format-list a { text-decoration: none; }
.format-row button:hover { background: #e2e8f0; cursor: pointer; }
.format-row button:disabled { opacity: .55; cursor: not-allowed; }
#btn-submit:disabled { opacity: .6; cursor: not-allowed; }

/* ── Section Layouts ────────────────────────────────────────── */
.section { padding: 58px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.section h2 { font-size: clamp(28px, 4vw, 48px); letter-spacing: -.055em; line-height: 1.05; }
.section p.sub { color: var(--muted); line-height: 1.7; max-width: 560px; }

/* ── Steps / How-to ─────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .45);
  border-radius: 26px;
  padding: 24px;
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(59, 130, 246, .16);
  color: #93c5fd;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 18px;
}
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { color: var(--muted); line-height: 1.65; font-size: 14px; }

/* ── Section Label (eyebrow label above headings) ───────────── */
.section-label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

/* ── How-To Steps (expanded per-page variant) ───────────────── */
.how-to-steps { padding: 54px 0; }
.how-to-steps .section-label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}
.how-to-steps h2 {
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: -.05em;
  font-weight: 900;
  margin-bottom: 6px;
}
.how-to-steps > .container > p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 36px;
}
.how-to-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.how-to-card {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .48);
  border-radius: 24px;
  padding: 26px 22px;
}
.how-to-card .step-num {
  font-size: 13px;
  font-weight: 900;
  color: var(--cyan);
  background: rgba(34, 211, 238, .12);
  border-radius: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.how-to-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 9px; }
.how-to-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ── Platforms Grid ─────────────────────────────────────────── */
.platforms { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.platform {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .45);
  border-radius: 20px;
  padding: 18px;
  text-align: center;
  color: var(--soft);
  font-weight: 900;
}
.platform span {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  margin: 0 auto 10px;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  color: #fff;
}

/* ── Pricing ────────────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.price-card {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .5);
  border-radius: 28px;
  padding: 26px;
}
.price-card.pro {
  border-color: rgba(34, 211, 238, .45);
  background: linear-gradient(180deg, rgba(14, 165, 233, .12), rgba(15, 23, 42, .6));
}
.price-card h3 { font-size: 22px; margin-bottom: 8px; }
.price-card p { color: var(--muted); line-height: 1.65; }
.price { font-size: 36px; font-weight: 900; letter-spacing: -.05em; margin: 18px 0; }
.checks { display: grid; gap: 11px; color: var(--soft); font-size: 14px; }
.checks li { list-style: none; }
.checks li:before { content: "✓"; color: #34d399; font-weight: 900; margin-right: 9px; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .42);
  border-radius: 18px;
  padding: 18px;
}
.faq-item strong { display: block; margin-bottom: 7px; }
.faq-item p { color: var(--muted); line-height: 1.65; font-size: 14px; }

/* ── Page FAQ (accordion variant) ──────────────────────────── */
.page-faq { padding: 54px 0; }
.page-faq h2 {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -.05em;
  margin-bottom: 28px;
}
.faq-accordion { display: grid; gap: 10px; max-width: 840px; }
.faq-accordion-item {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .44);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-accordion-item:hover { border-color: rgba(148, 163, 184, .3); }
.faq-accordion-item.open { border-color: rgba(34, 211, 238, .3); }
.faq-accordion-q {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-accordion-q .faq-chevron {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(148, 163, 184, .12);
  display: grid;
  place-items: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: transform .2s, background .2s;
}
.faq-accordion-item.open .faq-chevron {
  transform: rotate(180deg);
  background: rgba(34, 211, 238, .16);
  color: var(--cyan);
}
.faq-accordion-a {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}
.faq-accordion-item.open .faq-accordion-a { display: block; }

/* ── Blog Grid ───────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.blog-card {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .48);
  border-radius: 24px;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover { border-color: rgba(34, 211, 238, .32); transform: translateY(-2px); }
.blog-card-img {
  height: 160px;
  background: linear-gradient(145deg, rgba(59, 130, 246, .22), rgba(167, 139, 250, .14) 50%, rgba(34, 211, 238, .10));
  display: grid;
  place-items: center;
  font-size: 36px;
  flex-shrink: 0;
}
.blog-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.blog-card-body h3 {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}
.blog-card-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}
.blog-meta .blog-date { margin-left: auto; }

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 800;
}
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-columns {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
  padding: 40px 0 32px;
}
.footer-col-brand .logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col ul li a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}

/* ── Trust Bar ───────────────────────────────────────────────── */
.center-trust {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.center-trust span {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .48);
  border-radius: 999px;
  padding: 8px 11px;
}

/* ── Download Progress ───────────────────────────────────────── */
.dl-wrap { flex: 1; min-width: 0; }
.dl-bar-bg {
  height: 5px;
  background: rgba(148, 163, 184, .18);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
  display: none;
}
.dl-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 999px;
  transition: width .25s ease;
  width: 0%;
}
.dl-pct { font-size: 11px; color: #67e8f9; font-weight: 800; margin-top: 3px; display: none; }
.dl-err { font-size: 11px; color: #f87171; font-weight: 800; margin-top: 3px; display: none; }
.dl-cancel-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(248, 113, 113, .4);
  color: #f87171;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  margin-left: 6px;
  vertical-align: middle;
  transition: background .2s, border-color .2s;
}
.dl-cancel-btn:hover { background: rgba(248, 113, 113, .14); border-color: #f87171; }
.dl-bar.active {
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--blue));
  background-size: 200% 200%;
  animation: barShimmer 2s ease infinite;
}
.dl-bar.done { background: var(--green); animation: none; }
.dl-bar.error { background: #f87171; animation: none; }

/* ── Toast Notification ─────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  background: rgba(2, 6, 23, .92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--cyan);
  border-left: 3px solid var(--cyan);
  border-radius: 14px;
  padding: 12px 18px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  z-index: 9000;
  pointer-events: none;
  opacity: 0;
}
.toast.toast-enter { animation: toastSlideUp .28s cubic-bezier(.22, .61, .36, 1) forwards; }
.toast.toast-exit  { animation: toastFadeOut .24s ease forwards; }
#clipboard-hint { display: none; font-size: 12px; font-weight: 700; color: var(--muted); margin: -8px 0 10px 4px; }

/* ── Support Report ─────────────────────────────────────────── */
.support-fab {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 120;
  border: 1px solid rgba(34, 211, 238, .38);
  background: rgba(2, 6, 23, .88);
  color: var(--text);
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
}
.support-fab:hover { border-color: var(--cyan); color: #fff; }
.support-modal {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(2, 6, 23, .72);
  backdrop-filter: blur(10px);
}
.support-modal.open { display: flex; }
.support-dialog {
  width: min(520px, 100%);
  border: 1px solid rgba(34, 211, 238, .28);
  background: #0b1020;
  border-radius: 22px;
  padding: 22px;
  position: relative;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .42);
}
.support-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(148, 163, 184, .08);
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}
.support-head { padding-right: 44px; margin-bottom: 18px; }
.support-head strong { display: block; font-size: 22px; font-weight: 900; letter-spacing: -.03em; }
.support-head span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.support-form { display: grid; gap: 12px; }
.support-form label { display: grid; gap: 7px; color: var(--soft); font-size: 13px; font-weight: 800; }
.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(2, 6, 23, .74);
  color: var(--text);
  border-radius: 12px;
  padding: 11px 12px;
  outline: 0;
  font: inherit;
}
.support-form textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  border-color: rgba(34, 211, 238, .72);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, .16);
}
.support-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 2px; }
.support-primary,
.support-secondary,
.inline-report-btn {
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.support-primary { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #00111c; }
.support-primary:disabled { opacity: .6; cursor: wait; }
.support-secondary { background: rgba(148, 163, 184, .1); color: var(--soft); border: 1px solid var(--line); }
.inline-report-btn {
  display: inline-flex;
  margin-top: 10px;
  background: rgba(248, 113, 113, .12);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, .28);
}
.support-status { min-height: 18px; font-size: 12px; font-weight: 800; color: var(--muted); }
.support-status.success { color: #86efac; }
.support-status.error { color: #fca5a5; }

/* ── Subtitle Language Selector ─────────────────────────────── */
.subtitle-lang-chip { font-size: 12px; }
.subtitle-lang-chip:has(input:checked) {
  background: #fff;
  color: #020617;
  border-color: #fff;
  box-shadow: 0 10px 26px rgba(255, 255, 255, .10);
}
#subtitle-lang-row { margin-top: -6px; padding-top: 0; }

/* ── Quick Preset Bar ───────────────────────────────────────── */
#preset-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; margin-top: -4px; }
.preset-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s, box-shadow .2s;
}
.preset-btn:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(34, 211, 238, .08); }
.preset-btn.active {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, .14);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, .24);
}

/* ── Download History Panel ─────────────────────────────────── */
#history-panel { max-width: 920px; margin: 12px auto 0; }
#history-header {
  font-size: 13px;
  font-weight: 900;
  color: var(--muted);
  cursor: pointer;
  padding: 14px 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--line);
  user-select: none;
}
#history-chevron { display: inline-block; transition: transform .2s; }
#history-header.open #history-chevron { transform: rotate(180deg); }
#history-clear-btn {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  color: #f87171;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 4px 0;
}
#history-body { display: none; }
.history-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.history-item:last-child { border-bottom: 0; }
.history-thumb {
  width: 60px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(59, 130, 246, .12);
  display: grid;
  place-items: center;
  font-size: 14px;
  color: #93c5fd;
  overflow: hidden;
}
.history-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.history-reanalyze {
  font-size: 11px;
  font-weight: 800;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--soft);
  border-radius: 8px;
  padding: 5px 9px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .2s, color .2s;
}
.history-reanalyze:hover { border-color: var(--cyan); color: var(--cyan); }
.history-info { flex: 1; min-width: 0; }
.history-title { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.history-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.history-format-badge {
  font-size: 10px;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--muted);
  flex-shrink: 0;
}

/* ── Misc hidden ────────────────────────────────────────────── */
#loading_img { display: none !important; }

/* ── Article / Blog Layout ──────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb-sep { opacity: .4; }

.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  padding: 56px 0 80px;
  align-items: start;
}
.article-header { margin-bottom: 36px; }
.article-header .blog-tag {
  font-size: 11px; font-weight: 900; letter-spacing: .1em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; display: block;
}
.article-header h1 {
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.08; letter-spacing: -.04em; font-weight: 900;
  margin-bottom: 18px; text-wrap: balance;
}
.article-meta {
  display: flex; align-items: center; gap: 18px; font-size: 13px;
  color: var(--muted); font-weight: 700;
  padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 32px;
}
.article-meta time { color: var(--soft); }
.article-body { line-height: 1.78; font-size: 16px; color: var(--soft); }
.article-body p { margin-bottom: 20px; }
.article-body h2 {
  font-size: clamp(22px, 3vw, 32px); font-weight: 900; letter-spacing: -.04em;
  color: var(--text); margin: 40px 0 16px; line-height: 1.15; text-wrap: balance;
}
.article-body h3 {
  font-size: 19px; font-weight: 800; letter-spacing: -.025em;
  color: var(--text); margin: 28px 0 12px;
}
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 20px; color: var(--soft); }
.article-body li { margin-bottom: 8px; line-height: 1.7; }
.article-body strong { color: var(--text); font-weight: 800; }
.article-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

.how-to-steps-list { display: grid; gap: 16px; margin: 24px 0; }
.how-to-step {
  display: grid; grid-template-columns: 48px 1fr; gap: 18px;
  border: 1px solid var(--line); background: rgba(15, 23, 42, .46);
  border-radius: 20px; padding: 20px 22px; align-items: start;
}
.how-to-step .step-num {
  width: 42px; height: 42px; border-radius: 14px;
  background: rgba(34, 211, 238, .12); color: var(--cyan);
  display: grid; place-items: center; font-weight: 900; font-size: 16px; flex-shrink: 0;
}
.how-to-step-body h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.how-to-step-body p { font-size: 14px; color: var(--muted); line-height: 1.68; margin: 0; }

.article-cta {
  margin-top: 48px;
  border: 1px solid rgba(34, 211, 238, .32);
  background: linear-gradient(160deg, rgba(34, 211, 238, .08), rgba(59, 130, 246, .06));
  border-radius: 26px; padding: 32px 30px; text-align: center;
}
.article-cta h3 { font-size: 24px; font-weight: 900; letter-spacing: -.04em; margin-bottom: 10px; }
.article-cta p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #00111c; font-weight: 900; font-size: 15px;
  padding: 14px 28px; border-radius: 14px; text-decoration: none;
  box-shadow: 0 16px 42px rgba(34, 211, 238, .22);
  transition: transform .2s, box-shadow .2s;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 52px rgba(34, 211, 238, .30); }

.article-sidebar { position: sticky; top: 90px; }
.sidebar-card { border: 1px solid var(--line); background: rgba(15, 23, 42, .46); border-radius: 22px; padding: 22px; margin-bottom: 18px; }
.sidebar-card h4 { font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc-list { display: grid; gap: 8px; list-style: none; }
.toc-list a { font-size: 13.5px; font-weight: 700; color: var(--muted); transition: color .2s; display: flex; align-items: center; gap: 8px; }
.toc-list a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line2); flex-shrink: 0; }
.toc-list a:hover { color: var(--cyan); }
.related-list { display: grid; gap: 10px; list-style: none; }
.related-list a { font-size: 13px; font-weight: 700; color: var(--muted); transition: color .2s; }
.related-list a:hover { color: var(--text); }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin: 28px 0; }
.feature-card { border: 1px solid var(--line); background: rgba(15, 23, 42, .46); border-radius: 20px; padding: 22px; }
.feature-card.highlight { border-color: rgba(34, 211, 238, .3); background: linear-gradient(160deg, rgba(34,211,238,.07), rgba(15,23,42,.5)); }
.feature-card .fc-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.feature-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.feature-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin: 0; }

@media (max-width: 900px) {
  .article-wrap { grid-template-columns: 1fr; gap: 28px; }
  .article-sidebar { position: static; }
}
@media (max-width: 680px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-layout, .faq { grid-template-columns: 1fr; }
  .preview-panel { max-width: 620px; }
  .platforms { grid-template-columns: repeat(3, 1fr); }
  .footer-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .platform-buttons { grid-template-columns: repeat(2, 1fr); }
  .platform-btn:last-child { grid-column: 1 / -1; }
  .center-input-row { grid-template-columns: 1fr; }
  .center-input-row .search-btn { width: 100%; }
  .hero-layout.hero-centered { text-align: center; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-links, .main-nav, .nav-action .pro-pill { display: none; }
  .hero { padding-top: 46px; }
  .workflow-tabs { grid-template-columns: repeat(2, 1fr); }
  .mode-grid, .steps, .pricing { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .input-row { flex-direction: column; }
  .primary-btn, .search-btn { width: 100%; }
  .mock-video { height: 210px; }
  .footer-inner { display: block; }
  .footer-links { margin-top: 18px; }
  .toast { width: calc(100vw - 32px); white-space: normal; bottom: 16px; }
  .dl-cancel-btn { padding: 6px 10px; }
  .footer-columns { grid-template-columns: 1fr; gap: 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .how-to-grid { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .support-fab { right: 14px; bottom: 14px; padding: 10px 13px; }
  .support-dialog { padding: 18px; border-radius: 18px; }
  .support-actions { flex-direction: column-reverse; }
  .support-primary, .support-secondary { width: 100%; }
}
@media (max-width: 480px) {
  .history-format-badge { display: none; }
  .history-meta { display: none; }
}
