/* === WiseTrax Website Styles === */

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

:root {
  --bg-void: #080c12;
  --bg-deep: #0c1218;
  --bg-main: #111820;
  --bg-panel: #182030;
  --bg-card: #1e2a38;
  --text-dim: #4a5a6a;
  --text-muted: #6a7a8a;
  --text-body: #8a9aaa;
  --text-light: #c0ccd8;
  --text-bright: #e8eef4;
  --accent-green: #3ddc84;
  --accent-green-dim: rgba(61,220,132,0.15);
  --accent-orange: #e09030;
  --accent-yellow: #c8a832;
  --accent-purple: #8b6cc0;
  --accent-teal: #4ec9a0;
  --accent-red: #e05050;
  --maxw: 1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', 'JetBrains Mono', sans-serif;
  background: var(--bg-void);
  color: var(--text-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

code, kbd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88em;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--text-light);
}

::selection { background: rgba(61,220,132,0.25); color: var(--text-bright); }

/* ─── Pattern Rain Canvas ─── */
#rain {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ─── Cursor Glow ─── */
#cursor-glow {
  position: fixed;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,220,132,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  will-change: left, top;
  display: none;
}
body:hover #cursor-glow { display: block; }

/* ─── Navigation ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, var(--bg-void) 35%, transparent);
  pointer-events: none;
}
nav > * { pointer-events: auto; }

.nav-logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0.5px;
  line-height: 1.1;
  text-decoration: none;
}
.nav-logo span {
  color: var(--accent-green);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  display: block;
  margin-top: 2px;
  text-transform: uppercase;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
.nav-link:hover { color: var(--text-light); }

.nav-download {
  font-size: 13px;
  font-weight: 600;
  color: var(--bg-void);
  background: var(--accent-green);
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
}
.nav-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(61,220,132,0.25);
}

.nav-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 36px;
  border-radius: 8px;
  background: rgba(88,101,242,0.16);
  color: #aab2f8;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.nav-discord:hover {
  background: #5865F2;
  color: #fff;
  transform: translateY(-1px);
}
.nav-discord svg { display: block; }

/* ─── Download buttons ─── */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-green);
  color: var(--bg-void);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.25s;
  box-shadow: 0 8px 30px rgba(61,220,132,0.18);
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(61,220,132,0.3);
}
.btn-download svg { flex-shrink: 0; }
.btn-lg { font-size: 17px; padding: 17px 34px; }
.dl-size { font-weight: 400; opacity: 0.7; }

/* ─── Hero ─── */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 130px 40px 60px;
  text-align: center;
}

.hero-version {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  color: var(--accent-green);
  border: 1px solid var(--accent-green-dim);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero-title {
  font-size: clamp(52px, 9vw, 112px);
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -3px;
  line-height: 0.95;
  margin-bottom: 12px;
  text-shadow: 0 0 80px rgba(61,220,132,0.12);
}

.hero-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(10px, 1.4vw, 14px);
  font-weight: 400;
  color: var(--accent-green);
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-bottom: 30px;
  opacity: 0.8;
}

.hero-tagline {
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 64px;
}
.hero-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.hero-screenshot {
  position: relative;
  max-width: var(--maxw);
  width: 92%;
  perspective: 1200px;
}
.hero-screenshot img {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(61,220,132,0.12);
  box-shadow:
    0 25px 80px rgba(0,0,0,0.6),
    0 0 100px rgba(61,220,132,0.06);
  transition: transform 0.3s ease;
  will-change: transform;
}

/* ─── Scroll Hint ─── */
.scroll-hint {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: hint-pulse 2.5s ease-in-out infinite;
}
.scroll-hint-arrow {
  width: 16px; height: 16px;
  border-right: 1.5px solid var(--text-dim);
  border-bottom: 1.5px solid var(--text-dim);
  transform: rotate(45deg);
  margin-top: -4px;
}
@keyframes hint-pulse {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 0.7; transform: translateY(6px); }
}

