/* =========================================================
   Lelik Video Downloader — landing styles
   Dark theme matching the desktop app palette
   ========================================================= */

:root {
  --bg: #0b0c10;
  --bg-soft: #0e1016;
  --surface: #12141b;
  --surface-2: #161922;
  --surface-3: #1b1f2a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #e9ecf4;
  --muted: #9aa3b6;
  --muted-2: #7b8599;
  --accent: #4a85f5;
  --accent-soft: #7fb0ff;
  --accent-deep: #2f66d8;
  --violet: #a78bfa;
  --green: #4ade80;
  --amber: #fbbf24;
  --red: #f87171;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

code {
  font-family: "Cascadia Code", "Consolas", ui-monospace, monospace;
  font-size: 0.86em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #c9d4ea;
  white-space: nowrap;
}

::selection {
  background: rgba(74, 133, 245, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- layout helpers ---------- */

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.006) 60%, rgba(255, 255, 255, 0.015));
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.page-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(760px 480px at 50% -10%, rgba(74, 133, 245, 0.16), transparent 70%),
    radial-gradient(560px 420px at 92% 18%, rgba(167, 139, 250, 0.07), transparent 70%),
    radial-gradient(620px 520px at 4% 62%, rgba(74, 133, 245, 0.05), transparent 70%);
}

/* ---------- icons ---------- */

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #5b93ff 0%, var(--accent) 45%, var(--accent-deep) 100%);
  box-shadow:
    0 14px 30px -14px rgba(74, 133, 245, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 40px -16px rgba(74, 133, 245, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.86rem;
  border-radius: 10px;
  gap: 8px;
}

.btn-sm .icon {
  width: 16px;
  height: 16px;
}

.btn-lg {
  padding: 16px 26px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-note {
  margin-left: 4px;
  padding-left: 11px;
  border-left: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 0.76rem;
  font-weight: 600;
  opacity: 0.82;
  letter-spacing: 0;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 12, 16, 0.62);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 11, 15, 0.9);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.9);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  flex: none;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(74, 133, 245, 0.28), rgba(74, 133, 245, 0.06));
  border: 1px solid rgba(127, 176, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.brand-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.brand-name span {
  color: var(--accent-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 0.89rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: clamp(44px, 6vw, 82px) 0 clamp(56px, 7vw, 84px);
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 480px;
  height: 480px;
  top: -180px;
  left: -120px;
  background: rgba(74, 133, 245, 0.22);
}

.hero-orb-2 {
  width: 420px;
  height: 420px;
  top: 120px;
  right: -160px;
  background: rgba(167, 139, 250, 0.13);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(127, 176, 255, 0.22);
  background: rgba(74, 133, 245, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #b9cdf5;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
  animation: pulse-dot 2.6s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.16); }
  50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.05); }
}

.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(2.5rem, 5.2vw, 4.15rem);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -0.038em;
}

.grad {
  background: linear-gradient(100deg, #9cc2ff 0%, var(--accent) 46%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 22px 0 0;
  max-width: 540px;
  font-size: clamp(1rem, 1.25vw, 1.09rem);
  line-height: 1.68;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-points li span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.12);
  color: var(--green);
  font-size: 0.66rem;
  font-weight: 800;
}

/* ---------- hero visual ---------- */

.hero-visual {
  position: relative;
  min-width: 0;
}

.shot-frame {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0f15;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(74, 133, 245, 0.06);
}

.shot-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-shot {
  position: relative;
  z-index: 2;
  transform: perspective(1400px) rotateY(-2.5deg) rotateX(1deg);
  transition: transform 0.6s var(--ease);
}

.hero-visual:hover .hero-shot {
  transform: perspective(1400px) rotateY(0deg) rotateX(0deg);
}

.hero-shot picture {
  display: block;
}

.hero-shot img {
  display: block;
  width: 100%;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 15px 10px 11px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(18, 20, 27, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.95);
  animation: floaty 7s ease-in-out infinite;
}

.float-card strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.float-card small {
  display: block;
  font-size: 0.66rem;
  color: var(--muted-2);
  line-height: 1.35;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex: none;
}

.float-icon .icon {
  width: 18px;
  height: 18px;
}

