/* =========================
   HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(22px);
  background: rgba(3, 7, 19, .72);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(124,60,255,.5),
      transparent
    );
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-height);
}

/* =========================
   LOGO
========================= */

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  filter:
    drop-shadow(0 0 18px rgba(124,60,255,.4))
    drop-shadow(0 0 35px rgba(0,213,255,.15));
}

.brand span {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.brand small {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
}

/* =========================
   NAVIGATION
========================= */

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  position: relative;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  font-weight: 800;
  transition: .25s;
}

.main-nav a:hover {
  color: #fff;
}

.main-nav a.active {
  color: white;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 2px;
  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      var(--purple),
      var(--purple-2)
    );

  box-shadow:
    0 0 15px var(--purple),
    0 0 35px var(--purple);
}

.nav-arrow {
  opacity: .5;
  margin-left: 3px;
}

/* =========================
   RIGHT ACTIONS
========================= */

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-select {
  height: 46px;
  min-width: 70px;

  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);

  background:
    rgba(9,18,37,.85);

  color: white;
  padding-inline: 12px;
  font-weight: 700;
}

.header-square {
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background:
    rgba(9,18,37,.85);

  border:
    1px solid rgba(255,255,255,.08);

  transition: .25s;
}

.header-square:hover {
  transform: translateY(-2px);

  border-color:
    rgba(124,60,255,.4);

  box-shadow:
    0 0 30px rgba(124,60,255,.18);
}

.header-square svg {
  font-size: 20px;
}

.header-square.is-ok {
  color: var(--green);

  border-color:
    rgba(24,226,141,.3);

  box-shadow:
    0 0 25px rgba(24,226,141,.15);
}

.cart-button {
  position: relative;
}

.cart-button span {
  position: absolute;
  top: -4px;
  right: -4px;

  width: 22px;
  height: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  font-size: 11px;
  font-weight: 900;

  background:
    linear-gradient(
      135deg,
      var(--purple),
      var(--purple-2)
    );

  box-shadow:
    0 0 18px rgba(124,60,255,.5);
}

.mobile-toggle {
  display: none;
}

.mobile-toggle span {
  width: 18px;
  height: 2px;
  background: white;
  display: block;
}

/* =========================
   HERO
========================= */

.hero-section {
  position: relative;
  padding-top: 90px;
  padding-bottom: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 40px;
  align-items: center;
}

/* =========================
   LEFT CONTENT
========================= */

.hero-copy {
  position: relative;
  z-index: 5;
}

.hero-copy h1 {
  margin: 26px 0 22px;

  font-size:
    clamp(52px, 7vw, 84px);

  line-height: .96;
  letter-spacing: -.06em;
}

.hero-copy h1 span {
  display: block;

  background:
    linear-gradient(
      90deg,
      #b76dff,
      #7c3cff
    );

  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy p {
  max-width: 620px;

  font-size: 18px;
  line-height: 1.9;

  color: var(--muted);
}

.hero-actions {
  margin-top: 36px;

  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* =========================
   HERO VISUAL
========================= */

.hero-visual {
  position: relative;
  min-height: 700px;
}

/* =========================
   CITY SKYLINE
========================= */

.cityline {
  position: absolute;

  left: 0;
  right: 0;
  bottom: 70px;

  height: 240px;

  display: flex;
  align-items: end;
  gap: 10px;

  opacity: .6;
}

.cityline span {
  flex: 1;
  height: var(--h);

  border-radius: 10px 10px 0 0;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.08),
      rgba(255,255,255,.02)
    );

  border:
    1px solid rgba(255,255,255,.04);

  position: relative;
}

.cityline span::before {
  content: "";

  position: absolute;
  inset: 10px;

  background:
    repeating-linear-gradient(
      180deg,
      rgba(0,213,255,.35) 0px,
      rgba(0,213,255,.35) 2px,
      transparent 2px,
      transparent 10px
    );

  opacity: .4;
}

/* =========================
   CRYSTAL STAGE
========================= */

.crystal-stage {
  position: absolute;

  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.crystal-stage img {
  width: min(100%, 620px);

  position: relative;
  z-index: 5;

  filter:
    drop-shadow(0 0 30px rgba(124,60,255,.45))
    drop-shadow(0 0 80px rgba(124,60,255,.25));

  animation:
    crystalFloat 6s ease-in-out infinite;
}

@keyframes crystalFloat {
  0%,100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-18px);
  }
}

/* =========================
   RINGS
========================= */

.ring {
  position: absolute;
  border-radius: 999px;
}

.ring-one {
  width: 480px;
  height: 480px;

  border:
    1px solid rgba(124,60,255,.25);

  animation:
    rotateRing 20s linear infinite;
}

.ring-two {
  width: 620px;
  height: 620px;

  border:
    1px solid rgba(0,213,255,.12);

  animation:
    rotateRingReverse 30s linear infinite;
}

.ring-three {
  width: 760px;
  height: 760px;

  border:
    1px dashed rgba(255,255,255,.06);

  animation:
    rotateRing 45s linear infinite;
}

@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateRingReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

/* =========================
   LIGHT BEAM
========================= */

.beam {
  position: absolute;

  width: 260px;
  height: 700px;

  background:
    linear-gradient(
      180deg,
      rgba(124,60,255,.3),
      transparent
    );

  filter: blur(50px);

  transform:
    perspective(600px)
    rotateX(65deg);

  opacity: .6;
}

/* =========================
   STATS PANEL
========================= */

.stats-panel {
  margin-top: 30px;

  display: grid;
  grid-template-columns: repeat(4,1fr);

  background:
    rgba(8,18,38,.82);

  border:
    1px solid rgba(255,255,255,.05);

  border-radius: 24px;

  overflow: hidden;

  backdrop-filter: blur(18px);

  box-shadow:
    0 30px 90px rgba(0,0,0,.35);
}

.stat-item {
  padding: 28px;

  display: flex;
  align-items: center;
  gap: 18px;

  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";

  position: absolute;
  top: 25%;
  right: 0;

  width: 1px;
  height: 50%;

  background:
    rgba(255,255,255,.06);
}

.stat-icon {
  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;

  background:
    rgba(124,60,255,.12);

  color: #c89aff;

  box-shadow:
    inset 0 0 20px rgba(124,60,255,.15);
}

.stat-icon svg {
  font-size: 24px;
}

.stat-item strong {
  display: block;
  font-size: 30px;
  font-weight: 900;
}

.stat-item span {
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.stat-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}