/* =========================================================================
   Virtual Chat — landing page styles
   ─────────────────────────────────────────────────────────────────────────
   Theme: black backgrounds with orange (#af4f00) accents and a neon-green
   (#00ff11) font border/glow. The --bkg gradient drives the hero & dividers.
   ========================================================================= */

:root {
  /* ── brand theme (required tokens) ── */
  --main: #af4f00;
  --bkg: linear-gradient(135deg, #000000 0%, #250000 80%, var(--main) 100%);
  --main-font-border: #00ff11;

  /* ── derived palette ── */
  --main-bright: #ff8c2e;
  --main-soft: #e07a26;
  --main-dim: rgba(175, 79, 0, 0.32);
  --green-dim: rgba(0, 255, 17, 0.28);
  --bg: #000000;
  --surface: #0b0b0b;
  --surface-2: #131313;
  --text: #ebebeb;
  --text-dim: #9c9c9c;
  --line: rgba(255, 255, 255, 0.08);

  /* ── type & geometry ── */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "Fira Code", "Cascadia Code", Consolas, "Liberation Mono", monospace;
  --radius: 14px;
  --nav-h: 64px;
}

/* ─────────────────────────── reset & base ─────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(255, 140, 46, 0.35);
  color: #fff;
}

a {
  color: var(--main-bright);
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  color: #ffab66;
}

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

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─────────────────────────── neon typography ─────────────────────────── */
.neon-title {
  color: #fff;
  text-shadow:
    0 0 6px rgba(175, 79, 0, 0.85),
    0 0 22px rgba(175, 79, 0, 0.5),
    0 0 60px rgba(175, 79, 0, 0.3);
}

.section-kicker {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--main-font-border);
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0.4rem 0 1.4rem;
  padding-bottom: 0.55rem;
  display: inline-block;
  color: #fff;
  text-shadow: 0 0 8px rgba(0, 255, 17, 0.5), 0 0 26px rgba(0, 255, 17, 0.22);
  border-bottom: 2px solid var(--main-font-border);
  box-shadow: 0 3px 12px -6px rgba(0, 255, 17, 0.4);
}

section {
  padding: 5rem 0;
}

.lead {
  color: var(--text-dim);
  max-width: 720px;
}

/* ─────────────────────────── navigation ─────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--main-dim);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.3px;
}
.brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  box-shadow: 0 0 12px rgba(0, 255, 17, 0.4);
}
.brand span {
  background: linear-gradient(90deg, var(--main-bright), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: #fff;
}
.nav-links a.active {
  color: var(--main-bright);
  border-bottom-color: var(--main-font-border);
}
.nav-links a.nav-cta {
  color: var(--main-font-border);
  border: 1px solid var(--main-font-border);
  box-shadow: 0 0 12px rgba(0, 255, 17, 0.22);
}
.nav-links a.nav-cta:hover {
  background: rgba(0, 255, 17, 0.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--main-dim);
  border-radius: 8px;
  cursor: pointer;
  padding: 0 9px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--main-font-border);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─────────────────────────── hero ─────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bkg);
  background-attachment: fixed;
  padding: calc(var(--nav-h) + 3rem) 1.5rem 4.5rem;
}

.hero::after {
  /* subtle darkening so text stays readable over the gradient */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 35%, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-canvas--hidden {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.hero-logo {
  width: 282x;
  height: 282px;
  padding: 6rem;
  object-fit: contain;
  margin: 0 auto 1.6rem;
  border-radius: 22px;
  box-shadow:
    0 0 0 2px var(--main-font-border),
    0 0 26px rgba(0, 255, 17, 0.4),
    0 0 64px rgba(175, 79, 0, 0.55);
  animation: heroFloat 6s ease-in-out infinite;
}

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

.hero-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--main-font-border);
  border: 1px solid var(--main-font-border);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.4rem;
  opacity: 0.9;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  font-weight: 600;
  margin-top: 0.9rem;
  color: var(--main-bright);
  text-shadow: 0 0 14px rgba(255, 140, 46, 0.5);
}

.hero-desc {
  margin: 1.2rem auto 0;
  max-width: 640px;
  font-size: 1.02rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.2rem;
}

