:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --paper: #ffffff;
  --ink: #111827;
  --muted: #667085;
  --line: rgba(17, 24, 39, 0.09);
  --blue: #4f8bff;
  --cyan: #35d5ff;
  --lime: #b8ff24;
  --violet: #c04cff;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
  --soft-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
  --radius: 24px;
  --scatter: 0;
  --serif-title: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 0%, rgba(79, 139, 255, 0.16), transparent 30rem),
    radial-gradient(circle at 88% 0%, rgba(184, 255, 36, 0.16), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 46%, #ffffff 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
  background: linear-gradient(90deg, rgba(248, 251, 255, 0.82), rgba(250, 255, 241, 0.78));
  backdrop-filter: blur(22px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #101828;
  font-size: 17px;
  font-weight: 840;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.nav a {
  padding: 8px 15px;
  border-radius: 999px;
  color: #263348;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.nav a:hover {
  background: #f1f5f9;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 840px;
  padding: 118px 0 88px;
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 700px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at 22% 20%, rgba(53, 213, 255, 0.2), transparent 25rem),
    radial-gradient(circle at 82% 28%, rgba(192, 76, 255, 0.24), transparent 26rem),
    linear-gradient(135deg, #111827 0%, #121a2d 48%, #070b14 100%);
  box-shadow: var(--shadow);
}

.hero-stage::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  background:
    radial-gradient(circle at 50% 44%, rgba(4, 7, 14, 0.38), rgba(4, 7, 14, 0.64) 38%, rgba(4, 7, 14, 0.82) 100%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.36) 34%, rgba(2, 6, 23, 0.4) 66%, rgba(2, 6, 23, 0.72));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 4;
  width: min(850px, calc(100% - 40px));
  margin: 0 auto;
  color: #fff;
  text-align: center;
}

.hero h1 {
  margin: 0 auto;
  color: #fff;
  font-family: var(--serif-title);
  font-size: clamp(34px, 4.35vw, 58px);
  line-height: 1.12;
  font-weight: 800;
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.42);
}

.hero-copy {
  width: min(760px, 100%);
  margin: 28px auto 0;
  color: #fff;
  font-size: clamp(16px, 2vw, 20px);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.46);
}

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

.hero-visual {
  position: absolute;
  z-index: 2;
  width: min(520px, 32vw);
  pointer-events: none;
  transition: transform 80ms linear, opacity 80ms linear;
}

.hero-visual-left {
  left: clamp(22px, 4vw, 86px);
  bottom: clamp(28px, 5vw, 74px);
  transform:
    translate3d(calc(var(--scatter) * -330px), calc(var(--scatter) * 96px), 0)
    rotate(calc(var(--scatter) * -10deg))
    scale(calc(1 - var(--scatter) * 0.06));
}

.hero-visual-right {
  right: clamp(22px, 4vw, 86px);
  top: clamp(44px, 7vw, 92px);
  transform:
    translate3d(calc(var(--scatter) * 350px), calc(var(--scatter) * -118px), 0)
    rotate(calc(var(--scatter) * 9deg))
    scale(calc(1 - var(--scatter) * 0.04));
}

.hero-card-image {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.36);
  opacity: 0.86;
}

.float-logo {
  position: absolute;
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: contain;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: transform 80ms linear;
}

.logo-chatgpt {
  left: -16px;
  top: 22px;
  transform:
    translate3d(calc(var(--scatter) * -220px), calc(var(--scatter) * -150px), 0)
    rotate(calc(var(--scatter) * -28deg))
    scale(calc(1 + var(--scatter) * 0.12));
}

.logo-gemini {
  right: 28px;
  top: -22px;
  transform:
    translate3d(calc(var(--scatter) * -130px), calc(var(--scatter) * -230px), 0)
    rotate(calc(var(--scatter) * 22deg))
    scale(calc(1 - var(--scatter) * 0.08));
}

.logo-claude {
  right: -24px;
  bottom: 110px;
  transform:
    translate3d(calc(var(--scatter) * -230px), calc(var(--scatter) * 125px), 0)
    rotate(calc(var(--scatter) * 36deg));
}