.float-icon-blue {
  color: #9cc2ff;
  background: rgba(74, 133, 245, 0.16);
  border: 1px solid rgba(74, 133, 245, 0.28);
}

.float-icon-green {
  color: #86efac;
  background: rgba(74, 222, 128, 0.13);
  border: 1px solid rgba(74, 222, 128, 0.24);
}

.float-icon-violet {
  color: #c4b5fd;
  background: rgba(167, 139, 250, 0.14);
  border: 1px solid rgba(167, 139, 250, 0.26);
}

.float-1 {
  top: 4%;
  left: -7%;
  animation-delay: -1s;
}

.float-2 {
  bottom: 13%;
  left: -9%;
  animation-delay: -3.2s;
}

.float-3 {
  top: 24%;
  right: -6%;
  animation-delay: -5.4s;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- stats ---------- */

.stats-bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 62px);
  padding: 6px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.stat {
  padding: 20px 16px;
  text-align: center;
  position: relative;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--line);
}

.stat strong {
  display: block;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(120deg, #ffffff, #a9c6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.76rem;
  color: var(--muted-2);
  line-height: 1.4;
}

/* ---------- site strip ---------- */

.site-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
}

.site-strip-label {
  margin-right: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.site-pill {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.78rem;
  font-weight: 600;
  color: #b6bfd1;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.site-pill:hover {
  border-color: rgba(74, 133, 245, 0.4);
  background: rgba(74, 133, 245, 0.08);
  color: #dfe9ff;
}

.site-pill-more {
  border-style: dashed;
  color: var(--muted-2);
}

/* =========================================================
   Section headings
   ========================================================= */

.section-head {
  max-width: 730px;
  margin-bottom: clamp(34px, 4.4vw, 52px);
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.section-head h2,
.extension-copy h2,
.convert-copy h2,
.privacy-copy h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.032em;
}

.section-sub {
  margin: 16px 0 0;
  font-size: clamp(0.97rem, 1.15vw, 1.04rem);
  line-height: 1.68;
  color: var(--muted);
}

/* =========================================================
   Features
   ========================================================= */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  transition: transform 0.35s var(--ease), border-color 0.35s ease, background-color 0.35s ease;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127, 176, 255, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(74, 133, 245, 0.34);
  background:
    linear-gradient(180deg, rgba(74, 133, 245, 0.065), rgba(255, 255, 255, 0.012));
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--accent-soft);
  background: rgba(74, 133, 245, 0.12);
  border: 1px solid rgba(74, 133, 245, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feature-icon .icon {
  width: 21px;
  height: 21px;
}

.feature-card h3 {
  margin: 16px 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.feature-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.62;
  color: var(--muted);
}

/* =========================================================
   Steps
   ========================================================= */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.006));
  overflow: hidden;
}

.step-card::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 133, 245, 0.16), transparent 70%);
  pointer-events: none;
}

.step-num {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(180deg, rgba(127, 176, 255, 0.85), rgba(74, 133, 245, 0.12));
  -webkit-background-clip: text;
  background-clip: text;
}

.step-card h3 {
  margin: 14px 0 8px;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.step-card p {
  margin: 0 0 18px;
  font-size: 0.88rem;
  line-height: 1.62;
  color: var(--muted);
}

.step-tag {
  margin-top: auto;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(74, 133, 245, 0.22);
  background: rgba(74, 133, 245, 0.08);
  font-size: 0.73rem;
  font-weight: 600;
  color: #a8c4f7;
}

/* =========================================================
   Gallery
   ========================================================= */

.gallery {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 26px;
  margin-top: clamp(30px, 4vw, 48px);
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: 0 30px 70px -50px #000;
}

.gallery-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.gallery-tab {
  display: block;
  width: 100%;
  padding: 15px 16px;
  text-align: left;
  border-radius: 13px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.gallery-tab strong {
  display: block;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.gallery-tab span {
  display: block;
  margin-top: 3px;
  font-size: 0.76rem;
  color: var(--muted-2);
}

.gallery-tab:hover {
  background: rgba(255, 255, 255, 0.04);
}

.gallery-tab.active {
  background: rgba(74, 133, 245, 0.1);
  border-color: rgba(74, 133, 245, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.gallery-tab.active strong {
  color: #cfe0ff;
}

.gallery-tab.active span {
  color: #93a8cd;
}

.gallery-stage {
  min-width: 0;
}

.gallery-frame {
  display: grid;
  place-items: center;
  min-height: 260px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(74, 133, 245, 0.07), transparent 60%),
    #0a0b10;
  overflow: hidden;
}

.gallery-frame img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.28s ease;
}

.gallery-frame img.is-swapping {
  opacity: 0;
}

.gallery-caption {
  margin: 14px 2px 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted-2);
}

/* =========================================================
   Extension
   ========================================================= */

.extension-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.extension-copy,
.convert-copy,
.privacy-copy {
  min-width: 0;
}

/* check list */

.check-list {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.89rem;
  line-height: 1.55;
  color: #b7c0d2;
}

.check {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  flex: none;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.24);
  color: var(--green);
  font-size: 0.63rem;
  font-weight: 800;
}

.browser-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.browser-chips span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}

