:root {
  --gd-void: #030609;
  --gd-deep: #08111b;
  --gd-ink: #f7fbff;
  --gd-muted: rgba(233, 242, 255, 0.72);
  --gd-faint: rgba(233, 242, 255, 0.52);
  --gd-line: rgba(130, 180, 255, 0.22);
  --gd-blue: #2f80ff;
  --gd-cyan: #6ef3ff;
  --gd-green: #b7ff6a;
  --gd-amber: #ffd36a;
  --gd-red: #ff6f7a;
  --gd-panel: rgba(10, 18, 29, 0.82);
  --gd-paper: #e9eff7;
  --gd-max: min(1180px, calc(100% - 40px));
  --gd-display: "Bahnschrift", "Microsoft YaHei UI", "Aptos Display", sans-serif;
  --gd-body: "Microsoft YaHei UI", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.godeye-site {
  min-width: 320px;
  margin: 0;
  color: var(--gd-ink);
  font-family: var(--gd-body);
  background:
    linear-gradient(90deg, rgba(110, 243, 255, 0.05) 1px, transparent 1px) 0 0 / 78px 78px,
    linear-gradient(180deg, #020509 0%, #07111d 46%, #05080e 100%);
  overflow-x: hidden;
}

body.godeye-site::before,
body.godeye-site::after {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
}

body.godeye-site::before {
  background-image:
    radial-gradient(circle at 14% 18%, rgba(110, 243, 255, 0.34) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 8%, rgba(255, 211, 106, 0.3) 0 1px, transparent 2px),
    radial-gradient(circle at 42% 64%, rgba(183, 255, 106, 0.2) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 36%, rgba(47, 128, 255, 0.32) 0 1px, transparent 2px);
  background-size: 180px 180px, 260px 260px, 220px 220px, 310px 310px;
  opacity: 0.62;
  animation: gd-star-drift 26s linear infinite;
}

body.godeye-site::after {
  z-index: 80;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: 0.12;
}

body.godeye-site.is-ready .gd-hero .gd-reveal,
.gd-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.gd-shell {
  min-height: 100vh;
}

.gd-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 70px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(130, 180, 255, 0.16);
  background: rgba(2, 5, 9, 0.78);
  backdrop-filter: blur(18px);
}

.gd-logo {
  display: inline-grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.gd-logo__mark,
.gd-orb-mark {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid rgba(110, 243, 255, 0.52);
  background:
    linear-gradient(145deg, rgba(47, 128, 255, 0.64), rgba(110, 243, 255, 0.1)),
    rgba(4, 12, 24, 0.84);
  box-shadow: 0 0 24px rgba(47, 128, 255, 0.35), inset 0 0 18px rgba(110, 243, 255, 0.24);
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

.gd-logo__mark {
  width: 42px;
}

.gd-logo__mark::before,
.gd-logo__mark::after,
.gd-orb-mark::before,
.gd-orb-mark::after {
  position: absolute;
  content: "";
}

.gd-logo__mark::before,
.gd-orb-mark::before {
  width: 52%;
  height: 52%;
  border: 1px solid rgba(255, 255, 255, 0.78);
  transform: rotate(45deg);
}

.gd-logo__mark::after,
.gd-orb-mark::after {
  width: 12%;
  height: 12%;
  border-radius: 999px;
  background: var(--gd-cyan);
  box-shadow: 0 0 18px var(--gd-cyan);
}

.gd-logo strong,
.gd-logo span {
  display: block;
}

.gd-logo strong {
  font-family: var(--gd-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.gd-logo span {
  color: var(--gd-muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gd-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: rgba(247, 251, 255, 0.82);
  font-family: var(--gd-display);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gd-nav a {
  position: relative;
  padding: 10px 0;
}

.gd-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gd-blue);
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 160ms ease, transform 160ms ease;
}

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

.gd-language {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--gd-ink);
  font-family: var(--gd-display);
  font-weight: 800;
}

.gd-language::before {
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 999px;
  content: "";
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.gd-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 88svh;
  overflow: hidden;
  isolation: isolate;
}

.gd-hero--compact {
  min-height: 58svh;
}

.gd-hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: var(--gd-hero-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
  animation: gd-hero-breathe 16s ease-in-out infinite alternate;
}

.gd-hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 5, 9, 0.18) 0%, rgba(2, 5, 9, 0.32) 48%, rgba(2, 5, 9, 0.9) 100%),
    linear-gradient(180deg, rgba(2, 5, 9, 0.18) 0%, rgba(2, 5, 9, 0.08) 50%, #06101c 100%);
}

.gd-orbital-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.52;
}

.gd-hero__content {
  width: var(--gd-max);
  margin: 0 auto;
  padding: 130px 0 78px;
}

.gd-hero__cluster {
  width: min(720px, 100%);
  margin-left: auto;
}

.gd-hero--compact .gd-hero__cluster {
  margin-left: 0;
}

.gd-kicker {
  margin: 0 0 16px;
  color: var(--gd-cyan);
  font-family: var(--gd-display);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.gd-hero h1,
.gd-page-title {
  margin: 0;
  font-family: var(--gd-display);
  font-size: 5.6rem;
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.44);
}

.gd-hero p {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(247, 251, 255, 0.86);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.75;
}

.gd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.gd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(110, 243, 255, 0.34);
  border-radius: 8px;
  color: var(--gd-ink);
  font-family: var(--gd-display);
  font-weight: 900;
  background: rgba(7, 18, 32, 0.64);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.gd-button--primary {
  border-color: transparent;
  color: #03111b;
  background: linear-gradient(135deg, var(--gd-cyan), var(--gd-green));
}

.gd-button:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 243, 255, 0.72);
}

