:root {
  --bg-top: #f4efe7;
  --bg-bottom: #d8e4f2;
  --panel: rgba(255, 252, 247, 0.78);
  --panel-strong: #fffdf9;
  --text: #1c2430;
  --muted: #5f6877;
  --line: rgba(28, 36, 48, 0.1);
  --accent: #0f766e;
  --accent-strong: #115e59;
  --accent-soft: #e2f3f0;
  --shadow: 0 20px 50px rgba(38, 54, 76, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 30%),
    linear-gradient(160deg, var(--bg-top), var(--bg-bottom));
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(245, 251, 255, 0.72)),
    linear-gradient(120deg, rgba(15, 118, 110, 0.08), rgba(17, 94, 89, 0.03));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.2), rgba(15, 118, 110, 0));
}

.eyebrow,
.section-kicker,
.intro-label,
.tool-tag,
.tool-version {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  color: var(--accent-strong);
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.02;
}

.hero-text {
  max-width: 640px;
  margin: 18px 0 0;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
}

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

.hero-actions {
  margin-top: 28px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 24px rgba(17, 94, 89, 0.22);
}

.secondary-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.intro-item {
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(49, 70, 96, 0.08);
}

.intro-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.76rem;
  color: var(--muted);
}

.intro-item strong {
  font-size: 1rem;
}

.tools-section {
  margin-top: 52px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-kicker {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.tools-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 28px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.tool-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: linear-gradient(145deg, #f3fbfa, #d8efeb);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.tool-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.tool-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-tag,
.tool-version {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.tool-tag {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.tool-version {
  background: #edf2f7;
  color: #465264;
}

.tool-card h3 {
  margin: 0;
  font-size: 1.5rem;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 780px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 20px;
    padding-bottom: 36px;
  }

  .hero {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .intro-strip {
    grid-template-columns: 1fr;
  }

  .tool-card {
    padding: 22px;
    border-radius: 24px;
  }

  .site-footer {
    flex-direction: column;
  }
}
