/* ================================================
   FreeMake Video Downloader — Main Stylesheet
   Font: Plus Jakarta Sans (crisp & readable)
   ================================================ */

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

/* ── Variables ─────────────────────────────────── */
:root {
  --blue:        #2563eb;
  --blue-dark:   #1d4ed8;
  --blue-light:  #eff6ff;
  --cyan:        #06b6d4;
  --green:       #16a34a;
  --red:         #dc2626;
  --yellow:      #d97706;

  --dark:        #0f172a;
  --dark2:       #1e293b;
  --dark3:       #334155;
  --muted:       #64748b;
  --border:      #e2e8f0;
  --bg:          #f8fafc;
  --white:       #ffffff;

  --font:        'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --r:           10px;
  --r-lg:        16px;
  --r-xl:        22px;
  --r-full:      9999px;

  --shadow:      0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.12);
  --shadow-blue: 0 4px 20px rgba(37,99,235,.35);
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--dark); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: var(--font); }

/* ── Layout ────────────────────────────────────── */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-dark { background: var(--dark); }
.section-soft { background: var(--bg); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Typography ────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; color: var(--dark); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--dark); }
h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark); }
p  { color: var(--muted); line-height: 1.7; }
.text-blue { color: var(--blue); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--blue); background: var(--blue-light);
  padding: 5px 12px; border-radius: var(--r-full); margin-bottom: 14px;
}

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--r-full);
  font-size: .9rem; font-weight: 600; cursor: pointer;
  border: none; transition: all .18s ease; text-decoration: none; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.btn-blue {
  background: var(--blue); color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-1px); color: #fff; box-shadow: 0 6px 28px rgba(37,99,235,.45); }

.btn-white { background: #fff; color: var(--dark); box-shadow: var(--shadow); }
.btn-white:hover { background: var(--bg); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--muted); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: .82rem; }