/* ─── Intro / elevator pitch ─── */
.intro {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 110px 40px 30px;
  text-align: center;
}
.intro-copy {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-body);
}
.intro-copy strong { color: var(--text-bright); font-weight: 600; }
.intro-dim {
  margin-top: 22px;
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--text-dim);
}

/* ─── Feature sections ─── */
.feature {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 70px 40px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.feature-reverse .feature-text { order: 2; }
.feature-reverse .feature-shot { order: 1; }

.feature-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 16px;
}
.feature-head {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  color: var(--text-bright);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 18px;
}
.feature-copy {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 22px;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.feature-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  opacity: 0.7;
}
.feature-list strong { color: var(--text-light); font-weight: 600; }

/* Screenshot frames */
.shot-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.shot-frame img { width: 100%; display: block; }
.feature-shot:hover .shot-frame {
  transform: translateY(-4px);
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 0 60px rgba(61,220,132,0.05);
}
/* Portrait screenshot in a two-column feature: cap height, and push it to the
   column's outer edge so it mirrors the text and the block reads as balanced
   (a centred portrait would leave a big gap and look left-heavy). */
.feature-shot-portrait { text-align: right; }
.feature-reverse .feature-shot-portrait { text-align: left; }
.feature-shot-portrait .shot-frame { display: inline-block; }
.feature-shot-portrait .shot-frame img { max-height: 480px; width: auto; max-width: 100%; }
.shot-placeholder {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 12px, transparent 12px 24px),
    var(--bg-panel);
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-align: center;
  line-height: 1.8;
  letter-spacing: 1px;
}

/* Theme chips */
.themes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.theme-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  padding: 5px 13px 5px 26px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  position: relative;
}
.theme-chip::before {
  content: "";
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--c, var(--accent-green));
  box-shadow: 0 0 10px var(--c, var(--accent-green));
}

