:root {
  --ink: #fff;
  --ink-soft: rgba(255, 255, 255, 0.65);
  --muted: rgba(255, 255, 255, 0.55);
  --accent: #ec3737;
  --accent-deep: #d43030;
  --electric: #fec107;
  --line: rgba(255, 255, 255, 0.1);
  --surface: #23262d;
  --surface-2: #1a1c22;
  --warn: #fec107;
  --accent-glow: rgba(236, 55, 55, 0.15);
  --shadow: none;
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: "Cairo", "Roboto", sans-serif;
  color: var(--ink);
  background: #23262d;
  line-height: 1.7;
  overflow-x: hidden;
}

body[data-lang="en"],
body[data-lang="fr"] {
  font-family: "Roboto", "Montserrat", sans-serif;
}

body[data-lang="en"] .hero-brand,
body[data-lang="en"] .section-head h2,
body[data-lang="fr"] .hero-brand,
body[data-lang="fr"] .section-head h2,
body[data-lang="en"] .feature h3,
body[data-lang="fr"] .feature h3 {
  font-family: "Montserrat", sans-serif;
}

.noise {
  display: none;
}

.page { position: relative; z-index: 1; }

.wrap {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 5vw, 2rem);
}

/* —— Top bar —— */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0.25rem 0.75rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 999px;
  padding: 0.2rem;
  gap: 0.1rem;
}

.lang-switch button {
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s ease;
}

.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active {
  background: var(--accent);
  color: #fff;
}

.nav-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.nav-mini a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-mini a:hover { color: var(--accent); }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  padding: 2rem 0 3rem;
  margin-bottom: 0.5rem;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0 -4vw;
  z-index: -1;
  border-radius: 0 0 4px 4px;
  overflow: hidden;
  background: #1a1c22;
}

.hero-bg::before,
.hero-bg::after {
  content: none;
  display: none;
}

.hero-orb {
  display: none;
}

.hero-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

.hero-inner {
  width: 100%;
  color: #fff;
  z-index: 1;
}

.hero-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 340px;
  padding: 0.5rem 0 0.25rem;
}

.hero-showcase--five {
  min-height: 360px;
}

.hero-frame {
  display: block;
  text-decoration: none;
  color: inherit;
  width: min(34%, 170px);
  position: relative;
  transition: transform 0.35s ease, z-index 0s;
  z-index: 1;
  flex: 0 0 auto;
}

.hero-showcase--five .hero-frame {
  width: min(22%, 128px);
}

.hero-frame--a {
  transform: rotate(-5deg) translateY(14px);
  margin-inline-end: -6%;
  z-index: 2;
}

.hero-frame--c {
  width: min(38%, 190px);
  transform: rotate(0deg) translateY(0);
  z-index: 4;
}

.hero-showcase--five .hero-frame--c {
  width: min(26%, 148px);
}

.hero-frame--b {
  transform: rotate(5deg) translateY(14px);
  margin-inline-start: -6%;
  z-index: 2;
}

.hero-frame--d {
  transform: rotate(-11deg) translateY(28px);
  margin-inline-end: -5%;
  z-index: 1;
}

.hero-frame--e {
  transform: rotate(11deg) translateY(28px);
  margin-inline-start: -5%;
  z-index: 1;
}

.hero-frame--phone .hero-frame-bezel {
  border-radius: 20px;
  padding: 9px 7px 12px;
}

.hero-frame--phone .hero-frame-bezel img {
  aspect-ratio: 9 / 19.5;
  border-radius: 12px;
}

.hero-frame-bezel {
  display: block;
  background: #0c0e12;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 8px 8px 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.hero-frame-bezel img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
  background: #111;
  transform: scale(1);
  transition: transform 0.45s ease;
}

.hero-frame-label {
  display: block;
  margin-top: 0.55rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero-frame:hover,
.hero-frame:focus-visible {
  z-index: 3;
  transform: rotate(0deg) translateY(-6px) scale(1.04);
}

.hero-frame:hover .hero-frame-bezel,
.hero-frame:focus-visible .hero-frame-bezel {
  border-color: var(--accent);
}

.hero-frame:hover .hero-frame-bezel img,
.hero-frame:focus-visible .hero-frame-bezel img {
  transform: scale(1.08);
}

.hero-frame:hover .hero-frame-label,
.hero-frame:focus-visible .hero-frame-label {
  color: var(--electric);
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1.05fr);
    gap: 2rem 2.5rem;
  }

  .hero-showcase {
    min-height: 440px;
  }

  .hero-showcase--five {
    min-height: 460px;
  }

  .hero-frame {
    width: min(36%, 190px);
  }

  .hero-showcase--five .hero-frame {
    width: min(20%, 142px);
  }

  .hero-frame--c {
    width: min(40%, 210px);
  }

  .hero-showcase--five .hero-frame--c {
    width: min(24%, 164px);
  }
}

