:root {
  --bg: #fff;
  --ink: #111;
  --muted: #5c5c5c;
  --soft: #8a8a8a;
  --line: #ececec;
  --brand: #0066fc;
  --brand-deep: #0052cc;
  --brand-soft: #e8f1ff;
  --mint: #f3f8ff;
  --mint-2: #eaf3ff;
  --shadow: 0 24px 80px rgba(17, 40, 80, .08);
  --max: 1180px;
  --nav-h: 64px;
  --legal-banner-h: 44px;
  --safe-top: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  padding-top: calc(var(--safe-top) + var(--legal-banner-h) + var(--nav-h));
  color: var(--ink);
  background: var(--bg);
  font: 16px/1.65 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

.legal-banner {
  position: fixed;
  top: var(--safe-top);
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fef08a;
  border-bottom: 1px solid #facc15;
  color: #713f12;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  box-sizing: border-box;
}
.legal-banner-icon { flex-shrink: 0; font-size: 0.85rem; line-height: 1; }
.legal-banner-text {
  max-width: 960px;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.header {
  position: fixed;
  top: calc(var(--safe-top) + var(--legal-banner-h));
  left: 0;
  right: 0;
  z-index: 80;
  height: var(--nav-h);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}
.header.scrolled { border-bottom-color: var(--line); }
.nav {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; }
.nav-menu { display: flex; align-items: center; gap: 32px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-menu a { font-size: 14px; color: #333; }
.nav-menu a:hover, .nav-menu a.active { color: var(--brand); }
.nav-menu a.active { font-weight: 600; }
.nav-menu-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 40px; height: 40px; place-items: center; }
.nav-toggle i { font-size: 24px; line-height: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-black { color: #fff; background: #1a1a1a; }
.btn-black:hover { background: #000; }
.btn-ghost { color: #333; }
.btn-outline { color: #222; background: #fff; border: 1px solid #d8dce3; }
.btn-outline:hover { border-color: #b8bfca; background: #fafbfc; }
.btn-link { color: var(--brand); font-weight: 500; }
.btn-link:hover { color: var(--brand-deep); }
.btn-lg { min-height: 48px; padding: 12px 24px; font-size: 16px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 12px;
}
.hero-glow {
  position: absolute;
  inset: -10% -15% auto;
  height: 720px;
  background: radial-gradient(circle at 50% 18%, rgba(0,102,252,.12), rgba(120,190,255,.055) 42%, transparent 72%);
  pointer-events: none;
}
.hero-intro {
  position: relative;
  z-index: 1;
  max-width: 920px;
  text-align: center;
}
.hero-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 16px;
  border-radius: 999px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  font-size: 13px;
  font-weight: 600;
}
.hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 5.35rem);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 700;
}
.hero-desc {
  margin: 20px auto 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }

.hero-product {
  position: relative;
  z-index: 1;
  margin-top: 42px;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 22px;
  box-shadow: none;
}
.hero-product-bar {
  min-height: 54px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff6359; }
.window-dots i:nth-child(2) { background: #ffbd2e; }
.window-dots i:nth-child(3) { background: #28c840; }
.product-breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--soft); }
.product-breadcrumb strong { color: var(--ink); }
.product-status { justify-self: end; display: flex; align-items: center; gap: 12px; color: var(--soft); }
.product-status b { color: #159447; font-weight: 600; }
.product-status b::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #22c55e; }
.product-status code { color: var(--ink); font: 500 12px/1.4 inherit; }
.hero-flow {
  margin: 0;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  list-style: none;
  background: rgba(255,255,255,.92);
  border: 1px solid #dfe6f0;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(28,66,126,.08);
}
.hero-flow li { position: relative; min-width: 0; padding: 13px 12px; display: flex; align-items: center; gap: 10px; border: 1px solid #dfebff; border-radius: 12px; background: var(--mint); }
.hero-flow li:not(:last-child)::after { content: '›'; position: absolute; right: -16px; z-index: 2; color: #8ca1bf; font-size: 20px; }
.hero-flow li > span { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--brand); background: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 2px 8px rgba(0,102,252,.08); }
.hero-flow b, .hero-flow small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-flow b { font-size: 13px; line-height: 1.45; }
.hero-flow small { margin-top: 2px; color: var(--soft); font-size: 10px; }
.hero-screen { position: relative; margin-top: 16px; overflow: hidden; border: 1px solid #dfe6f0; border-radius: 22px; background: #edf5f7; box-shadow: 0 28px 90px rgba(28,66,126,.14),0 4px 18px rgba(17,40,80,.06); }
.hero-publish-badge { position: absolute; top: 18px; right: 18px; padding: 10px 14px; display: flex; align-items: center; gap: 7px; border: 1px solid rgba(255,255,255,.8); border-radius: 12px; color: #52606f; background: rgba(255,255,255,.9); box-shadow: 0 10px 34px rgba(23,52,94,.16); backdrop-filter: blur(14px); font-size: 11px; }
.hero-publish-badge i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.hero-publish-badge strong { color: #141414; font-weight: 600; }
.capability-strip {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid #e5e9ef;
  border-radius: 16px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 10px 35px rgba(17,40,80,.045);
  backdrop-filter: blur(16px);
}
.capability-strip span { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.capability-strip span + span { border-left: 1px solid var(--line); }
.capability-strip i { color: var(--brand); font-style: normal; font-size: 15px; }
.hero-shot {
  display: block;
  width: 100%;
  height: auto;
}

section { padding: 88px 0; }
#features, #pricing, #ai, #secure {
  scroll-margin-top: calc(var(--safe-top) + var(--nav-h) + var(--legal-banner-h) + 12px);
}
.badge {
  width: fit-content;
  margin: 0 auto 22px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 550;
  letter-spacing: .04em;
}
.badge.left { margin-left: 0; }
.sec-title {
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -.045em;
  font-weight: 700;
}
.sec-desc {
  max-width: 640px;
  margin: 16px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}

.tabs {
  position: relative;
  width: fit-content;
  margin: 36px auto 28px;
  padding: 5px;
  display: flex;
  gap: 2px;
  border-radius: 999px;
  background: #f2f3f5;
}
.tabs-ink {
  position: absolute;
  top: 5px;
  left: 0;
  height: calc(100% - 10px);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  pointer-events: none;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), width .45s cubic-bezier(.22, 1, .36, 1);
}
.tabs button {
  position: relative;
  z-index: 1;
  min-width: 88px;
  padding: 10px 22px;
  border-radius: 999px;
  color: #666;
  font-size: 15px;
  background: transparent;
  transition: color .3s;
}
.tabs button[aria-selected="true"] {
  color: #111;
  font-weight: 600;
}
.scene-stage {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: var(--mint);
  transition: height .5s cubic-bezier(.22, 1, .36, 1);
}
.scene {
  display: none;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  width: 100%;
}
.scene.active,
.scene.is-in,
.scene.is-out {
  display: grid;
}
.scene.active { position: relative; }
.scene.is-in,
.scene.is-out {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
}
.scene-copy { padding: 56px 28px 56px 48px; }
.scene-copy h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.28;
  letter-spacing: -.035em;
}
.scene-copy p { margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.scene-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 32px 32px 8px;
}
.scene-copy,
.scene-shot {
  transition: opacity .45s cubic-bezier(.22, 1, .36, 1), transform .55s cubic-bezier(.22, 1, .36, 1);
}
.scene-shot { transition-delay: .06s; }
.scene.is-out .scene-copy,
.scene.is-out .scene-shot {
  opacity: 0;
  transform: translateX(var(--out-x, -28px));
}
.scene.is-in .scene-copy,
.scene.is-in .scene-shot {
  opacity: 0;
  transform: translateX(var(--in-x, 36px));
}
.scene.active .scene-copy,
.scene.active .scene-shot {
  opacity: 1;
  transform: none;
}
.scene-shot {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  border: 1px solid #e4eaf3;
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow);
}
.scene-ai-workspace-shot { width: min(54vw, 760px); }

.eco {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, #f7fbff, transparent 60%),
    linear-gradient(#f8fafc, #fff);
}
.eco::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(15,40,80,.035) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(15,40,80,.03) 0 1px, transparent 1px 48px);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 70%, transparent);
  transform: perspective(700px) rotateX(58deg) scale(1.4);
  transform-origin: 50% 0;
  pointer-events: none;
}
.eco .wrap { position: relative; }
.eco-title { text-align: right; max-width: 720px; margin-left: auto; }
.eco-title h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.04em; line-height: 1.2; }
.eco-title p { margin: 14px 0 0; color: var(--muted); }
.eco-row {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.eco-card {
  padding: 22px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 40, 80, .05);
  display: flex; align-items: center; gap: 12px;
  font-weight: 600;
}
.eco-ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
  flex: none;
}
.eco-ico i { font-size: 20px; line-height: 1; }

.secure-shell {
  padding: 56px 48px 28px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.4), transparent 40%),
    repeating-linear-gradient(90deg, rgba(0,102,252,.05) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(0,102,252,.05) 0 1px, transparent 1px 42px),
    var(--mint-2);
}
.secure-shell .badge { margin-left: 0; }
.secure-shell .sec-title, .secure-shell .sec-desc { text-align: left; margin-left: 0; }
.secure-list { margin-top: 28px; display: grid; gap: 14px; }
.secure-card {
  padding: 28px 30px 32px;
  border-radius: 22px;
  background: #fff;
}
.secure-icon { display: block; color: var(--brand); font-size: 28px; line-height: 1; }
.secure-card h3 { margin: 22px 0 8px; font-size: 20px; }
.secure-card p { margin: 0; color: var(--muted); }

.start .sec-title { letter-spacing: -.04em; }
.plan-row {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.plan {
  padding: 22px 20px 24px;
  border-radius: 18px;
  background: #f7f7f8;
  text-align: left;
  transition: transform .2s, background .2s;
}
.plan:hover { transform: translateY(-3px); background: #f0f2f5; }
.plan small { color: var(--soft); font-size: 12px; }
.plan strong { display: block; margin: 10px 0 4px; font-size: 22px; letter-spacing: -.03em; }
.plan em { font-style: normal; color: var(--muted); font-size: 13px; }
.plan.hot { background: #1a1a1a; color: #fff; }
.plan.hot small, .plan.hot em { color: #bdbdbd; }
.plan.hot:hover { background: #111; }
.start-note { margin: 28px 0 0; text-align: center; color: var(--muted); font-size: 14px; }

.site-footer { padding: 48px 0 36px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.site-footer h4 { margin: 0 0 14px; font-size: 14px; }
.site-footer a { display: block; margin: 8px 0; color: #666; font-size: 14px; }
.site-footer a:hover { color: var(--ink); }
.copy { margin: 36px 0 0; color: var(--soft); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tabs-ink, .scene-stage, .scene-copy, .scene-shot { transition: none; }
}
@media (max-width: 980px) {
  .nav { gap: 12px; }
  .nav-actions { margin-left: auto; }
  .nav-cta-desktop { display: none; }
  .nav-menu { display: none; }
  .header { z-index: 80; }
  .nav.open .nav-menu {
    display: grid;
    position: absolute;
    left: 50%;
    right: auto;
    top: 100%;
    width: 100vw;
    margin: 0;
    padding: 8px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    gap: 2px;
    transform: translateX(-50%);
    box-shadow: 0 16px 40px rgba(17, 40, 80, .08);
  }
  .nav.open .nav-menu a { padding: 12px 4px; }
  .nav-menu-cta {
    display: grid;
    gap: 8px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .nav-menu-cta .btn { width: 100%; }
  .nav-menu a.btn-ghost {
    color: #111;
    background: #f4f4f5;
  }
  .nav-menu a.btn-black,
  .nav-menu a.btn-black:hover {
    color: #fff;
  }
  .nav-toggle { display: grid; }
  .hero {
    overflow: visible;
    padding-top: 32px;
    min-height: auto;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 8vw, 4.4rem);
    line-height: 1.12;
    letter-spacing: -.045em;
  }
  .hero-product { border-radius: 18px; }
  .hero-flow { grid-template-columns: repeat(5, minmax(130px, 1fr)); overflow-x: auto; }
  .product-status span, .product-status code { display: none; }
  .capability-strip { grid-template-columns: repeat(5, minmax(145px, 1fr)); overflow-x: auto; }
  .scene.active, .scene.is-in, .scene.is-out, .eco-row, .plan-row, .foot-grid { grid-template-columns: 1fr 1fr; }
  .scene { grid-template-columns: 1fr; }
  .scene-copy { padding: 36px 28px 12px; }
  .scene-visual { padding: 12px 24px 28px; }
  .scene-shot { max-width: 100%; }
  .secure-shell { padding: 32px 22px 16px; }
  .eco-title { text-align: left; margin-left: 0; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .hero-glow { left: 0; right: 0; width: auto; }
  .legal-banner {
    gap: 6px;
    padding: 8px 12px;
    font-size: 0.68rem;
    line-height: 1.5;
  }
  .hero { padding: 24px 0 8px; }
  .hero-kicker { margin-bottom: 14px; font-size: 11px; }
  .hero h1 {
    font-size: 2.55rem;
    line-height: 1.14;
    letter-spacing: -.04em;
  }
  .hero-desc { margin-top: 16px; font-size: 14px; line-height: 1.7; }
  .hero-actions { margin-top: 22px; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-product { width: calc(100% - 16px); margin-top: 30px; border-radius: 16px; }
  .hero-product-bar { min-height: 48px; padding: 0 12px; grid-template-columns: auto 1fr auto; }
  .product-breadcrumb span { display: none; }
  .product-status { gap: 5px; }
  .hero-flow { padding: 12px; gap: 20px; grid-template-columns: repeat(5, 128px); }
  .hero-flow li { padding: 10px; }
  .hero-publish-badge { top: 10px; right: 10px; padding: 7px 9px; }
  .hero-publish-badge strong { display: none; }
  .capability-strip { width: calc(100% - 28px); margin-top: 12px; padding: 14px 6px; grid-template-columns: repeat(5, 140px); justify-content: start; }
  section { padding: 64px 0; }
  .sec-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .tabs {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .scene.active, .scene.is-in, .scene.is-out, .eco-row, .plan-row, .foot-grid { grid-template-columns: 1fr; }
  .scene-copy { padding: 28px 20px 8px; }
  .scene-visual { min-height: 0; padding: 8px 16px 24px; }
  .scene-shot { max-width: 100%; border-radius: 24px; }
  .btn-lg { width: 100%; }
  .eco { padding: 64px 0 48px; }
}
