:root {
  --bg: #020b19;
  --bg-2: #061a36;
  --panel: rgba(13, 42, 83, 0.72);
  --panel-strong: rgba(12, 39, 79, 0.92);
  --line: rgba(111, 178, 255, 0.32);
  --line-bright: rgba(82, 211, 255, 0.62);
  --text: #f5fbff;
  --muted: #b9c9e2;
  --blue: #1fa8ff;
  --cyan: #45d8ff;
  --violet: #7b45ff;
  --pink: #d255ff;
  --shadow: 0 18px 52px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(71, 95, 255, 0.28), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgba(15, 180, 255, 0.22), transparent 26rem),
    linear-gradient(180deg, #031229 0%, #041934 46%, #021020 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(116, 195, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 195, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 82%);
}

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.site-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  padding: 0 4vw 2rem;
  border-bottom: 1px solid rgba(80, 156, 255, 0.22);
  background:
    linear-gradient(90deg, rgba(2, 11, 25, 0.74) 0%, rgba(3, 18, 41, 0.51) 34%, rgba(5, 23, 51, 0.18) 70%, rgba(3, 13, 28, 0.51) 100%),
    linear-gradient(180deg, rgba(15, 74, 150, 0.24), rgba(2, 11, 25, 0.12)),
    linear-gradient(120deg, rgba(29, 104, 255, 0.14), rgba(86, 39, 178, 0.12)),
    url("homepage_background.png") center top / cover no-repeat;
}

.site-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, rgba(2, 11, 25, 0.02), rgba(2, 11, 25, 0.66) 88%);
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 68px;
  max-width: 1800px;
  margin: 0 auto;
}

.brand {
  width: min(240px, 40vw);
  text-decoration: none;
}

.brand img {
  width: 100%;
  filter: drop-shadow(0 0 18px rgba(58, 183, 255, 0.3));
}

.nav-panel,
.nav-actions,
.hero-actions,
.section-row,
.ecosystem-card,
.platform-tools,
.footer-main,
.footer-links {
  display: flex;
  align-items: center;
}

.nav-panel {
  justify-content: center;
  gap: clamp(0.7rem, 1.7vw, 2.1rem);
}

