:root {
  --header-h: 72px;
  --nav: #b7bbc4;
  --nav-hover: #ffffff;
  --bg: #0b0d12;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: #fff;
  font-family: Montserrat, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  background:
    linear-gradient(#d7e7df, #d7e7df) bottom / 100% 1px no-repeat,
    #0b0d12;
  pointer-events: none;
  animation: page-reveal 0.55s cubic-bezier(0.76, 0, 0.18, 1) forwards;
}

body.is-leaving::before {
  animation: page-cover 0.42s cubic-bezier(0.76, 0, 0.18, 1) forwards;
}

body.is-leaving .hero,
body.is-leaving .rings,
body.is-leaving .page,
body.is-leaving .site-footer {
  opacity: 0.35;
  transition: opacity 0.35s ease;
}

@keyframes page-reveal {
  from { transform: translateY(0); }
  to { transform: translateY(-100%); }
}

@keyframes page-cover {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  background: linear-gradient(180deg, #0c0e14 0%, #14161e 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  height: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  min-width: 0;
}

.brand-badge {
  display: block;
  height: 52px;
  width: auto;
  flex: 0 0 auto;
}

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 0.82;
}

.brand-word-main,
.brand-word-sub {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-style: italic;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}

.brand-word-main {
  font-size: 28px;
  letter-spacing: 0.01em;
}

.brand-word-sub {
  margin-top: 1px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.22em;
  padding-left: 1px;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 28px 13px;
  border: 0;
  background: none;
  color: var(--nav);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}

.nav-link:hover,
.nav-item:hover > .nav-sub-btn,
.nav-sub-btn[aria-expanded="true"],
.nav-link.is-active {
  color: var(--nav-hover);
}

.chevron {
  width: 8px;
  height: 5px;
  margin-top: 1px;
}

.nav-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  flex: 0 0 auto;
  transition: background-color 0.15s ease;
}

.nav-discord:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.nav-discord svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-signin {
  margin-left: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav-signin:hover,
.nav-signin.is-active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
  padding: 6px 10px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav-user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.nav-user-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-user-logout {
  color: #d5d7dc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-user-logout:hover {
  color: #fff;
}

.discord-login-card .discord-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  background: #5865f2;
  color: #fff;
}

.discord-login-card .discord-login-btn:hover {
  background: #4752c4;
}

.discord-login-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-item {
  position: relative;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

.submenu {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  min-width: 180px;
  padding: 8px 0;
  background: #16181f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.submenu a {
  display: block;
  padding: 10px 16px;
  color: var(--nav);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.submenu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 5px auto;
  background: #e8eaee;
  border-radius: 2px;
}

.nav-link:focus-visible,
.brand:focus-visible,
.nav-toggle:focus-visible,
.submenu a:focus-visible {
  outline: 2px solid rgba(255, 138, 58, 0.8);
  outline-offset: 4px;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .header-inner {
    padding: 0 16px;
  }

  .brand-badge {
    height: 44px;
  }

  .brand-word-main {
    font-size: 24px;
  }

  .brand-word-sub {
    font-size: 15px;
    letter-spacing: 0.18em;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 12px 16px;
    background: #12141b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 14px 10px;
    font-size: 13px;
  }

  .nav-discord {
    margin-left: 0;
    align-self: flex-start;
  }

  .nav-signin,
  .nav-user {
    margin-left: 0;
    align-self: flex-start;
  }

  .nav-signin {
    padding: 10px 14px;
  }

  .nav-item::after {
    display: none;
  }

  .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: 0;
    margin: 0 8px 8px;
    box-shadow: none;
  }

  .nav-item.is-open .submenu {
    display: block;
  }
}

.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  aspect-ratio: 1920 / 438;
  min-height: 280px;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.72) 0%, rgba(5, 6, 8, 0.28) 24%, rgba(5, 6, 8, 0) 46%),
    url("../assets/hero.jpg") center / cover no-repeat;
}

.hero-copy {
  padding: 24px clamp(28px, 6.5vw, 96px) 32px;
  max-width: 720px;
}

