:root {
  --bg: #0c0f14;
  --card: #12161d;
  --text: #e6e9ef;
  --muted: #a9b0bb;
  --brand: #0e7a57;
  --brand-2: #12a97c;
  --border: #202530;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #0b0e13 0%, #0e1117 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12, 15, 20, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand .brand-text {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.logo {
  width: 36px;
  height: 36px;
}

.logo.small {
  width: 24px;
  height: 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: #fff;
  background: #0e7a5722;
}

.nav-toggle {
  display: none;
  background: none;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 8px;
}

.hero {
  padding: 64px 16px;
  text-align: center;
}

.hero h1 {
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.hero p {
  color: var(--muted);
  margin: 0 auto;
  max-width: 720px;
}

.hero-cta {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow);
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: none;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.home-about {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px 64px;
  text-align: center;
}

.home-about .link {
  color: var(--brand-2);
}

.container {
  max-width: 1000px;
  margin: 24px auto;
  padding: 0 16px 64px;
}

.list {
  color: var(--muted);
}

.list li {
  margin: 8px 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-form {
  display: grid;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0d1117;
  color: var(--text);
}

.contact-form button {
  width: fit-content;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.site-footer nav ul {
  list-style: none;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.site-footer nav a {
  color: var(--muted);
}

.site-footer nav a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-nav ul {
    display: none;
    position: absolute;
    right: 16px;
    top: 56px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    flex-direction: column;
    gap: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav ul.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

.icp {
  margin-top: 8px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.icp a {
  color: var(--muted);
}

.icp a:hover {
  color: #fff;
}