/* ==========================================================================
   IRAN DUTY — Official Android Download Page Stylesheet
   Palette:
     #05070D (Primary Background)
     #0A1020 (Secondary Surface)
     #287BFF (Electric Blue)
     #00D9F5 (Cyan)
     #55A6FF (Highlight Blue)
     #F5F7FF (White)
   ========================================================================== */

:root {
  --bg-void: #05070D;
  --bg-surface: #0A1020;
  --bg-glass: rgba(10, 16, 32, 0.62);
  --bg-glass-strong: rgba(10, 16, 32, 0.82);
  --electric-blue: #287BFF;
  --cyan: #00D9F5;
  --highlight-blue: #55A6FF;
  --text-main: #F5F7FF;
  --text-muted: #9AA8C7;
  --text-dim: #6C7B99;
  --border-subtle: rgba(85, 166, 255, 0.16);
  --border-glow: rgba(0, 217, 245, 0.38);
  --font-fa: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  --font-en: 'Rajdhani', 'Vazirmatn', sans-serif;
  --container-max: 1220px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-main);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-fa);
  background-color: var(--bg-void);
  color: var(--text-main);
  line-height: 1.75;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

/* ==========================================================================
   FULL-PAGE PARTICLE NETWORK & ATMOSPHERIC LIGHTING
   ========================================================================== */
#network-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

#mouse-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 680px;
  height: 680px;
  margin-top: -340px;
  margin-left: -340px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(40, 123, 255, 0.16) 0%,
    rgba(0, 217, 245, 0.08) 32%,
    rgba(5, 7, 13, 0) 70%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.45s ease;
  will-change: transform;
}

.ambient-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 18% 12%, rgba(40, 123, 255, 0.14), transparent 65%),
    radial-gradient(ellipse 60% 45% at 85% 78%, rgba(0, 217, 245, 0.09), transparent 65%);
}

.page-shell {
  position: relative;
  z-index: 2;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-block: 1rem;
  transition: background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), backdrop-filter 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background-color: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(85, 166, 255, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-emblem {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(40, 123, 255, 0.25), rgba(0, 217, 245, 0.12));
  border: 1px solid rgba(85, 166, 255, 0.35);
  box-shadow: 0 0 22px rgba(40, 123, 255, 0.28);
}

.brand-emblem svg {
  width: 22px;
  height: 22px;
  fill: var(--cyan);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--text-main);
}

.brand-subtitle-fa {
  font-size: 0.78rem;
  color: var(--highlight-blue);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(10, 16, 32, 0.6);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.btn-ghost:hover {
  border-color: var(--highlight-blue);
  background: rgba(40, 123, 255, 0.14);
}

.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.58rem 1.15rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  background: var(--electric-blue);
  box-shadow: 0 0 24px rgba(40, 123, 255, 0.35);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.btn-nav-primary:hover {
  background: var(--highlight-blue);
  box-shadow: 0 0 30px rgba(0, 217, 245, 0.45);
  transform: translateY(-1px);
}

/* ==========================================================================
   BUTTONS (MAGNETIC & PRIMARY CTA)
   ========================================================================== */
.btn-download-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 2.1rem;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  background: linear-gradient(135deg, var(--electric-blue) 0%, #155EEF 100%);
  border: 1px solid rgba(0, 217, 245, 0.45);
  box-shadow:
    0 14px 36px -8px rgba(40, 123, 255, 0.62),
    0 0 28px rgba(0, 217, 245, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s ease, filter 0.25s ease;
  overflow: hidden;
  will-change: transform;
}

.btn-download-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.22) 50%, transparent 75%);
  transform: translateX(120%);
  transition: transform 0.65s var(--ease-out);
}

.btn-download-primary:hover::before {
  transform: translateX(-120%);
}

.btn-download-primary:hover {
  box-shadow:
    0 18px 44px -6px rgba(40, 123, 255, 0.78),
    0 0 40px rgba(0, 217, 245, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-download-primary.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.5);
  box-shadow: none;
}