.hero-title {
  margin: 0;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.hero-title span {
  display: block;
}

.hero-lead {
  margin: 16px 0 0;
  max-width: 460px;
  color: #e7e7e3;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  padding: 11px 16px;
  background: #d8d8d6;
  color: #1c1c1c;
  border-radius: 4px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-cta:hover {
  background: #f2f2f0;
}

.hero-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero-ticker {
  height: 34px;
  overflow: hidden;
  background: #c8c8c5;
  color: #2b2b2b;
  display: flex;
  align-items: center;
}

.hero-ticker-track {
  display: flex;
  width: max-content;
  animation: hero-ticker 36s linear infinite;
}

.hero-ticker-track span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes hero-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.showcase {
  position: relative;
  z-index: 2;
  height: 460px;
  margin-top: 48px;
  outline: none;
}

.showcase-stage {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.showcase-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(520px, 46vw);
  height: 360px;
  margin: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  background: #10141c;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  filter: brightness(0.4);
  pointer-events: none;
  cursor: pointer;
  transition: transform 0.55s cubic-bezier(0.22, 0.8, 0.28, 1), filter 0.55s ease, opacity 0.55s ease;
}

.showcase-card.is-current,
.showcase-card.is-prev,
.showcase-card.is-next {
  opacity: 1;
  pointer-events: auto;
}

.showcase-card.is-current {
  z-index: 3;
  transform: translate(-50%, -50%) scale(1);
  filter: none;
}

.showcase-card.is-prev {
  z-index: 2;
  transform: translate(calc(-50% - 72%), -50%) scale(0.88);
  filter: brightness(0.38) saturate(0.8);
}

.showcase-card.is-next {
  z-index: 2;
  transform: translate(calc(-50% + 72%), -50%) scale(0.88);
  filter: brightness(0.38) saturate(0.8);
}

.showcase-card.is-prev:hover,
.showcase-card.is-next:hover {
  filter: brightness(0.55) saturate(0.9);
}

.showcase-art,
.showcase-card::after {
  position: absolute;
  inset: 0;
}

.showcase-art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scene-app .showcase-art,
.scene-politi .showcase-art {
  background: #1a1c20;
}

.scene-app .showcase-art img,
.scene-politi .showcase-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.scene-app::after,
.scene-politi::after {
  background: none;
}

.showcase-card::after {
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.78) 100%);
}

