:root {
  --bg: #f5f7fb;
  --bg-card: #ffffffcc;
  --primary: #6c63ff;
  --primary-soft: #ebe9ff;
  --text-main: #1f2430;
  --text-sub: #5f6473;
  --border-soft: #e1e4f0;
  --radius-lg: 18px;
  --shadow-soft: 0 12px 35px rgba(35, 42, 90, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", sans-serif;
  background: radial-gradient(circle at top left, #e9f1ff, #f5f7fb 40%, #fefefe);
  color: var(--text-main);
  line-height: 1.6;
}

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

/* Layout */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

main {
  flex: 1;
}

/* Header */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(245, 247, 251, 0.9);
  border-bottom: 1px solid rgba(225, 228, 240, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #6c63ff, #76b3ff, #f39bd4, #6c63ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.35);
}

.logo-sub {
  font-size: 11px;
  color: var(--text-sub);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--text-sub);
}

.nav-links a {
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--text-main);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: transform 0.13s ease, box-shadow 0.13s ease,
    background 0.13s ease, color 0.13s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #6c63ff, #76b3ff);
  color: #fff;
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(108, 99, 255, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--text-sub);
  border: 1px solid var(--border-soft);
}

.btn-ghost:hover {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(35, 42, 90, 0.06);
  color: var(--text-main);
}

/* Language switch */

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  font-size: 13px;
  margin-left: 4px;
}

.lang-switch button {
  border: none;
  background: transparent;
  padding: 6px 12px;
  cursor: pointer;
  color: var(--text-sub);
  font-size: 13px;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-switch button.active {
  background: linear-gradient(135deg, #6c63ff, #76b3ff);
  color: #fff;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 10px 16px 14px;
    background: rgba(245, 247, 251, 0.98);
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-menu {
    gap: 10px;
  }

  .nav-toggle {
    display: block;
  }

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

/* Hero */

.hero {
  padding: 56px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(108, 99, 255, 0.08);
  color: #554fd2;
  font-size: 12px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 12px;
  color: var(--text-sub);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-avatar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.avatar-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6c63ff, #f39bd4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
}

.avatar-meta span {
  display: block;
}

.avatar-name {
  font-weight: 600;
  font-size: 15px;
}

.avatar-desc {
  font-size: 12px;
  color: var(--text-sub);
}

.chat-bubble {
  background: #fff;
  border-radius: 18px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 8px;
  max-width: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.chat-bubble.me {
  margin-left: auto;
  background: var(--primary-soft);
}

.hero-tag {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: #333;
}

.hero-badge {
  position: absolute;
  bottom: 16px;
  right: 14px;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(108, 99, 255, 0.12);
  color: #413bab;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    padding-top: 32px;
  }
  .hero-title {
    font-size: 26px;
  }
}

/* Page hero (inner pages) */

.page-hero {
  padding: 40px 0 8px;
}

.page-hero .container {
  text-align: center;
}

.breadcrumb {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.breadcrumb a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumb .sep {
  margin: 0 6px;
  opacity: 0.5;
}

.page-hero h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 14px;
  color: var(--text-sub);
  max-width: 640px;
  margin: 0 auto;
}

/* Sections */

section {
  padding: 32px 0;
  scroll-margin-top: 74px;
}

.section-header {
  text-align: center;
  margin-bottom: 24px;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-sub);
}

/* Cards & grids */

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

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.card-icon {
  font-size: 20px;
  margin-bottom: 8px;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.card-text {
  font-size: 13px;
  color: var(--text-sub);
}

/* Steps */

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

@media (max-width: 900px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

.step {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #4c4bb3;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.step-text {
  font-size: 13px;
  color: var(--text-sub);
}

/* Showcase */

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .showcase {
    grid-template-columns: minmax(0, 1fr);
  }
}

.showcase-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.showcase-tag {
  font-size: 11px;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(108, 99, 255, 0.08);
  color: #4d46c5;
  margin-bottom: 10px;
}

.showcase-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.showcase-text {
  font-size: 13px;
  color: var(--text-sub);
}

.chat-preview {
  margin-top: 10px;
  border-radius: 16px;
  padding: 12px;
  background: #f7f7ff;
}

.chat-row {
  display: flex;
  margin-bottom: 6px;
  font-size: 13px;
}

.chat-row.me {
  justify-content: flex-end;
}

.chat-msg {
  max-width: 80%;
  padding: 8px 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.chat-row.me .chat-msg {
  background: var(--primary);
  color: #fff;
}

/* Security / feature grid */

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

@media (max-width: 900px) {
  .security-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Pricing table */

.price-table {
  max-width: 760px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #fff;
}

.price-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.4fr;
  gap: 12px;
  padding: 12px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
}

.price-row:last-child {
  border-bottom: none;
}

.price-row.head {
  background: var(--primary-soft);
  font-weight: 600;
  color: var(--text-main);
}

.price-row .price {
  font-weight: 600;
  color: #4c4bb3;
}

.price-row .desc {
  color: var(--text-sub);
}

@media (max-width: 600px) {
  .price-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .price-row.head {
    display: none;
  }
}

/* FAQ */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

.faq-q {
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
}

.faq-q span {
  font-weight: 500;
}

.faq-toggle {
  font-size: 18px;
  color: var(--text-sub);
}

.faq-a {
  padding: 0 14px 10px;
  font-size: 13px;
  color: var(--text-sub);
  display: none;
}

.faq-item.open .faq-a {
  display: block;
}

/* Company */

.company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 760px) {
  .company {
    grid-template-columns: minmax(0, 1fr);
  }
}

.company-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.company-label {
  font-size: 12px;
  color: var(--text-sub);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.company-name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.company-name-en {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 14px;
}

.company-row {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 8px;
  align-items: flex-start;
}

.company-row .ci {
  font-size: 15px;
  line-height: 1.4;
}

/* Legal */

.legal-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.9);
  max-width: 860px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--text-sub);
}

.legal-card h3 {
  font-size: 15px;
  color: var(--text-main);
  margin: 18px 0 6px;
}

.legal-card h3:first-child {
  margin-top: 0;
}

.legal-card p {
  margin-bottom: 8px;
}

.legal-card ul {
  margin: 0 0 8px 18px;
}

.legal-updated {
  font-size: 12px;
  color: var(--text-sub);
  text-align: center;
  margin-bottom: 14px;
}

/* Cross-links block on inner pages */

.more-links {
  max-width: 860px;
  margin: 20px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  font-size: 13px;
}

.more-links a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--text-sub);
}

.more-links a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* Footer */

footer {
  padding: 20px 0 30px;
  border-top: 1px solid var(--border-soft);
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-sub);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

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

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