.btn-download-primary svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.6rem;
  border-radius: 14px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(10, 16, 32, 0.66);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.btn-secondary-link:hover {
  border-color: var(--cyan);
  background: rgba(0, 217, 245, 0.08);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-block: 3.5rem 5rem;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0, 217, 245, 0.09);
  border: 1px solid rgba(0, 217, 245, 0.32);
  box-shadow: 0 0 24px rgba(0, 217, 245, 0.14);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulseDot 2.2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.25rem, 4.4vw, 3.85rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--text-main);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.65);
}

.hero-description {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.85;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-telemetry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(85, 166, 255, 0.14);
  width: 100%;
  max-width: 520px;
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.telemetry-label {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.telemetry-value {
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--highlight-blue);
}

.telemetry-value.is-fa {
  font-family: var(--font-fa);
  color: var(--text-main);
  font-size: 0.96rem;
}

/* Hero Visual Composition (User-Provided Image) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.hero-glow-aura {
  position: absolute;
  width: 88%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(40, 123, 255, 0.34) 0%,
    rgba(0, 217, 245, 0.16) 40%,
    rgba(5, 7, 13, 0) 72%
  );
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  width: 82%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px dashed rgba(85, 166, 255, 0.2);
  z-index: 0;
  pointer-events: none;
  animation: slowSpin 42s linear infinite;
}

.hero-artwork-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 540px;
  will-change: transform;
}

.hero-artwork-float {
  animation: floatArtwork 6.5s ease-in-out infinite;
  will-change: transform;
}

.hero-artwork-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 28px 48px rgba(0, 0, 0, 0.85))
    drop-shadow(0 0 36px rgba(40, 123, 255, 0.28));
}

/* ==========================================================================
   SECTION COMMON
   ========================================================================== */
.section-block {
  padding-block: 4.5rem;
  position: relative;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 60ch;
}

/* ==========================================================================
   LATEST VERSION DOWNLOAD PANEL
   ========================================================================== */
.release-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow:
    0 32px 80px -24px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.release-panel::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--electric-blue), transparent);
  opacity: 0.75;
}

.release-panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid var(--border-subtle);
  background: rgba(10, 16, 32, 0.8);
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--highlight-blue);
}

.status-pill.is-ready {
  color: var(--cyan);
  border-color: rgba(0, 217, 245, 0.35);
  background: rgba(0, 217, 245, 0.08);
}

.status-pill.is-ready::before {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.status-pill.is-loading {
  color: var(--highlight-blue);
}

.status-pill.is-unavailable,
.status-pill.is-error {
  color: #FCA5A5;
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.08);
}

.status-pill.is-unavailable::before,
.status-pill.is-error::before {
  background: #F87171;
}

.release-specs-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.spec-cell {
  background: rgba(5, 7, 13, 0.56);
  border: 1px solid rgba(85, 166, 255, 0.12);
  border-radius: 14px;
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.spec-label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.spec-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.spec-value.is-latin {
  font-family: var(--font-en);
  font-size: 1.2rem;
  color: var(--cyan);
  direction: ltr;
  text-align: right;
}

.release-action-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(85, 166, 255, 0.14);
}

.release-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.state-box {
  padding: 2rem 1.25rem;
  text-align: center;
  border-radius: 16px;
  background: rgba(5, 7, 13, 0.52);
  border: 1px dashed rgba(85, 166, 255, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.state-box[hidden] {
  display: none;
}

.spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(85, 166, 255, 0.2);
  border-top-color: var(--cyan);
  animation: slowSpin 0.85s linear infinite;
}

.btn-retry {
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
  border: 1px solid var(--electric-blue);
  background: rgba(40, 123, 255, 0.18);
  color: var(--text-main);
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.btn-retry:hover {
  background: var(--electric-blue);
}

/* ==========================================================================
   CHANGELOG TIMELINE
   ========================================================================== */
.changelog-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-inline-start: 1.5rem;
  border-inline-start: 1px solid rgba(85, 166, 255, 0.22);
}

.timeline-entry {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}

.timeline-marker {
  position: absolute;
  inset-inline-start: -1.94rem;
  top: 0.45rem;
}

.timeline-dot {
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg-void);
  border: 2.5px solid var(--cyan);
  box-shadow: 0 0 16px rgba(0, 217, 245, 0.65);
}