.extension-steps {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.extension-steps div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--muted);
}

.extension-steps strong {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: rgba(74, 133, 245, 0.14);
  border: 1px solid rgba(74, 133, 245, 0.26);
  color: #a9c6ff;
  font-size: 0.7rem;
  font-weight: 800;
}

/* ---------- browser mockup ---------- */

.browser-mock {
  min-width: 0;
  filter: drop-shadow(0 50px 60px rgba(0, 0, 0, 0.5));
}

.browser-frame {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #12141b;
  overflow: hidden;
}

.browser-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--line);
}

.browser-dots {
  display: inline-flex;
  gap: 6px;
  flex: none;
}

.browser-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.browser-dots i:nth-child(1) { background: #ff5f57; }
.browser-dots i:nth-child(2) { background: #febc2e; }
.browser-dots i:nth-child(3) { background: #28c840; }

.browser-url {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.76rem;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-url .icon {
  width: 13px;
  height: 13px;
  flex: none;
  color: #7f8aa1;
}

.browser-ext-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 8px;
  background: rgba(74, 133, 245, 0.14);
  border: 1px solid rgba(74, 133, 245, 0.26);
}

.browser-ext-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.browser-body {
  position: relative;
  padding: 16px 16px 52px;
  background:
    radial-gradient(70% 80% at 50% 0%, rgba(74, 133, 245, 0.06), transparent 65%),
    linear-gradient(180deg, #0e1017, #0b0c10);
}

.fake-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #0a1418;
}

.fake-video-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 22% 18%, rgba(56, 189, 248, 0.32), transparent 60%),
    radial-gradient(55% 70% at 78% 30%, rgba(74, 222, 128, 0.22), transparent 62%),
    radial-gradient(70% 90% at 60% 100%, rgba(20, 83, 45, 0.65), transparent 70%),
    linear-gradient(160deg, #0b2230, #071019 60%, #04120c);
}

.fake-video-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, transparent 32%, rgba(255, 255, 255, 0.075) 48%, transparent 64%);
}

.fake-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.8);
}

.fake-play svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
  fill: #fff;
  stroke: none;
}

.fake-video-info {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: grid;
  gap: 3px;
}

.fake-badge {
  justify-self: start;
  padding: 2px 7px;
  margin-bottom: 2px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
}

.fake-video-info strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  line-height: 1.3;
}

.fake-video-info small {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.66);
}

/* extension button */

.ext-download-btn {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(135deg, #5b93ff, var(--accent) 55%, var(--accent-deep));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 10px 24px -10px rgba(74, 133, 245, 0.9);
  cursor: pointer;
}

.ext-download-btn .icon {
  width: 14px;
  height: 14px;
}

.ext-download-btn::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(127, 176, 255, 0.65);
  animation: ext-ring 2.8s ease-out infinite;
  pointer-events: none;
}

@keyframes ext-ring {
  0% { opacity: 0.85; transform: scale(1); }
  70% { opacity: 0; transform: scale(1.18); }
  100% { opacity: 0; transform: scale(1.18); }
}

/* extension menu */

.ext-menu {
  position: absolute;
  top: 72px;
  right: 28px;
  z-index: 5;
  width: 282px;
  max-width: calc(100% - 40px);
  padding: 12px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #171a24;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  font-size: 0.8rem;
}