.hero-brand {
  font-size: clamp(2.6rem, 9vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1.1rem;
  unicode-bidi: isolate;
}

.hero-brand .brand-name {
  display: inline;
  color: inherit;
}

.hero-brand .plus {
  display: inline;
  color: var(--electric);
  font-weight: 800;
  margin-inline-start: 0.06em;
  letter-spacing: 0;
}

.hero-title {
  max-width: 34ch;
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero-sub {
  max-width: 48ch;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.btn:active { transform: none; }

.btn-primary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-solid {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-wa {
  background: #128c7e;
  color: #fff;
  border-color: #128c7e;
}

.btn-wa:hover {
  background: #0e7a6e;
  border-color: #0e7a6e;
}

.btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* —— Sections —— */
section {
  padding: 3.25rem 0;
}

.section-head {
  margin-bottom: 1.75rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.section-head h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.55rem;
}

.section-head p {
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.9rem;
}

.feature {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  transition: border-color 0.2s;
}

.feature:hover {
  border-color: rgba(236, 55, 55, 0.4);
}

.feature-icon {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--accent-glow);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.75rem;
  margin-bottom: 0.7rem;
}

.feature h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  line-height: 1.35;
}

.feature p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* —— Demo gallery —— */
.demo-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.85rem;
}

.demo-shot {
  margin: 0;
  padding: 0;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
  width: 100%;
  text-align: start;
  color: inherit;
  font: inherit;
  transition: border-color 0.2s;
}

.demo-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  background: #0a0a0c;
  padding: 0.45rem;
  pointer-events: none;
}

.demo-shot:hover,
.demo-shot:focus-visible {
  border-color: rgba(236, 55, 55, 0.45);
  outline: none;
}

