:root {
  --ink: rgba(13, 13, 13, 0.92);
  --ink-soft: rgba(13, 13, 13, 0.66);
  --ink-faint: rgba(13, 13, 13, 0.46);
  --paper: #ffffff;
  --warm: #fffdf7;
  --cool: #f4f7fc;
  --accent: #dd3332;
  --accent-dark: #c42625;
  --line: rgba(13, 13, 13, 0.1);
  --radius: 18px;
  --max: 1440px;
  --shadow: 0 24px 70px rgba(39, 57, 92, 0.12);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, var(--warm) 0%, var(--cool) 42%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

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

button {
  font: inherit;
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* Header */
.site-header {
  position: relative;
  z-index: 40;
  width: 100%;
  border-bottom: 1px solid rgba(13, 13, 13, 0.04);
  background: rgba(255, 253, 247, 0.72);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(24, 39, 75, 0.08);
}

.header-inner {
  width: min(100% - 64px, var(--max));
  margin: 0 auto;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand img {
  width: 120px;
  height: auto;
}

.brand-name {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-expanded="true"] {
  background: rgba(13, 13, 13, 0.05);
  outline: none;
}

.nav-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-link[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 330px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(24, 39, 75, 0.16);
}

.nav-panel a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.nav-panel a:hover {
  background: #f7f8fa;
}

.nav-panel strong {
  font-size: 14px;
  font-weight: 600;
}

.nav-panel span {
  font-size: 12px;
  color: var(--ink-faint);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.header-text-link {
  font-size: 13px;
  color: var(--ink-soft);
  white-space: nowrap;
}

.header-text-link:hover {
  color: var(--ink);
}

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(13, 13, 13, 0.16);
  border-radius: 8px;
  font-size: 13px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.login-link:hover {
  border-color: rgba(13, 13, 13, 0.34);
  background: #fff;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  margin: 4px 0;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu {
  display: none;
  padding: 10px 24px 22px;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.98);
}

.mobile-menu a {
  display: block;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(13, 13, 13, 0.06);
  font-size: 15px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 46px 24px 0;
  min-height: 760px;
  background:
    radial-gradient(48% 38% at 50% 30%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, #fffdf7 0%, #fdfbf5 46%, #f6f9fe 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero-glow-a {
  width: 720px;
  height: 420px;
  left: 50%;
  bottom: 80px;
  transform: translateX(-58%);
  background: radial-gradient(closest-side, rgba(228, 237, 253, 0.78), rgba(228, 237, 253, 0.16) 62%, transparent 100%);
}

.hero-glow-b {
  width: 560px;
  height: 340px;
  right: 4%;
  top: 120px;
  background: radial-gradient(closest-side, rgba(255, 232, 214, 0.58), rgba(255, 232, 214, 0.08) 66%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 810px);
  margin: 0 auto;
  text-align: center;
}

.hero-logo {
  width: 137px;
  height: 28px;
  margin: 0 auto 12px;
}

.hero-title {
  margin: 0;
  font-size: clamp(38px, 3.33vw, 48px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(13, 13, 13, 0.9);
}

.hero-lead {
  max-width: 620px;
  margin: 14px auto 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 208px;
  height: 58px;
  padding: 0 32px;
  border-radius: 40px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, #e84945 0%, #dd3332 52%, #cf2a29 100%);
  box-shadow: 0 14px 32px rgba(221, 51, 50, 0.30), 0 2px 6px rgba(221, 51, 50, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 24%, rgba(255, 255, 255, 0.22) 48%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #e04540 0%, #d32d2c 52%, #c42625 100%);
  box-shadow: 0 20px 44px rgba(221, 51, 50, 0.36), 0 4px 10px rgba(221, 51, 50, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.btn-primary:hover::after { transform: translateX(130%); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  color: var(--ink);
  border: 1px solid rgba(13, 13, 13, 0.26);
  background: rgba(255, 255, 255, 0.44);
}

.btn-secondary:hover {
  border-color: rgba(13, 13, 13, 0.52);
  background: #fff;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-soft);
}

.hero-meta a {
  text-decoration: underline;
  text-decoration-color: rgba(13, 13, 13, 0.22);
  text-underline-offset: 5px;
}

.hero-meta a:hover {
  color: var(--ink);
  text-decoration-color: rgba(13, 13, 13, 0.6);
}

.hero-figure {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 48px));
  margin: 44px auto 0;
}

.hero-figure img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  filter: drop-shadow(0 30px 50px rgba(40, 60, 100, 0.14));
}

/* Trust */
.trust-bar {
  width: min(100% - 64px, 1160px);
  margin: 22px auto 0;
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(13, 13, 13, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 40px rgba(32, 51, 88, 0.05);
}

.trust-bar p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.trust-bar strong {
  margin-right: 6px;
  font-size: 20px;
  color: var(--ink);
}

.trust-bar ul {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-bar li {
  padding: 6px 14px;
  border-radius: 999px;
  background: #f4f6fa;
  font-size: 13px;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* Sections */
.section {
  width: min(100% - 64px, 1160px);
  margin: 0 auto;
  padding: 104px 0 0;
}

.section-heading {
  max-width: 660px;
  margin: 0 auto 44px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-heading h2,
.collab-copy h2,
.enterprise h2 {
  margin: 0;
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.section-heading > p:last-child {
  margin: 14px 0 0;
  font-size: 16px;
  color: var(--ink-soft);
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 28px 24px 30px;
  border: 1px solid rgba(13, 13, 13, 0.07);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 36px rgba(35, 55, 95, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 13, 13, 0.13);
  box-shadow: 0 22px 48px rgba(35, 55, 95, 0.1);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 13px;
  background: #fff2f1;
  color: var(--accent);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* Collaboration */
.collaboration {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 64px;
}

.collab-copy p:not(.eyebrow) {
  margin: 16px 0 0;
  font-size: 16px;
  color: var(--ink-soft);
}

.check-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #eaf1ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%232f6bdb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}

.collab-visual {
  position: relative;
  min-height: 380px;
  border-radius: 28px;
  background:
    radial-gradient(60% 60% at 62% 38%, rgba(218, 231, 255, 0.9), rgba(240, 245, 255, 0.3) 68%, transparent 100%),
    linear-gradient(145deg, #f7faff, #eef4ff);
  overflow: hidden;
}

.doc-card {
  position: absolute;
  border: 1px solid rgba(24, 54, 110, 0.1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 26px 60px rgba(34, 64, 120, 0.16);
}

.doc-card-back {
  width: 64%;
  height: 62%;
  right: 8%;
  top: 12%;
  padding: 34px 30px;
  transform: rotate(5deg);
  opacity: 0.55;
}

.doc-card-front {
  width: 68%;
  height: 68%;
  left: 9%;
  top: 17%;
  padding: 26px 30px;
}

.doc-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
}

.doc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.doc-dot.red { background: #ff6b62; }
.doc-dot.yellow { background: #ffcc4d; }
.doc-dot.green { background: #51c778; }

.doc-tag {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eef4ff;
  font-size: 11px;
  color: #2f6bdb;
}

.doc-line {
  display: block;
  height: 9px;
  margin-bottom: 15px;
  border-radius: 5px;
  background: #eef1f6;
}

.doc-line.title-line {
  width: 62%;
  height: 14px;
  margin-bottom: 24px;
  background: #dbe4f4;
}

.doc-line.short {
  width: 46%;
}

.cursor {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cursor i {
  width: 0;
  height: 0;
  border-left: 8px solid #2f6bdb;
  border-bottom: 12px solid transparent;
}

.cursor b {
  padding: 2px 7px;
  border-radius: 5px;
  background: #2f6bdb;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
}

.cursor-a {
  right: 14%;
  bottom: 26%;
}

.cursor-b {
  left: 34%;
  bottom: 13%;
}

.cursor-b i {
  border-left-color: #dd3332;
}

.cursor-b b {
  background: #dd3332;
}

/* Platforms */
.platform-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 10px;
  border: 1px solid rgba(13, 13, 13, 0.07);
  border-radius: 14px;
  background: #fff;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.platform-list li:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 13, 13, 0.15);
}

.platform-list img {
  width: 28px;
  height: 28px;
}

.platform-list span {
  font-size: 14px;
  font-weight: 600;
}

.platform-list small {
  font-size: 11px;
  color: var(--ink-faint);
}

/* Steps */
.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: #f8fafd;
  border: 1px solid rgba(13, 13, 13, 0.05);
}

.step-num {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.step-list h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.step-list p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Enterprise */
.enterprise {
  width: min(100% - 64px, 1160px);
  margin: 104px auto 0;
  padding: 58px 56px;
  border-radius: 26px;
  background:
    radial-gradient(60% 130% at 86% 20%, rgba(221, 51, 50, 0.22), transparent 58%),
    linear-gradient(120deg, #17181c 0%, #262a33 58%, #333845 100%);
  color: #fff;
  box-shadow: 0 30px 70px rgba(20, 26, 40, 0.2);
}

.enterprise-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.enterprise .eyebrow {
  color: #ff8a88;
}

.enterprise h2 {
  max-width: 620px;
}

.enterprise p:not(.eyebrow) {
  max-width: 560px;
  margin: 14px 0 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.68);
}

.btn-light {
  flex: 0 0 auto;
  min-width: 148px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: #f4f4f4;
}

/* FAQ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 44px 24px 0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--ink-soft);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 44px 24px 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  margin-top: 104px;
  padding: 52px 0 28px;
  border-top: 1px solid rgba(13, 13, 13, 0.08);
  background: #fbfcfe;
}

.footer-inner {
  width: min(100% - 64px, 1160px);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  max-width: 420px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-brand p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

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

.footer-links a {
  font-size: 13px;
  color: var(--ink-soft);
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-meta {
  width: min(100% - 64px, 1160px);
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(13, 13, 13, 0.06);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-faint);
}

/* Responsive */
@media (max-width: 1200px) {
  .header-inner {
    width: calc(100% - 48px);
    gap: 18px;
  }

  .header-text-link {
    display: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu:not([hidden]) {
    display: block;
  }

  .hero {
    min-height: 0;
    padding-top: 38px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: min(100%, 320px);
  }

  .hero-meta {
    flex-wrap: wrap;
  }

  .trust-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-bar ul {
    flex-wrap: wrap;
  }

  .collaboration {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .collab-visual {
    min-height: 320px;
    order: 2;
  }

  .enterprise-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .step-list {
    grid-template-columns: 1fr;
  }

  .section {
    width: calc(100% - 48px);
    padding-top: 82px;
  }

  .enterprise {
    width: calc(100% - 48px);
    margin-top: 82px;
    padding: 40px 30px;
  }

  .site-footer {
    margin-top: 82px;
  }

  .footer-inner {
    width: calc(100% - 48px);
    flex-direction: column;
  }

  .footer-meta {
    width: calc(100% - 48px);
  }
}

@media (max-width: 560px) {
  .header-inner {
    width: calc(100% - 32px);
    height: 62px;
  }

  .brand img {
    width: 106px;
  }

  .login-link {
    display: none;
  }

  .hero {
    padding: 30px 16px 0;
  }

  .hero-logo {
    width: 116px;
    height: auto;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 22px;
  }

  .hero-meta {
    gap: 8px;
    font-size: 13px;
  }

  .hero-figure {
    width: calc(100% - 8px);
    margin-top: 32px;
  }

  .trust-bar {
    width: calc(100% - 32px);
    padding: 20px;
  }

  .section {
    width: calc(100% - 32px);
    padding-top: 68px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .feature-grid,
  .platform-list {
    grid-template-columns: 1fr;
  }

  .platform-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    padding: 24px 20px;
  }

  .collab-visual {
    min-height: 280px;
  }

  .doc-card-front {
    width: 78%;
    left: 6%;
  }

  .doc-card-back {
    width: 72%;
    right: 4%;
  }

  .enterprise {
    width: calc(100% - 32px);
    margin-top: 68px;
    padding: 32px 22px;
  }

  .faq-list summary {
    font-size: 15px;
  }

  .faq-list details p {
    padding-right: 16px;
  }

  .site-footer {
    margin-top: 68px;
  }

  .footer-inner,
  .footer-meta {
    width: calc(100% - 32px);
  }

  .footer-meta {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
