:root {
  color-scheme: dark;
  --bg: #09090d;
  --bg-soft: #121217;
  --text: #ffffff;
  --muted: #c9c9d1;
  --line: rgba(255, 255, 255, 0.2);
  --glass: rgba(255, 255, 255, 0.06);
  --purple: #ffffff;
  --purple-2: #ffffff;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.42);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 0, rgba(255, 255, 255, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 90% 0, rgba(255, 255, 255, 0.06) 0%, transparent 36%), var(--bg);
  overflow-x: hidden;
}

a,
button {
  cursor: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.05;
  background-image: radial-gradient(#fff 0.5px, transparent 0.5px);
  background-size: 3px 3px;
}

#particles,
.bg-blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.blob {
  position: absolute;
  width: 34vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.22;
  animation: drift 16s ease-in-out infinite alternate;
  will-change: transform;
}

.blob-a {
  top: -10%;
  left: -4%;
  background: #ffffff;
}

.blob-b {
  top: 15%;
  right: -8%;
  background: #d7d7dd;
  animation-delay: -4s;
}

.blob-c {
  bottom: -18%;
  left: 30%;
  background: #bcbcc6;
  animation-delay: -8s;
}

.cursor-dot,
.cursor-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  pointer-events: none;
  z-index: 200;
  display: none;
}

.cursor-dot {
  display: none;
}

.cursor-glow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 70%);
  transform: translate(-50%, -50%);
  will-change: left, top, transform;
}

.cursor-glow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.8rem;
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.14) 0%, #08080d 65%);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.loader[hidden] {
  opacity: 0;
  visibility: hidden;
}

.loader-core {
  position: relative;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
}

.loader-core img {
  width: 58px;
}

.loader-core span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--purple-2);
  animation: spin 1.1s linear infinite;
}

.loader p {
  margin: 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.84rem;
  color: #d9d9de;
}

.page-shell {
  width: min(1180px, 94vw);
  margin: 0 auto;
}

.site-header {
  min-height: 100vh;
  padding-top: 1rem;
}

.navbar {
  position: sticky;
  top: 0.8rem;
  z-index: 120;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px) saturate(150%);
  overflow: visible;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}

.logo-premium {
  width: 34px;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.32));
}

.brand-text strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.brand-text span {
  display: block;
  font-size: 0.72rem;
  color: #cbcbe2;
}

.nav-links-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  min-width: 0;
}

