/* Universal Downloader landing — dark theme, green accent (#00e676) */

:root {
  --bg: #0b0e11;
  --bg-raised: #12161c;
  --bg-card: #161c24;
  --border: #242c36;
  --text: #e6edf3;
  --muted: #98a4b0;
  --accent: #00e676;
  --accent-dim: #00c864;
  --accent-ink: #04140b;
  --radius: 12px;
  --max-w: 1100px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; font-weight: 650; }

p { margin: 0 0 1em; }

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

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 14, 17, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }

.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
}
.nav-links a { color: var(--muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 650;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: var(--accent-dim); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
  background: var(--accent);
  color: var(--accent-ink);
  white-space: nowrap;
}
.btn-small:hover { background: var(--accent-dim); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.hero .sub, .final-cta .sub {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 34em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 12px;
}

.micro {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-media img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Sections */
.section {
  padding-top: 64px;
  padding-bottom: 64px;
  border-top: 1px solid var(--border);
}

.section > h2 { margin-bottom: 32px; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.step p { color: var(--muted); margin: 0; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  margin-bottom: 14px;
}

.shot {
  margin: 40px 0 0;
}
.shot img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 0 auto;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { color: var(--accent); }
.card p { color: var(--muted); margin: 0; }

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 720px;
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

thead th {
  background: var(--bg-raised);
  font-weight: 650;
}

tbody th {
  font-weight: 600;
  color: var(--muted);
}

tbody tr:last-child th,
tbody tr:last-child td { border-bottom: none; }

.hl {
  background: rgba(0, 230, 118, 0.07);
}
thead .hl { color: var(--accent); }

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.price-card.featured { border-color: var(--accent); }
.price-card h3 { margin-bottom: 4px; }

.price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}
.price-alt {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.price-card li { padding: 4px 0 4px 20px; position: relative; }
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.price-card .btn { margin-top: auto; text-align: center; }

.pay-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 20px;
}

/* FAQ */
.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
}
.faq-list details[open] summary::after { content: "\2212"; }

.faq-list details p {
  padding: 0 20px 16px;
  margin: 0;
  color: var(--muted);
}

/* Final CTA */
.final-cta {
  text-align: center;
}
.final-cta .cta-row { justify-content: center; }
.final-cta .sub { margin-left: auto; margin-right: auto; }
.copy-status {
  min-height: 1.5em;
  color: var(--accent);
  font-size: 0.9rem;
  margin: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.site-footer p { margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
  .hero-media { order: -1; }
  .steps, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .nav { flex-wrap: wrap; gap: 10px; }
  .nav-links { order: 3; width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 12px; }
  .btn-small { margin-left: auto; }
  .steps, .feature-grid, .price-grid { grid-template-columns: 1fr; }
  .section { padding-top: 48px; padding-bottom: 48px; }
}