.showcase-card h2 {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 1;
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.showcase-card.scene-app h2,
.showcase-card.scene-politi h2 {
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.showcase-price {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 12px;
  margin: 0 !important;
  padding: 0 20px;
  font-size: 20px;
  line-height: 1.15;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.showcase-price .price-was {
  color: #a65248;
  text-decoration: line-through;
  text-decoration-color: #a65248;
  text-decoration-thickness: 2px;
  font-weight: 600;
}

.showcase-price .price-now {
  color: #f4f4f2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.showcase-price .price-badge {
  color: #a65248;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.showcase-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 46px;
  height: 74px;
  margin-top: -37px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(8, 10, 14, 0.72);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.showcase-prev { left: max(16px, calc(50% - 470px)); }
.showcase-next { right: max(16px, calc(50% - 470px)); }

.showcase-arrow:hover {
  background: rgba(20, 24, 32, 0.9);
}

.showcase-arrow:focus-visible,
.showcase-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

.rings {
  position: relative;
  height: 900px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 50% 55%, rgba(255, 255, 255, 0.035), transparent 62%),
    #0b0d12;
}

.ring-anchor {
  position: absolute;
  width: 460px;
  height: 460px;
  transform: translate(-50%, -50%);
}

.ring-anchor-left {
  left: 16%;
  top: 250px;
}

.ring-anchor-center {
  left: 50%;
  top: 200px;
  width: 560px;
  height: 560px;
}

.ring-anchor-right {
  left: 84%;
  top: 180px;
  width: 500px;
  height: 500px;
}

.ring-anchor-wide {
  left: 50%;
  top: 430px;
  width: 920px;
  height: 920px;
}

.ring-anchor-low-left {
  left: 24%;
  top: 680px;
  width: 520px;
  height: 520px;
}

.ring-anchor-low-mid {
  left: 58%;
  top: 760px;
  width: 500px;
  height: 500px;
}

.ring-anchor-low-right {
  left: 88%;
  top: 640px;
  width: 420px;
  height: 420px;
}

.ring-spin {
  width: 100%;
  height: 100%;
  animation: ring-spin 90s linear infinite;
}

.ring-spin-reverse {
  animation-duration: 120s;
  animation-direction: reverse;
}

.ring-spin-slow {
  animation-duration: 70s;
}

.ring-spin-wide {
  animation-duration: 160s;
  animation-direction: reverse;
}

.ring-spin svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ring-spin circle {
  fill: none;
  stroke: rgba(226, 228, 230, 0.16);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.ring-dim {
  stroke: rgba(226, 228, 230, 0.08);
}

.ring-faint {
  stroke: rgba(226, 228, 230, 0.07);
}

.ring-ticks {
  stroke-dasharray: 1.2 9;
  stroke-linecap: round;
}

.ring-dash {
  stroke: rgba(176, 206, 188, 0.2);
  stroke-dasharray: 18 46;
  animation: ring-dash 28s linear infinite;
}

.ring-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ring-lines span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 228, 230, 0.14), transparent);
}

.ring-lines span:nth-child(1) { top: 190px; }
.ring-lines span:nth-child(2) { top: 290px; opacity: 0.55; }
.ring-lines span:nth-child(3) { top: 560px; }
.ring-lines span:nth-child(4) { top: 760px; opacity: 0.5; }

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

@keyframes ring-dash {
  to { stroke-dashoffset: -280; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ticker-track,
  .ring-spin,
  .ring-dash,
  body::before {
    animation: none;
  }

  body::before {
    transform: translateY(-100%);
  }

  .showcase-card {
    transition: none;
  }
}

@media (max-width: 700px) {
  .hero-stage {
    aspect-ratio: auto;
    min-height: 480px;
    align-items: flex-end;
    background-position: 70% center;
  }

  .hero-copy {
    padding: 28px 20px 32px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .rings {
    height: 760px;
  }

  .showcase {
    height: 340px;
    margin-top: 28px;
  }

  .showcase-card,
  .showcase-card.is-current {
    width: min(280px, 62vw);
    height: 250px;
  }

  .showcase-card h2 {
    left: 16px;
    right: 16px;
    bottom: 16px;
    font-size: 26px;
  }

  .showcase-price {
    bottom: 14px;
    font-size: 16px;
    gap: 6px 8px;
    padding: 0 12px;
  }

  .showcase-price .price-badge {
    font-size: 11px;
  }

  .showcase-arrow {
    width: 38px;
    height: 58px;
    margin-top: -29px;
  }

  .showcase-prev { left: 8px; }
  .showcase-next { right: 8px; }

  .ring-anchor-left,
  .ring-anchor-right {
    width: 340px;
    height: 340px;
  }

  .ring-anchor-center {
    width: 420px;
    height: 420px;
  }

  .ring-anchor-wide {
    width: 640px;
    height: 640px;
  }
}

.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 88px;
}

.page-kicker {
  margin: 0 0 12px;
  color: #9aa0aa;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.page a:not(.btn) {
  color: #fff;
}

.page-lead {
  max-width: 680px;
  margin: 16px 0 0;
  color: #c5c7cc;
  font-size: 16px;
  line-height: 1.6;
}

.script-search {
  display: block;
  max-width: 420px;
  margin-top: 22px;
}

.script-search input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: #12141b;
  color: #fff;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease;
}

.script-search input::placeholder {
  color: #7e848f;
}

.script-search input:focus {
  border-color: rgba(215, 231, 223, 0.45);
}

.framework-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.framework-btn {
  margin: 0;
  padding: 10px 16px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.78;
  transition: opacity 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.framework-btn:hover {
  opacity: 1;
}

.framework-btn[aria-pressed="true"] {
  opacity: 1;
}

.framework-btn--esx {
  color: #e67a22;
  border-color: #e67a22;
  background: rgba(230, 122, 34, 0.12);
}

.framework-btn--esx[aria-pressed="true"] {
  background: rgba(230, 122, 34, 0.28);
}

.framework-btn--vrp {
  color: #2f6fed;
  border-color: #2f6fed;
  background: rgba(47, 111, 237, 0.12);
}

.framework-btn--vrp[aria-pressed="true"] {
  background: rgba(47, 111, 237, 0.28);
}

.framework-btn--qbcore {
  color: #8b5cf6;
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.12);
}

.framework-btn--qbcore[aria-pressed="true"] {
  background: rgba(139, 92, 246, 0.28);
}

.framework-filters + .page-lead {
  margin-top: 18px;
}

.script-frameworks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.script-frameworks .framework-btn {
  padding: 7px 12px;
  font-size: 11px;
}

.script-empty {
  margin: 28px 0 0;
  color: #9aa0aa;
  font-size: 15px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.card-grid,
.split,
.stack {
  margin-top: 36px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 16px;
}

.panel {
  background: #12141b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
}

.panel img,
.video-card img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.panel-body,
.video-card,
.doc-block,
.form-card {
  padding: 20px;
}

.panel h2,
.video-card h2,
.doc-block h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.panel p,
.video-card p,
.doc-block p,
.muted {
  margin: 0;
  color: #b7bbc4;
  font-size: 14px;
  line-height: 1.55;
}

.feature-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 8px 0 8px 16px;
  color: #d5d7dc;
  font-size: 14px;
  line-height: 1.45;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fbfa8;
}

.price {
  display: block;
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
}

.price-sale {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 12px;
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.2;
}

.price-sale .price-was {
  color: #a65248;
  text-decoration: line-through;
  text-decoration-color: #a65248;
  text-decoration-thickness: 2px;
  font-weight: 600;
}

.price-sale .price-now {
  color: #f4f4f2;
  font-weight: 700;
}

.price-sale .price-badge {
  color: #a65248;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: #e4e4e2;
  color: #1c1c1c;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover,
button.btn:hover {
  background: #f4f4f2;
}

.btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.banner {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 28px;
}

.banner img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center 72%;
}

.video-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}

