@import url('');

:root {
  color-scheme: dark;
  --bg: #090b16;
  --surface: rgba(20, 24, 45, 0.72);
  --text: #f7f8ff;
  --muted: #aeb5ce;
  --primary: #8b5cf6;
  --primary-light: #b78cff;
  --cyan: #36d8f5;
  --border: rgba(255, 255, 255, 0.13);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: #fff;
  color: #111;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  flex-direction: column;
  background:
    radial-gradient(circle at 78% 38%, rgba(91, 50, 190, 0.19), transparent 38%),
    linear-gradient(145deg, #0d1021 0%, #080a13 62%, #0b0d1a 100%);
}

.hero__grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.hero__glow {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(15px);
  pointer-events: none;
}

.hero__glow--one {
  width: 16rem;
  height: 16rem;
  top: -7rem;
  right: -7rem;
  background: rgba(139, 92, 246, 0.2);
}

.hero__glow--two {
  width: 13rem;
  height: 13rem;
  bottom: 3rem;
  left: -8rem;
  background: rgba(54, 216, 245, 0.1);
}

.hero__container {
  width: min(100% - 2rem, 72rem);
  margin: auto;
  padding: 1.5rem 0 2.5rem;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  margin-bottom: 2.25rem;
  color: #fff;
}

.brand__mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  margin-right: 0.6rem;
  place-items: center;
  border: 1px solid rgba(183, 140, 255, 0.65);
  border-radius: 0.55rem;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.32), rgba(54, 216, 245, 0.12));
  box-shadow: inset 0 0 14px rgba(139, 92, 246, 0.2);
  font-size: 0.9rem;
  font-weight: 900;
}

.brand__name {
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.brand__divider {
  width: 1px;
  height: 1rem;
  margin: 0 0.65rem;
  background: var(--border);
}

.brand__label {
  color: #858ca6;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  padding: 0.48rem 0.75rem;
  border: 1px solid rgba(54, 216, 245, 0.25);
  border-radius: 999px;
  background: rgba(20, 39, 56, 0.55);
  color: #bdeff8;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.status-pill__dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #52e5af;
  box-shadow: 0 0 0 4px rgba(82, 229, 175, 0.1), 0 0 10px #52e5af;
  animation: pulse 2s ease-in-out infinite;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.1rem, 9vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero__description {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.hero__actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button {
  display: flex;
  min-height: 3.45rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.85rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.button--primary {
  background: linear-gradient(135deg, #7342e5, #9a68f8);
  box-shadow: 0 12px 32px rgba(112, 62, 222, 0.3), inset 0 1px rgba(255, 255, 255, 0.22);
}

.button--secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(12px);
}

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

.button:hover svg {
  transform: translateX(3px);
}

.button--primary:hover {
  box-shadow: 0 16px 38px rgba(112, 62, 222, 0.4), inset 0 1px rgba(255, 255, 255, 0.22);
}

.button--secondary:hover {
  border-color: rgba(183, 140, 255, 0.5);
  background: rgba(255, 255, 255, 0.075);
}

.button:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.test-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1rem 0 0;
  color: #777f9a;
  font-size: 0.73rem;
  line-height: 1.55;
}

.test-notice svg {
  width: 1rem;
  min-width: 1rem;
  margin-top: 0.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.hero__visual {
  position: relative;
  display: grid;
  width: min(100%, 25rem);
  aspect-ratio: 1;
  margin: 2.5rem auto 0;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(183, 140, 255, 0.18);
  border-radius: 50%;
}

.orbit::after {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 18px var(--primary-light);
  content: "";
}

.orbit--outer {
  inset: 1%;
  animation: spin 24s linear infinite;
}

.orbit--outer::after {
  top: 18%;
  right: 8%;
}

.orbit--inner {
  inset: 12%;
  border-style: dashed;
  animation: spin 30s linear infinite reverse;
}

.orbit--inner::after {
  bottom: 10%;
  left: 19%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.visual-card {
  position: relative;
  width: 68%;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.3rem;
  background: linear-gradient(150deg, rgba(30, 34, 62, 0.96), rgba(14, 17, 33, 0.92));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.12);
  transform: perspective(800px) rotateY(-6deg) rotateX(4deg);
}

.visual-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.07), transparent 60%);
  content: "";
  transform: translateX(-100%);
  animation: sheen 5s ease-in-out infinite;
}

.visual-card__topline,
.visual-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7f87a2;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.visual-card__live {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #75e8be;
}

.visual-card__live i {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: currentColor;
}

.visual-card__emblem {
  display: grid;
  width: 5rem;
  height: 5rem;
  margin: 1.35rem auto 0.9rem;
  place-items: center;
  border: 1px solid rgba(183, 140, 255, 0.45);
  border-radius: 1.35rem;
  background: radial-gradient(circle at 35% 25%, rgba(183, 140, 255, 0.38), rgba(100, 56, 202, 0.15) 46%, rgba(54, 216, 245, 0.08));
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.24), inset 0 0 24px rgba(139, 92, 246, 0.15);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.visual-card__title {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.visual-card__progress {
  height: 0.22rem;
  margin: 1.25rem 0 0.8rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.visual-card__progress span {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  box-shadow: 0 0 10px var(--primary);
}

.visual-card__meta strong {
  color: #b5bbce;
  font-size: inherit;
}

.particle {
  position: absolute;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px #fff;
}

.particle--one { top: 15%; left: 18%; }
.particle--two { right: 10%; bottom: 31%; width: 0.2rem; height: 0.2rem; }
.particle--three { bottom: 10%; left: 30%; opacity: 0.55; }

.hero__footer {
  display: none;
}

@keyframes pulse {
  50% { opacity: 0.55; transform: scale(0.86); }
}

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

@keyframes sheen {
  0%, 60% { transform: translateX(-100%); }
  82%, 100% { transform: translateX(100%); }
}

@media (min-width: 36rem) {
  .hero__container {
    width: min(100% - 3rem, 72rem);
  }

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

@media (min-width: 56rem) {
  .hero__container {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
    align-items: center;
    gap: 4rem;
    padding: 3rem 0 4.5rem;
  }

  .brand {
    margin-bottom: 4.5rem;
  }

  .hero__description {
    font-size: 1.05rem;
  }

  .hero__actions {
    max-width: 30rem;
  }

  .hero__visual {
    width: 100%;
    margin: 2rem 0 0;
  }

  .hero__footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 2.8rem;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(6, 8, 16, 0.45);
    color: #575f78;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.13em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
