:root {
  color-scheme: dark;
  --bg: #101418;
  --panel: #171d22;
  --panel-strong: #1f272d;
  --text: #f5f2eb;
  --muted: #b8c0bc;
  --line: rgba(245, 242, 235, 0.14);
  --accent: #d7ff5f;
  --accent-strong: #7fd1c5;
  --ink: #101418;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(16, 20, 24, 0.86), var(--bg) 680px),
    #101418;
  color: var(--text);
  font-family:
    Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 20, 24, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 750;
  letter-spacing: 0;
}

.brand span {
  overflow-wrap: anywhere;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

.site-header a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(760px, 92vh);
  padding: 148px clamp(20px, 6vw, 84px) 72px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 20, 24, 0.9) 0%, rgba(16, 20, 24, 0.5) 54%, rgba(16, 20, 24, 0.9) 100%),
    linear-gradient(180deg, rgba(16, 20, 24, 0.14), rgba(16, 20, 24, 0.92)),
    url("assets/hero-pattern.svg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  max-width: 800px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(3.25rem, 13vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 750;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

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

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.button.secondary {
  background: rgba(245, 242, 235, 0.06);
}

.section {
  padding: 88px clamp(20px, 6vw, 84px);
  border-top: 1px solid var(--line);
}

.intro,
.contact {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1.2fr);
  gap: clamp(28px, 7vw, 88px);
  align-items: start;
}

.section > p,
.intro > p,
.contact > p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
}

.feature-number {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--accent-strong);
  font-weight: 850;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact {
  background:
    linear-gradient(90deg, rgba(127, 209, 197, 0.08), transparent 44%),
    var(--panel);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 6vw, 84px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a {
  color: var(--text);
}

@media (max-width: 780px) {
  .site-header {
    min-height: 66px;
    padding-inline: 18px;
  }

  .site-header nav {
    gap: 14px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 720px;
    padding: 122px 20px 56px;
  }

  .intro,
  .contact,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 20px;
  }
}

@media (max-width: 520px) {
  .brand span {
    max-width: 132px;
  }

  .site-header nav {
    gap: 10px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
.hero-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: min(100%, 980px);
    margin-top: 28px;
}

    .hero-gallery img {
        width: 100%;
        aspect-ratio: 3 / 4;
        object-fit: cover;
        border-radius: 8px;
        border: 1px solid rgba(245, 242, 235, 0.16);
        box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    }

@media (max-width: 780px) {
    .hero-gallery {
        grid-template-columns: 1fr;
    }
}