:root {
  color-scheme: light;
  --ink: #0b1d46;
  --ink-soft: #52617d;
  --blue: #2485f6;
  --blue-dark: #126bd4;
  --blue-soft: #eaf4ff;
  --mint: #19a77b;
  --line: #dfe9f5;
  --surface: #ffffff;
  --surface-soft: #f6faff;
  --shadow: 0 20px 60px rgba(31, 97, 164, 0.12);
  --radius: 24px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 680px;
  z-index: -2;
  background:
    radial-gradient(circle at 85% 8%, rgba(42, 149, 255, 0.18), transparent 33%),
    radial-gradient(circle at 6% 48%, rgba(62, 171, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 92%);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(36, 133, 246, 0.35);
  outline-offset: 3px;
}

[data-lang="zh"] {
  display: none !important;
}

html[data-language="zh"] [data-lang="en"] {
  display: none !important;
}

html[data-language="zh"] [data-lang="zh"] {
  display: revert !important;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(223, 233, 245, 0.8);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

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

.nav-actions,
.nav-links {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 30px;
  margin-left: auto;
}

.nav-links a {
  color: #31415e;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a:hover,
.footer-links a:hover,
.legal-nav a:hover {
  color: var(--blue-dark);
}

.nav-actions {
  gap: 12px;
}

.language-switch {
  min-width: 90px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.language-switch:hover {
  border-color: #a9cdef;
  background: var(--blue-soft);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #2592ff, #1875e5);
  box-shadow: 0 12px 30px rgba(36, 133, 246, 0.26);
}

.button-primary:hover {
  box-shadow: 0 16px 34px rgba(36, 133, 246, 0.34);
}

.button-secondary {
  color: var(--blue-dark);
  border-color: #b8d6f5;
  background: rgba(255, 255, 255, 0.84);
}

.button-small {
  min-height: 42px;
  padding-inline: 17px;
  border-radius: 12px;
  font-size: 0.91rem;
}

.telegram-mark {
  font-size: 1.05em;
  transform: rotate(-12deg);
}

.hero {
  padding: 82px 0 54px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 13px;
  border: 1px solid #d7eaff;
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(234, 244, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(25, 167, 123, 0.11);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 5.4vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: -0.062em;
}

.hero-copy > p:not(.eyebrow):not(.trust-line) {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 21px 0 0;
  color: #60708b;
  font-size: 0.9rem;
}

.trust-line::before {
  content: "✓";
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--mint);
  font-size: 0.75rem;
  font-weight: 900;
}

.chat-window {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(212, 228, 244, 0.9);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.chat-window::before,
.chat-window::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
}

.chat-window::before {
  width: 220px;
  height: 220px;
  top: -48px;
  right: -66px;
  background: rgba(36, 133, 246, 0.11);
}

.chat-window::after {
  width: 150px;
  height: 150px;
  bottom: -40px;
  left: -45px;
  background: rgba(46, 205, 162, 0.11);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 5px 17px;
  border-bottom: 1px solid var(--line);
}

.chat-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #39a1ff, #1675e5);
  font-size: 1.05rem;
  font-weight: 900;
}

.chat-name {
  font-weight: 850;
}

.chat-status {
  display: block;
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 700;
}

.chat-body {
  display: grid;
  gap: 13px;
  padding: 22px 4px 5px;
}

.bubble {
  max-width: 84%;
  padding: 11px 14px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(47, 78, 116, 0.08);
}

.bubble-user {
  justify-self: end;
  border-bottom-right-radius: 5px;
  background: #dff7d7;
}

.bubble-bot {
  border: 1px solid #e3ebf5;
  border-bottom-left-radius: 5px;
  background: #fff;
}

.bubble small {
  display: block;
  margin-top: 4px;
  color: #7a8ba4;
  font-size: 0.72rem;
}

.chat-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-chip {
  padding: 8px 11px;
  border: 1px solid #cfe2f7;
  border-radius: 10px;
  color: var(--blue-dark);
  background: #f7fbff;
  font-size: 0.79rem;
  font-weight: 800;
}

.result-card {
  border: 1px solid #dce8f5;
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(38, 91, 148, 0.1);
}

.result-title {
  padding: 11px 13px;
  border-bottom: 1px solid #edf2f8;
  font-size: 0.85rem;
  font-weight: 850;
}

.result-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  color: #354561;
  font-size: 0.8rem;
}

.result-icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: var(--blue-soft);
}

.section {
  padding: 92px 0;
}

.section-soft {
  background: var(--surface-soft);
}

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

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.section-heading p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.feature-grid,
.steps-grid,
.plan-grid {
  display: grid;
  gap: 22px;
}

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

.feature-card,
.step-card,
.plan-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 36px rgba(39, 83, 128, 0.06);
}