/* ── Header ─────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.5); }

.header-bar { display: flex; align-items: center; height: 64px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-logo-wrap {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(37,99,235,.5);
}
.brand-logo-wrap svg { width: 20px; height: 20px; }
.brand-name { font-size: 1.1rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.brand-name span { color: #60a5fa; }

.header-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.header-nav a {
  padding: 7px 12px; border-radius: 8px;
  font-size: .86rem; font-weight: 500; color: rgba(255,255,255,.55);
  transition: all .15s; text-decoration: none; white-space: nowrap;
}
.header-nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.header-nav a.active { color: #93c5fd; background: rgba(37,99,235,.2); }

.header-cta {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: var(--r-full);
  background: var(--blue); color: #fff; font-size: .86rem; font-weight: 600;
  box-shadow: 0 4px 16px rgba(37,99,235,.4);
  transition: all .18s; flex-shrink: 0; text-decoration: none;
}
.header-cta svg { width: 15px; height: 15px; }
.header-cta:hover { background: var(--blue-dark); transform: translateY(-1px); color: #fff; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: rgba(255,255,255,.7); border-radius: 8px; }
.hamburger:hover { background: rgba(255,255,255,.08); color: #fff; }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--dark); z-index: 998; overflow-y: auto;
  padding: 16px 20px 40px;
  flex-direction: column; gap: 4px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: var(--r);
  font-size: .95rem; font-weight: 500;
  color: rgba(255,255,255,.65); text-decoration: none;
  transition: all .15s;
}
.mobile-nav a svg { width: 17px; height: 17px; color: rgba(255,255,255,.3); }
.mobile-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.mobile-nav a.active { background: rgba(37,99,235,.2); color: #93c5fd; }
.mobile-nav-cta { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.07); }

/* ── Hero ───────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 60%, #162032 100%);
  padding: 80px 0 72px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.12) 0%, transparent 70%);
  top: -200px; right: -100px; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.08) 0%, transparent 70%);
  bottom: -100px; left: -80px; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; text-align: center; }
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero h1 span { color: #60a5fa; }
.hero p { color: rgba(255,255,255,.65); font-size: 1.08rem; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Hero tool box */
.hero-tool-box {
  background: rgba(255,255,255,.06); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl); padding: 28px 28px 24px;
  max-width: 680px; margin: 0 auto 28px;
}
.url-row { display: flex; gap: 8px; background: #fff; border-radius: var(--r-full); padding: 5px 5px 5px 20px; box-shadow: 0 4px 24px rgba(0,0,0,.2); }
.url-row input { flex: 1; border: none; outline: none; font-size: .95rem; color: var(--dark); background: transparent; min-width: 0; font-family: var(--font); }
.url-row input::placeholder { color: #94a3b8; }
.paste-btn { background: none; border: none; cursor: pointer; color: #94a3b8; padding: 8px; border-radius: var(--r-full); transition: color .15s; display: flex; align-items: center; }
.paste-btn:hover { color: var(--blue); }
.paste-btn svg { width: 17px; height: 17px; }
.url-row .submit-btn { background: var(--blue); color: #fff; border: none; border-radius: var(--r-full); padding: 10px 22px; font-size: .9rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 7px; transition: all .18s; flex-shrink: 0; font-family: var(--font); }
.url-row .submit-btn svg { width: 16px; height: 16px; }
.url-row .submit-btn:hover { background: var(--blue-dark); }

.hero-trust { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.5); }
.trust-item svg { width: 15px; height: 15px; color: #4ade80; }

/* Platform logos row */
.platform-logos { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.platform-logo-item {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-full); padding: 7px 14px;
  font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.7);
  transition: all .15s;
}
.platform-logo-item img { width: 18px; height: 18px; border-radius: 4px; object-fit: contain; }
.platform-logo-item:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ── Stats ──────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); }
.stat-cell { background: var(--white); padding: 28px 20px; text-align: center; }
.stat-num { font-size: 1.9rem; font-weight: 800; color: var(--dark); letter-spacing: -.03em; line-height: 1; margin-bottom: 4px; }
.stat-num span { color: var(--blue); }
.stat-lbl { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* ── How it works ───────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step-card { text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 6px 20px rgba(37,99,235,.3);
}
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: .875rem; }

/* connector line */
.steps-wrap { position: relative; }
.steps-wrap::before {
  content: ''; position: absolute;
  top: 28px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: .2;
}

/* ── Supported sites ────────────────────────────── */
.sites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px,1fr)); gap: 12px; }
.site-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 20px 12px;
  text-align: center; transition: all .18s; cursor: default;
}
.site-card:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(37,99,235,.1); transform: translateY(-2px); }
.site-card img { width: 36px; height: 36px; margin: 0 auto 10px; border-radius: 8px; object-fit: contain; }
.site-card span { font-size: .82rem; font-weight: 600; color: var(--dark); }

/* ── Features ───────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feature-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 24px;
  transition: all .18s;
}
.feature-card:hover { border-color: var(--blue); box-shadow: 0 8px 32px rgba(37,99,235,.1); transform: translateY(-3px); }
.feat-icon {
  width: 48px; height: 48px; border-radius: var(--r);
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feat-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1rem; margin-bottom: 8px; }
.feature-card p { font-size: .875rem; }

/* ── FAQ ────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 720px; margin: 0 auto; }
.faq-item { border: 1.5px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: border-color .15s; }
.faq-item.open { border-color: var(--blue); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-family: var(--font); font-size: .95rem; font-weight: 600;
  color: var(--dark); text-align: left;
}
.faq-q svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue); transition: transform .25s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 20px 18px; font-size: .9rem; color: var(--muted); line-height: 1.7; }
.faq-item.open .faq-a { max-height: 260px; }

/* ── Blog cards ─────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.blog-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: all .18s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-thumb { height: 170px; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-cat { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--blue); background: var(--blue-light); padding: 3px 9px; border-radius: var(--r-full); display: inline-block; margin-bottom: 10px; }
.blog-card h3 { font-size: .95rem; margin-bottom: 8px; line-height: 1.4; }
.blog-card p { font-size: .845rem; flex: 1; margin-bottom: 14px; }
.blog-meta { font-size: .77rem; color: #94a3b8; display: flex; justify-content: space-between; align-items: center; }
.blog-meta a { color: var(--blue); font-weight: 600; font-size: .8rem; }

/* ── CTA Banner ─────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 50%, #1e1b6b 100%);
  border-radius: var(--r-xl); padding: 64px 48px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.05); top: -150px; right: -100px; pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.7); max-width: 480px; margin: 0 auto 32px; }

/* ── Footer ─────────────────────────────────────── */
.footer { background: var(--dark); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-about .brand-name { color: #fff; }
.footer-about p { font-size: .855rem; color: rgba(255,255,255,.4); margin-top: 14px; line-height: 1.7; max-width: 230px; }
.footer-col h5 { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.3); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-socials { display: flex; gap: 8px; }
.soc-btn { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.45); display: flex; align-items: center; justify-content: center; transition: all .15s; border: 1px solid rgba(255,255,255,.07); }
.soc-btn svg { width: 15px; height: 15px; }
.soc-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── Downloader tool page ───────────────────────── */
.page-header { background: var(--bg); border-bottom: 1px solid var(--border); padding: 52px 0 44px; }
.page-header h1 { font-size: clamp(1.7rem,3.5vw,2.4rem); margin-bottom: 10px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb svg { width: 14px; height: 14px; }

.tool-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-xl); overflow: hidden; max-width: 800px; margin: 0 auto; box-shadow: var(--shadow-lg); }
.tool-card-head { background: var(--bg); border-bottom: 1px solid var(--border); padding: 18px 28px; display: flex; align-items: center; gap: 10px; }
.tool-card-head svg { width: 20px; height: 20px; color: var(--blue); }
.tool-card-head h2 { font-size: .98rem; color: var(--dark); }
.tool-card-body { padding: 32px 28px; }