.ext-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 4px 9px;
  font-weight: 700;
  font-size: 0.84rem;
}

.ext-format {
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(74, 133, 245, 0.16);
  border: 1px solid rgba(74, 133, 245, 0.3);
  color: #a9c6ff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ext-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 8px;
  border-radius: 8px;
  color: #c5cdde;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ext-option:hover {
  background: rgba(255, 255, 255, 0.045);
}

.ext-option.active {
  background: rgba(74, 133, 245, 0.14);
  color: #fff;
}

.ext-check {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.ext-option.active .ext-check {
  background: var(--accent);
  border-color: #7fb0ff;
  box-shadow: 0 0 0 3px rgba(74, 133, 245, 0.16);
}

.ext-option.active .ext-check::after {
  content: "✓";
}

.ext-option-name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ext-option-name small {
  margin-left: 3px;
  font-size: 0.67rem;
  font-weight: 500;
  color: var(--muted-2);
}

.ext-option.active .ext-option-name small {
  color: #9db4da;
}

.ext-size {
  flex: none;
  font-size: 0.68rem;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}

.ext-option.active .ext-size {
  color: #b9cdf5;
}

.ext-divider {
  height: 1px;
  margin: 8px 4px;
  background: var(--line);
}

.ext-menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  padding: 10px 4px 2px;
  border-top: 1px solid var(--line);
  font-size: 0.66rem;
  color: var(--muted-2);
}

.ext-menu-foot strong {
  font-size: 0.66rem;
  font-weight: 600;
  color: #c2cbdc;
  text-align: right;
}

/* toast */

.ext-toast {
  position: absolute;
  left: 24px;
  bottom: 15px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 240px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.24);
  background: rgba(15, 25, 19, 0.92);
  font-size: 0.7rem;
  font-weight: 600;
  color: #b9e7c9;
  box-shadow: 0 12px 24px -14px #000;
}

.ext-toast-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15);
}

@keyframes ext-toast-pop {
  0% { transform: translateY(6px) scale(0.97); opacity: 0.2; }
  55% { transform: translateY(0) scale(1.02); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* =========================================================
   Conversion
   ========================================================= */

.convert-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.format-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.chip {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.chip-video {
  color: #a9c6ff;
  background: rgba(74, 133, 245, 0.11);
  border-color: rgba(74, 133, 245, 0.24);
}

.chip-audio {
  color: #c4b5fd;
  background: rgba(167, 139, 250, 0.1);
  border-color: rgba(167, 139, 250, 0.22);
}

.convert-visual {
  min-width: 0;
}

.gpu-panel {
  margin-top: 14px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.gpu-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gpu-bolt {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  font-size: 1.05rem;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.24);
  color: var(--amber);
}

.gpu-panel-head strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.gpu-panel-head small {
  display: block;
  font-size: 0.73rem;
  color: var(--muted-2);
  line-height: 1.4;
}

.gpu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 14px;
}

.gpu-item {
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.gpu-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
}

.gpu-item span {
  display: block;
  font-size: 0.68rem;
  color: var(--muted-2);
}

.gpu-note {
  margin: 12px 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted-2);
}

/* =========================================================
   Privacy
   ========================================================= */

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 26px;
  padding: 15px 17px;
  border-radius: 13px;
  border: 1px solid rgba(74, 222, 128, 0.2);
  background: rgba(74, 222, 128, 0.06);
  font-size: 0.82rem;
  line-height: 1.58;
  color: #b6d9c1;
}

.privacy-note .icon {
  width: 19px;
  height: 19px;
  margin-top: 1px;
  flex: none;
  color: var(--green);
}

.privacy-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
}

.cleanup-frame {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0b10;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.privacy-stat {
  position: absolute;
  right: max(0px, 2%);
  bottom: -20px;
  padding: 13px 20px;
  border-radius: 15px;
  border: 1px solid rgba(74, 133, 245, 0.28);
  background: rgba(18, 20, 27, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  box-shadow: 0 22px 44px -22px #000;
}

.privacy-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent-soft);
}

.privacy-stat span {
  display: block;
  margin-top: 5px;
  font-size: 0.68rem;
  line-height: 1.4;
  color: var(--muted-2);
}

