:root {
  --bg: #07090a;
  --text: #f8faf8;
  --muted: #d6dedb;
  --line: rgba(255, 255, 255, 0.24);
  --panel: rgba(10, 14, 14, 0.58);
  --accent: #62d38f;
  --accent-strong: #f2c14e;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(90deg, rgba(4, 7, 7, 0.86), rgba(4, 7, 7, 0.34) 58%, rgba(4, 7, 7, 0.74)),
    url("/assets/desktop-bg.jpg") center / cover fixed no-repeat;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(0, 0, 0, 0.24);
}

a {
  color: inherit;
}

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

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 64px 0 32px;
}

.hero-copy {
  width: min(650px, 100%);
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 10em;
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.contact-grid {
  width: min(680px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.contact-link {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  text-align: left;
  text-decoration: none;
  background: var(--panel);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.contact-link span {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
}

.contact-link strong {
  overflow-wrap: anywhere;
  font-size: 17px;
  line-height: 1.25;
}

.contact-link:hover {
  border-color: rgba(98, 211, 143, 0.82);
  background: rgba(13, 32, 23, 0.72);
}

.showcase {
  padding: 10px 0 72px;
}

.feature-video {
  width: 100%;
  max-height: 70vh;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050606;
  object-fit: contain;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: #101313;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 20;
  max-width: min(360px, calc(100% - 32px));
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(9, 13, 13, 0.88);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 760px) {
  body {
    background:
      linear-gradient(180deg, rgba(3, 5, 5, 0.62), rgba(3, 5, 5, 0.18) 46%, rgba(3, 5, 5, 0.88)),
      url("/assets/mobile-bg.jpg") center top / cover fixed no-repeat;
  }

  .page-shell {
    width: min(100% - 28px, 520px);
  }

  .hero {
    min-height: 76vh;
    align-items: flex-end;
    padding: 48px 0 24px;
  }

  h1 {
    max-width: 8em;
    font-size: 44px;
  }

  .lead {
    max-width: 20em;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.7;
    word-break: break-all;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .contact-link {
    min-height: 72px;
    padding: 15px 16px;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .showcase {
    padding-bottom: 42px;
  }
}