.timeline-body {
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.6rem 1.75rem;
}

.timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.timeline-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.timeline-version {
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.timeline-badge {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(85, 166, 255, 0.1);
  border: 1px solid rgba(85, 166, 255, 0.22);
}

.timeline-badge.is-latest {
  color: var(--cyan);
  background: rgba(0, 217, 245, 0.1);
  border-color: rgba(0, 217, 245, 0.35);
}

.timeline-date {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.timeline-summary {
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  font-size: 0.96rem;
}

.changelog-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.changelog-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.change-type {
  flex-shrink: 0;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.18rem 0.6rem;
  border-radius: 6px;
  margin-top: 0.2rem;
}

.change-type.is-new {
  color: var(--cyan);
  background: rgba(0, 217, 245, 0.12);
}

.change-type.is-improve {
  color: var(--highlight-blue);
  background: rgba(40, 123, 255, 0.16);
}

.change-type.is-fix {
  color: #CBD5E1;
  background: rgba(148, 163, 184, 0.14);
}

/* ==========================================================================
   INSTALLATION GUIDE
   ========================================================================== */
.install-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
}

.install-step {
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.75rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out);
}

.install-step:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.step-number {
  font-family: var(--font-en);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 880px;
}

.faq-item {
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item.is-open {
  border-color: rgba(0, 217, 245, 0.42);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: right;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(40, 123, 255, 0.14);
  color: var(--highlight-blue);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out), background-color 0.25s ease, color 0.25s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: rgba(0, 217, 245, 0.16);
  color: var(--cyan);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}

.faq-answer {
  padding: 0 1.5rem 1.35rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.85;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta-section {
  padding-block: 3.5rem 5.5rem;
}

.final-cta-box {
  background: linear-gradient(145deg, rgba(10, 16, 32, 0.85), rgba(5, 7, 13, 0.9));
  backdrop-filter: blur(18px);
  border: 1px solid rgba(40, 123, 255, 0.3);
  border-radius: 26px;
  padding: 3.5rem 2.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 90px -24px rgba(40, 123, 255, 0.25);
}

.final-cta-box::after {
  content: "";
  position: absolute;
  bottom: -120px;
  width: 420px;
  height: 220px;
  background: radial-gradient(circle, rgba(40, 123, 255, 0.28), transparent 70%);
  pointer-events: none;
}

.final-cta-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 900;
  color: var(--text-main);
}

.final-cta-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 52ch;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(85, 166, 255, 0.14);
  background: rgba(5, 7, 13, 0.86);
  backdrop-filter: blur(12px);
  padding-block: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--cyan);
}

.back-to-top {
  background: rgba(10, 16, 32, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.5rem 0.9rem;
  font-size: 0.84rem;
  color: var(--text-main);
  transition: border-color 0.25s ease;
}

.back-to-top:hover {
  border-color: var(--cyan);
}

/* ==========================================================================
   SCROLL REVEAL & KEYFRAMES
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(1.25);
  }
}

@keyframes slowSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    align-items: center;
  }

  .hero-telemetry {
    justify-content: center;
  }

  .hero-artwork-stage {
    max-width: 440px;
  }

  .release-specs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .install-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-links,
  .btn-ghost {
    display: none;
  }

  .hero-section {
    padding-block: 2rem 3.5rem;
    min-height: auto;
  }

  .release-panel {
    padding: 1.5rem;
  }

  .release-specs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .install-steps {
    grid-template-columns: 1fr;
  }

  .final-cta-box {
    padding: 2.5rem 1.35rem;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