.gd-main {
  background: linear-gradient(180deg, #06101c, #030609);
}

.gd-section {
  position: relative;
  padding: 82px 0;
}

.gd-section--paper {
  color: #101a29;
  background:
    linear-gradient(90deg, rgba(47, 128, 255, 0.08) 1px, transparent 1px) 0 0 / 58px 58px,
    var(--gd-paper);
}

.gd-wrap {
  width: var(--gd-max);
  margin: 0 auto;
}

.gd-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.gd-section-head h2,
.gd-panel-title {
  margin: 0;
  font-family: var(--gd-display);
  font-size: 3rem;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.gd-section-head p,
.gd-copy {
  margin: 0;
  color: var(--gd-muted);
  font-size: 1rem;
  line-height: 1.78;
}

.gd-section--paper .gd-section-head p,
.gd-section--paper .gd-copy {
  color: rgba(16, 26, 41, 0.72);
}

.gd-telemetry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--gd-line);
  border-bottom: 1px solid var(--gd-line);
  background: rgba(255, 255, 255, 0.03);
}

.gd-telemetry__item {
  min-height: 132px;
  padding: 24px;
  border-right: 1px solid var(--gd-line);
}

.gd-telemetry__item:last-child {
  border-right: 0;
}

.gd-telemetry__item strong {
  display: block;
  color: var(--gd-cyan);
  font-family: var(--gd-display);
  font-size: 2.2rem;
  line-height: 1;
}

.gd-telemetry__item span {
  display: block;
  margin-top: 12px;
  color: var(--gd-faint);
  line-height: 1.48;
}

.gd-grid-3,
.gd-grid-2,
.gd-news-grid,
.gd-contact-grid {
  display: grid;
  gap: 18px;
}

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

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

.gd-card,
.gd-release-card,
.gd-timeline-item,
.gd-form-panel {
  border: 1px solid var(--gd-line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.028));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.gd-card {
  min-height: 250px;
  padding: 24px;
}

.gd-card h3,
.gd-release-card h3,
.gd-timeline-item h3,
.gd-form-panel h2 {
  margin: 0 0 12px;
  font-family: var(--gd-display);
  font-size: 1.42rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.gd-card p,
.gd-release-card p,
.gd-timeline-item p {
  margin: 0;
  color: var(--gd-muted);
  line-height: 1.72;
}

.gd-card__code {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--gd-green);
  font-family: var(--gd-display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.gd-band {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  background:
    linear-gradient(90deg, rgba(3, 6, 9, 0.96), rgba(10, 28, 45, 0.86)),
    url("./assets/images/godeye/godeye-release.png") center / cover;
}

.gd-band::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(3, 6, 9, 0.8), rgba(3, 6, 9, 0.2), rgba(3, 6, 9, 0.86));
}