@media (min-width: 900px) {
  .demo-rail {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

/* —— Nexus / ZTEC app showcase —— */
.nexus-inline-link {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--electric);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nexus-inline-link:hover,
.nexus-inline-link:focus-visible {
  border-bottom-color: var(--electric);
  outline: none;
}

.nexus-showcase {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 0.25rem 0 0.5rem;
}

.nexus-showcase--duo {
  gap: 1.25rem;
}

.nexus-showcase--duo .nexus-phone {
  width: min(42%, 180px);
}

.nexus-phone {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  width: min(28%, 140px);
  cursor: zoom-in;
  color: inherit;
  font: inherit;
  transition: transform 0.35s ease;
}

.nexus-phone--main {
  width: min(34%, 168px);
  z-index: 2;
}

.nexus-phone-bezel {
  display: block;
  background: #0c0e12;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 10px 8px 14px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.nexus-phone-bezel img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
  background: #111;
}

.nexus-phone-label {
  display: block;
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nexus-phone:hover,
.nexus-phone:focus-visible {
  transform: translateY(-6px) scale(1.03);
  outline: none;
}

.nexus-phone:hover .nexus-phone-bezel,
.nexus-phone:focus-visible .nexus-phone-bezel {
  border-color: var(--accent);
}

.nexus-phone:hover .nexus-phone-label,
.nexus-phone:focus-visible .nexus-phone-label {
  color: var(--electric);
}

.nexus-rail {
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
}

.demo-shot--phone img {
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  padding: 0.35rem;
}

@media (min-width: 900px) {
  .nexus-rail {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
}

@media (max-width: 640px) {
  .nexus-showcase {
    gap: 0.4rem;
  }

  .nexus-showcase--duo {
    gap: 0.75rem;
  }

  .nexus-phone {
    width: min(30%, 112px);
  }

  .nexus-phone--main {
    width: min(36%, 132px);
  }

  .nexus-showcase--duo .nexus-phone {
    width: min(44%, 150px);
  }
}

/* —— Lightbox gallery —— */
.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.92);
  border: 0;
  cursor: pointer;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(92vh, 960px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto 1fr auto;
  gap: 0.5rem 0.35rem;
  align-items: center;
}

.lightbox-figure {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  background: #0c0e12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  overflow: hidden;
  max-height: min(78vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-figure img {
  display: block;
  max-width: 100%;
  max-height: min(78vh, 820px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.lightbox-close {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1;
}

.lightbox-nav {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  font-size: 1.8rem;
  line-height: 1;
  grid-row: 2;
}

.lightbox-prev { grid-column: 1; }
.lightbox-next { grid-column: 3; }

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  outline: none;
}

.lightbox-count {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .lightbox-dialog {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto auto;
    width: 100%;
  }

  .lightbox-close {
    grid-column: 2;
  }

  .lightbox-figure {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .lightbox-prev {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
  }

  .lightbox-next {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
  }

  .lightbox-count {
    grid-row: 4;
  }
}

/* —— Info panels —— */
.panel {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.panel + .panel { margin-top: 1rem; }

.panel.accent {
  background: var(--accent-deep);
  color: #fff;
  border: 1px solid transparent;
}

.panel.accent .eyebrow { color: var(--electric); }
.panel.accent h2 { color: #fff; }
.panel.accent p,
.panel.accent li { color: rgba(255, 255, 255, 0.78); }

.panel.warn {
  background: var(--surface-2);
  border-color: rgba(254, 193, 7, 0.35);
}

.panel.warn .eyebrow { color: var(--warn); }

.disclaimer {
  margin-top: 0.85rem;
  font-size: 0.86rem;
  color: var(--warn);
  font-weight: 600;
  line-height: 1.55;
}

.panel.accent .disclaimer {
  color: var(--electric);
}

.list-clean {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.list-clean li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.list-clean .tick {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 0.15rem;
}

.panel.accent .tick {
  background: rgba(254, 193, 7, 0.18);
  color: var(--electric);
}

.panel.warn .tick {
  background: rgba(254, 193, 7, 0.15);
  color: var(--warn);
}

/* —— Pricing —— */
.price-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

@media (max-width: 800px) {
  .price-grid { grid-template-columns: 1fr; }
}

.price-hero {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--electric);
  line-height: 1;
  margin: 0.4rem 0 0.5rem;
}

.price-hero small {
  font-size: 0.38em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-inline-start: 0.25rem;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.split-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.split-row strong {
  color: var(--electric);
  font-size: 1.1rem;
  white-space: nowrap;
}

.split-row span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.extra-prices {
  display: grid;
  gap: 0.65rem;
}

.extra-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.extra-row:last-child { border-bottom: none; padding-bottom: 0; }

.extra-row h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.extra-row p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.tag-price {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--electric);
  background: rgba(254, 193, 7, 0.12);
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  white-space: nowrap;
}

/* —— Changelog —— */
/* —— Firmware notice / upcoming V7.9 —— */
.fw-notice-section {
  margin: 0 0 2.5rem;
}

.fw-notice {
  background: linear-gradient(135deg, rgba(254, 193, 7, 0.08), rgba(35, 38, 45, 0.04));
  border: 1px solid rgba(254, 193, 7, 0.35);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 3vw, 1.85rem);
  box-shadow: var(--shadow);
}

.fw-notice-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.fw-notice h2 {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.fw-notice p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 58rem;
}

.fw-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(35, 38, 45, 0.06);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--line);
}

.upcoming-panel {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px dashed var(--line);
}

.feature--upcoming {
  opacity: 0.92;
  border-style: dashed;
}

.feature--upcoming .feature-icon {
  background: rgba(254, 193, 7, 0.1);
  color: var(--electric);
}

.feature--paid {
  position: relative;
}

.feature-paid-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.45rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a1f1f;
  background: rgba(236, 55, 55, 0.12);
  border: 1px solid rgba(236, 55, 55, 0.35);
}

.v79-avail-note {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--electric);
}

body[data-fw="v79"] .v79-avail-note {
  display: none;
}

.changelog-panel {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.changelog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(254, 193, 7, 0.12);
  color: var(--electric);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid rgba(254, 193, 7, 0.35);
}

.changelog-date {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.changelog-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.55rem 1rem;
  margin-bottom: 1.35rem;
}

.changelog-list li {
  position: relative;
  padding-inline-start: 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.changelog-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.changelog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
}

/* —— Facts —— */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.fact {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.fact h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.fact p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* —— Bottom CTA —— */
.bottom-cta {
  margin: 1rem 0 3.5rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 4px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: #fff;
  text-align: center;
}

.bottom-cta h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.bottom-cta p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.35rem;
  max-width: 42ch;
  margin-inline: auto;
}

.bottom-cta .cta-row {
  justify-content: center;
}

footer {
  padding: 0 0 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  color: #fff;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .hero { min-height: auto; padding: 2.25rem 0 2rem; }
  .hero-bg { inset: 0; border-radius: 0; }
  .hero-showcase { min-height: 280px; }
  .hero-showcase--five { min-height: 300px; }
  .hero-frame { width: min(32%, 120px); }
  .hero-showcase--five .hero-frame { width: min(20%, 92px); }
  .hero-frame--c { width: min(36%, 136px); }
  .hero-showcase--five .hero-frame--c { width: min(24%, 108px); }
  .topbar {
    flex-direction: column;
    align-items: stretch;
    padding-inline: 0.15rem;
  }
  .lang-switch { align-self: flex-end; }
  .extra-row { grid-template-columns: 1fr; }
  .tag-price { justify-self: start; }
}

[dir="rtl"] .hero-frame--a {
  transform: rotate(5deg) translateY(14px);
}

[dir="rtl"] .hero-frame--b {
  transform: rotate(-5deg) translateY(14px);
}

[dir="rtl"] .hero-frame--c {
  transform: rotate(0deg) translateY(0);
}

[dir="rtl"] .hero-frame--d {
  transform: rotate(11deg) translateY(28px);
}

[dir="rtl"] .hero-frame--e {
  transform: rotate(-11deg) translateY(28px);
}

[dir="rtl"] .hero-frame:hover,
[dir="rtl"] .hero-frame:focus-visible {
  transform: rotate(0deg) translateY(-6px) scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-frame--a,
  .hero-frame--b,
  .hero-frame--c,
  .hero-frame--d,
  .hero-frame--e,
  .hero-frame:hover,
  .hero-frame:focus-visible {
    transform: none;
  }

  .hero-frame:hover .hero-frame-bezel img,
  .hero-frame:focus-visible .hero-frame-bezel img {
    transform: none;
  }
}
