:root {
  --ink: #070b10;
  --panel: rgba(18, 26, 36, 0.72);
  --mist: #e8eef6;
  --muted: #93a0b2;
  --accent: #d4a24a;
  --accent-soft: rgba(212, 162, 74, 0.16);
  --cyan: #6eb6c9;
  --line: rgba(232, 238, 246, 0.12);
  --font-brand: "Syne", "Noto Sans SC", sans-serif;
  --font-display: "Noto Serif SC", "Noto Sans SC", serif;
  --font-body: "Noto Sans SC", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  background: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    linear-gradient(160deg, #070b10 0%, #0e1620 42%, #081018 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  animation: drift 14s ease-in-out infinite alternate;
}

.glow-a {
  width: 48rem;
  height: 32rem;
  top: -12rem;
  left: -10rem;
  background: radial-gradient(circle, rgba(212, 162, 74, 0.22), transparent 68%);
}

.glow-b {
  width: 40rem;
  height: 34rem;
  right: -8rem;
  top: 20%;
  background: radial-gradient(circle, rgba(110, 182, 201, 0.18), transparent 70%);
  animation-delay: -4s;
}

.grain,
.scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grain {
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.scan {
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(232, 238, 246, 0.02) 3px,
    rgba(232, 238, 246, 0.02) 4px
  );
  animation: scan-move 8s linear infinite;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 4vw, 3.5rem);
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 16, 0.55);
  border-bottom: 1px solid var(--line);
}

.logo,
.footer-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
}

.logo-en {
  font-family: var(--font-brand);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.25rem;
}

.logo-zh {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
}

.top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.top nav a:hover {
  color: var(--mist);
}

.hero {
  min-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 10vh, 7rem) clamp(1.25rem, 4vw, 3.5rem) 5rem;
  max-width: 64rem;
  animation: rise 0.9s ease-out both;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.brand-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.25rem;
}

.brand-en {
  display: block;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(4rem, 14vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: #f7fafc;
  text-shadow: 0 0 90px rgba(212, 162, 74, 0.28);
  animation: brand-in 1.15s ease-out both;
}

.brand-zh {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3.4rem);
  color: var(--accent);
  animation: rise 1s 0.12s ease-out both;
}

.tagline {
  margin: 1.4rem 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 3.4vw, 2.2rem);
  line-height: 1.35;
  max-width: 16ch;
  animation: rise 1s 0.18s ease-out both;
}

.lead {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-weight: 300;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  animation: rise 1s 0.26s ease-out both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  animation: rise 1s 0.34s ease-out both;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0 1.35rem;
  border-radius: 2px;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #15100a;
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #e0b15b;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--mist);
  background: transparent;
}

.btn-ghost:hover {
  border-color: rgba(232, 238, 246, 0.35);
}

.block {
  padding: 4.5rem clamp(1.25rem, 4vw, 3.5rem);
  max-width: 72rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.block-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.block-head h2,
.studio-panel h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
}

.block-head p,
.studio-lead {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-grid article {
  padding: 1.5rem 1.4rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-grid article:hover {
  border-color: rgba(212, 162, 74, 0.35);
  transform: translateY(-2px);
}

.feature-grid h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.studio {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.studio-panel {
  margin: 0 clamp(1.25rem, 4vw, 3.5rem);
  max-width: 72rem;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    linear-gradient(135deg, rgba(212, 162, 74, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(18, 28, 40, 0.95), rgba(10, 16, 24, 0.98));
  border: 1px solid var(--line);
  border-radius: 2px;
}

.studio-panel .eyebrow {
  margin-bottom: 0.75rem;
}

.studio-panel ul {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.studio-panel li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--mist);
}

.studio-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--accent);
}

.entity {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 2rem;
  padding: 1.75rem;
  background: var(--accent-soft);
  border: 1px solid rgba(212, 162, 74, 0.22);
}

.entity div {
  display: grid;
  gap: 0.3rem;
}

.entity dt {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.entity dd {
  margin: 0;
  font-size: 1.05rem;
}

.entity a {
  color: var(--accent);
}

.entity a:hover {
  text-decoration: underline;
}

footer {
  padding: 2.5rem clamp(1.25rem, 4vw, 3.5rem) 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-brand {
  margin-bottom: 0.85rem;
}

footer p {
  margin: 0 0 0.45rem;
}

.beian a {
  color: var(--muted);
}

.beian a:hover {
  color: var(--mist);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes brand-in {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.985);
    letter-spacing: 0.06em;
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    letter-spacing: -0.045em;
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(3%, 4%, 0) scale(1.05);
  }
}

@keyframes scan-move {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(4px);
  }
}

@media (max-width: 820px) {
  .feature-grid,
  .entity {
    grid-template-columns: 1fr;
  }

  .top nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }
}