.nav-panel a,
.platform-button,
.section-label,
.text-link,
.primary-action,
.secondary-action,
.platform-enter,
.tech-card h2,
.wai-card h2,
.footer h2 {
  font-family: "Rajdhani", "Inter", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-panel a {
  position: relative;
  color: rgba(245, 251, 255, 0.88);
  font-size: clamp(1rem, 1vw, 1.18rem);
  letter-spacing: 0;
  text-decoration: none;
}

.nav-panel a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.nav-actions {
  justify-content: flex-end;
  gap: 1rem;
}

.globe-button,
.menu-toggle {
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

.globe-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
}

.globe-icon {
  width: 22px;
  height: 22px;
  stroke: #8ee7ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(69, 216, 255, 0.35));
}

.platform-button,
.primary-action,
.platform-enter {
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1.35rem;
  border-radius: 5px;
  color: #fff;
  background: linear-gradient(135deg, #7048ff 0%, #236dff 60%, #14c3ff 100%);
  box-shadow: 0 14px 32px rgba(26, 116, 255, 0.32);
  text-decoration: none;
  letter-spacing: 0;
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.platform-button:hover,
.primary-action:hover,
.platform-enter:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(26, 116, 255, 0.38);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  justify-self: end;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(300px, 520px) 1fr;
  gap: 2rem;
  max-width: 1800px;
  min-height: 520px;
  margin: 0 auto;
  align-items: center;
}

.hero-copy {
  padding-top: 2rem;
}

.hero-copy h1 {
  max-width: 13ch;
  margin: 0;
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: clamp(3rem, 5.3vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 26px rgba(0, 0, 0, 0.4);
}

.hero-copy h1 span {
  display: block;
  color: #28bfff;
  background:
    linear-gradient(180deg, #9eeeff 0%, #38caff 24%, #128bff 47%, #5ad9ff 58%, #1977ff 78%, #104ee9 100%),
    linear-gradient(105deg, transparent 0%, transparent 38%, rgba(145, 235, 255, 0.72) 50%, transparent 62%, transparent 100%);
  background-size: 100% 100%, 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 0 rgba(137, 226, 255, 0.42),
    0 0 14px rgba(37, 177, 255, 0.72),
    0 0 36px rgba(20, 118, 255, 0.55),
    0 0 62px rgba(54, 82, 255, 0.34);
  animation: headlineShine 3.8s ease-in-out infinite;
}

@keyframes headlineShine {
  0%,
  100% {
    background-position: 0 0, -80% 50%;
    filter: drop-shadow(0 0 8px rgba(35, 167, 255, 0.48)) contrast(1.05);
  }

  50% {
    background-position: 0 0, 140% 50%;
    filter: drop-shadow(0 0 16px rgba(50, 188, 255, 0.76)) contrast(1.12);
  }
}

.hero-copy p {
  max-width: 47ch;
  margin: 1rem 0 0;
  color: #f5fbff;
  font-size: clamp(1rem, 1.05vw, 1.2rem);
  font-weight: 600;
  line-height: 1.5;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 0;
  cursor: pointer;
}

.secondary-action {
  min-height: 44px;
  padding: 0.72rem 1.25rem;
  border: 1px solid rgba(190, 222, 255, 0.38);
  border-radius: 5px;
  color: #fff;
  background: rgba(5, 17, 37, 0.58);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.secondary-action:hover {
  border-color: rgba(117, 224, 255, 0.72);
  background: rgba(8, 31, 67, 0.72);
  transform: translateY(-1px);
}

.hero-hud {
  position: relative;
  min-height: 430px;
}

.hud-card {
  position: absolute;
  border: 1px solid rgba(83, 202, 255, 0.56);
  background: rgba(14, 77, 143, 0.25);
  box-shadow: inset 0 0 30px rgba(44, 178, 255, 0.16), 0 0 24px rgba(38, 166, 255, 0.2);
  backdrop-filter: blur(8px);
}

.hud-card.stat-panel {
  top: calc(13% + 100px);
  right: 6%;
  width: 250px;
  padding: 1.1rem 1rem;
  border-color: rgba(96, 211, 255, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(13, 40, 91, 0.3), rgba(10, 22, 62, 0.37)),
    radial-gradient(circle at 100% 0%, rgba(88, 80, 255, 0.14), transparent 48%);
  box-shadow:
    inset 0 0 28px rgba(70, 197, 255, 0.13),
    inset 0 0 0 1px rgba(190, 232, 255, 0.08),
    0 0 32px rgba(44, 178, 255, 0.22);
}

.stat-panel::before,
.stat-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.stat-panel::before {
  border: 1px solid rgba(148, 222, 255, 0.2);
  box-shadow: 0 0 16px rgba(71, 215, 255, 0.34);
}

.stat-panel::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 22%, transparent 78%, rgba(96, 211, 255, 0.18)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 28%);
  opacity: 0.42;
}

.stat-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.42rem 0;
}

.stat-item + .stat-item {
  margin-top: 0.45rem;
}

.stat-item strong,
.stat-item span {
  display: block;
  font-family: "Rajdhani", "Inter", sans-serif;
}

.stat-item strong {
  color: #83d8ff;
  font-size: 1.55rem;
  line-height: 1;
  text-shadow: 0 0 14px rgba(59, 190, 255, 0.62);
}

.stat-item:nth-child(4) strong {
  color: #b08cff;
  text-shadow: 0 0 14px rgba(144, 91, 255, 0.62);
}

.stat-item span {
  margin-top: 0.22rem;
  color: #eef7ff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.1;
}

.stat-icon {
  position: relative;
  width: 36px;
  height: 36px;
  color: #8ee7ff;
  filter: drop-shadow(0 0 10px rgba(68, 216, 255, 0.45));
}

.image-stat-icon {
  object-fit: contain;
}

.gamepad-icon {
  border: 2px solid currentColor;
  border-radius: 14px 14px 18px 18px;
}

.gamepad-icon::before {
  content: "+";
  position: absolute;
  left: 7px;
  top: 5px;
  color: currentColor;
  font-size: 1.15rem;
  font-weight: 700;
}

.gamepad-icon::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 8px 0 0 currentColor;
}

.globe-mini-icon {
  border: 2px solid currentColor;
  border-radius: 50%;
}

.globe-mini-icon::before,
.globe-mini-icon::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-left: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  border-radius: 50%;
}

