:root {
  --void: #020512;
  --void-2: #050a19;
  --panel: rgba(8, 13, 31, 0.72);
  --panel-strong: rgba(12, 18, 42, 0.88);
  --text: #f5f8ff;
  --text-dark: #11162a;
  --muted: #aab7d6;
  --line: rgba(138, 219, 242, 0.15);
  --line-hot: rgba(190, 124, 255, 0.18);
  --cyan: #8eeaf2;
  --blue: #7b8eff;
  --magenta: #c56dff;
  --green: #75e2cf;
  --ice: #e2f4ff;
  --surface: rgba(235, 244, 255, 0.05);
  --primary-gradient: linear-gradient(135deg, var(--cyan) 0%, var(--green) 48%, var(--blue) 100%);
  --accent-gradient: linear-gradient(90deg, var(--cyan), var(--blue) 52%, var(--magenta));
  --shadow: 0 36px 120px rgba(0, 0, 0, 0.48);
  --container: min(1180px, calc(100% - 40px));
  --font-sans:
    "Alibaba PuHuiTi 3.0", "MiSans", "HarmonyOS Sans SC", "OPPO Sans", "PingFang SC", "Microsoft YaHei",
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display:
    "Alibaba PuHuiTi 3.0", "MiSans", "HarmonyOS Sans SC", "OPPO Sans", "PingFang SC", "Microsoft YaHei",
    ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 7%, rgba(142, 234, 242, 0.1), transparent 27%),
    radial-gradient(circle at 80% 8%, rgba(197, 109, 255, 0.08), transparent 29%),
    radial-gradient(circle at 54% 84%, rgba(123, 142, 255, 0.1), transparent 36%),
    linear-gradient(180deg, #020512 0%, #050a19 48%, #020512 100%);
  cursor: default;
  font-family: var(--font-sans);
  font-feature-settings:
    "kern",
    "liga";
  line-height: 1.62;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(138, 219, 242, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 219, 242, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 18%, rgba(0, 0, 0, 0.88), transparent 72%);
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
button {
  cursor: pointer;
}

input,
textarea {
  cursor: text;
}

.star-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  color: #041018;
  background: var(--cyan);
  border-radius: 999px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 5, 18, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
}

.nav-shell {
  width: var(--container);
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: clamp(16px, 2vw, 22px);
  font-family: var(--font-display);
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #041018;
  background: var(--primary-gradient);
  border-radius: 11px;
  box-shadow: 0 0 24px rgba(142, 234, 242, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 21px;
  color: rgba(245, 248, 255, 0.76);
  font-size: 14px;
  font-weight: 780;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
}

.nav-links a:not(.nav-cta)::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  content: "";
  background: var(--accent-gradient);
  border-radius: 999px;
  transform: translateX(-50%);
  box-shadow: 0 0 14px rgba(142, 234, 242, 0.46);
  transition: width 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: #fff;
  text-shadow: 0 0 14px rgba(142, 234, 242, 0.36);
  outline: none;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
  width: 28px;
}

.nav-cta {
  padding: 10px 22px !important;
  color: #041018 !important;
  background: var(--primary-gradient);
  border-radius: 999px;
  box-shadow:
    0 0 22px rgba(142, 234, 242, 0.25),
    0 14px 34px rgba(0, 0, 0, 0.22);
  text-shadow: none !important;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  grid-column: 1;
  grid-row: 1;
  background: var(--cyan);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.section-inner {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 5, 18, 0.9), rgba(2, 5, 18, 0.32) 54%, rgba(2, 5, 18, 0.78)),
    radial-gradient(circle at 68% 48%, rgba(142, 234, 242, 0.16), transparent 26%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 36%, rgba(197, 109, 255, 0.12), transparent 20%),
    radial-gradient(circle at 78% 30%, rgba(117, 226, 207, 0.1), transparent 24%);
}

.hero-orbit span {
  position: absolute;
  border: 1px solid rgba(142, 234, 242, 0.18);
  border-radius: 18px;
  background: rgba(142, 234, 242, 0.055);
  box-shadow: 0 0 28px rgba(142, 234, 242, 0.16);
  animation: floaty 7s ease-in-out infinite;
}

.hero-orbit span:nth-child(1) {
  width: 34px;
  height: 34px;
  left: 22%;
  top: 23%;
}

.hero-orbit span:nth-child(2) {
  width: 22px;
  height: 22px;
  right: 12%;
  top: 32%;
  animation-delay: -2s;
}

