:root {
  color-scheme: dark;
  --bg: #07070d;
  --bg-soft: #0c0c16;
  --panel: rgba(17, 17, 30, 0.72);
  --panel-strong: rgba(22, 22, 38, 0.92);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f7f7fb;
  --muted: #9d9db4;
  --muted-strong: #c2c2d4;
  --pink: #ff3d8d;
  --pink-soft: #ff7ab3;
  --cyan: #35e6ff;
  --purple: #8b5cf6;
  --green: #42e6a4;
  --red: #ff5c72;
  --yellow: #ffd166;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -20%, rgba(139, 92, 246, 0.16), transparent 55%),
    linear-gradient(180deg, #090912 0%, #07070d 45%, #05050a 100%);
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.42;
}

.glow-pink {
  width: 540px;
  height: 540px;
  top: -230px;
  left: -160px;
  background: rgba(255, 61, 141, 0.34);
}

.glow-cyan {
  width: 480px;
  height: 480px;
  top: 100px;
  right: -200px;
  background: rgba(53, 230, 255, 0.2);
}

.glow-purple {
  width: 620px;
  height: 620px;
  bottom: -330px;
  left: 32%;
  background: rgba(139, 92, 246, 0.22);
}

.grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 8%, black, transparent 68%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 7, 13, 0.68);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple) 60%, var(--cyan));
  box-shadow: 0 8px 24px rgba(255, 61, 141, 0.28);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-mark.small {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.brand-mark.small svg {
  width: 18px;
  height: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
  color: var(--muted-strong);
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  padding-top: clamp(64px, 10vw, 112px);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--pink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.small {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(66, 230, 164, 0.55);
  animation: pulse 2.4s infinite;
}

.hero h1 {
  max-width: 840px;
  margin: 22px auto 0;
  font-size: clamp(2.45rem, 6.4vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 850;
}

.gradient-text {
  background: linear-gradient(100deg, var(--pink) 0%, var(--pink-soft) 36%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 660px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.download-card {
  position: relative;
  max-width: 860px;
  margin: 40px auto 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.download-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 61, 141, 0.36), transparent 35%, transparent 65%, rgba(53, 230, 255, 0.28));
  filter: blur(14px);
  opacity: 0.7;
}

.download-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.input-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 6px 8px 6px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(4, 4, 10, 0.55);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.input-shell:focus-within {
  border-color: rgba(255, 61, 141, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 61, 141, 0.1);
}

.input-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--muted);
}

.input-icon svg {
  width: 21px;
  height: 21px;
}

#url-input {
  width: 100%;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 0.98rem;
}

#url-input::placeholder {
  color: #6e6e86;
}

.paste-btn {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.8rem;
  font-weight: 700;
  transition: color 160ms ease, border-color 160ms ease;
}

.paste-btn:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.primary-btn,
.secondary-btn,
.text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 14px;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.primary-btn {
  padding: 14px 22px;
  border: 0;
  color: #fff;
  background: linear-gradient(120deg, var(--pink), #d92b7c 52%, var(--purple));
  box-shadow: 0 14px 32px rgba(255, 61, 141, 0.26);
  white-space: nowrap;
}

.primary-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(255, 61, 141, 0.34);
}

.primary-btn:disabled,
.secondary-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.primary-btn svg,
.secondary-btn svg {
  width: 18px;
  height: 18px;
}

.secondary-btn {
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.9rem;
}

.secondary-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.09);
}

.text-btn {
  padding: 4px 6px;
  border: 0;
  color: var(--muted-strong);
  background: transparent;
  font-size: 0.86rem;
  font-weight: 650;
}

.text-btn:hover {
  color: var(--text);
}

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.primary-btn[data-loading="true"] .btn-spinner {
  display: inline-block;
}

.primary-btn[data-loading="true"] .btn-arrow {
  display: none;
}

.form-hint {
  margin: 11px 6px 2px;
  color: #74748c;
  font-size: 0.78rem;
}

.error-box {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  max-width: 860px;
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 92, 114, 0.35);
  border-radius: var(--radius-sm);
  color: #ffc4cc;
  background: rgba(255, 92, 114, 0.09);
  text-align: left;
  font-size: 0.9rem;
}

.error-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  color: #2a0b11;
  background: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 26px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.78rem;
  font-weight: 650;
}

.platform-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}

.platform-pill.tiktok i { background: #25f4ee; box-shadow: 3px 0 0 #fe2c55; }
.platform-pill.youtube i { background: #ff3d3d; }
.platform-pill.instagram i { background: linear-gradient(135deg, #f9ce34, #ee2a7b 50%, #6228d7); }
.platform-pill.facebook i { background: #1877f2; }
.platform-pill.x i { background: #f7f7fb; }
.platform-pill.more { color: var(--muted-strong); border-style: dashed; }

.section-block {
  padding-top: 30px;
}

.preview-card,
.progress-card,
.result-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(20px);
  animation: rise 380ms ease both;
}

.preview-card {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 26px;
  padding: 22px;
}

.preview-media {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 61, 141, 0.22), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(53, 230, 255, 0.18), transparent 50%),
    #0b0b15;
}

.preview-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.25);
}

.thumb-fallback svg {
  width: 64px;
  height: 64px;
}

.source-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(5, 5, 12, 0.72);
  backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 750;
}

.preview-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 4px 2px;
}

