:root {
  --bg: #1e1e2e;
  --bg-elevated: #24243a;
  --panel: #111827;
  --panel-soft: rgba(18, 24, 38, 0.9);
  --surface: rgba(31, 41, 55, 0.82);
  --surface-strong: #202738;
  --accent: #e94560;
  --accent-soft: rgba(233, 69, 96, 0.12);
  --success: #4ecca3;
  --info: #4a9eff;
  --muted: #a7b0c0;
  --text: #edf2ff;
  --border: rgba(165, 180, 252, 0.12);
  --shadow: 0 24px 60px rgba(15, 18, 30, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, rgba(233, 69, 96, 0.10), transparent 30%), linear-gradient(180deg, var(--bg), #111421 55%, #0c1019 100%);
  color: var(--text);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 18, 30, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-logo {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 16px rgba(233, 69, 96, 0.2);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #ff8ea6);
  color: #fff;
  box-shadow: 0 8px 20px rgba(233, 69, 96, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.hero {
  padding: 5.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 48rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.76rem;
  color: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  max-width: 12ch;
}

.lead,
.page-intro p,
.feature-card p,
.format-card p,
.donation-card p,
.contact-form,
.faq-list p,
.steps-list,
.feature-list,
.download-panel p {
  color: var(--muted);
}

.hero-meta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  font-size: 0.94rem;
  color: var(--muted);
}

.hero-actions,
.download-actions,
.donation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff7e94);
  color: white;
  box-shadow: 0 18px 28px rgba(233, 69, 96, 0.28);
}

.btn-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.app-window {
  width: min(100%, 500px);
  margin-left: auto;
  background: rgba(17, 24, 39, 0.92);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window-topbar {
  display: flex;
  gap: 0.55rem;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid var(--border);
  background: rgba(15, 19, 26, 0.8);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.window-body {
  padding: 1.1rem;
}

.queue-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 0.92rem;
}

.queue-list {
  display: grid;
  gap: 0.85rem;
}

.queue-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.queue-item.active {
  border-color: rgba(74, 158, 255, 0.5);
  background: rgba(74, 158, 255, 0.08);
}

.thumb {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-block;
}

.thumb-image {
  background: linear-gradient(135deg, var(--accent), #ffb7c5);
}

.thumb-audio {
  background: linear-gradient(135deg, var(--success), #8af0cf);
}

.thumb-video {
  background: linear-gradient(135deg, var(--info), #afcfff);
}

.queue-item strong,
.queue-item small {
  display: block;
}

.queue-item small {
  color: var(--muted);
}

.status {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.status-success {
  background: rgba(78, 204, 163, 0.12);
  color: var(--success);
}

.status-neutral {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.status-info {
  background: rgba(74, 158, 255, 0.12);
  color: var(--info);
}

.mini-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.mini-controls span {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
}

.section {
  padding: 4.2rem 0;
}

.section-alt {
  background: rgba(11, 15, 24, 0.36);
}

.section-header {
  margin-bottom: 2rem;
}

.section-header.left-aligned {
  margin-bottom: 1.3rem;
}

.section-header span {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 18ch;
}

.card-grid {
  display: grid;
  gap: 1.3rem;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.format-card,
.panel,
.testimonial-card,
.download-panel {
  background: rgba(17, 24, 39, 0.88);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 18, 30, 0.22);
}

.feature-card {
  padding: 1.5rem;
}

.feature-card .icon {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--accent-soft), rgba(74, 158, 255, 0.12));
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.format-card h3 small {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.screenshot-card {
  background: rgba(17, 24, 39, 0.88);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 18, 30, 0.22);
  overflow: hidden;
  margin: 0;
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.screenshot-card figcaption {
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.format-card {
  padding: 1.5rem;
}

.format-card ul,
.feature-list,
.steps-list {
  padding-left: 1.2rem;
  margin: 1rem 0 0;
}

.format-card li,
.feature-list li,
.steps-list li {
  margin-bottom: 0.6rem;
}

.testimonial-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.testimonial-card {
  padding: 1.8rem;
}

.testimonial-card p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text);
}

.cta-section {
  padding-bottom: 5rem;
}

.cta-card {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 2.2rem;
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.16), rgba(74, 158, 255, 0.08));
  border: 1px solid var(--border);
  border-radius: 28px;
}

.cta-card h2 {
  margin: 0;
  max-width: 18ch;
}

.page-shell {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.page-intro {
  margin-bottom: 2rem;
}

.page-intro.narrow {
  max-width: 42rem;
}

.page-intro h1 {
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin-bottom: 0.7rem;
}

.panel {
  padding: 1.8rem;
}

.quality-demo {
  margin-top: 1.5rem;
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.quality-demo label {
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.quality-value-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

#qVal {
  min-width: 62px;
  text-align: right;
  color: var(--text);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.format-table-wrap {
  overflow-x: auto;
}

.format-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.02);
  border-radius: 18px;
  overflow: hidden;
}

.format-table th,
.format-table td {
  padding: 1rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.format-table th {
  background: rgba(255,255,255,0.02);
  color: var(--text);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.faq-list p {
  margin: 0.8rem 0 0;
}

.contact-direct {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.contact-direct a {
  color: var(--accent);
  font-weight: 700;
}

.contact-direct a:hover {
  text-decoration: underline;
}

.download-panel {
  padding: 1.7rem;
}

.download-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.meta-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.file-hash {
  margin-top: 1rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(74, 158, 255, 0.5);
}

.donation-panel {
  padding: 0;
  overflow: hidden;
}

.donation-card {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.14), rgba(74, 158, 255, 0.08));
}

.footer {
  border-top: 1px solid var(--border);
  background: rgba(7, 10, 18, 0.8);
  padding: 2rem 0 1.3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  padding-bottom: 1rem;
}

.footer strong {
  font-size: 1rem;
}

.footer p,
.footer a {
  color: var(--muted);
}

.footer-bottom {
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  font-size: 0.86rem;
}

@media (max-width: 920px) {
  .hero-grid,
  .cta-card,
  .testimonial-wrap,
  .footer-grid,
  .download-card,
  .formats-grid,
  .screenshots-grid,
  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .app-window {
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    padding: 0.85rem 0;
  }

  .nav {
    justify-content: center;
  }

  .grid-4,
  .grid-3,
  .formats-grid,
  .screenshots-grid,
  .testimonial-wrap,
  .footer-grid,
  .download-card,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.2rem 0;
  }

  .hero {
    padding-top: 4rem;
  }

  .btn {
    width: 100%;
  }
}


.download-actions {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feedback-grid {
  grid-template-columns: 1fr 1.2fr;
}

.feedback-card,
.feedback-form {
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.95);
}

.feedback-card h3 {
  margin-top: 0;
}

.feedback-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: #cbd5e1;
}

.feedback-card li {
  margin-bottom: 0.75rem;
}

.feedback-note {
  margin-top: 1.25rem;
  color: #94a3b8;
}

.feedback-form {
  display: grid;
  gap: 1rem;
}

.feedback-form label {
  font-weight: 700;
  color: #cbd5e1;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 0.85rem;
  border: 1px solid #334155;
  background: #020617;
  color: #e2e8f0;
}

.feedback-form input::placeholder,
.feedback-form textarea::placeholder {
  color: #94a3b8;
}

.submit-btn {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  border: none;
  background: #38bdf8;
  color: #0f172a;
  font-weight: 700;
  cursor: pointer;
}

.submit-btn:hover {
  background: #22c0ff;
}

.support-card {
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.9);
  text-align: center;
  color: #f8fafc;
}

.support-card:hover {
  transform: translateY(-2px);
}

.footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.footer h3,
.footer h4 {
  margin-bottom: 0.75rem;
}

.footer p,
.footer a {
  color: #94a3b8;
}

.footer-support {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}

.footer-support p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .hero-content,
  .cta-card,
  .grid-3,
  .formats-grid,
  .screenshots-grid,
  .support-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    justify-content: center;
  }
  .header-inner {
    flex-direction: column;
    gap: 1rem;
  }
}