.hero-orbit span:nth-child(3) {
  width: 28px;
  height: 28px;
  right: 30%;
  bottom: 18%;
  animation-delay: -4s;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1.16fr);
  align-items: center;
  gap: 40px;
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 16px rgba(142, 234, 242, 0.42);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: #fff;
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 8em;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.6vw, 76px);
  font-weight: 950;
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
}

h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--cyan), #8ea0ff 46%, var(--magenta));
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: none;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 920;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 900;
}

.hero-lead {
  max-width: 540px;
  margin-bottom: 32px;
  color: rgba(245, 248, 255, 0.74);
  font-size: 18px;
  font-weight: 620;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  font-weight: 850;
  transition:
    box-shadow 0.2s ease,
    filter 0.2s ease,
    transform 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  filter: saturate(1.18) brightness(1.08);
  transform: translateY(-4px) scale(1.035);
  outline: none;
}

.btn:active {
  transform: translateY(1px) scale(0.96);
}

.btn-primary {
  color: #041018;
  background: var(--primary-gradient);
  box-shadow:
    0 0 24px rgba(142, 234, 242, 0.24),
    0 16px 38px rgba(0, 0, 0, 0.28);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(142, 234, 242, 0.22);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.hero-stage {
  min-height: 450px;
  position: relative;
  transform-style: preserve-3d;
}

.hero-card,
.level-panel {
  position: absolute;
  overflow: hidden;
  margin: 0;
  background: rgba(235, 244, 255, 0.052);
  border: 1px solid rgba(142, 234, 242, 0.14);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card::before,
.level-panel::before,
.domain-card::before,
.product-card::before,
.advantage-card::before,
.charm-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(142, 234, 242, 0.18),
    rgba(197, 109, 255, 0.075) 22%,
    transparent 46%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.hero-card:hover::before,
.level-panel:hover::before,
.domain-card:hover::before,
.product-card:hover::before,
.advantage-card:hover::before,
.charm-card:hover::before {
  opacity: 1;
}

.hero-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, rgba(142, 234, 242, 0.12), transparent 36%),
    linear-gradient(315deg, rgba(197, 109, 255, 0.1), transparent 34%);
  mix-blend-mode: screen;
}

.hero-card img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.08) brightness(0.76);
}

.hero-card-main {
  inset: 18px 110px 32px 58px;
}

.hero-card-robot {
  left: 0;
  bottom: 6px;
  width: 180px;
  height: 150px;
}

.hero-card-game {
  right: 0;
  bottom: 0;
  width: 230px;
  height: 170px;
}

.level-panel {
  right: 34px;
  top: 34px;
  width: 226px;
  padding: 18px;
  color: #fff;
  background: rgba(8, 13, 31, 0.6);
  backdrop-filter: blur(16px);
}

.level-panel strong,
.level-panel span {
  display: block;
}

.level-panel strong {
  color: var(--green);
  font-size: 24px;
  text-shadow: 0 0 16px rgba(117, 226, 207, 0.34);
}

.level-panel span {
  margin-top: 6px;
  color: rgba(245, 248, 255, 0.72);
  font-size: 13px;
}

.hero-charm-stack {
  position: absolute;
  left: 22px;
  top: 44px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(2, 5, 18, 0.42);
  border: 1px solid rgba(138, 219, 242, 0.14);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.hero-charm-stack img {
  width: 52px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(142, 234, 242, 0.16));
}

.hero-charm-stack img:nth-child(2) {
  width: 58px;
  height: 92px;
}

.section-card {
  padding: 72px 0 0;
}

.section-card > .section-inner {
  padding: clamp(28px, 4vw, 54px);
  background: linear-gradient(145deg, rgba(18, 26, 58, 0.12), rgba(7, 11, 28, 0.075));
  border: 1px solid rgba(138, 219, 242, 0.18);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 28px 90px rgba(0, 0, 0, 0.18),
    0 0 42px rgba(142, 234, 242, 0.028);
}

.icon {
  width: 34px;
  height: 34px;
  display: inline-block;
  flex: 0 0 auto;
  background:
    linear-gradient(var(--void), var(--void)) padding-box,
    var(--accent-gradient) border-box;
  border: 1px solid transparent;
  border-radius: 11px;
  box-shadow:
    inset 0 0 18px rgba(142, 234, 242, 0.1),
    0 0 18px rgba(142, 234, 242, 0.16);
  position: relative;
}

.icon::before,
.icon::after {
  position: absolute;
  inset: 9px;
  content: "";
  border: 2px solid var(--cyan);
  border-radius: 5px;
}

.icon-box::before {
  transform: rotate(45deg);
}

.icon-team::before {
  inset: 8px 11px 13px;
  border-radius: 999px 999px 4px 4px;
}