.gd-band .gd-wrap {
  position: relative;
  z-index: 1;
}

.gd-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr);
  gap: 42px;
  align-items: center;
}

.gd-orb-mark {
  width: 98px;
  margin-bottom: 24px;
}

.gd-terminal {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(110, 243, 255, 0.26);
  border-radius: 8px;
  background: rgba(2, 5, 9, 0.74);
  box-shadow: inset 0 0 44px rgba(47, 128, 255, 0.14);
}

.gd-terminal span {
  color: var(--gd-cyan);
  font-family: "Consolas", monospace;
  font-size: 0.92rem;
}

.gd-release {
  color: #101a29;
  background: var(--gd-paper);
}

.gd-release-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
}

.gd-article {
  padding: 42px;
  background: rgba(255, 255, 255, 0.52);
}

.gd-article h2 {
  margin: 28px 0 10px;
  font-family: var(--gd-display);
  font-size: 1.58rem;
  letter-spacing: 0;
}

.gd-article p,
.gd-article li {
  color: #101a29;
  font-size: 1rem;
  line-height: 1.72;
}

.gd-article blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--gd-blue);
  background: rgba(47, 128, 255, 0.08);
  font-weight: 800;
}

.gd-side-rail {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 90px;
}

.gd-release-card {
  padding: 22px;
  color: var(--gd-ink);
  background: #132336;
}

.gd-release-card a {
  display: block;
  padding: 10px 0;
  color: #8fc1ff;
}

.gd-timeline {
  position: relative;
  display: grid;
  gap: 16px;
}

.gd-timeline-item {
  padding: 22px;
}

.gd-timeline-item time {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gd-amber);
  font-family: var(--gd-display);
  font-weight: 900;
}

.gd-contact-grid {
  align-items: start;
}

.gd-form-panel {
  padding: 26px;
}

.gd-field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--gd-muted);
}

.gd-field input,
.gd-field textarea {
  width: 100%;
  border: 1px solid var(--gd-line);
  border-radius: 8px;
  color: var(--gd-ink);
  background: rgba(255, 255, 255, 0.06);
  outline: 0;
}

.gd-field input {
  min-height: 46px;
  padding: 0 14px;
}

.gd-field textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

.gd-footer {
  padding: 34px 0;
  border-top: 1px solid var(--gd-line);
  color: var(--gd-faint);
  background: #020509;
}

.gd-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: var(--gd-max);
  margin: 0 auto;
}

.gd-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.gd-reveal:nth-child(2) {
  transition-delay: 80ms;
}

.gd-reveal:nth-child(3) {
  transition-delay: 160ms;
}

@keyframes gd-star-drift {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  to {
    background-position: 180px 180px, -260px 260px, 220px -220px, -310px -310px;
  }
}

@keyframes gd-hero-breathe {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-18px, 8px, 0);
  }
}

@media (max-width: 980px) {
  .gd-header {
    grid-template-columns: 1fr;
    position: relative;
    padding: 16px 20px;
    background: rgba(2, 5, 9, 0.92);
  }

  .gd-nav {
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .gd-language {
    display: none;
  }

  .gd-hero,
  .gd-hero--compact {
    min-height: auto;
  }

  .gd-hero__content {
    padding: 90px 0 58px;
  }

  .gd-hero__cluster {
    margin-left: 0;
  }

  .gd-hero h1,
  .gd-page-title {
    font-size: 3.8rem;
  }

  .gd-section-head,
  .gd-split,
  .gd-release-layout,
  .gd-grid-2,
  .gd-news-grid,
  .gd-contact-grid {
    grid-template-columns: 1fr;
  }

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

  .gd-side-rail {
    position: static;
  }
}

@media (max-width: 640px) {
  .gd-header {
    min-height: 0;
  }

  .gd-nav {
    font-size: 0.78rem;
  }

  .gd-hero__content,
  .gd-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .gd-hero h1,
  .gd-page-title {
    font-size: 2.85rem;
  }

  .gd-section-head h2,
  .gd-panel-title {
    font-size: 2.2rem;
  }

  .gd-grid-3,
  .gd-telemetry {
    grid-template-columns: 1fr;
  }

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

  .gd-article {
    padding: 24px;
  }

  .gd-footer__inner {
    display: grid;
  }
}

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