/* =========================================================
   Comparison table
   ========================================================= */

.compare-wrap {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  overflow: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}

.compare-table thead th {
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.025);
  white-space: nowrap;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr {
  transition: background-color 0.2s ease;
}

.compare-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.022);
}

.compare-table tbody td:first-child {
  font-weight: 600;
  color: #cfd6e4;
}

.compare-highlight {
  background: rgba(74, 133, 245, 0.075) !important;
  box-shadow: inset 1px 0 0 rgba(74, 133, 245, 0.16), inset -1px 0 0 rgba(74, 133, 245, 0.16);
}

.compare-table thead .compare-highlight {
  color: #a9c6ff;
  background: rgba(74, 133, 245, 0.12) !important;
}

.yes,
.no,
.limited {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.yes {
  color: #7ee2a3;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.22);
}

.no {
  color: #f7a1a1;
  background: rgba(248, 113, 113, 0.09);
  border: 1px solid rgba(248, 113, 113, 0.2);
}

.limited {
  color: #f4cf7a;
  background: rgba(251, 191, 36, 0.09);
  border: 1px solid rgba(251, 191, 36, 0.2);
}

/* =========================================================
   FAQ
   ========================================================= */

.faq {
  max-width: 820px;
  margin-inline: auto;
}

.faq details {
  margin-bottom: 9px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008));
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.faq details:hover {
  border-color: rgba(255, 255, 255, 0.13);
}

.faq details[open] {
  border-color: rgba(74, 133, 245, 0.28);
  background: linear-gradient(180deg, rgba(74, 133, 245, 0.055), rgba(255, 255, 255, 0.008));
}

.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 30px 18px 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent-soft);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  background: rgba(74, 133, 245, 0.14);
  border-color: rgba(74, 133, 245, 0.3);
}

.faq details p {
  margin: 0;
  padding: 0 12px 20px 0;
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--muted);
}

/* =========================================================
   CTA
   ========================================================= */

.cta-section {
  position: relative;
  padding: clamp(20px, 4vw, 40px) 0 clamp(64px, 8vw, 100px);
}

.cta-panel {
  position: relative;
  padding: clamp(36px, 6vw, 66px) clamp(22px, 5vw, 56px);
  border-radius: 30px;
  border: 1px solid rgba(74, 133, 245, 0.28);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(74, 133, 245, 0.22), transparent 62%),
    linear-gradient(180deg, #141826, #0e1119);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 50px 100px -60px rgba(74, 133, 245, 0.55);
}

.cta-glow {
  position: absolute;
  left: 50%;
  top: -140px;
  width: 520px;
  height: 300px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(74, 133, 245, 0.26);
  filter: blur(90px);
  pointer-events: none;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel .section-kicker {
  margin-bottom: 14px;
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.cta-panel p {
  margin: 16px 0 0;
  font-size: clamp(0.95rem, 1.2vw, 1.02rem);
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.cta-note {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted-2);
}

.cta-small {
  display: block;
  margin-top: 16px;
  font-size: 0.72rem;
  color: var(--muted-2);
}

/* --- file verification --- */

.cta-verify {
  max-width: 760px;
  margin: 26px auto 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 9, 14, 0.55);
  text-align: left;
}

.cta-verify-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-verify-badge {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: var(--green);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.24);
}

.cta-verify-badge .icon {
  width: 19px;
  height: 19px;
  stroke-width: 1.7;
}

.cta-verify-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cta-verify-title strong {
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.cta-verify-title span {
  font-size: 0.76rem;
  color: var(--muted);
}

.cta-verify-link {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-soft);
  white-space: nowrap;
}

.cta-verify-link:hover {
  color: #fff;
  text-decoration: underline;
}

.cta-verify-hash {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 9px 10px 9px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.cta-verify-label {
  flex: 0 0 auto;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.cta-verify-hash code {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  background: none;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--text);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.copy-hash {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.copy-hash:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(127, 176, 255, 0.4);
}

.copy-hash:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}

.cta-verify-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 12px;
  font-size: 0.72rem;
  color: var(--muted);
}

.cta-verify-meta a {
  color: var(--accent-soft);
  font-weight: 700;
}

