*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brand: #07c160;
  --brand-dark: #059669;
  --brand-light: #34d399;
  --brand-bg: #ecfdf5;
  --accent: #0ea5e9;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --surface: #f8fafc;
  --white: #ffffff;
  --shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--brand-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: white;
  box-shadow: 0 10px 28px rgba(7, 193, 96, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(7, 193, 96, 0.34);
}

.btn-secondary {
  background: white;
  color: var(--brand-dark);
  border: 1px solid rgba(7, 193, 96, 0.28);
}

.btn-secondary:hover {
  background: var(--brand-bg);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1rem;
}

.hero {
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at 88% 12%, rgba(52, 211, 153, 0.18), transparent 34%),
    radial-gradient(circle at 8% 78%, rgba(14, 165, 233, 0.1), transparent 38%),
    linear-gradient(180deg, #f0fdf4 0%, #ffffff 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(7, 193, 96, 0.1);
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 24px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.feature-tags span {
  padding: 7px 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.86rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.app-preview {
  border-radius: 24px;
  overflow: hidden;
  background: #111827;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-preview-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: #1f2937;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.app-preview-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4b5563;
}

.app-preview-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 360px;
}

.app-sidebar {
  padding: 18px 14px;
  background: #111827;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.app-sidebar div {
  padding: 10px 12px;
  border-radius: 10px;
  color: #94a3b8;
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.app-sidebar div.active {
  background: rgba(7, 193, 96, 0.16);
  color: #6ee7b7;
}

.app-main {
  padding: 22px;
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.stat-card {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-card strong {
  display: block;
  color: white;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.stat-card span {
  color: #94a3b8;
  font-size: 0.78rem;
}

.preview-list {
  display: grid;
  gap: 10px;
}

.preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-size: 0.84rem;
}

.strip {
  padding: 28px 0;
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.strip-grid article {
  text-align: center;
}

.strip-grid strong {
  display: block;
  margin-bottom: 4px;
}

.strip-grid span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.section {
  padding: 88px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-label {
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-muted);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.showcase-grid.reverse .showcase-copy {
  order: 2;
}

.showcase-grid.reverse .showcase-card {
  order: 1;
}

.showcase-copy h3 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.showcase-copy p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.feature-list li {
  list-style: none;
  padding-left: 22px;
  position: relative;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.showcase-card,
.info-card,
.price-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.showcase-card {
  padding: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.showcase-card pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 18px;
  border-radius: 12px;
  overflow: auto;
  font-size: 0.82rem;
  line-height: 1.55;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card {
  padding: 28px;
}

.info-card h3 {
  margin-bottom: 10px;
}

.info-card p {
  color: var(--text-muted);
}

.compliance {
  background: var(--brand-bg);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.compliance-item {
  padding: 22px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(7, 193, 96, 0.12);
}

.compliance-item strong {
  display: block;
  margin-bottom: 8px;
}

.compliance-item p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.price-card {
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-card.featured {
  border-color: rgba(7, 193, 96, 0.35);
  box-shadow: 0 18px 48px rgba(7, 193, 96, 0.14);
  transform: translateY(-4px);
}

.price-badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-bg);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.price-card h3 {
  font-size: 1.2rem;
}

.price-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.price-value small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  flex: 1;
}

.price-card li {
  color: var(--text-muted);
  font-size: 0.92rem;
  padding-left: 18px;
  position: relative;
}

.price-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand);
}

.cta-banner {
  padding: 56px 0;
  background: linear-gradient(135deg, #065f46, #059669);
  color: white;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-inner p {
  opacity: 0.88;
  margin-top: 8px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-banner .btn-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}

.site-footer {
  padding: 28px 0 40px;
  background: #0f172a;
  color: #94a3b8;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-copy .icp-link {
  color: #94a3b8;
  font-size: 13px;
  text-decoration: none;
}

.footer-copy .icp-link:hover {
  color: white;
}

.page-hero {
  padding: 56px 0 36px;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 720px;
}

.content-section {
  padding: 48px 0 88px;
}

.prose {
  max-width: 820px;
}

.prose h2 {
  margin: 28px 0 12px;
  font-size: 1.35rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.prose ul {
  padding-left: 20px;
}

.download-box {
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

@media (max-width: 960px) {
  .hero-grid,
  .showcase-grid,
  .cards-3,
  .pricing-grid,
  .strip-grid,
  .compliance-grid,
  .app-preview-body {
    grid-template-columns: 1fr;
  }

  .showcase-grid.reverse .showcase-copy,
  .showcase-grid.reverse .showcase-card {
    order: initial;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    background: white;
    border-bottom: 1px solid var(--border);
  }

  .site-nav.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }
}
