:root {
  --text: #1d1d1f;
  --muted: #6e6e73;
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.88);
  --line: rgba(15, 23, 42, 0.08);
  --accent: #0071e3;
  --accent-soft: rgba(0, 113, 227, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1200px;
  --shadow-soft: 0 20px 44px rgba(15, 23, 42, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "Inter", "Segoe UI", Roboto, "Noto Sans", "PingFang SC", "PingFang TC", "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(120% 100% at 50% 0%, #f3f8ff 0%, #ffffff 44%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html.apple-device body {
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "PingFang SC", "PingFang TC", "Hiragino Sans", "Helvetica Neue", sans-serif;
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #0071e3 0%, #43a1ff 100%);
  opacity: 0.95;
  pointer-events: none;
}

.top-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1100;
  height: 56px;
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(16px);
  background: rgba(251, 251, 253, 0.72);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.top-nav.scrolled {
  background: rgba(251, 251, 253, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.top-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  gap: 18px;
}

.brand {
  flex: 0 0 auto;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.top-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.top-links a {
  transition: color 0.22s ease;
}

.top-links a:hover {
  color: var(--text);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.locale-picker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.locale-picker span {
  white-space: nowrap;
}

.locale-picker select {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  outline: none;
  min-width: 84px;
  cursor: pointer;
}

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.22s var(--ease), opacity 0.22s ease;
}

.nav-action:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

main {
  padding-top: 56px;
}

.panel {
  padding: clamp(76px, 10vw, 138px) 24px;
}

.panel-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 56px);
  background:
    radial-gradient(120% 130% at 50% -14%, #dcecff 0%, #f2f7ff 34%, #ffffff 72%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-title {
  margin: 14px 0 0;
  font-size: clamp(46px, 9.2vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.hero-subtitle {
  max-width: 860px;
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: clamp(18px, 2.3vw, 29px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform 0.22s var(--ease), opacity 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
  box-shadow: 0 10px 20px rgba(0, 113, 227, 0.2);
}

.btn.ghost {
  color: var(--accent);
  background: var(--accent-soft);
  box-shadow: none;
}

.hero-shot {
  width: min(620px, 96vw);
  margin-top: clamp(34px, 6vw, 58px);
}

.hero-shot-motion {
  --hero-shift: 0px;
  --hero-scale: 1;
  transform: translate3d(0, var(--hero-shift), 0) scale(var(--hero-scale));
  transform-origin: center top;
  transition: transform 0.46s var(--ease);
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.section-title {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-size: clamp(34px, 6vw, 74px);
}

.section-lead {
  max-width: 980px;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: clamp(18px, 2.2vw, 27px);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.summary-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.92) 100%);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.summary-card h3 {
  margin: 0;
  letter-spacing: -0.03em;
  font-size: 27px;
}

.summary-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.56;
  font-size: 17px;
}

.badge {
  display: inline-flex;
  margin-top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge.free {
  color: #136f38;
  background: rgba(19, 111, 56, 0.12);
}

.badge.mix {
  color: #0d68c5;
  background: rgba(13, 104, 197, 0.12);
}

.chapter-intro {
  padding-top: clamp(72px, 10vw, 126px);
  padding-bottom: clamp(52px, 8vw, 92px);
}

.showcase {
  padding-top: clamp(82px, 10vw, 142px);
  padding-bottom: clamp(82px, 10vw, 142px);
}

.showcase.tone-1 {
  background: radial-gradient(122% 108% at 88% 0%, #f0f7ff 0%, #ffffff 68%);
}

.showcase.tone-2 {
  background: radial-gradient(122% 108% at 14% 0%, #f4f9ff 0%, #ffffff 68%);
}

.showcase.tone-3 {
  background: radial-gradient(122% 108% at 84% 0%, #f8fcf8 0%, #ffffff 68%);
}

.showcase.tone-4 {
  background: radial-gradient(122% 108% at 16% 0%, #f3faf4 0%, #ffffff 68%);
}

.showcase.tone-5 {
  background: radial-gradient(122% 108% at 84% 0%, #f6faff 0%, #ffffff 68%);
}

.showcase-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(30px, 4vw, 72px);
}

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

.showcase.reverse .showcase-media {
  order: 1;
}

.showcase-copy h2 {
  margin: 14px 0 0;
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-size: clamp(35px, 5.3vw, 72px);
}

.showcase-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.54;
  font-size: clamp(17px, 2vw, 24px);
}

.showcase-media {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-media img {
  --parallax-shift: 0px;
  display: block;
  width: min(640px, 100%);
  max-height: min(84vh, 980px);
  height: auto;
  object-fit: contain;
  transform: translate3d(0, var(--parallax-shift), 0) scale(1.01);
  transition: transform 0.48s var(--ease);
  will-change: transform;
}

.pricing {
  background:
    radial-gradient(120% 110% at 50% -10%, #f6f9ff 0%, #f5f5f7 52%, #f5f5f7 100%);
}

.pricing-shell {
  margin-top: 34px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 250, 253, 0.94) 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.pricing-compare {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.pricing-compare thead th {
  padding: 20px 24px;
  color: #6e6e73;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: rgba(246, 247, 250, 0.88);
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
}

.pricing-compare thead th:first-child {
  width: 44%;
  text-align: left;
}

.pricing-compare thead th:not(:first-child) {
  text-align: center;
}

.pricing-compare tbody tr {
  transition: background-color 0.25s ease;
}

.pricing-compare tbody tr:hover {
  background: rgba(0, 113, 227, 0.03);
}

.pricing-compare tbody th,
.pricing-compare tbody td {
  padding: 19px 24px;
  border-top: 1px solid rgba(29, 29, 31, 0.07);
}

.pricing-compare tbody th {
  text-align: left;
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -0.01em;
}

.pricing-compare tbody td {
  text-align: center;
  color: #4a4a50;
  font-size: 16px;
  font-weight: 500;
}

.pricing-compare tbody td[data-pricing-col="pro"] {
  color: #0071e3;
  font-weight: 600;
}

.cta {
  text-align: center;
}

.cta-inner {
  max-width: 940px;
}

.cta h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-size: clamp(35px, 5.8vw, 72px);
}

.cta p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 26px);
}

.support {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.support-inner {
  max-width: 920px;
}

.support-teaser .support-inner {
  text-align: center;
}

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

.support-page-main {
  padding-top: 56px;
  background:
    radial-gradient(130% 88% at 50% 0%, #eaf3ff 0%, #f6f9ff 34%, #ffffff 74%);
}

.support-hero {
  padding-top: clamp(86px, 12vw, 148px);
  padding-bottom: clamp(50px, 8vw, 92px);
}

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

.support-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.support-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.10);
}

.support-card h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.support-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.support-card a {
  color: var(--accent);
  word-break: break-all;
}

.email-address {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.email-address span {
  font-family: "SF Mono", "Fira Code", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  letter-spacing: -0.02em;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(0, 113, 227, 0.06);
  color: var(--accent);
  display: inline-block;
  user-select: all;
  -webkit-user-select: all;
}

.copy-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.copy-email-btn:hover {
  color: var(--accent);
  background: rgba(0, 113, 227, 0.06);
  border-color: rgba(0, 113, 227, 0.2);
}

.copy-email-btn.copied {
  color: #34c759;
  border-color: rgba(52, 199, 89, 0.3);
  background: rgba(52, 199, 89, 0.06);
}

.email-send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform 0.22s var(--ease), opacity 0.22s ease;
  cursor: pointer;
}

.email-send-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.community-card {
  position: relative;
  overflow: hidden;
}

.community-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: inherit;
  transition: opacity 0.32s var(--ease);
  pointer-events: none;
}

.community-card:hover::before {
  opacity: 1;
}

.qq-card::before {
  background: linear-gradient(135deg, rgba(18, 183, 245, 0.06) 0%, rgba(18, 183, 245, 0.01) 100%);
}

.discord-card::before {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.06) 0%, rgba(88, 101, 242, 0.01) 100%);
}

.community-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 14px;
  transition: transform 0.32s var(--ease);
}

.community-card:hover .community-icon {
  transform: scale(1.08);
}

.qq-icon {
  background: rgba(18, 183, 245, 0.10);
  color: #12B7F5;
}

.discord-icon {
  background: rgba(88, 101, 242, 0.10);
  color: #5865F2;
}

.community-value a {
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.qq-card .community-value a {
  color: #12B7F5;
}

.qq-card .community-value a:hover {
  color: #0e9ad4;
}

.discord-card .community-value a {
  color: #5865F2;
}

.discord-card .community-value a:hover {
  color: #4752c4;
}

.support-faq {
  max-width: 980px;
}

.support-faq h2 {
  margin: 0;
  font-size: clamp(32px, 4.8vw, 58px);
  letter-spacing: -0.04em;
}

.faq-list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.faq-item h3 {
  margin: 0;
  font-size: 18px;
}

.faq-item p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.52;
}

.privacy-page-main {
  padding-top: 56px;
  background:
    radial-gradient(130% 86% at 50% 0%, #edf4ff 0%, #f8fbff 34%, #ffffff 74%);
}

.privacy-hero {
  padding-top: clamp(86px, 12vw, 148px);
  padding-bottom: clamp(44px, 8vw, 84px);
}

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

.privacy-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.privacy-card h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.privacy-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 17px;
}

.privacy-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.privacy-card li {
  margin: 6px 0;
  line-height: 1.5;
}

.site-footer {
  padding: 24px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: #fbfbfd;
}

.site-footer p {
  margin: 0;
  color: #8e8e93;
  font-size: 12px;
}

.reveal {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 0.9s var(--ease) var(--reveal-delay),
    transform 0.9s var(--ease) var(--reveal-delay),
    filter 0.9s var(--ease) var(--reveal-delay);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (max-width: 1080px) {
  .top-links {
    display: none;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .showcase-split,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

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

  .showcase.reverse .showcase-copy,
  .showcase.reverse .showcase-media {
    order: initial;
  }

  .pricing-shell {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pricing-compare {
    min-width: 660px;
  }
}

@media (max-width: 760px) {
  .support-grid {
    grid-template-columns: 1fr;
  }

  .top-nav-inner {
    padding: 0 14px;
    gap: 8px;
  }

  .brand {
    font-size: 18px;
  }

  .top-actions {
    gap: 6px;
  }

  .locale-picker {
    padding: 5px 8px;
    font-size: 11px;
  }

  .locale-picker span {
    display: none;
  }

  .locale-picker select {
    min-width: 72px;
    font-size: 11px;
  }

  .nav-action {
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }

  .panel {
    padding-right: 16px;
    padding-left: 16px;
  }

  .showcase {
    padding-top: clamp(70px, 9vw, 100px);
    padding-bottom: clamp(70px, 9vw, 100px);
  }

  .showcase-media img {
    width: min(520px, 100%);
  }

  .pricing-shell {
    border-radius: 20px;
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .pricing-compare {
    min-width: 0;
    display: block;
  }

  .pricing-compare thead {
    display: none;
  }

  .pricing-compare tbody {
    display: grid;
    gap: 12px;
  }

  .pricing-compare tbody tr {
    display: block;
    border: 1px solid rgba(29, 29, 31, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    padding: 14px 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  }

  .pricing-compare tbody tr:hover {
    background: rgba(255, 255, 255, 0.92);
  }

  .pricing-compare tbody th {
    display: block;
    padding: 0 0 12px;
    border: 0;
    font-size: 17px;
  }

  .pricing-compare tbody td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border: 0;
    font-size: 15px;
    text-align: left;
  }

  .pricing-compare tbody td + td {
    border-top: 1px solid rgba(29, 29, 31, 0.08);
  }

  .pricing-compare tbody td::before {
    content: attr(data-col-label);
    color: #6e6e73;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: -0.01em;
  }

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

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

  .scroll-progress {
    display: none;
  }

  .reveal,
  .reveal.in {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .hero-shot-motion,
  .showcase-media img,
  .btn,
  .nav-action {
    transform: none !important;
    transition: none !important;
  }
}