.tool-input-group { display: flex; gap: 10px; margin-bottom: 8px; }
.tool-input-wrap { flex: 1; position: relative; }
.tool-input-wrap input {
  width: 100%; padding: 14px 50px 14px 18px;
  border: 2px solid var(--border); border-radius: var(--r-lg);
  font-size: .95rem; font-family: var(--font); color: var(--dark); background: var(--bg);
  outline: none; transition: all .18s;
}
.tool-input-wrap input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.1); }
.tool-paste-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: #94a3b8; padding: 4px; transition: color .15s; display: flex; }
.tool-paste-btn svg { width: 17px; height: 17px; }
.tool-paste-btn:hover { color: var(--blue); }
.tool-hint { font-size: .8rem; color: #94a3b8; margin-bottom: 0; }
.tool-hint a { color: var(--blue); }

/* Result area */
.result-area { margin-top: 28px; }
.loader-box { text-align: center; padding: 44px; }
.loader-ring { width: 44px; height: 44px; border: 3px solid var(--border); border-top-color: var(--blue); border-radius: 50%; animation: spin .75s linear infinite; margin: 0 auto 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader-box p { font-size: .88rem; color: var(--muted); }

.alert { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: var(--r); font-size: .88rem; }
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; }
.alert-info { background: var(--blue-light); border: 1px solid #bfdbfe; color: var(--blue); }

.result-card { border: 1.5px solid var(--border); border-radius: var(--r-lg); overflow: hidden; animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }

.result-video-header { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 20px; background: var(--bg); border-bottom: 1px solid var(--border); align-items: center; }
.result-thumb { width: 140px; height: 84px; border-radius: 8px; overflow: hidden; background: var(--dark2); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.result-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1e3a5f,#2563eb); }
.result-thumb-placeholder svg { width: 32px; height: 32px; color: rgba(255,255,255,.5); }
.result-info h3 { font-size: .95rem; color: var(--dark); margin-bottom: 4px; line-height: 1.4; }
.result-info p { font-size: .8rem; }
.result-badge { display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: var(--r-full); margin-top: 7px; }
.badge-green { background: #f0fdf4; color: #16a34a; }
.badge-yellow { background: #fffbeb; color: #d97706; }
.badge-blue { background: var(--blue-light); color: var(--blue); }
.engine-note { font-size: .75rem; font-weight: 600; padding: 10px 20px; background: #f0fdf4; border-bottom: 1px solid #bbf7d0; color: #16a34a; display: flex; align-items: center; gap: 6px; }
.engine-note.demo { background: #fffbeb; border-color: #fde68a; color: #d97706; }
.engine-note svg { width: 14px; height: 14px; }

.format-tabs-wrap { padding: 18px 20px; }
.ftabs { display: flex; gap: 6px; margin-bottom: 16px; }
.ftab { padding: 7px 16px; border-radius: var(--r-full); font-size: .83rem; font-weight: 600; cursor: pointer; border: 1.5px solid var(--border); background: var(--white); color: var(--muted); transition: all .15s; }
.ftab.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.ftab-panel { display: none; }
.ftab-panel.active { display: flex; flex-direction: column; gap: 8px; }

.fmt-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--r); transition: all .15s; }
.fmt-row:hover { border-color: var(--blue); background: var(--blue-light); }
.fmt-left { display: flex; align-items: center; gap: 12px; }
.fmt-ext { width: 46px; height: 28px; border-radius: 6px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 800; color: var(--blue); letter-spacing: .04em; }
.fmt-quality { font-size: .88rem; font-weight: 600; color: var(--dark); }
.fmt-size { font-size: .77rem; color: var(--muted); }

/* ── Why choose / comparison ────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 20px; }
.why-item { display: flex; gap: 14px; }
.why-icon { width: 42px; height: 42px; border-radius: var(--r); background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-icon svg { width: 20px; height: 20px; }
.why-item h4 { font-size: .95rem; margin-bottom: 3px; }
.why-item p { font-size: .855rem; }

.why-image img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }

/* ── Legal pages ────────────────────────────────── */
.legal-wrap { max-width: 800px; margin: 0 auto; padding: 64px 0; }
.legal-wrap .updated { font-size: .82rem; color: var(--muted); background: var(--bg); padding: 8px 14px; border-radius: var(--r); display: inline-block; margin-bottom: 32px; }
.legal-wrap h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal-wrap h3 { font-size: 1.02rem; margin: 24px 0 8px; }
.legal-wrap p { margin-bottom: 14px; font-size: .93rem; }
.legal-wrap ul { padding-left: 20px; margin-bottom: 14px; }
.legal-wrap ul li { list-style: disc; color: var(--muted); margin-bottom: 6px; font-size: .93rem; }

/* ── Contact ────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--r);
  font-size: .92rem; font-family: var(--font); color: var(--dark); background: var(--bg);
  outline: none; transition: all .18s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.08); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── 404 ────────────────────────────────────────── */
.page-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; }
.e404-num { font-size: clamp(5rem,16vw,9rem); font-weight: 800; color: var(--blue); opacity: .12; line-height: 1; }

/* ── Blog post ──────────────────────────────────── */
.post-header { background: var(--bg); border-bottom: 1px solid var(--border); padding: 64px 0 52px; }
.post-header h1 { max-width: 700px; font-size: clamp(1.6rem,3.5vw,2.4rem); }
.post-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: .82rem; color: var(--muted); }
.post-meta svg { width: 14px; height: 14px; }
.post-meta span { display: flex; align-items: center; gap: 5px; }
.post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 52px; padding: 56px 0; }
.post-body h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.post-body h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.post-body p { font-size: .95rem; margin-bottom: 16px; line-height: 1.8; }
.post-body ul { padding-left: 22px; margin-bottom: 16px; }
.post-body ul li { list-style: disc; color: var(--muted); margin-bottom: 7px; line-height: 1.7; font-size: .95rem; }
.post-callout { background: var(--blue-light); border-left: 4px solid var(--blue); padding: 14px 18px; border-radius: 0 var(--r) var(--r) 0; margin: 20px 0; }
.post-callout p { color: var(--blue); font-size: .88rem; font-weight: 500; margin: 0; }
.sidebar-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 22px; margin-bottom: 18px; }
.sidebar-card h4 { font-size: .92rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.sidebar-sticky { position: sticky; top: 84px; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-image { display: none; }
  .post-layout { grid-template-columns: 1fr; }
  .sidebar-sticky { position: static; }
}
@media (max-width: 860px) {
  .header-nav, .header-cta { display: none; }
  .hamburger { display: block; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-wrap::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .section { padding: 56px 0; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .features-grid, .blog-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .sites-grid { grid-template-columns: repeat(3,1fr); }
  .url-row { flex-wrap: wrap; padding: 8px; border-radius: var(--r-lg); }
  .url-row input { width: 100%; padding: 10px 12px; }
  .url-row .submit-btn { width: 100%; justify-content: center; border-radius: var(--r); }
  .tool-input-group { flex-direction: column; }
  .form-row-2 { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .result-video-header { grid-template-columns: 1fr; }
  .result-thumb { width: 100%; height: 160px; }
  .platform-logos { gap: 8px; }
}
