:root {
  --bg: #f4f4ee;
  --bg-alt: #fbfbf8;
  --surface: #ffffff;
  --ink: #1a1d19;
  --ink-soft: #565b53;
  --ink-mute: #878c82;
  --green-900: #26332a;
  --green-700: #3a5741;
  --green-500: #5c8a5e;
  --green-100: #e7efe6;
  --violet: #6d5cff;
  --indigo: #4f46e5;
  --blue: #3b82f6;
  --amber: #e2952f;
  --teal: #2ba39b;
  --border: rgba(26, 29, 25, 0.09);
  --border-strong: rgba(26, 29, 25, 0.14);
  --shadow-sm: 0 1px 2px rgba(26, 29, 25, 0.05);
  --shadow-md: 0 12px 32px -12px rgba(26, 29, 25, 0.18);
  --shadow-lg: 0 40px 80px -32px rgba(26, 29, 25, 0.32);
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1160px;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 14px;
}

.grad {
  background: linear-gradient(105deg, var(--green-700), var(--green-500) 55%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--green-900); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(38, 51, 42, 0.5); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn--ghost:hover { background: rgba(26, 29, 25, 0.05); }
.btn--lg { padding: 15px 28px; font-size: 1.02rem; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 244, 238, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(244, 244, 238, 0.88); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand__mark { display: inline-grid; place-items: center; }
.nav__links { display: flex; gap: 30px; font-size: 0.94rem; color: var(--ink-soft); font-weight: 500; }
.nav__links a { position: relative; transition: color 0.15s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--green-500); transition: width 0.2s ease; }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 10px; }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero__glow {
  position: absolute; top: -220px; right: -160px; width: 620px; height: 620px;
  background: radial-gradient(circle at center, rgba(109, 92, 255, 0.16), transparent 62%),
              radial-gradient(circle at 60% 60%, rgba(92, 138, 94, 0.18), transparent 60%);
  filter: blur(10px); z-index: 0; pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.4rem, 4.6vw, 3.7rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 22px; }
.hero__sub { font-size: 1.12rem; color: var(--ink-soft); max-width: 540px; margin-bottom: 30px; }
.hero__sub strong { color: var(--ink); font-weight: 700; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(92, 138, 94, 0.16); }

/* Browser mockup */
.hero__visual { position: relative; }
.browser {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.browser--tight { box-shadow: var(--shadow-md); border-radius: var(--radius); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f0f0ea; border-bottom: 1px solid var(--border); }
.browser__dot { width: 11px; height: 11px; border-radius: 50%; background: #d3d3cb; }
.browser__dot:nth-child(1) { background: #f0a5a0; }
.browser__dot:nth-child(2) { background: #f2c98a; }
.browser__dot:nth-child(3) { background: #a9d3a0; }
.browser__url { margin-left: 12px; font-size: 0.78rem; color: var(--ink-mute); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 3px 14px; }
.browser img { display: block; width: 100%; height: auto; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--shadow-md); font-size: 0.82rem;
  animation: float 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 0.86rem; }
.float-card small { color: var(--ink-mute); }
.float-card--a { top: 18%; left: -34px; }
.float-card--b { bottom: 12%; right: -28px; animation-delay: 1.4s; }
.fc__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--green-100); color: var(--green-700); font-weight: 800; }
.fc__icon--blue { background: rgba(59, 130, 246, 0.14); color: var(--blue); font-size: 0.72rem; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Stats */
.stats { padding: 18px 0 8px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 22px 14px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); }
.stat b { display: block; font-size: 2rem; font-weight: 800; color: var(--green-700); letter-spacing: -0.01em; }
.stat span { font-size: 0.9rem; color: var(--ink-soft); }

/* Sections */
.section { padding: 92px 0; }
.section__head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section__head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.section__head p { color: var(--ink-soft); font-size: 1.05rem; }

/* Tools grid */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tool {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tool:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.tool__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  font-size: 1.4rem; margin-bottom: 18px;
}
.tool__icon[data-c="green"] { background: #dfeadb; }
.tool__icon[data-c="leaf"] { background: #e0efd9; }
.tool__icon[data-c="slate"] { background: #e4e6e0; }
.tool__icon[data-c="ink"] { background: #dfe1db; }
.tool__icon[data-c="amber"] { background: #f7e9cf; }
.tool__icon[data-c="teal"] { background: #d6ece9; }
.tool h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.tool p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 16px; }
.tool__tag { display: inline-block; font-size: 0.78rem; font-weight: 600; color: var(--green-700); background: var(--green-100); padding: 4px 12px; border-radius: 999px; }

/* Feature rows */
.feature { padding: 84px 0; }
.feature--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature__copy h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.18; }
.feature__copy > p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 24px; }
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 32px; color: var(--ink-soft); font-size: 0.98rem; }
.checklist li b { color: var(--ink); font-weight: 700; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px; display: grid; place-items: center;
  background: var(--green-900); color: #fff; border-radius: 50%; font-size: 0.72rem; font-weight: 700;
}

/* Workflow */
.workflow { background: var(--green-900); color: #f0f2ec; }
.workflow .eyebrow { color: #9fd39a; }
.workflow .section__head p { color: rgba(240, 242, 236, 0.72); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.step__num { font-family: var(--serif); font-size: 2.1rem; font-weight: 700; color: #8dc887; opacity: 0.9; display: block; margin-bottom: 8px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: rgba(240, 242, 236, 0.68); font-size: 0.92rem; }

/* Highlights */
.hl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hl__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hl__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hl__ic { font-size: 1.7rem; display: block; margin-bottom: 14px; }
.hl__card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.hl__card p { color: var(--ink-soft); font-size: 0.94rem; }

/* CTA */
.cta { padding: 96px 0; }
.cta__inner {
  text-align: center; background: linear-gradient(135deg, var(--green-900), #33473a);
  color: #fff; border-radius: var(--radius-lg); padding: 64px 32px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta__inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 0%, rgba(141, 200, 135, 0.25), transparent 45%), radial-gradient(circle at 90% 100%, rgba(109, 92, 255, 0.22), transparent 45%); }
.cta__inner > * { position: relative; z-index: 1; }
.cta__inner h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta__inner p { color: rgba(255, 255, 255, 0.82); font-size: 1.08rem; max-width: 560px; margin: 0 auto 30px; }
.cta .btn--primary { background: #fff; color: var(--green-900); }
.cta .btn--primary:hover { box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.4); }

/* Footer */
.footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; }
.footer__note { color: var(--ink-mute); font-size: 0.9rem; }
.footer__link { color: var(--green-700); font-weight: 600; font-size: 0.92rem; }
.footer__link:hover { text-decoration: underline; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 560px; }
  .feature__inner { grid-template-columns: 1fr; gap: 34px; }
  .feature--alt .feature__media { order: 2; }
  .tools, .hl { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
}
@media (max-width: 620px) {
  .hero { padding: 44px 0 20px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .tools, .hl, .steps { grid-template-columns: 1fr; }
  .float-card--a { left: 6px; }
  .float-card--b { right: 6px; }
  .nav__actions .btn--ghost { display: none; }
  .section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}