.nav-links {
  position: relative;
  display: flex;
  gap: 0.85rem;
  padding: 0.22rem;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-links a {
  position: relative;
  color: #e9e9fa !important;
  text-decoration: none !important;
  font-size: 0.93rem;
  font-weight: 600;
  padding: 0.46rem 0.66rem;
  border-radius: 10px;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.66rem;
  right: 0.66rem;
  bottom: 0.3rem;
  height: 1.5px;
  background: linear-gradient(90deg, #ffffff, #d7d7de);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  transition: transform 0.25s ease, width 0.25s ease;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.hero {
  padding: 4.6rem 0 2.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0;
  font-size: 0.77rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d6d6de;
}

.hero h1,
h2 {
  margin: 0.65rem 0 0.95rem;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #fff 0%, #ececf1 55%, #cfcfd8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 4.5rem);
}

.hero-copy p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.72;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.78rem 1.2rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(120deg, #ffffff, #ebebef, #d4d4dc);
  background-size: 200% 200%;
  animation: flow 5s ease infinite;
  color: #09090d;
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.3);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.btn-discord {
  border-color: rgba(255, 255, 255, 0.44);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
}

.hero-stats {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.hero-stats article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.86rem;
  background: rgba(255, 255, 255, 0.04);
}

.stat-value {
  display: block;
  font-size: 1.42rem;
  font-weight: 800;
}

.stat-label {
  font-size: 0.83rem;
  color: #cecee2;
}

.hero-showcase {
  position: relative;
  min-height: 560px;
  perspective: 1200px;
}

.beam {
  position: absolute;
  width: 360px;
  height: 140px;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.34;
  animation: pulse 5s ease-in-out infinite;
}

.beam-a {
  top: 5%;
  right: 5%;
  background: #ffffff;
}

.beam-b {
  bottom: 18%;
  left: 8%;
  background: #e0e0e6;
  animation-delay: -2.5s;
}

.showcase-layer {
  position: absolute;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.showcase-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layer-main {
  inset: 16% 8% 8% 10%;
  z-index: 5;
}

.layer-top {
  top: 0;
  right: 0;
  width: 46%;
  height: 30%;
  z-index: 7;
  animation: float 5s ease-in-out infinite;
}

.layer-left {
  left: 0;
  bottom: 11%;
  width: 33%;
  height: 28%;
  z-index: 8;
  animation: float 6s ease-in-out infinite;
}

.layer-right {
  right: 4%;
  bottom: 1%;
  width: 34%;
  height: 24%;
  z-index: 8;
  animation: float 7s ease-in-out infinite;
}

.showcase-ping {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  animation: ping 3s ease-out infinite;
}

.ping-a {
  width: 110px;
  height: 110px;
  right: 18%;
  top: 14%;
}

.ping-b {
  width: 86px;
  height: 86px;
  left: 14%;
  bottom: 20%;
  animation-delay: -1.4s;
}

.section {
  padding: 4.8rem 0 0.9rem;
}

.section-head {
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.9rem, 4.3vw, 3.1rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature-card {
  position: relative;
  grid-column: span 4;
  min-height: 0;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  overflow: hidden;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transform-style: preserve-3d;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-wide {
  grid-column: span 8;
}

.feature-tall {
  grid-row: span 1;
  min-height: 0;
}

.feature-card h3 {
  margin: 0;
}

.feature-card p {
  margin: 0;
  color: #cccce0;
  line-height: 1.62;
}

.feature-card img {
  margin-top: 0.25rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

.feature-card svg {
  margin-top: auto;
  width: 100%;
  height: 84px;
  stroke: #e9e9ef;
  stroke-width: 3.2;
  fill: none;
}

.feature-border {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(from 0deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.24s ease;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  animation: spin 6s linear infinite;
}

.feature-card:hover .feature-border {
  opacity: 1;
}

.gallery-stage {
  position: relative;
}

.gallery-frame {
  position: relative;
  margin: 0;
  border-radius: 22px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(10, 10, 15, 0.9);
  box-shadow: var(--shadow);
}

.frame-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 62%);
  pointer-events: none;
}

.gallery-frame img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.gallery-frame img.is-leaving {
  opacity: 0;
  transform: translateX(calc(var(--slide-dir, 1) * -26px)) scale(0.985);
  filter: blur(4px);
}

.gallery-frame img.is-entering {
  animation: gallery-enter 0.44s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-frame figcaption {
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  color: #e8e8fa;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 1.15rem;
  z-index: 3;
}

.gallery-arrow-prev {
  left: 0.8rem;
}

.gallery-arrow-next {
  right: 0.8rem;
}

.download-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.2rem;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.03));
}

.download-main h3 {
  margin: 0 0 0.6rem;
}

.download-main p {
  margin: 0;
  color: #cecee1;
  line-height: 1.7;
}

.download-grid {
  margin: 1rem 0 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.download-grid span {
  display: grid;
  gap: 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  color: #f1f1ff;
  line-height: 1.4;
  align-content: start;
}

.download-grid strong {
  font-size: 0.74rem;
  color: #d0d0d8;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.release-notes {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1rem;
  background: rgba(10, 10, 15, 0.46);
}

.release-notes h4 {
  margin: 0 0 0.6rem;
}

.release-notes ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: #d8d8eb;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.faq-trigger {
  width: 100%;
  border: 0;
  background: none;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #f3f3f6;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-panel p {
  margin: 0;
  padding: 0 1rem 1rem 3.6rem;
  color: #cecee1;
  line-height: 1.72;
}

.faq-item.open .faq-panel {
  max-height: 180px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact-card {
  text-decoration: none;
  color: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 1.1rem;
  transform-style: preserve-3d;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.contact-discord {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03));
}

.contact-discord .contact-icon {
  background: #f1f1f4;
  color: #09090d;
}

.contact-instagram {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.contact-instagram .contact-icon {
  background: #f1f1f4;
  color: #09090d;
}

.contact-email {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.03));
}

.contact-email .contact-icon {
  background: #f1f1f4;
  color: #09090d;
}

.contact-card h3 {
  margin: 0;
}

.contact-card p {
  margin: 0.35rem 0 0;
  color: #e2e2f3;
}

.site-footer {
  margin-top: 4rem;
  padding: 1.6rem 0 2.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand img {
  width: 44px;
}

.footer-brand strong {
  letter-spacing: 0.11em;
  font-size: 0.84rem;
}

.footer-brand p {
  margin: 0.2rem 0 0;
  color: #c7c7dd;
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-links a {
  color: #d8d8ec;
  text-decoration: none;
}

.copyright {
  margin: 1rem 0 0;
  color: #9d9db4;
}

.back-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: #09090d;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 100;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

.lightbox {
  width: min(1100px, 96vw);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 10, 16, 0.92);
  color: #fff;
  padding: 1rem;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.lightbox-close-wrap {
  text-align: right;
}

.lightbox-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.8rem;
}

.lightbox-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.lightbox-frame {
  margin: 0;
}

.lightbox-frame img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.lightbox-frame img.is-leaving {
  opacity: 0;
  transform: translateX(calc(var(--slide-dir, 1) * -22px)) scale(0.985);
  filter: blur(4px);
}

.lightbox-frame img.is-entering {
  animation: gallery-enter 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox-frame figcaption {
  margin-top: 0.65rem;
  display: flex;
  justify-content: space-between;
  color: #e2e2f4;
}

.lightbox-thumbs {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.35rem;
}

.lightbox-thumbs button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.lightbox-thumbs button.active {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.lightbox-thumbs img {
  width: 100%;
  height: 56px;
  object-fit: cover;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.tilt-card {
  transform-style: preserve-3d;
}

.tilt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.2), transparent 45%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.tilt-card:hover::before {
  opacity: 1;
}

.ripple-wave {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 0.55s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: translate(-50%, -50%) scale(18);
    opacity: 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes flow {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.05);
  }
}

@keyframes drift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(4vw, -4vh);
  }
}

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

@keyframes ping {
  0% {
    transform: scale(0.7);
    opacity: 0.9;
  }

  @keyframes gallery-enter {
    from {
      opacity: 0;
      transform: translateX(calc(var(--slide-dir, 1) * 26px)) scale(1.01);
      filter: blur(5px);
    }
    to {
      opacity: 1;
      transform: translateX(0) scale(1);
      filter: blur(0);
    }
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ── Pricing ─────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.8rem 1.4rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
  transition: border-color 0.24s ease, transform 0.24s ease;
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.38);
}

.pricing-card-featured {
  border-color: rgba(255, 255, 255, 0.5);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 24px 56px rgba(0, 0, 0, 0.38);
}

.pricing-badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.2rem;
  padding: 0.22rem 0.7rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #f0f0fa;
}

.pricing-period {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d0d0dc;
}

.pricing-price {
  margin: 0.2rem 0 0.3rem;
  display: flex;
  align-items: baseline;
  gap: 0;
  line-height: 1;
}

.pricing-amount {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.pricing-currency {
  font-size: 1.1rem;
  font-weight: 600;
  color: #d0d0dc;
}

.pricing-desc {
  margin: 0 0 0.8rem;
  color: #c8c8da;
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

@media (max-width: 820px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ── End Pricing ─────────────────────────────── */

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 500px;
  }

  .feature-card {
    grid-column: span 6;
  }

  .feature-wide {
    grid-column: span 12;
  }

  .feature-tall {
    grid-row: span 1;
  }

  .download-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav-links-wrap {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    display: grid;
    gap: 0.6rem;
    padding: 0.9rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(10, 10, 16, 0.95);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-links-wrap.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .brand-text span {
    display: none;
  }

  .nav-indicator {
    display: none;
  }

  .hero {
    padding-top: 3.8rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .showcase-layer {
    border-radius: 12px;
  }

  .layer-main {
    inset: 22% 2% 4% 2%;
  }

  .layer-top {
    width: 52%;
  }

  .layer-left {
    width: 40%;
    left: 2%;
  }

  .layer-right {
    width: 42%;
  }

  .feature-card,
  .feature-wide {
    grid-column: span 12;
  }

  .gallery-arrow {
    width: 40px;
    height: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox-inner {
    grid-template-columns: 1fr;
  }

  .lightbox-thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (any-hover: hover) and (any-pointer: fine) {
  html,
  body,
  body *,
  a,
  button,
  input,
  textarea,
  select {
    cursor: none !important;
  }

  .cursor-dot,
  .cursor-glow {
    display: block;
  }
}

@media (hover: none), (any-hover: none) {
  .cursor-dot,
  .cursor-glow {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ── Mobile performance optimizations ─────────────────────────── */
@media (max-width: 820px), (hover: none) {
  /* Kill expensive fixed blurs that destroy mobile GPU */
  .bg-blobs,
  #particles {
    display: none !important;
  }

  /* Kill backdrop-filter on navbar – use solid bg instead */
  .site-nav {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(10, 10, 16, 0.97) !important;
  }

  /* Kill floating animations on hero screenshots */
  .showcase-layer {
    animation: none !important;
    transform: none !important;
  }

  /* Simplify feature cards – no 3D, no shimmer animation on load */
  .feature-card {
    transform: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    will-change: auto !important;
  }

  /* Kill gallery blur transitions */
  .gallery-img {
    transition: opacity 0.2s ease !important;
    filter: none !important;
  }

  /* Kill scroll-reveal entrance animations – show elements immediately */
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Kill counter/stat animations */
  .stat-value {
    transition: none !important;
  }
}
