:root {
  --ink: #17201d;
  --muted: #66706c;
  --line: rgba(25, 45, 38, 0.12);
  --paper: #fbfdfc;
  --soft: #f1f6f3;
  --green: #159a73;
  --green-dark: #0e7257;
  --serif: Georgia, "Times New Roman", "Noto Serif SC", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.7;
  pointer-events: none;
}
.ambient-one {
  top: 70px;
  left: 50%;
  width: 740px;
  height: 430px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(151, 226, 197, 0.28), rgba(255,255,255,0) 67%);
  animation: breathe 8s ease-in-out infinite;
}
.ambient-two {
  top: 340px;
  right: -180px;
  width: 470px;
  height: 470px;
  background: radial-gradient(circle, rgba(183, 205, 255, 0.18), rgba(255,255,255,0) 68%);
}
@keyframes breathe { 50% { transform: translateX(-50%) scale(1.08); opacity: 0.95; } }

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(25, 45, 38, 0.07);
  background: rgba(251, 253, 252, 0.82);
  backdrop-filter: blur(18px);
}
.nav {
  display: flex;
  width: min(1180px, calc(100% - 48px));
  height: 74px;
  margin: auto;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #1fb486, #0f8060);
  box-shadow: 0 7px 20px rgba(21, 154, 115, 0.2);
}
.nav-links { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 10px 17px; border-radius: 999px; color: #fff !important; background: var(--ink); }

.hero { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 24px 0 58px; text-align: center; }
.hero-visual { position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(21,154,115,.1); }
h1 { margin: 28px auto 0; font-family: var(--serif); font-size: clamp(58px, 7.2vw, 102px); font-weight: 400; letter-spacing: -0.065em; line-height: 0.95; }
h1 em { color: var(--green-dark); font-weight: 400; }
.hero-copy { max-width: 720px; margin: 27px auto 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.hero-poster {
  display: flex;
  overflow: hidden;
  width: 100%;
  max-height: calc(100svh - 122px);
  aspect-ratio: 1672 / 941;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 34px 110px rgba(39, 61, 82, .16), 0 0 0 1px rgba(25,45,38,.07);
}
.hero-poster img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-visual > .eyebrow {
  position: absolute;
  top: 44px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  box-shadow: 0 12px 32px rgba(39,61,82,.08);
  backdrop-filter: blur(14px);
}
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; padding: 0 22px; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-size: 14px; font-weight: 650; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.primary { color: #fff; background: var(--ink); box-shadow: 0 12px 30px rgba(23, 32, 29, 0.18); }
.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.78); }
.hero-summary {
  display: grid;
  max-width: 820px;
  margin: 36px auto 0;
  padding: 34px 42px 36px;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(241,248,244,.94), rgba(255,255,255,.9));
  box-shadow: 0 18px 55px rgba(34,69,55,.07);
  text-align: center;
}
.summary-kicker { color: var(--green-dark); font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.hero-summary h2 {
  max-width: 690px;
  margin: 12px auto 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.18;
}
.hero-summary p { max-width: 680px; margin: 17px auto 0; color: var(--muted); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }

.product-frame {
  overflow: hidden;
  max-width: 1120px;
  margin: 56px auto 0;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 25px;
  background: rgba(255,255,255,.52);
  box-shadow: 0 35px 90px rgba(34, 69, 55, 0.15), 0 0 0 1px rgba(25,45,38,.08);
  backdrop-filter: blur(16px);
}
.product-frame img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 0 0 16px 16px; }
.frame-top { display: grid; grid-template-columns: 1fr auto 1fr; height: 42px; padding: 0 10px; align-items: center; color: #7a837f; font-size: 11px; }
.frame-top b { justify-self: end; color: var(--green); font-size: 10px; }
.frame-dots { display: flex; gap: 6px; }
.frame-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d6ded9; }
.product-caption { margin-top: 19px; color: #8b9590; font-size: 12px; letter-spacing: .04em; }

.section { width: min(1120px, calc(100% - 48px)); margin: auto; padding: 125px 0; }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading > span, .architecture-kicker, .closing > span { color: var(--green-dark); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.section h2, .architecture h2, .closing h2 { margin: 16px 0 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 68px); font-weight: 400; letter-spacing: -.045em; line-height: 1.04; }
.section-heading p { max-width: 650px; margin: 20px 0 0; color: var(--muted); line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature { min-height: 245px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.76); }
.feature-wide { grid-column: span 2; min-height: 300px; background: linear-gradient(135deg, #f1f8f4, #fbfdfc 72%); }
.feature-number { color: var(--green); font-family: var(--serif); font-size: 14px; }
.feature h3 { margin: 34px 0 12px; font-size: 22px; letter-spacing: -.035em; }
.feature p { max-width: 680px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.mini-trace { display: flex; max-width: 580px; margin-top: 34px; padding: 17px; align-items: center; gap: 14px; border: 1px solid rgba(21,154,115,.15); border-radius: 16px; background: rgba(255,255,255,.84); box-shadow: 0 10px 30px rgba(34,69,55,.06); }
.trace-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: var(--green-dark); background: #e5f6ee; }
.mini-trace div { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.mini-trace strong { font-size: 13px; }
.mini-trace small { color: var(--muted); }

.module-showcase { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 40px 0 130px; }
.showcase-heading { margin-bottom: 58px; }
.module-card {
  display: grid;
  grid-template-columns: minmax(270px, .72fr) minmax(0, 1.58fr);
  min-height: 540px;
  margin-top: 22px;
  overflow: hidden;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,.8);
  box-shadow: 0 24px 80px rgba(34,69,55,.08);
}
.module-card-reverse { grid-template-columns: minmax(0, 1.58fr) minmax(270px, .72fr); }
.module-card-reverse .module-copy { order: 2; }
.module-card-reverse .module-image { order: 1; }
.module-copy { padding: 48px 42px; }
.module-index { color: var(--green-dark); font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.module-copy h3 { margin: 20px 0 0; font-family: var(--serif); font-size: clamp(34px, 3.2vw, 50px); font-weight: 400; letter-spacing: -.04em; line-height: 1.08; }
.module-copy p { margin: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.module-copy ul { display: grid; gap: 10px; margin: 25px 0 0; padding: 0; color: #40504a; font-size: 13px; list-style: none; }
.module-copy li { position: relative; padding-left: 19px; }
.module-copy li::before { position: absolute; top: .5em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #8bd0b5; content: ""; }
.module-image { align-self: stretch; overflow: hidden; border-left: 1px solid var(--line); background: #f3f6f4; }
.module-card-reverse .module-image { border-right: 1px solid var(--line); border-left: 0; }
.module-image img { display: block; width: 100%; height: 100%; min-height: 540px; object-fit: cover; object-position: left center; }

.architecture { display: grid; grid-template-columns: .9fr 1.1fr; width: min(1120px, calc(100% - 48px)); margin: 25px auto 110px; padding: 70px; align-items: center; gap: 60px; border-radius: 34px; color: #eff8f4; background: #14231e; }
.architecture h2 { font-size: clamp(40px, 4.5vw, 62px); }
.architecture-kicker { color: #69d2ad; }
.architecture-flow { display: flex; flex-direction: column; gap: 12px; }
.architecture-flow div { display: flex; padding: 18px 20px; align-items: center; justify-content: space-between; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: rgba(255,255,255,.05); }
.architecture-flow b { font-size: 14px; }
.architecture-flow span { color: #9eb0aa; font-size: 12px; }
.architecture-flow i { align-self: center; color: #69d2ad; font-style: normal; }

.deploy-prompt {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 80px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(239,248,243,.96), rgba(255,255,255,.92) 56%, rgba(239,242,255,.78));
  box-shadow: 0 30px 90px rgba(34,69,55,.09);
}
.prompt-heading { max-width: 790px; padding: 40px 42px 38px; }
.prompt-heading > span { color: var(--green-dark); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.prompt-heading h2 { margin: 16px 0 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 68px); font-weight: 400; letter-spacing: -.045em; line-height: 1.04; }
.prompt-heading p { max-width: 680px; margin: 20px 0 0; color: var(--muted); line-height: 1.75; }
.prompt-shell { overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; color: #e9f4ef; background: #13211c; box-shadow: 0 24px 60px rgba(18,33,28,.2); }
.prompt-bar { display: flex; min-height: 66px; padding: 0 20px 0 24px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.09); color: #b8c9c2; font-size: 12px; font-weight: 650; letter-spacing: .03em; }
.prompt-bar span { display: inline-flex; align-items: center; gap: 10px; }
.prompt-bar i { width: 8px; height: 8px; border-radius: 50%; background: #65d1ab; box-shadow: 0 0 0 5px rgba(101,209,171,.1); }
.prompt-bar button { min-width: 108px; min-height: 38px; padding: 0 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #f5fbf8; background: rgba(255,255,255,.08); font: inherit; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.prompt-bar button:hover { transform: translateY(-1px); background: rgba(255,255,255,.14); }
.prompt-shell pre { margin: 0; padding: 30px 32px 34px; white-space: pre-wrap; overflow-wrap: anywhere; }
.prompt-shell code { color: #d9e8e2; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 13px; line-height: 1.9; }
.prompt-note { margin: 18px 8px 2px; color: var(--muted); font-size: 12px; line-height: 1.7; }

.closing { width: min(900px, calc(100% - 48px)); margin: auto; padding: 90px 0 140px; text-align: center; }
.closing h2 { font-size: clamp(48px, 6vw, 78px); }
footer { display: flex; width: min(1120px, calc(100% - 48px)); min-height: 110px; margin: auto; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer .brand { color: var(--ink); font-size: 14px; }
footer .brand-mark { width: 27px; height: 27px; border-radius: 8px; font-size: 12px; }

@media (max-width: 800px) {
  .nav, .hero, .section, .architecture, .deploy-prompt, .closing, footer { width: min(100% - 32px, 680px); }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding-top: 18px; }
  h1 { font-size: clamp(50px, 15vw, 76px); }
  .hero-copy { font-size: 15px; }
  .product-frame { margin-top: 52px; padding: 6px; border-radius: 18px; }
  .hero-poster { max-height: none; border-radius: 20px; }
  .hero-visual > .eyebrow { top: 30px; }
  .hero-summary { padding: 28px 24px 30px; }
  .frame-top { grid-template-columns: 1fr 1fr; }
  .frame-top > span { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: span 1; }
  .module-showcase { width: min(100% - 32px, 680px); padding-bottom: 90px; }
  .module-card, .module-card-reverse { grid-template-columns: 1fr; min-height: 0; }
  .module-card-reverse .module-copy, .module-card-reverse .module-image { order: initial; }
  .module-copy { padding: 34px 28px; }
  .module-image, .module-card-reverse .module-image { border-top: 1px solid var(--line); border-right: 0; border-left: 0; }
  .module-image img { height: auto; min-height: 0; object-fit: contain; }
  .architecture { grid-template-columns: 1fr; padding: 42px 24px; gap: 36px; }
  .deploy-prompt { padding: 16px; border-radius: 25px; }
  .prompt-heading { padding: 30px 18px; }
  .prompt-shell pre { padding: 24px 22px 28px; }
  footer { flex-wrap: wrap; gap: 18px; padding: 26px 0; }
}

@media (max-width: 520px) {
  .nav { height: 66px; }
  .nav-links { gap: 0; }
  .hero-actions { flex-direction: column; }
  .hero-poster { width: calc(100% + 16px); margin-left: -8px; border-radius: 16px; }
  .hero-visual > .eyebrow { top: 26px; max-width: calc(100% - 32px); white-space: nowrap; }
  .hero-summary h2 { font-size: 27px; }
  .button { width: 100%; }
  .section { padding: 90px 0; }
  .feature { min-height: 0; padding: 24px; }
  .feature h3 { margin-top: 26px; }
  .mini-trace small { font-size: 10px; }
  .architecture-flow div { align-items: flex-start; flex-direction: column; gap: 5px; }
  .prompt-bar { padding: 15px 16px; align-items: stretch; flex-direction: column; gap: 13px; }
  .prompt-bar button { width: 100%; }
  .prompt-shell code { font-size: 12px; line-height: 1.75; }
  footer p { width: 100%; order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambient-one { animation: none; }
  .button { transition: none; }
}
