:root {
  --bg: #c8e6c0;
  --bg-deep: #a8d4a0;
  --surface: #fffef8;
  --text: #3d3d3d;
  --text-muted: #5a6b52;
  --accent: #5a9c4a;
  --accent-dark: #3d7a32;
  --border: rgba(80, 70, 60, 0.15);
  --shadow: 0 8px 24px rgba(61, 90, 50, 0.12);
  --max-w: 960px;
  --phone-w: 430px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(100% - 32px, var(--max-w));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(200, 230, 192, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand span {
  font-size: 1.1rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.92rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 0;
}

.nav a:hover,
.nav a.active {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
}

.hero {
  padding: 48px 0 32px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(90, 156, 74, 0.15);
  color: var(--accent-dark);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.2;
}

.hero-tagline {
  margin: 0 auto 24px;
  max-width: 36em;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-visual {
  position: relative;
  width: min(100%, 280px);
  margin: 0 auto 28px;
}

.phone-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 4px rgba(255, 255, 255, 0.75);
  border: 3px solid rgba(61, 61, 61, 0.12);
  background: #111;
}

.phone-frame img {
  width: 100%;
  display: block;
}

.section-subtitle {
  text-align: center;
  margin: -16px auto 28px;
  max-width: 32em;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  align-items: start;
}

.screenshot-card {
  margin: 0;
  text-align: center;
}

.screenshot-card figcaption {
  margin-top: 12px;
  font-weight: 600;
  color: var(--accent-dark);
  font-size: 0.95rem;
}

.section-screenshots {
  background: rgba(255, 255, 255, 0.25);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #6bb05a, var(--accent));
  color: #fff;
  box-shadow: 0 4px 14px rgba(90, 156, 74, 0.35);
}

.btn-secondary {
  background: var(--surface);
  color: var(--accent-dark);
  border: 2px solid rgba(90, 156, 74, 0.35);
}

.section {
  padding: 40px 0;
}

.section-title {
  text-align: center;
  margin: 0 0 28px;
  font-size: 1.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--accent-dark);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.feature-list li {
  background: var(--surface);
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
}

.feature-list strong {
  color: var(--accent-dark);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.download-card {
  background: var(--surface);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  border: 1px solid var(--border);
}

.download-card .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.download-card .status {
  font-weight: 700;
  color: var(--accent-dark);
}

.legal-page {
  padding: 32px 0 48px;
}

.legal-page h1 {
  margin: 0 0 8px;
  font-size: 1.75rem;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.legal-page h2 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
  color: var(--accent-dark);
}

.legal-page p,
.legal-page li {
  color: var(--text);
}

.legal-page ul {
  padding-left: 1.25rem;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.92rem;
}

.legal-page th,
.legal-page td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.legal-page th {
  background: rgba(90, 156, 74, 0.1);
}

.contact-box {
  background: var(--surface);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-width: 520px;
}

.contact-box dt {
  font-weight: 700;
  color: var(--accent-dark);
  margin-top: 16px;
}

.contact-box dt:first-child {
  margin-top: 0;
}

.contact-box dd {
  margin: 4px 0 0;
  color: var(--text-muted);
}

.site-footer {
  margin-top: auto;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  background: rgba(168, 212, 160, 0.35);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

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

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
  }
}