/* ─── Song-sequencer banner (full-width strip) ─── */
.banner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 24px auto;
  padding: 30px 36px 34px;
  background: linear-gradient(180deg, rgba(30,42,56,0.4), rgba(24,32,48,0.18));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
}
.banner-text { text-align: center; max-width: 640px; margin: 0 auto 22px; }
.banner-text .feature-label { margin-bottom: 10px; }
.banner-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}
.banner-strip {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.banner-strip img { width: 100%; display: block; }

/* ─── Centered single-column feature block (sampling, classic modules) ─── */
.feature-block {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 70px 40px;
}
.feature-text-center { text-align: center; max-width: 680px; margin: 0 auto; }

/* Two-image collage (sampling) */
.collage {
  max-width: var(--maxw);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 20px;
  align-items: start;
}
/* Stacked variant — sits inside a feature's image column (rhythm panel above the
   grooves browser), so two shots share one side without shrinking too far. */
.collage-tight {
  margin: 0;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Inline 3-up bullet row */
.feature-list-inline {
  max-width: 1000px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Compact block with a small dialog screenshot (classic modules) */
.feature-block-compact { padding: 50px 40px 60px; }
.shot-dialog {
  max-width: 540px;
  margin: 30px auto 0;
}
.shot-dialog img { width: 100%; display: block; }
/* The file menu is a small, high-DPI capture (~521px wide). At the default 540px
   cap it renders near 1:1, so its text looks huge next to the page. Cap it
   narrower so it scales down to roughly the same ratio as the other shots. */
.shot-dialog-narrow { max-width: 325px; }

/* ─── Specs strip ─── */
.specs {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 50px auto;
  padding: 44px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
  background: linear-gradient(180deg, rgba(30,42,56,0.4), rgba(24,32,48,0.2));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
}
.spec { text-align: center; min-width: 110px; }
.spec-num {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  color: var(--accent-green);
  letter-spacing: -2px;
  line-height: 1;
  text-shadow: 0 0 40px rgba(61,220,132,0.2);
}
.spec-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  letter-spacing: 0.5px;
}

/* ─── Download ─── */
.download {
  position: relative;
  z-index: 2;
  padding: 70px 40px;
  display: flex;
  justify-content: center;
}
.download-card {
  max-width: 620px;
  width: 100%;
  text-align: center;
  padding: 50px 44px;
  background: linear-gradient(180deg, rgba(30,42,56,0.55), rgba(18,24,34,0.5));
  border: 1px solid rgba(61,220,132,0.14);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.download-version {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent-green);
  border: 1px solid var(--accent-green-dim);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.download-head {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: var(--text-bright);
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.download-notes {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto 28px;
}
.download-notes a {
  color: var(--accent-green);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-green-dim);
  transition: border-color 0.2s;
}
.download-notes a:hover { border-color: var(--accent-green); }

.requirements {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: left;
}
.requirements h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.requirements ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.requirements li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.requirements li::before {
  content: "›";
  position: absolute;
  left: 4px;
  color: var(--accent-green);
}

.install {
  margin-top: 24px;
  text-align: left;
}
.install summary {
  cursor: pointer;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
  list-style: none;
  padding: 10px 0;
  user-select: none;
}
.install summary::before {
  content: "+ ";
  color: var(--accent-green);
  font-family: 'JetBrains Mono', monospace;
}
.install[open] summary::before { content: "– "; }
.install ol {
  margin: 8px 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Community / beta call ─── */
.community {
  position: relative;
  z-index: 2;
  padding: 40px 40px 10px;
  display: flex;
  justify-content: center;
}
.community-inner {
  max-width: 620px;
  width: 100%;
  text-align: center;
  padding: 46px 44px;
  background: linear-gradient(180deg, rgba(88,101,242,0.12), rgba(18,24,34,0.35));
  border: 1px solid rgba(88,101,242,0.22);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.community .feature-label { color: #aab2f8; margin-bottom: 14px; }
.community-head {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: var(--text-bright);
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.community-copy {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 26px;
}

/* ─── FAQ ─── */
.faq {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 40px 40px;
}
.faq-head {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: var(--text-bright);
  letter-spacing: -0.5px;
  margin-bottom: 28px;
  text-align: center;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 36px 20px 0;
  position: relative;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light);
  user-select: none;
  transition: color 0.2s;
}
.faq-item summary:hover { color: var(--text-bright); }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-green);
  font-size: 20px;
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
  padding: 0 0 22px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
}
.faq-item a,
.faq-item a:visited {
  color: var(--accent-green);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-green-dim);
  transition: border-color 0.2s;
}
.faq-item a:hover { border-color: var(--accent-green); }

/* ─── Release notes ─── */
.releases {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 40px 20px;
}
.releases-head {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 600;
  color: var(--text-bright);
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 6px;
}
.releases-sub {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 22px;
}
.release-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.release-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 16px 36px 16px 0;
  position: relative;
  user-select: none;
}
.release-item summary::-webkit-details-marker { display: none; }
.release-item summary::after {
  content: "+";
  position: absolute;
  right: 6px; top: 18px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-green);
  font-size: 18px;
  transition: transform 0.25s;
}
.release-item[open] summary::after { transform: rotate(45deg); }
.rel-ver {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-green);
  border: 1px solid var(--accent-green-dim);
  padding: 2px 9px;
  border-radius: 20px;
  flex-shrink: 0;
}
.rel-title {
  font-size: 14.5px;
  color: var(--text-light);
  font-weight: 500;
  flex: 1;
  min-width: 50%;
}
.rel-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  flex-shrink: 0;
}
.release-body {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 4px 0 20px 2px;
}
.release-body li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.release-body li::before {
  content: "›";
  position: absolute;
  left: 2px;
  color: var(--accent-green);
}

/* ─── Rebel Line ─── */
.rebel-section {
  position: relative;
  z-index: 2;
  padding: 60px 40px 26px;
  text-align: center;
}
.rebel-line {
  font-size: clamp(18px, 2.6vw, 32px);
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.3px;
  line-height: 1.8;
}
.rebel-line em {
  color: var(--text-light);
  font-style: normal;
  font-weight: 600;
}