.feature-card {
  padding: 28px;
}

.feature-icon,
.step-number {
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-weight: 900;
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 15px;
  font-size: 1.25rem;
}

.feature-card h3,
.step-card h3,
.plan-card h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.feature-card p,
.step-card p,
.plan-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.steps-grid {
  grid-template-columns: repeat(3, 1fr);
}

.step-card {
  position: relative;
  padding: 30px;
}

.step-number {
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 50%;
}

.step-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 47px;
  right: -20px;
  z-index: 2;
  color: #8ebef0;
  font-size: 1.55rem;
}

.plan-wrap {
  padding: 46px;
  border: 1px solid #dceafa;
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(36, 133, 246, 0.1), transparent 38%),
    #f7fbff;
}

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

.plan-card {
  padding: 31px;
}

.plan-card-featured {
  border: 2px solid #73b3f6;
  box-shadow: 0 18px 44px rgba(36, 133, 246, 0.12);
}

.plan-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.plan-badge {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 0.74rem;
  font-weight: 850;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 20px 0 25px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: #3d4f6c;
}

.check-list li::before {
  content: "✓";
  color: var(--mint);
  font-weight: 900;
}

.storage-note {
  margin: 22px 0 0;
  color: #66758e;
  text-align: center;
  font-size: 0.84rem;
}

.faq-list {
  display: grid;
  max-width: 850px;
  margin-inline: auto;
  gap: 12px;
}

.faq-list details {
  padding: 0 23px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.faq-list summary {
  padding: 20px 0;
  cursor: pointer;
  font-weight: 800;
}

.faq-list details p {
  padding: 0 0 20px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 48px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, #0c2856, #0d4c91);
  box-shadow: 0 24px 60px rgba(11, 43, 84, 0.2);
}

.cta-panel h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.cta-panel p {
  margin-bottom: 0;
  color: #cfe5ff;
}

.cta-panel .button {
  flex: 0 0 auto;
  color: #10477e;
  background: #fff;
}

.site-footer {
  padding: 45px 0;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  margin: 8px 0 0;
  color: #6b7890;
  font-size: 0.87rem;
}

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

.footer-links a {
  color: #4d5d78;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 650;
}

.legal-hero {
  padding: 74px 0 45px;
  text-align: center;
}

.legal-hero h1 {
  margin-inline: auto;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.legal-hero p {
  color: var(--ink-soft);
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: center;
  align-items: start;
  gap: 55px;
  padding-bottom: 100px;
}

.legal-nav {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.legal-nav a {
  padding: 7px 9px;
  color: #52627d;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.legal-content h2 {
  margin: 46px 0 13px;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #44536d;
}

.legal-content ul {
  padding-left: 21px;
}

.notice {
  padding: 19px 21px;
  border: 1px solid #cfe4f8;
  border-left: 4px solid var(--blue);
  border-radius: 13px;
  color: #3d506d;
  background: #f3f9ff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 850px;
  margin: 0 auto 100px;
}

.contact-card {
  padding: 34px;
}

.contact-card h2 {
  margin-bottom: 9px;
  font-size: 1.35rem;
}

.contact-card p {
  color: var(--ink-soft);
}

.contact-card a:not(.button) {
  color: var(--blue-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.not-found {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 50px 20px;
  text-align: center;
}

.not-found-inner {
  max-width: 620px;
}

.not-found-code {
  color: var(--blue);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
}

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

  .hero {
    padding-top: 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy > p:not(.eyebrow):not(.trust-line),
  h1 {
    margin-inline: auto;
  }

  .hero-actions,
  .trust-line {
    justify-content: center;
  }

  .chat-window {
    max-width: 590px;
    margin-inline: auto;
  }

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

  .step-card:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: 50%;
    bottom: -24px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand {
    font-size: 1rem;
  }

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

  .nav-actions .button {
    display: none;
  }

  .language-switch {
    min-width: 80px;
    min-height: 40px;
  }

  .hero {
    padding: 46px 0 36px;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.55rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .chat-window {
    padding: 13px;
    border-radius: 23px;
  }

  .section {
    padding: 68px 0;
  }

  .plan-wrap {
    padding: 20px;
    border-radius: 24px;
  }

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

  .cta-panel {
    display: grid;
    padding: 34px 26px;
    text-align: center;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-hero {
    padding-top: 52px;
  }

  .legal-nav {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

