:root {
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #d8e3ee;
  --panel: #ffffff;
  --soft: #eef7fc;
  --page: #f7fbff;
  --blue: #0aaeea;
  --blue-strong: #067fb5;
  --green: #167a63;
  --coral: #c45746;
  --gold: #9a6b10;
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(216, 227, 238, 0.82);
  background: rgba(247, 251, 255, 0.95);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100vw - 32px));
  min-height: 72px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.button.primary {
  border-color: var(--blue);
  color: #ffffff;
  background: var(--blue);
}

.button.primary:hover {
  background: var(--blue-strong);
}

.account-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  white-space: nowrap;
}

.link-button {
  border: 0;
  background: transparent;
  color: #334155;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}

.link-button:hover {
  color: var(--blue);
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #d9eaf6;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(217, 234, 246, 0.96) 0%, rgba(217, 234, 246, 0.82) 42%, rgba(217, 234, 246, 0.58) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.34) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.28) 0 1px, transparent 1px 42px);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  width: min(1120px, calc(100vw - 32px));
  min-height: 620px;
  margin: 0 auto;
  gap: 38px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-strong);
  font-size: 14px;
  font-weight: 900;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 span {
  color: var(--blue);
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: #475467;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.studio-preview {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.78);
  border-radius: 8px;
  background: rgba(255,255,255,0.74);
  box-shadow: var(--shadow);
}

.preview-input {
  min-height: 178px;
  padding: 20px;
  border: 1px solid #cbddea;
  border-radius: 8px;
  background: #f8fcff;
}

.preview-chips,
.preview-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-chip,
.mini-tool {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #d6e3ef;
  background: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.mini-chip {
  color: var(--blue-strong);
}

.preview-video {
  display: grid;
  min-height: 210px;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 174, 234, 0.22), transparent 38%),
    linear-gradient(315deg, rgba(22, 122, 99, 0.18), transparent 36%),
    #101827;
  color: #ffffff;
  font-weight: 900;
}

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

.section.compact {
  padding: 42px 0 74px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section h2,
.page-title {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
}

.section-lead,
.page-lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
}

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

.feature,
.plan,
.text-panel,
.login-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.feature {
  padding: 22px;
}

.feature strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.feature p,
.plan p,
.text-panel p,
.text-panel li {
  color: var(--muted);
  line-height: 1.8;
}

.plans {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.plan {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 20px;
}

.plan h3 {
  margin: 0;
  font-size: 20px;
}

.price {
  margin: 14px 0 8px;
  color: var(--blue-strong);
  font-size: 34px;
  font-weight: 900;
}

.plan-meta {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.plan .button {
  margin-top: auto;
}

.notice {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #cfe6ed;
  border-radius: 8px;
  color: #334155;
  background: #eef8fb;
  font-weight: 800;
  line-height: 1.8;
}

.page-hero {
  background: #d9eaf6;
}

.page-hero .section {
  padding: 54px 0;
}

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

.text-panel {
  padding: 28px;
}

.text-panel h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.text-panel h3 {
  margin: 26px 0 8px;
  font-size: 18px;
}

.text-panel ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.login-panel {
  max-width: 520px;
  padding: 30px;
}

.login-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 900;
}

.login-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  font: inherit;
}

.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.36);
}

.pay-modal[hidden] {
  display: none;
}

.pay-card {
  position: relative;
  width: min(420px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  text-align: center;
}

.pay-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.pay-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  cursor: pointer;
}

.qr-box {
  display: grid;
  place-items: center;
  width: 240px;
  height: 240px;
  margin: 18px auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.qr-box img {
  width: 220px;
  height: 220px;
}

.pay-status {
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

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

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 54px 0;
  }

  h1 {
    font-size: 46px;
  }

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

@media (max-width: 640px) {
  .nav,
  .nav-links,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
  }

  h1 {
    font-size: 38px;
  }

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

  .grid,
  .plans {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }
}