.globe-mini-icon::after {
  inset: 16px 0 auto;
  border: 0;
  border-top: 1.5px solid currentColor;
  border-radius: 0;
}

.people-mini-icon::before,
.people-mini-icon::after {
  content: "";
  position: absolute;
  border: 2px solid #b08cff;
  border-radius: 50%;
}

.people-mini-icon::before {
  left: 10px;
  top: 2px;
  width: 13px;
  height: 13px;
}

.people-mini-icon::after {
  left: 4px;
  bottom: 3px;
  width: 24px;
  height: 15px;
  border-radius: 50% 50% 0 0;
}

.section {
  width: min(100% - 8vw, 1710px);
  margin: 0 auto;
  padding: 1rem 0;
}

.section-label {
  margin-bottom: 0.75rem;
  color: #f7fbff;
  font-size: clamp(1rem, 1.1vw, 1.35rem);
  letter-spacing: 0;
}

.section-row {
  justify-content: space-between;
  gap: 1rem;
}

.text-link {
  color: #a6c5ff;
  font-size: 0.95rem;
  text-decoration: none;
}

.ecosystem-section {
  margin-top: -2.5rem;
  position: relative;
  z-index: 3;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 3rem);
}

.ecosystem-card,
.feature-platform,
.media-card,
.showcase-panel,
.tech-card,
.wai-ecosystem-preview,
.wai-card,
.cta-copy,
.news-list,
.footer-main {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(29, 73, 128, 0.7), rgba(8, 34, 75, 0.72));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.ecosystem-card {
  min-height: 104px;
  gap: 1.4rem;
  padding: 1.15rem 1.45rem;
  border-radius: 8px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.ecosystem-card:hover {
  border-color: var(--line-bright);
  background: linear-gradient(180deg, rgba(36, 86, 148, 0.78), rgba(9, 38, 84, 0.8));
  transform: translateY(-2px);
}

.ecosystem-card h2,
.media-card h2,
.feature-platform h2,
.news-list h2 {
  margin: 0;
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: clamp(1.2rem, 1.2vw, 1.7rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.ecosystem-card p,
.feature-platform p,
.media-card p,
.tech-card p,
.wai-card p,
.footer p,
.footer a,
.news-list time {
  color: var(--muted);
}

.footer p {
  font-size: 0.82rem;
  line-height: 1.45;
}

.ecosystem-card p,
.media-card p,
.feature-platform p,
.tech-card p,
.wai-card p {
  margin: 0.35rem 0 0;
  line-height: 1.45;
}

.ecosystem-card a,
.wai-card a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: auto;
  border: 1px solid rgba(170, 213, 255, 0.38);
  border-radius: 50%;
  color: #d7f0ff;
  font-size: 1.5rem;
  line-height: 1;
  text-decoration: none;
}

.card-icon {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  border: 3px solid var(--blue);
  filter: drop-shadow(0 0 12px rgba(83, 152, 255, 0.62));
}

.cube-icon {
  clip-path: polygon(50% 0, 92% 24%, 92% 76%, 50% 100%, 8% 76%, 8% 24%);
}

.image-icon {
  border: 0;
  object-fit: contain;
  clip-path: none;
}

.people-icon {
  border-radius: 50% 50% 42% 42%;
  border-top-color: var(--violet);
}

.stack-icon {
  transform: skewY(-8deg);
  border-width: 4px 4px 10px;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1.18fr repeat(4, minmax(170px, 0.9fr));
  gap: 0.75rem;
}

.feature-platform,
.media-card {
  position: relative;
  min-height: 206px;
  overflow: hidden;
  border-radius: 7px;
}

.feature-platform {
  padding: 1.6rem;
  background:
    linear-gradient(180deg, rgba(71, 24, 150, 0.55), rgba(21, 16, 95, 0.88)),
    url("background.png") center / cover no-repeat;
}

.hurammy-logo {
  width: min(58px, 18%);
  height: auto;
  margin-bottom: 0.7rem;
  filter: drop-shadow(0 0 18px rgba(206, 91, 255, 0.38));
}

.platform-tools {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 1.3rem 0;
}

.platform-tools span {
  display: grid;
  justify-items: center;
  gap: 0.18rem;
  color: #f1f6ff;
  font-size: 0.74rem;
}

.platform-tools span::before {
  content: "<>";
  display: block;
  color: #b58dff;
  font-size: 1.2rem;
  text-align: center;
}

.platform-tools .tool-with-icon::before {
  content: none;
}

.platform-tools img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(204, 91, 255, 0.48));
}