/* ─── Discord link ─── */
.discord-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: #5865F2;
  color: white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.discord-link:hover { background: #4752c4; transform: translateY(-1px); }
.discord-link svg { flex-shrink: 0; }

/* ─── Note Flash (keyboard interaction) ─── */
#note-flash {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  padding: 10px 22px;
  background: var(--bg-card);
  border: 1px solid rgba(61,220,132,0.3);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  color: var(--accent-green);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.12s, transform 0.12s;
  pointer-events: none;
  box-shadow: 0 0 30px rgba(61,220,132,0.1);
  letter-spacing: 2px;
  font-family: 'JetBrains Mono', monospace;
}
#note-flash.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── Footer ─── */
/* ─── Section break (between the rebel line and the footer) ─── */
.section-break {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.section-break::before,
.section-break::after {
  content: "";
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61,220,132,0.4));
}
.section-break::after { transform: scaleX(-1); }
.section-break span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

footer {
  position: relative;
  z-index: 2;
  padding: 26px 40px 48px;
  text-align: center;
}
.footer-dev {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 400;
}
.footer-dev strong { color: var(--text-light); font-weight: 600; }
.footer-dev a {
  text-decoration: none;
  border-bottom: 1px solid var(--accent-green-dim);
  transition: color 0.2s, border-color 0.2s;
}
.footer-dev a strong { transition: color 0.2s; }
.footer-dev a:hover strong { color: var(--accent-green); }
.footer-dev a:hover { border-color: var(--accent-green); }
.footer-links { margin-bottom: 28px; }
.footer-legal {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  line-height: 2;
  letter-spacing: 0.3px;
}

/* ─── Keyboard hint ─── */
.keyboard-hint {
  position: fixed;
  bottom: 16px;
  right: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0;
  animation: kb-fade 1s 3s ease forwards;
  pointer-events: none;
}
.keyboard-hint kbd {
  display: inline-block;
  padding: 2px 7px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  font-size: 10px;
  color: var(--text-muted);
}
@keyframes kb-fade { 0% { opacity: 0; } 100% { opacity: 0.6; } }
.keyboard-hint.hidden { opacity: 0 !important; transition: opacity 0.3s; }

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.35s; }

/* ─── Responsive ─── */
@media (max-width: 860px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 55px 30px;
  }
  .feature-reverse .feature-text { order: 1; }
  .feature-reverse .feature-shot { order: 2; }
  .feature-block { padding: 55px 30px; }
  .collage { grid-template-columns: 1fr; gap: 16px; }
  .feature-list-inline { grid-template-columns: 1fr; gap: 11px; max-width: 460px; }
  /* Single column on mobile — centre the portrait shot again */
  .feature-shot-portrait,
  .feature-reverse .feature-shot-portrait { text-align: center; }
}

@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-right { gap: 14px; }
  .nav-link { display: none; }
  .hero { padding: 110px 20px 40px; }
  .hero-title { letter-spacing: -1px; }
  .hero-subtitle { letter-spacing: 4px; }
  .hero-screenshot { width: 98%; }
  .intro { padding: 70px 22px 20px; }
  .specs { gap: 22px 30px; padding: 34px 24px; }
  .download-card { padding: 38px 24px; }
  .faq { padding: 50px 22px 30px; }
  .rebel-section { padding: 48px 22px 40px; }
  footer { padding: 36px 22px 40px; }
}

@media (max-width: 480px) {
  .hero-tagline { font-size: 20px; }
  .spec { min-width: 80px; }
  /* Keep the download buttons from getting oversized / overflowing on phones */
  .btn-download { font-size: 14px; padding: 13px 18px; gap: 8px; max-width: 100%; }
  .btn-lg { font-size: 14.5px; padding: 14px 20px; }
  .dl-size { display: none; }   /* drop the "· ~5 MB" suffix on small screens */
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint { animation: none; }
  #rain { display: none; }
}
