:root {
  --bg: #07090f;
  --bg-soft: #0d1117;
  --card: #10161f;
  --border: #1f2937;
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #e1306c;
  --accent-2: #833ab4;
  --accent-3: #fd1d1d;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 70% 0%, rgba(225, 48, 108, 0.18), transparent 60%),
    radial-gradient(50% 40% at 15% 10%, rgba(131, 58, 180, 0.16), transparent 60%),
    radial-gradient(40% 30% at 50% 100%, rgba(253, 29, 29, 0.08), transparent 60%);
  pointer-events: none;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(7, 9, 15, 0.75);
  border-bottom: 1px solid rgba(31, 41, 55, 0.6);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.brand em {
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.85em;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent) 55%, var(--accent-3));
  color: #fff;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
  border-radius: 10px;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  padding: 12px 22px;
  box-shadow: 0 6px 22px rgba(225, 48, 108, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 8px;
}

.hero {
  padding: 84px 0 40px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(131, 58, 180, 0.18);
  border: 1px solid rgba(131, 58, 180, 0.4);
  color: #d8b6ff;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero h1 {
  background: linear-gradient(120deg, #fff, #ffd0e0 60%, #d8b6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 640px;
  margin: 0 auto 34px;
}

.download-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}

.download-field {
  display: flex;
  gap: 12px;
}

.download-field input {
  flex: 1;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: 15px 18px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.download-field input::placeholder {
  color: #6b7280;
}

.download-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.2);
}

.btn-download {
  background: linear-gradient(135deg, var(--accent-2), var(--accent) 55%, var(--accent-3));
  color: #fff;
  padding: 15px 30px;
  font-size: 1rem;
  box-shadow: 0 6px 24px rgba(225, 48, 108, 0.4);
}

.btn-download:hover {
  filter: brightness(1.08);
}

.hint {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--muted);
}

.hint code {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 0.82rem;
}

.status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
}

.status.error {
  background: rgba(248, 81, 73, 0.12);
  border: 1px solid rgba(248, 81, 73, 0.4);
  color: #ffb3ab;
}

.results {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.results-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.results-head .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.results-head .cap-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.results-head .cap-sub {
  color: var(--muted);
  font-size: 0.82rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 6px;
}

.media-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  animation: fadeUp 0.4s ease both;
}

.media-preview {
  position: relative;
  aspect-ratio: 1;
  background: #000;
  overflow: hidden;
}

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

.type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(7, 9, 15, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.media-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
}

.media-name {
  font-size: 0.82rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 30px;
}

.dot {
  opacity: 0.5;
}

.section {
  padding: 70px 0;
}

.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.01em;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin-top: 10px;
  margin-bottom: 40px;
}

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

.tool-card,
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.25s, transform 0.25s;
}

.tool-card:hover,
.feature:hover {
  border-color: rgba(225, 48, 108, 0.5);
  transform: translateY(-4px);
}

.tool-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.25), rgba(225, 48, 108, 0.25));
  border: 1px solid rgba(131, 58, 180, 0.35);
  margin-bottom: 16px;
}

.tool-card h3,
.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.tool-card p,
.feature p {
  color: var(--muted);
  font-size: 0.92rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
}

.step-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.step p {
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-list {
  max-width: 760px;
  margin: 20px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 0.94rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.muted {
  color: var(--muted);
  font-size: 0.86rem;
  max-width: 560px;
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .nav .btn-sm {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  .download-field {
    flex-direction: column;
  }

  .download-field input {
    width: 100%;
  }
}