.platform-enter {
  display: flex;
  width: 100%;
  min-height: 38px;
}

.media-card {
  min-height: 206px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.media-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 18%, rgba(3, 13, 30, 0.2) 42%, rgba(3, 13, 30, 0.96) 100%);
}

.media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card h2,
.media-card p,
.thumb-strip,
.play-button {
  position: relative;
  z-index: 2;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.play-button:hover {
  background: rgba(24, 118, 196, 0.72);
  transform: translate(-50%, -50%) scale(1.05);
}

.thumb-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  margin-top: 0.75rem;
}

.thumb-strip span {
  height: 22px;
  border: 1px solid rgba(123, 190, 255, 0.3);
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(36, 197, 255, 0.5), rgba(112, 72, 255, 0.55));
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}

.showcase-panel {
  padding: 0.9rem;
  border-radius: 7px;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.45rem;
}

.mini-gallery button {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.mini-gallery img {
  width: 100%;
  aspect-ratio: 1.16;
  object-fit: cover;
  border: 1px solid rgba(116, 195, 255, 0.35);
  border-radius: 5px;
  transition: border-color 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.mini-gallery button:hover img {
  border-color: rgba(117, 224, 255, 0.72);
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.reel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
}

.reel-grid button {
  position: relative;
  overflow: hidden;
  min-height: 84px;
  border: 1px solid rgba(116, 195, 255, 0.35);
  border-radius: 5px;
  color: #fff;
  background: #07162c;
  cursor: pointer;
}

.reel-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

.reel-grid span {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.45rem;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.tech-section {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  align-items: start;
}

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

.tech-card {
  min-height: 128px;
  padding: 1rem;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.tech-card span {
  display: block;
  color: var(--cyan);
  font-size: 1.9rem;
  line-height: 1;
  margin-bottom: 0.8rem;
}

.tech-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.8rem;
  filter: drop-shadow(0 0 12px rgba(68, 216, 255, 0.46));
}

.tech-card h2,
.wai-card h2 {
  margin: 0;
  font-size: 1rem;
}

.tech-card p {
  font-size: 0.82rem;
}

.wai-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: stretch;
}

.wai-ecosystem-preview {
  position: relative;
  display: block;
  width: 100%;
  min-height: 78px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(75, 217, 255, 0.32);
  border-radius: 7px;
  background: rgba(5, 18, 39, 0.72);
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(0, 8, 24, 0.34);
}

.wai-ecosystem-preview img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.wai-ecosystem-preview:hover img,
.wai-ecosystem-preview:focus-visible img {
  transform: scale(1.025);
}

.wai-ecosystem-preview:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.wai-card {
  position: relative;
  min-height: 78px;
  padding: 0.85rem 2rem 0.85rem 3.7rem;
  border-radius: 7px;
}

.wai-card span,
.wai-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  width: 38px;
  height: 38px;
  border: 2px solid var(--cyan);
  border-radius: 42% 58% 48% 52%;
  transform: translateY(-50%);
  box-shadow: 0 0 18px rgba(68, 216, 255, 0.25);
}

.wai-icon {
  border: 0;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
  filter: drop-shadow(0 0 14px rgba(68, 216, 255, 0.42));
}

.wai-card:nth-child(2) span {
  border-color: #38e3bd;
}

.wai-card:nth-child(3) span,
.wai-card:nth-child(4) span {
  border-color: #a15bff;
}

.wai-card a {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
}

.news-cta {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(420px, 0.92fr);
  gap: 1.3rem;
  align-items: stretch;
  padding-bottom: 2rem;
}

.cta-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 280px;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(15, 42, 92, 0.82), rgba(12, 38, 76, 0.25)),
    url("mockups/20260517_120330000_iOS.png") center / cover no-repeat;
}