.video-card {
  min-height: 180px;
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.1), rgba(8, 10, 14, 0.78)),
    #171a22 center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.video-card span {
  color: #d8d8d6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-card label {
  display: block;
  margin-top: 14px;
  color: #c5c7cc;
  font-size: 13px;
  font-weight: 600;
}

.form-card input,
.form-card textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #0d0f14;
  color: #fff;
  font: inherit;
}

.form-card textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin-top: 14px;
  color: #d7e7df;
}

[hidden] {
  display: none !important;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 28px 32px;
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #9aa0aa;
  font-size: 13px;
}

.site-footer a {
  color: #d5d7dc;
  text-decoration: none;
}

@media (max-width: 800px) {
  .card-grid,
  .split,
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Product detail —— */
.page.product-page {
  width: min(1240px, calc(100% - 40px));
  padding-top: 28px;
  padding-bottom: 64px;
}

.page a.product-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #c5c7cc;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.page a.product-back:hover {
  color: #fff;
}

.product-back svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.product-media {
  display: grid;
  gap: 14px;
}

.product-stage {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #12151c;
  aspect-ratio: 16 / 10;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.product-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-thumb {
  width: 88px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #12151c;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.product-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb:hover {
  opacity: 1;
}

.product-thumb.is-active {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.55);
}

.product-sidebar {
  display: grid;
  gap: 12px;
}

.product-buy {
  padding: 26px 24px 22px;
  border-radius: 18px;
  background: #161922;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-buy h1 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #d5d7dc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-tag--esx {
  color: #e67a22;
  border-color: rgba(230, 122, 34, 0.45);
  background: rgba(230, 122, 34, 0.1);
}

.product-tag--vrp {
  color: #6ea0ff;
  border-color: rgba(47, 111, 237, 0.45);
  background: rgba(47, 111, 237, 0.12);
}

.product-pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 22px;
}

.product-pricing .price-now {
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.product-pricing .price-was {
  color: #8b909a;
  font-size: 18px;
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.product-pricing .price-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  background: #c43b3b;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 16px;
  align-items: center;
  margin-top: 22px;
}

.product-actions .btn {
  width: 100%;
  margin-top: 0;
  padding: 15px 18px;
  border-radius: 12px;
  font-size: 13px;
}

.product-trust {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #9aa0aa;
  font-size: 12px;
  line-height: 1.35;
}

.product-trust li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.product-trust svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

.product-panels {
  display: grid;
  gap: 10px;
}

.product-panel {
  border-radius: 14px;
  background: #161922;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.product-panel-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.product-panel-trigger:hover {
  background: rgba(255, 255, 255, 0.03);
}

.product-panel-trigger svg:first-child {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
}

.product-panel-trigger span {
  flex: 1;
}

.product-panel-trigger .panel-meta {
  color: #9aa0aa;
  font-weight: 500;
  font-size: 13px;
}

.product-panel-trigger .panel-chevron,
.product-panel-trigger .panel-external {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  opacity: 0.55;
  transition: transform 0.2s ease;
}

.product-panel.is-open .panel-chevron {
  transform: rotate(180deg);
}

.product-panel-body {
  display: none;
  padding: 0 18px 18px 48px;
  color: #b7bbc4;
  font-size: 14px;
  line-height: 1.65;
}

.product-panel.is-open .product-panel-body {
  display: block;
}

.product-panel-body p {
  margin: 0 0 12px;
}

.product-panel-body p:last-child {
  margin-bottom: 0;
}

.product-panel-body ul {
  margin: 0;
  padding-left: 18px;
}

.product-panel-body li + li {
  margin-top: 6px;
}

@media (max-width: 980px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .page.product-page {
    width: min(1240px, calc(100% - 28px));
    padding-top: 20px;
  }

  .product-buy {
    padding: 20px 18px;
  }

  .product-pricing .price-now {
    font-size: 28px;
  }

  .product-thumb {
    width: 72px;
    height: 52px;
  }
}