.icon-team::after {
  inset: 18px 7px 8px;
  border-radius: 999px;
}

.icon-grid::before {
  inset: 8px;
  border-radius: 4px;
  box-shadow:
    10px 0 0 -3px var(--cyan),
    0 10px 0 -3px var(--cyan),
    10px 10px 0 -3px var(--cyan);
}

.icon-spark::before {
  inset: 7px 14px;
  border-radius: 999px;
}

.icon-spark::after {
  inset: 14px 7px;
  border-color: var(--magenta);
  border-radius: 999px;
}

.icon-bunny::before {
  inset: 8px 12px 15px;
  border-radius: 999px;
}

.icon-bunny::after {
  inset: 4px 9px 20px;
  border-color: var(--magenta);
  border-radius: 999px 999px 4px 4px;
}

.icon-bot::before {
  inset: 9px 7px 11px;
  border-radius: 8px;
}

.icon-bot::after {
  inset: 14px 13px;
  width: 3px;
  height: 3px;
  background: var(--cyan);
  border: 0;
  border-radius: 999px;
  box-shadow: 8px 0 0 var(--magenta);
}

.icon-game::before {
  inset: 13px 5px 10px;
  border-radius: 999px;
}

.icon-game::after {
  inset: 13px 21px 13px 8px;
  border-color: var(--magenta);
}

.icon-pen::before {
  inset: 7px 15px;
  border-radius: 999px;
  transform: rotate(45deg);
}

.icon-chip::before {
  inset: 9px;
  border-radius: 4px;
}

.icon-orbit::before {
  inset: 7px;
  border-radius: 999px;
  transform: rotate(-24deg);
}

.icon-orbit::after {
  inset: 14px;
  background: var(--magenta);
  border: 0;
  border-radius: 999px;
}

.icon-shield::before {
  inset: 7px 9px 6px;
  border-radius: 8px 8px 12px 12px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
}

.section-copy p {
  color: var(--muted);
}

.studio-panel {
  display: grid;
  gap: 26px;
}

.studio-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.studio-visual img {
  aspect-ratio: 16 / 8;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.82);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stats div {
  padding: 10px 12px;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong,
.stats span {
  display: block;
}

.stats .icon {
  margin: 0 auto 8px;
}

.stats strong {
  color: var(--cyan);
  font-size: 22px;
  font-weight: 950;
  text-shadow: 0 0 16px rgba(142, 234, 242, 0.32);
}

.stats span {
  color: var(--muted);
  font-size: 13px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}

.text-link {
  padding: 8px 16px;
  color: var(--cyan);
  background: rgba(142, 234, 242, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.domain-card {
  min-height: 156px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px;
  gap: 14px;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(142, 234, 242, 0.085), transparent 42%),
    rgba(235, 244, 255, 0.036);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

.domain-card .icon {
  margin-bottom: 12px;
}

.domain-card > *,
.product-card > *,
.advantage-card > * {
  position: relative;
  z-index: 2;
}

.domain-card:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(197, 109, 255, 0.09), transparent 42%),
    rgba(235, 244, 255, 0.036);
}

.domain-card:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(117, 226, 207, 0.08), transparent 42%),
    rgba(235, 244, 255, 0.036);
}

.domain-card span {
  color: var(--green);
  font-weight: 900;
}

.domain-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.domain-card img {
  align-self: end;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 16px;
  filter: saturate(0.95) brightness(0.84);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 16px;
  background: rgba(255, 255, 255, 0.038);
  border: 1px solid rgba(138, 219, 242, 0.16);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.19);
}

.product-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  filter: saturate(0.92) brightness(0.82);
}

.product-card h3 {
  margin: 14px 2px 6px;
  font-size: 16px;
}

.product-card p {
  margin: 0 2px 4px;
  color: var(--muted);
  font-size: 13px;
}

.charm-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.charm-card {
  min-height: 320px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: end;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(142, 234, 242, 0.075), transparent 42%),
    linear-gradient(145deg, rgba(197, 109, 255, 0.06), rgba(235, 244, 255, 0.032));
  border: 1px solid rgba(138, 219, 242, 0.17);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 54px rgba(0, 0, 0, 0.22);
}

.charm-card::after {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 92px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(142, 234, 242, 0.42), transparent);
}

.charm-card img {
  position: absolute;
  left: 50%;
  top: 18px;
  z-index: 2;
  width: min(78%, 168px);
  height: 230px;
  object-fit: contain;
  transform: translateX(-50%);
  filter:
    drop-shadow(0 0 18px rgba(142, 234, 242, 0.12))
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.38));
  transition:
    filter 0.24s ease,
    transform 0.24s ease;
}