.cta-copy p {
  max-width: 34ch;
  margin: 0 0 1.5rem;
  font-size: clamp(1.4rem, 2.2vw, 2.55rem);
  font-weight: 600;
  line-height: 1.25;
}

.news-list {
  padding: 1rem;
  border-radius: 8px;
}

.news-list article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(116, 195, 255, 0.15);
}

.news-list article:last-child {
  border-bottom: 0;
}

.news-list img {
  width: 120px;
  aspect-ratio: 1.55;
  object-fit: cover;
  border-radius: 5px;
}

.news-list h2 {
  font-size: 1rem;
}

.news-list time {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.footer {
  position: relative;
  padding: 2rem 4vw;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(2, 16, 32, 0.88), rgba(2, 11, 25, 0.98));
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("homepage_bottom.png") right top / auto 78% no-repeat;
  filter: saturate(1.12) hue-rotate(6deg) brightness(0.9) contrast(0.96);
  opacity: 0.95;
  mix-blend-mode: screen;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 38%, rgba(0, 0, 0, 0.62) 58%, #000 100%);
}

.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(2, 11, 25, 0.96) 0%, rgba(3, 18, 41, 0.64) 50%, rgba(4, 31, 65, 0.18) 76%, rgba(2, 11, 25, 0.08) 100%),
    linear-gradient(180deg, rgba(5, 23, 51, 0.48), rgba(2, 11, 25, 0.28));
  pointer-events: none;
}

.footer-main,
.copyright {
  position: relative;
  z-index: 1;
  width: min(70%, 1200px);
  margin-left: max(0px, calc((100% - 1710px) / 2));
  margin-right: auto;
}

.footer-main {
  align-items: flex-start;
  gap: clamp(1.5rem, 3vw, 3rem);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.footer-brand {
  flex: 0 0 250px;
}

.footer-brand img {
  width: 230px;
  margin-bottom: 0.7rem;
  filter: drop-shadow(0 0 14px rgba(59, 184, 255, 0.28));
}

.footer-contact {
  margin-top: 0.8rem;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.28rem 0;
}

.footer-contact svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  stroke: #77dfff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgba(68, 216, 255, 0.35));
}

.footer-contact a {
  display: inline;
  margin: 0;
}

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