.cta-verify-meta a:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .cta-verify {
    padding: 16px;
  }

  .cta-verify-head {
    flex-wrap: wrap;
  }

  .cta-verify-link {
    margin-left: 50px;
  }

  .cta-verify-hash {
    flex-wrap: wrap;
  }

  .cta-verify-hash code {
    flex-basis: 100%;
    order: 3;
  }

  .copy-hash {
    margin-left: auto;
  }
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  border-top: 1px solid var(--line);
  background: #090a0e;
  padding: 52px 0 26px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  gap: 32px;
  align-items: start;
}

.footer-brand p {
  margin: 14px 0 0;
  max-width: 330px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--muted-2);
}

.footer-brand .brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.footer-brand .brand-icon img {
  width: 23px;
  height: 23px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 4px;
}

.footer-nav a {
  align-self: flex-start;
  font-size: 0.84rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--accent-soft);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  padding-top: 2px;
}

.footer-meta span {
  font-size: 0.76rem;
  color: var(--muted-2);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 0.72rem;
  color: #828b9f;
}

/* =========================================================
   Reveal animation (progressive enhancement)
   ========================================================= */

.reveal-init .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  will-change: opacity, transform;
}

.reveal-init .reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-visual {
    max-width: 760px;
    width: 100%;
  }

  .float-1 { left: -2%; }
  .float-2 { left: -2%; }
  .float-3 { right: -1%; }

  .extension-grid,
  .convert-grid,
  .privacy-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .extension-copy,
  .convert-copy,
  .privacy-copy {
    max-width: 660px;
  }

  .browser-mock,
  .convert-visual {
    width: 100%;
    max-width: 720px;
  }

  .privacy-visual {
    justify-items: start;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-meta {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
    padding-top: 20px;
  }
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 24px;
    right: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid var(--line-strong);
    background: rgba(16, 18, 25, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .menu-toggle {
    display: flex;
  }

  .header-inner {
    height: 68px;
  }

  .gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .gallery-tabs {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .gallery-tabs::-webkit-scrollbar {
    display: none;
  }

  .gallery-tab {
    flex: 0 0 auto;
    width: auto;
    min-width: 168px;
    padding: 12px 14px;
  }

  .gallery-frame img {
    max-height: 520px;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px);
  }

  .stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat:nth-child(3)::before,
  .stat + .stat::before {
    display: none;
  }

  .stat:nth-child(2n)::before {
    display: block;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .float-card {
    display: none;
  }

  .hero-shot {
    transform: none;
  }

  .gpu-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .privacy-stat {
    position: static;
    margin-top: 14px;
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    text-align: left;
  }

  .privacy-stat strong {
    font-size: 1.45rem;
  }

  .privacy-stat span {
    margin-top: 0;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .footer-meta {
    grid-column: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-bottom {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(2.1rem, 9vw, 2.7rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .btn-note {
    margin-left: auto;
  }

  .eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }

  .hero-points {
    gap: 8px 14px;
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    font-size: 0.98rem;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .brand-icon img {
    width: 23px;
    height: 23px;
  }

  .header-actions .btn-sm {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .header-actions .btn-sm .icon {
    width: 14px;
    height: 14px;
  }

  .gallery-tab {
    min-width: 150px;
  }

  .gallery-frame img {
    max-height: 400px;
  }

  .gallery-caption {
    font-size: 0.8rem;
  }

  .browser-body {
    padding: 12px 12px 16px;
  }

  .ext-download-btn {
    top: 20px;
    right: 20px;
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .ext-menu {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 12px;
    padding: 11px;
  }

  .ext-toast {
    position: static;
    margin-top: 10px;
    font-size: 0.65rem;
    padding: 6px 10px;
  }

  .fake-video-info strong {
    font-size: 0.8rem;
  }

  .fake-video-info small {
    font-size: 0.63rem;
  }

  .fake-play {
    width: 46px;
    height: 46px;
  }

  .fake-play svg {
    width: 19px;
    height: 19px;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 14px;
  }

  .faq details {
    padding: 0 16px;
  }

  .faq summary {
    font-size: 0.89rem;
  }

  .nav {
    left: 16px;
    right: 16px;
  }
}

/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-init .reveal {
    opacity: 1;
    transform: none;
  }
}