.preview-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.duration-chip {
  padding: 4px 9px;
  border-radius: 8px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.preview-title {
  margin: 9px 0 0;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.3;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.preview-uploader {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.preview-note {
  margin: 10px 0 0;
  color: var(--muted-strong);
  font-size: 0.86rem;
}

.photo-picker {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.photo-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.photo-picker-head .field-label {
  margin: 0;
}

.photo-count {
  color: var(--muted);
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
}

.photo-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
  max-height: 380px;
  overflow: auto;
  padding: 2px;
  scrollbar-width: thin;
}

.photo-option {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b0b15;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.photo-option:hover {
  border-color: var(--line-strong);
}

.photo-option.is-selected {
  border-color: rgba(255, 61, 141, 0.8);
  box-shadow: 0 0 0 1px rgba(255, 61, 141, 0.25), 0 8px 22px rgba(255, 61, 141, 0.15);
}

.photo-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.photo-option:focus-within {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.photo-thumb {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 61, 141, 0.2), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(53, 230, 255, 0.14), transparent 50%),
    #0a0a13;
}

.photo-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-option.is-selected .photo-thumb::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: 11px;
  right: 13px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.photo-option.is-selected .photo-thumb::after {
  content: '';
  position: absolute;
  top: 7px;
  right: 7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 4px 12px rgba(255, 61, 141, 0.4);
}

.photo-index {
  position: absolute;
  left: 7px;
  bottom: 7px;
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(5, 5, 12, 0.72);
  backdrop-filter: blur(6px);
  font-size: 0.66rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.photo-option.is-missing .photo-thumb {
  opacity: 0.6;
}

.photo-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 7px;
}

.photo-tools .text-btn {
  padding: 3px 0;
}

.text-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.quality-wrap {
  margin-top: 22px;
}

.field-label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quality-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quality-btn {
  min-width: 68px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}

.quality-btn strong {
  display: block;
  color: inherit;
  font-size: 0.86rem;
}

.quality-btn span {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.66rem;
}

.quality-btn:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.quality-btn.is-active {
  border-color: rgba(255, 61, 141, 0.7);
  color: #fff;
  background: rgba(255, 61, 141, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 61, 141, 0.25);
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.progress-card,
.result-card {
  padding: 24px;
}

.progress-head,
.result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.progress-title,
.result-title {
  margin: 5px 0 0;
  font-size: 1.22rem;
  letter-spacing: -0.025em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.progress-side {
  display: flex;
  align-items: center;
  gap: 14px;
}

.progress-percent {
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.progress-track {
  position: relative;
  height: 10px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--purple) 55%, var(--cyan));
  box-shadow: 0 0 22px rgba(255, 61, 141, 0.45);
  transition: width 320ms ease;
}

.progress-fill.is-indeterminate {
  width: 38% !important;
  animation: slide 1.4s ease-in-out infinite;
}

.progress-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.8rem;
}

#progress-detail {
  color: var(--muted-strong);
  font-variant-numeric: tabular-nums;
}

.result-meta {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.result-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-files {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.file-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.file-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0a13;
}

.file-preview > a {
  display: block;
  width: 100%;
  height: 100%;
}

.file-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-preview video {
  width: 100%;
  height: 100%;
  background: #000;
}

.file-icon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.4);
}

.file-icon svg {
  width: 42px;
  height: 42px;
}

.file-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
}

.file-name {
  min-width: 0;
  overflow: hidden;
  color: var(--muted-strong);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-download {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 150ms ease, background 150ms ease;
}

.file-download:hover {
  border-color: rgba(255, 61, 141, 0.6);
  background: rgba(255, 61, 141, 0.16);
}

.file-download svg {
  width: 15px;
  height: 15px;
}

.single-file {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.single-file-main {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.single-file-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  color: var(--pink-soft);
  background: rgba(255, 61, 141, 0.12);
}

.single-file-icon svg {
  width: 23px;
  height: 23px;
}

.single-file-text {
  min-width: 0;
}

.single-file-text strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.single-file-text span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
}

.steps,
.faq {
  padding-top: clamp(80px, 12vw, 130px);
}

.section-heading {
  max-width: 640px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.step-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.step-number {
  color: rgba(255, 61, 141, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.step-card h3 {
  margin: 16px 0 8px;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

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

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 20px 42px 20px 0;
  cursor: pointer;
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--pink-soft);
  font-size: 1.4rem;
  font-weight: 400;
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list p {
  max-width: 820px;
  margin: -4px 0 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  margin-top: clamp(80px, 12vw, 130px);
  border-top: 1px solid var(--line);
  background: rgba(4, 4, 9, 0.45);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 30px 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-weight: 750;
}

.footer-inner p {
  flex: 1 1 320px;
  margin: 0;
  text-align: center;
}

.footer-note {
  color: #6f6f87;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(66, 230, 164, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(66, 230, 164, 0); }
  100% { box-shadow: 0 0 0 0 rgba(66, 230, 164, 0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slide {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(300%); }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1080px);
  }

  .header-inner {
    min-height: 66px;
  }

  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .download-form {
    grid-template-columns: 1fr;
  }

  .primary-btn {
    width: 100%;
  }

  .preview-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
  }

  .preview-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .photo-list {
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    max-height: 320px;
  }

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

  .progress-head,
  .result-head {
    flex-direction: column;
  }

  .result-actions {
    width: 100%;
    justify-content: space-between;
  }

  .progress-side {
    width: 100%;
    justify-content: space-between;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner p {
    text-align: center;
  }
}

@media (max-width: 460px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .download-card {
    padding: 10px;
    border-radius: 22px;
  }

  .input-shell {
    padding-left: 13px;
  }

  .paste-btn {
    padding: 7px 9px;
  }

  .preview-actions {
    flex-direction: column;
  }

  .preview-actions .primary-btn,
  .preview-actions .secondary-btn {
    width: 100%;
  }

  .result-files {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .single-file {
    align-items: flex-start;
    flex-direction: column;
  }

  .single-file .secondary-btn {
    width: 100%;
  }
}

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

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