.footer-links {
  flex: 1;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links > div {
  min-width: 82px;
}

.footer-links .legal-column {
  flex: 0 0 145px;
}

.footer h2 {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
}

.footer a {
  display: block;
  margin: 0.36rem 0;
  font-size: 0.78rem;
  text-decoration: none;
}

.newsletter {
  position: relative;
  flex: 0 0 330px;
}

.newsletter p {
  max-width: 32ch;
  font-size: 0.82rem;
}

.newsletter-field {
  position: relative;
  margin-top: 1rem;
}

.newsletter label {
  display: block;
  position: relative;
}

.newsletter label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.newsletter input {
  width: 100%;
  height: 48px;
  padding: 0 4rem 0 1rem;
  border: 1px solid rgba(116, 195, 255, 0.25);
  border-radius: 5px;
  color: #fff;
  background: rgba(2, 11, 25, 0.45);
}

.newsletter button {
  position: absolute;
  top: 0;
  right: 0;
  width: 54px;
  height: 48px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: linear-gradient(135deg, #7048ff, #1fa8ff);
  cursor: pointer;
}

.newsletter-status {
  min-height: 1.2rem;
  margin: 0.55rem 0 0;
  color: #9eeeff;
  font-size: 0.78rem;
}

.copyright {
  margin-top: 1.5rem;
  color: #91a5bf;
  font-size: 0.76rem;
}

.video-dialog,
.image-dialog,
.about-dialog {
  width: min(960px, calc(100% - 2rem));
  padding: 0;
  border: 1px solid var(--line-bright);
  border-radius: 8px;
  color: #fff;
  background: #020b19;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62);
}

.video-dialog::backdrop,
.image-dialog::backdrop,
.about-dialog::backdrop {
  background: rgba(0, 4, 12, 0.72);
  backdrop-filter: blur(10px);
}

.video-dialog video {
  width: 100%;
  max-height: 80vh;
}

.image-dialog {
  width: min(1120px, calc(100% - 2rem));
}

.image-dialog img {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
  background: #020b19;
}

.about-dialog {
  width: min(820px, calc(100% - 2rem));
  background:
    linear-gradient(180deg, rgba(13, 40, 91, 0.96), rgba(4, 16, 38, 0.98)),
    radial-gradient(circle at top right, rgba(69, 216, 255, 0.14), transparent 42%);
}

.about-dialog-content {
  max-height: min(78vh, 720px);
  overflow: auto;
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.about-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 3rem 1rem 0;
}

.about-dialog h2 {
  margin: 0;
  color: #eaf8ff;
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.language-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 0.22rem;
  border: 1px solid rgba(119, 223, 255, 0.28);
  border-radius: 6px;
  background: rgba(3, 18, 41, 0.72);
}

.language-toggle button {
  min-width: 78px;
  min-height: 34px;
  border: 0;
  border-radius: 4px;
  color: #bdd4ee;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.language-toggle button.active {
  color: #031229;
  background: linear-gradient(135deg, #77dfff, #356dff);
}

.about-language-panel {
  display: none;
}

.about-language-panel.active {
  display: block;
}

.about-functionality-figure {
  float: right;
  width: min(50%, 360px);
  margin: 0.2rem 0 1rem 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(119, 223, 255, 0.22);
  border-radius: 8px;
  background: rgba(2, 11, 25, 0.62);
}

.about-functionality-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.about-dialog p {
  margin: 0 0 1rem;
  color: #c6d9ef;
  font-size: 0.88rem;
  line-height: 1.6;
}

.about-language-panel[lang="zh-Hans"] p {
  font-size: 0.86rem;
  line-height: 1.72;
}

.dialog-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.56);
  cursor: pointer;
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 210px auto auto;
  }

  .menu-toggle {
    display: flex;
    grid-column: 3;
  }

  .nav-panel {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(4, 18, 42, 0.94);
  }

  .topbar.nav-open .nav-panel {
    display: flex;
  }

  .nav-actions {
    grid-column: 2;
    grid-row: 1;
  }

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

  .hero-hud {
    display: none;
  }

  .ecosystem-grid,
  .platform-grid,
  .showcase-row,
  .tech-section,
  .news-cta,
  .footer-main {
    grid-template-columns: 1fr;
  }

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

  .feature-platform {
    grid-column: 1 / -1;
  }

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

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

  .footer-main,
  .copyright {
    width: min(100%, 1710px);
    margin-left: auto;
    margin-right: auto;
  }

  .footer-main,
  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 740px) {
  .site-hero {
    min-height: 720px;
    padding: 0 4vw 8rem;
    background-position: center top;
  }

  .topbar {
    grid-template-columns: minmax(148px, 1fr) auto;
  }

  .brand {
    width: 176px;
  }

  .nav-actions {
    display: none;
  }

  .menu-toggle {
    grid-column: 2;
  }

  .hero-content {
    min-height: 560px;
    align-items: start;
    padding-top: 2.1rem;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .hero-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .ecosystem-section {
    margin-top: -1.5rem;
  }

  .ecosystem-grid,
  .platform-grid,
  .showcase-row,
  .mini-gallery,
  .reel-grid,
  .tech-grid,
  .wai-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-card {
    min-height: 90px;
    padding: 1rem;
  }

  .platform-grid {
    gap: 1rem;
  }

  .media-card {
    min-height: 260px;
  }

  .tech-card {
    min-height: auto;
    padding: 0.65rem 0;
  }

  .news-cta {
    grid-template-columns: 1fr;
  }

  .news-list article {
    grid-template-columns: 88px 1fr;
  }

  .news-list img {
    width: 88px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .about-functionality-figure {
    float: none;
    width: 100%;
    margin: 1rem 0 1.2rem;
  }

  .newsletter,
  .footer-brand {
    flex-basis: 100%;
  }
}

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