.logo-doubao {
  left: 54px;
  bottom: -24px;
  transform:
    translate3d(calc(var(--scatter) * -165px), calc(var(--scatter) * 230px), 0)
    rotate(calc(var(--scatter) * -18deg))
    scale(calc(1 + var(--scatter) * 0.06));
}

.logo-deepseek {
  left: 45%;
  top: 50%;
  transform:
    translate3d(calc(var(--scatter) * -285px), calc(var(--scatter) * -18px), 0)
    rotate(calc(var(--scatter) * 18deg));
}

.logo-obsidian {
  left: -22px;
  top: 20px;
  transform:
    translate3d(calc(var(--scatter) * 210px), calc(var(--scatter) * -210px), 0)
    rotate(calc(var(--scatter) * -34deg))
    scale(calc(1 + var(--scatter) * 0.14));
}

.logo-typora {
  right: 34px;
  bottom: -22px;
  transform:
    translate3d(calc(var(--scatter) * 255px), calc(var(--scatter) * 185px), 0)
    rotate(calc(var(--scatter) * 28deg))
    scale(calc(1 - var(--scatter) * 0.05));
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #5b78ff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 780;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue) 50%, var(--violet));
  color: #fff;
  box-shadow: 0 15px 35px rgba(79, 139, 255, 0.34);
}

.button.light {
  background: #fff;
  color: #111827;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section h2,
.install-section h2 {
  margin: 0;
  font-family: var(--serif-title);
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.12;
  font-weight: 800;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pain-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
}

.pain-grid span {
  color: #5b78ff;
  font-size: 13px;
  font-weight: 840;
}

.pain-grid h3 {
  margin: 38px 0 12px;
  font-family: var(--serif-title);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}

.pain-grid p,
.feature-copy p,
.install-section p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 54px;
}

.feature-reverse {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
}

.feature-reverse .feature-copy {
  order: 2;
}

.feature-copy h2 {
  margin-bottom: 22px;
}

.media-frame {
  overflow: hidden;
  padding: 9px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  border-radius: 18px;
}

.supported-section {
  padding-top: 70px;
}

.site-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.site-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 18px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #1f2937;
  font-weight: 780;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.site-list img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: contain;
  padding: 4px;
  background: #f8fafc;
}

.install-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1120px, calc(100% - 32px));
  margin: 34px auto 80px;
  padding: 48px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 84% 26%, rgba(184, 255, 36, 0.35), transparent 14rem),
    linear-gradient(135deg, #111827, #101827 46%, #172554);
  color: #fff;
  box-shadow: var(--shadow);
}

.install-section p {
  max-width: 640px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: #64748b;
  font-size: 13px;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 8px;
}

.site-footer a {
  color: #315cff;
  font-weight: 760;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .hero {
    min-height: 820px;
  }

  .hero-stage {
    min-height: 680px;
  }

  .hero-visual {
    width: min(360px, 42vw);
    opacity: 0.72;
  }

  .hero-visual-left {
    left: 18px;
    bottom: 24px;
  }

  .hero-visual-right {
    right: 18px;
    top: 48px;
  }

  .float-logo {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    width: min(100% - 24px, 720px);
  }

  .nav {
    gap: 2px;
    padding: 5px;
  }

  .nav a {
    padding: 7px 10px;
    font-size: 13px;
  }

  .hero {
    min-height: 760px;
    padding: 104px 12px 68px;
  }

  .hero-stage {
    min-height: 620px;
    border-radius: 30px;
  }

  .hero-visual {
    width: 310px;
    opacity: 0.42;
  }

  .hero-visual-left {
    left: -100px;
    bottom: -10px;
  }

  .hero-visual-right {
    right: -112px;
    top: 24px;
  }

  .pain-grid,
  .feature-section,
  .feature-reverse {
    grid-template-columns: 1fr;
  }

  .feature-reverse .feature-copy {
    order: 0;
  }

  .section {
    padding: 72px 0;
  }

  .pain-grid article {
    min-height: auto;
  }

  .install-section {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px;
  }
}

@media (max-width: 560px) {
  .brand span {
    font-size: 15px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .section,
  .install-section,
  .site-footer {
    width: calc(100% - 24px);
  }

  .media-frame {
    border-radius: 18px;
  }

  .section h2,
  .install-section h2 {
    font-size: 31px;
  }

  .pain-grid article {
    padding: 22px;
  }
}