/* ─────────────────────────── buttons ─────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn-primary {
  background: linear-gradient(180deg, var(--main-bright), var(--main));
  color: #fff;
  box-shadow: 0 0 20px rgba(175, 79, 0, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(175, 79, 0, 0.85);
  color: #fff;
}

.btn-ghost {
  background: rgba(0, 0, 0, 0.45);
  border-color: var(--main-font-border);
  color: var(--main-font-border);
  box-shadow: 0 0 14px rgba(0, 255, 17, 0.18);
}
.btn-ghost:hover {
  background: rgba(0, 255, 17, 0.1);
  color: var(--main-font-border);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0, 255, 17, 0.4);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem 2rem;
  margin-top: 2.4rem;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.hero-meta span::before {
  content: "◆ ";
  color: var(--main-font-border);
  font-size: 0.7em;
}

/* ─────────────────────────── features ─────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.3rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--main-dim);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--main-font-border), transparent);
  opacity: 0.4;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--main-font-border);
  box-shadow: 0 10px 34px rgba(0, 255, 17, 0.12);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  display: inline-block;
  filter: drop-shadow(0 0 8px rgba(255, 140, 46, 0.5));
}
.feature-card h3 {
  color: var(--main-bright);
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}
.feature-card p {
  color: var(--text-dim);
  font-size: 0.93rem;
}

/* feature bullet list */
.feature-list {
  list-style: none;
  margin-top: 1.8rem;
  display: grid;
  gap: 0.85rem;
}
.feature-list li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--main-dim);
  border-radius: var(--radius);
  padding: 1rem 1.4rem 1rem 2.8rem;
  color: var(--text-dim);
  font-size: 0.97rem;
  line-height: 1.6;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 1.35rem;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--main-font-border);
  box-shadow: 0 0 10px rgba(0, 255, 17, 0.7);
  transform: rotate(45deg);
}
.feature-list li:hover {
  border-color: var(--main-font-border);
  box-shadow: 0 8px 26px rgba(0, 255, 17, 0.1);
  transform: translateX(4px);
}

/* ─────────────────────────── screenshots carousel ─────────────────────────── */
.carousel {
  position: relative;
  max-width: 860px;
  margin: 2rem auto 0;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--main-dim);
  box-shadow: 0 0 40px rgba(175, 79, 0, 0.25);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  cursor: zoom-in;
  background: #000;
}
.carousel-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: contain;
}
.carousel-slide figcaption {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 0.7rem 1rem;
  background: var(--surface);
  border-top: 1px solid var(--main-dim);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--main-dim);
  background: rgba(0, 0, 0, 0.7);
  color: var(--main-bright);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, background 0.2s;
}
.carousel-btn:hover {
  border-color: var(--main-font-border);
  color: var(--main-font-border);
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 0 14px rgba(0, 255, 17, 0.35);
}
.carousel-btn--prev {
  left: -70px;
}
.carousel-btn--next {
  right: -70px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--main-font-border);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.carousel-dot:hover {
  background: rgba(0, 255, 17, 0.3);
}
.carousel-dot.active {
  background: var(--main-font-border);
  box-shadow: 0 0 10px rgba(0, 255, 17, 0.6);
}

.carousel-counter {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-top: 0.8rem;
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--main-dim), 0 0 46px rgba(255, 140, 46, 0.4);
}
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: transparent;
  border: 1px solid var(--main-font-border);
  color: var(--main-font-border);
  font-size: 1.5rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.lightbox-close:hover {
  background: rgba(0, 255, 17, 0.12);
  transform: rotate(90deg);
}

/* ─────────────────────────── demo video ─────────────────────────── */
.video-wrap {
  position: relative;
  margin-top: 2rem;
  border: 1px solid var(--main-dim);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(175, 79, 0, 0.25);
}
.video-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* ─────────────────────────── download / install ─────────────────────────── */
.step {
  margin-top: 2rem;
}
.step h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
  color: #fff;
}
.step h3 .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: #000;
  background: var(--main-font-border);
  box-shadow: 0 0 12px rgba(0, 255, 17, 0.5);
  flex-shrink: 0;
}
.step p {
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}
.step p code {
  color: var(--main-bright);
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
  margin-top: 1.6rem;
}
.dl-card {
  background: var(--surface);
  border: 1px solid var(--main-dim);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.dl-card:hover {
  border-color: var(--main-font-border);
  box-shadow: 0 8px 26px rgba(0, 255, 17, 0.12);
  transform: translateY(-2px);
}
.dl-card h4 {
  color: var(--main-bright);
  margin-bottom: 0.3rem;
}
.dl-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}
.dl-card .btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}

/* code blocks & copy buttons */
.pre-wrap {
  position: relative;
  background: #070707;
  border: 1px solid var(--main-dim);
  border-radius: 10px;
  margin: 0.6rem 0 1.3rem;
  padding: 1.1rem 4.4rem 1.1rem 1.25rem;
  overflow-x: auto;
}
.pre-wrap code {
  font-family: var(--mono);
  font-size: 0.88rem;
  color: #e6e6e6;
  white-space: pre;
  display: block;
}

.copy-btn {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  background: #101010;
  border: 1px solid var(--main-dim);
  color: var(--text-dim);
  border-radius: 6px;
  padding: 0.22rem 0.7rem;
  font-family: var(--font);
  font-size: 0.72rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.copy-btn:hover {
  color: var(--main-bright);
  border-color: var(--main-bright);
}
.copy-btn.copied {
  color: var(--main-font-border);
  border-color: var(--main-font-border);
  box-shadow: 0 0 10px rgba(0, 255, 17, 0.45);
}

/* inline code */
p code,
li code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: rgba(255, 140, 46, 0.12);
  border: 1px solid rgba(255, 140, 46, 0.25);
  color: #ffc891;
  padding: 0.1em 0.42em;
  border-radius: 5px;
}