.charm-card:hover img {
  transform: translateX(-50%) translateY(-8px) scale(1.035);
  filter:
    drop-shadow(0 0 24px rgba(142, 234, 242, 0.22))
    drop-shadow(0 24px 34px rgba(0, 0, 0, 0.42));
}

.charm-card span {
  z-index: 2;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-shadow: 0 0 14px rgba(142, 234, 242, 0.28);
}

.charm-card h3 {
  z-index: 2;
  margin: 5px 0 0;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  min-height: 132px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(123, 142, 255, 0.085), rgba(197, 109, 255, 0.052)),
    rgba(235, 244, 255, 0.034);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.advantage-card .icon {
  margin-bottom: 18px;
}

.advantage-card span {
  color: var(--cyan);
  font-size: 18px;
  font-weight: 900;
}

.advantage-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(38px, 6vw, 86px);
}

.contact-info ul {
  margin: 20px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.contact-info li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.message-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.message-form label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.message-form label:nth-child(3),
.message-form label:nth-child(4),
.message-form button,
.form-status {
  grid-column: 1 / -1;
}

.message-form input,
.message-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(235, 244, 255, 0.045);
  border: 1px solid rgba(142, 234, 242, 0.1);
  border-radius: 12px;
  outline: none;
  resize: vertical;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.message-form input::placeholder,
.message-form textarea::placeholder {
  color: rgba(174, 184, 216, 0.62);
}

.message-form input:focus,
.message-form textarea:focus {
  background: rgba(235, 244, 255, 0.068);
  border-color: rgba(142, 234, 242, 0.42);
  box-shadow: 0 0 0 4px rgba(142, 234, 242, 0.08);
}

.message-form input.is-invalid,
.message-form textarea.is-invalid {
  border-color: rgba(197, 109, 255, 0.68);
  box-shadow: 0 0 0 4px rgba(197, 109, 255, 0.1);
}

.form-status {
  min-height: 0;
  margin: 0;
  padding: 12px 14px;
  color: var(--green);
  background: rgba(117, 226, 207, 0.075);
  border: 1px solid rgba(117, 226, 207, 0.22);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 820;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  text-shadow: 0 0 14px rgba(117, 226, 207, 0.24);
}

.form-status.is-error {
  color: #ff9dc9;
  background: rgba(255, 82, 136, 0.095);
  border-color: rgba(255, 82, 136, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 22px rgba(255, 82, 136, 0.1);
  text-shadow: 0 0 14px rgba(255, 82, 136, 0.3);
}

.form-status[hidden] {
  display: none;
}

.site-footer {
  margin-top: 72px;
  padding: 36px 0 16px;
  color: rgba(245, 248, 255, 0.78);
  background: rgba(2, 5, 18, 0.9);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 28px;
}

.footer-grid strong,
.footer-grid span,
.footer-grid a {
  display: block;
}

.footer-grid strong {
  margin-bottom: 10px;
  color: #fff;
  font-size: 18px;
}

.footer-grid span {
  margin-bottom: 12px;
  color: #fff;
  font-weight: 850;
}

.footer-grid a,
.footer-grid p {
  margin: 0 0 8px;
  color: rgba(245, 248, 255, 0.64);
  font-size: 14px;
}

.qr-box div {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  color: #041018;
  background: var(--primary-gradient);
  border-radius: 14px;
  font-weight: 950;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: rgba(245, 248, 255, 0.58);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

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

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

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-16px) rotate(8deg);
  }
}

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

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: grid;
    gap: 8px;
    padding: 14px;
    background: rgba(2, 5, 18, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 380px;
  }

  .business-grid,
  .advantage-grid,
  .charm-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 680px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  body,
  button,
  a,
  input,
  textarea {
    cursor: auto;
  }

  .brand {
    font-size: 15px;
  }

  .hero-grid {
    min-height: auto;
    padding: 46px 0;
  }

  h1 {
    font-size: 38px;
  }

  .hero-stage {
    min-height: 310px;
  }

  .hero-card-main {
    inset: 0 42px 62px 0;
  }

  .hero-card-robot {
    width: 135px;
    height: 116px;
  }

  .hero-card-game,
  .level-panel {
    display: none;
  }

  .section-card > .section-inner {
    padding: 18px;
  }

  .business-grid,
  .advantage-grid,
  .product-grid,
  .charm-grid,
  .message-form,
  .stats {
    grid-template-columns: 1fr;
  }

  .charm-card {
    min-height: 300px;
  }

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

  .domain-card img {
    width: 145px;
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

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