:root {
  color-scheme: light;
  --brand: #6f3dff;
  --brand-dark: #5126ce;
  --brand-soft: #f1ebff;
  --ink: #101828;
  --muted: #5d6678;
  --subtle: #f8f7ff;
  --card: #ffffff;
  --line: #e7e3f7;
  --shadow: 0 24px 60px rgba(28, 18, 64, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(231, 227, 247, 0.86);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 12px 26px rgba(111, 61, 255, 0.2);
}

.brand-name {
  display: grid;
  line-height: 1.1;
}

.brand-name span:first-child {
  font-size: 18px;
}

.brand-name span:last-child {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.lang-switch {
  display: inline-flex;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(28, 18, 64, 0.06);
}

.lang-btn {
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.lang-btn.active {
  color: #ffffff;
  background: var(--brand);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(111, 61, 255, 0.14), transparent 32rem),
    linear-gradient(135deg, #ffffff 0%, #f9f7ff 100%);
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.page-hero h1 {
  max-width: 900px;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 16px 34px rgba(111, 61, 255, 0.24);
}

.button.secondary {
  color: var(--brand-dark);
  background: #ffffff;
  border-color: var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
}

.stat strong {
  display: block;
  color: var(--brand);
  font-size: 28px;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.device-mock {
  max-width: 360px;
  margin-left: auto;
  padding: 12px;
  border-radius: 34px;
  background: #0d1224;
  box-shadow: 0 34px 70px rgba(16, 24, 40, 0.24);
}

.device-screen {
  min-height: 560px;
  overflow: hidden;
  border-radius: 25px;
  background: #f6f7ff;
}

.mock-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid #e8eafd;
  background: #ffffff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.mock-chat {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.bubble {
  width: 86%;
  padding: 13px 15px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.07);
  font-size: 14px;
}

.bubble strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-dark);
  font-size: 12px;
  text-transform: uppercase;
}

.bubble.right {
  justify-self: end;
  color: #ffffff;
  background: var(--brand);
}

.bubble.right strong {
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--subtle);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 14px 34px rgba(28, 18, 64, 0.055);
}

.card .num,
.step-num {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  margin-bottom: 18px;
  padding: 0 10px;
  border-radius: 14px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-weight: 900;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.card p,
.list p {
  color: var(--muted);
}

.list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
}

.list strong {
  display: block;
  margin-bottom: 4px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(28, 18, 64, 0.055);
}

.price-card.featured {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow);
}

.price-card .tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 13px;
  font-weight: 800;
}

.price {
  margin: 12px 0 18px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.price-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--brand);
  font-weight: 900;
}

.price-card .button {
  margin-top: auto;
}

.faq {
  max-width: 840px;
  margin: 0 auto;
}

details {
  margin-bottom: 14px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.cta {
  overflow: hidden;
  margin: 30px 0 78px;
  padding: 54px;
  border-radius: 38px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(111, 61, 255, 0.56), transparent 24rem),
    linear-gradient(135deg, #111827 0%, #202742 100%);
}

.cta h2 {
  max-width: 780px;
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.cta .button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.footer {
  margin-top: auto;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 8px;
}

@media (max-width: 960px) {
  .nav {
    align-items: flex-start;
    padding: 16px 0;
    flex-direction: column;
  }

  .nav-right,
  .nav-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav-right {
    justify-content: space-between;
  }

  .hero-grid,
  .split-grid,
  .card-grid,
  .card-grid.two,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .device-mock {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding: 56px 0 52px;
  }

  .section {
    padding: 54px 0;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .device-screen {
    min-height: 500px;
  }

  .cta {
    padding: 34px 24px;
    border-radius: 28px;
  }
}