/* notes */
.note {
  background: rgba(175, 79, 0, 0.09);
  border-left: 4px solid var(--main);
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  margin: 1.2rem 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.note strong {
  color: #fff;
}
.note--green {
  background: rgba(0, 255, 17, 0.07);
  border-left-color: var(--main-font-border);
}
.note--green strong {
  color: var(--main-font-border);
}

/* ─────────────────────────── pricing ─────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--main-dim);
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.price-card:hover {
  border-color: var(--main-bright);
  box-shadow: 0 12px 36px rgba(175, 79, 0, 0.22);
  transform: translateY(-3px);
}
.price-card.featured {
  border-color: var(--main-font-border);
  box-shadow: 0 0 30px rgba(0, 255, 17, 0.16);
}
.price-card .tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--main-font-border);
}
.price-card h3 {
  font-size: 1.25rem;
  color: var(--main-bright);
  margin: 0.5rem 0;
}
.price-card .amount {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
}
.price-card .amount small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-dim);
}
.price-card ul {
  list-style: none;
  margin-top: 1rem;
}
.price-card li {
  color: var(--text-dim);
  font-size: 0.93rem;
  padding: 0.28rem 0;
  padding-left: 1.4rem;
  position: relative;
}
.price-card li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--main-font-border);
  font-size: 0.75em;
  top: 0.42rem;
}

/* ─────────────────────────── FAQ ─────────────────────────── */
.faq-list {
  margin-top: 2rem;
  max-width: 860px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--main-dim);
  border-radius: 10px;
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item[open] {
  border-color: var(--main-font-border);
  box-shadow: 0 6px 24px rgba(0, 255, 17, 0.08);
}
.faq-item summary {
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--main-font-border);
  transition: transform 0.25s;
  line-height: 1;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item[open] summary {
  color: var(--main-bright);
  border-bottom: 1px solid var(--main-dim);
}
.faq-item .faq-body {
  padding: 1rem 1.35rem 1.25rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.faq-item .faq-body ul {
  margin: 0.5rem 0 0 1.2rem;
}
.faq-item .faq-body li {
  margin-bottom: 0.35rem;
}

/* known issues */
.known-issues {
  margin-top: 2.4rem;
  background: rgba(175, 79, 0, 0.07);
  border: 1px solid var(--main-dim);
  border-left: 4px solid var(--main);
  border-radius: 10px;
  padding: 1.4rem 1.5rem;
  max-width: 860px;
}
.known-issues h3 {
  color: var(--main-bright);
  margin-bottom: 0.6rem;
}
.known-issues ul {
  list-style: none;
}
.known-issues li {
  color: var(--text-dim);
  font-size: 0.93rem;
  padding: 0.45rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.known-issues li::before {
  content: "⚠";
  position: absolute;
  left: 0;
  color: var(--main);
}

/* ─────────────────────────── footer ─────────────────────────── */
.site-footer {
  border-top: 1px solid var(--main-dim);
  background: #050505;
  padding: 3rem 0 2.4rem;
  margin-top: 2rem;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 700;
}
.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  font-size: 0.9rem;
}
.footer-links a {
  color: var(--text-dim);
}
.footer-links a:hover {
  color: var(--main-bright);
}
.footer-note {
  width: 100%;
  text-align: center;
  color: #5f5f5f;
  font-size: 0.8rem;
  margin-top: 1.4rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

/* ─────────────────────────── reveal animation ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* If JavaScript didn't start (no-js class never removed in <head>),
   reveal-hidden content must still be visible. */
html.no-js .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ─────────────────────────── responsive ─────────────────────────── */
@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(0, 0, 0, 0.96);
    border-bottom: 1px solid var(--main-dim);
    padding: 0.6rem 1.2rem 1.2rem;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav-links a.nav-cta {
    text-align: center;
    margin-top: 0.4rem;
    border: 1px solid var(--main-font-border);
  }
  section {
    padding: 3.5rem 0;
  }
  .hero {
    background-attachment: scroll;
    padding-top: calc(var(--nav-h) + 2.4rem);
  }
}

@media (max-width: 1000px) {
  .carousel-btn--prev {
    left: -20px;
  }
  .carousel-btn--next {
    right: -20px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 1.1rem;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .pre-wrap {
    padding: 1rem 3.8rem 1rem 1rem;
  }
  .copy-btn {
    position: static;
    display: inline-block;
    margin-top: 0.6rem;
  }
  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
  .carousel-btn--prev {
    left: 0.4rem;
  }
  .carousel-btn--next {
    right: 0.4rem;
  }
}

/* ─────────────────────────── reduced motion ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-logo {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .feature-card:hover,
  .dl-card:hover,
  .price-card:hover {
    transform: none;
  }
  .carousel-track {
    transition: none;
  }
}