:root {
  --cx-primary: #1677FF;
  --cx-primary-hover: #0958D9;
  --cx-primary-soft: #EAF3FF;
  --cx-primary-muted: #F2F7FF;
  --cx-sidebar: #081426;
  --cx-sidebar-2: #0B1930;
  --cx-text: #14213D;
  --cx-text-2: #667085;
  --cx-text-3: #98A2B3;
  --cx-border: #E7ECF3;
  --cx-line: #EEF2F6;
  --cx-success-text: #15803D;
  --cx-success-soft: #DCFCE7;
  --cx-white: #ffffff;
  --cx-max: 1180px;
  --cx-radius: 14px;
  --cx-shadow: 0 24px 60px rgba(8, 20, 38, 0.08);
  --cx-font: Inter, "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--cx-font);
  color: var(--cx-text);
  background: var(--cx-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container { width: min(var(--cx-max), calc(100% - 40px)); margin: 0 auto; }

.nav-main > a.is-active {
  color: var(--cx-primary);
  font-weight: 600;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cx-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--cx-text);
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: contain;
}
.logo-text span { color: var(--cx-primary); }
.nav-main {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--cx-text-2);
}
.nav-main > a:hover,
.nav-main .nav-drop:hover > summary { color: var(--cx-primary); }
.nav-drop { position: relative; list-style: none; }
.nav-drop > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  background: var(--cx-white);
  border: 1px solid var(--cx-border);
  border-radius: 10px;
  box-shadow: var(--cx-shadow);
  padding: 6px;
  display: none;
}
.nav-drop[open] .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--cx-text-2);
}
.nav-drop-menu a:hover {
  background: var(--cx-primary-muted);
  color: var(--cx-primary);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-ghost {
  padding: 8px 16px;
  border-radius: 7px;
  border: 1px solid var(--cx-border);
  color: var(--cx-text);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.btn-ghost:hover {
  border-color: var(--cx-primary);
  color: var(--cx-primary);
  background: var(--cx-primary-muted);
}
.btn-primary {
  padding: 8px 18px;
  border-radius: 7px;
  background: var(--cx-primary);
  color: var(--cx-white);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.28);
  transition: background 0.18s, box-shadow 0.18s;
}
.btn-primary:hover {
  background: var(--cx-primary-hover);
  color: var(--cx-white);
}
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--cx-border);
  color: var(--cx-text);
  font-size: 18px;
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  background: linear-gradient(180deg, #F4F7FB 0%, #fff 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-wave {
  position: absolute;
  left: -10%;
  top: 0;
  width: 55%;
  height: 100%;
  background:
    radial-gradient(circle at 28% 38%, rgba(22, 119, 255, 0.14), transparent 52%),
    radial-gradient(circle at 62% 62%, rgba(8, 20, 38, 0.06), transparent 48%);
  border-radius: 0 40% 60% 0;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--cx-primary);
}
.hero-copy .lead {
  margin: 0 0 28px;
  color: var(--cx-text-2);
  font-size: 16px;
  max-width: 520px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--cx-primary);
  color: var(--cx-white);
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 12px 32px rgba(22, 119, 255, 0.28);
  transition: background 0.18s, transform 0.18s;
}
.hero-cta:hover {
  background: var(--cx-primary-hover);
  color: var(--cx-white);
  transform: translateY(-1px);
}
.hero-cta .arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  font-size: 13px;
}

/* Mockup */
.mockup-wrap { position: relative; padding: 12px 0 12px 24px; }
.mockup {
  position: relative;
  background: linear-gradient(180deg, #FAFBFC, #fff);
  border: 1px solid var(--cx-border);
  border-radius: 16px;
  box-shadow: var(--cx-shadow);
  overflow: hidden;
  min-height: 420px;
}
.mockup-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--cx-line);
  background: #fff;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #f87171; }
.dot.y { background: #fbbf24; }
.dot.g { background: #4ade80; }
.mockup-body { display: grid; grid-template-columns: 56px 180px 1fr; min-height: 360px; }
.mock-sidebar {
  border-right: 1px solid var(--cx-line);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  background: var(--cx-sidebar);
}
.platform-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.platform-icon svg,
.platform-dot svg {
  width: 18px;
  height: 18px;
  display: block;
}
.platform-icon.active {
  outline: 2px solid var(--cx-primary);
  outline-offset: 2px;
}
.mock-list { border-right: 1px solid var(--cx-line); padding: 12px; background: #fff; }
.mock-list h4 {
  margin: 0 0 10px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mock-list h4 span {
  background: var(--cx-primary-soft);
  color: var(--cx-primary);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.chat-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 6px;
  border-radius: 8px;
  margin-bottom: 4px;
  font-size: 12px;
}
.chat-row.active { background: var(--cx-primary-muted); }
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #CBD5E1, #94A3B8);
  flex-shrink: 0;
}
.mock-chat { padding: 16px; background: #F8FAFC; position: relative; }
.mock-chat-head { font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.bubble.in { background: #fff; border: 1px solid var(--cx-border); }
.bubble.out {
  background: var(--cx-primary-soft);
  margin-left: auto;
  color: var(--cx-primary-hover);
}
.translate-badge {
  position: absolute;
  right: 18px;
  bottom: 72px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cx-primary);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(22, 119, 255, 0.35);
}
.translate-badge svg {
  width: 20px;
  height: 20px;
  display: block;
}
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--cx-border);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 12px 32px rgba(8, 20, 38, 0.08);
  font-size: 11px;
}
.float-card.user-info { left: -8px; top: 42%; width: 150px; }
.float-card.tagline { right: -6px; bottom: 18%; max-width: 180px; color: var(--cx-text-2); }

/* Highlights (real capabilities) */
.highlights {
  padding: 32px 0 56px;
  border-bottom: 1px solid var(--cx-line);
  background: #fff;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.highlight-card {
  background: #fff;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius);
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.highlight-card:hover {
  border-color: #C8E0FF;
  box-shadow: 0 8px 24px rgba(22, 119, 255, 0.08);
}
.highlight-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.highlight-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}
.highlight-icon--platforms {
  background: linear-gradient(135deg, #EAF3FF, #D6E8FF);
  color: #1677FF;
}
.highlight-icon--translate {
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  color: #059669;
}
.highlight-icon--manage {
  background: linear-gradient(135deg, #FFF7ED, #FFEDD5);
  color: #EA580C;
}
.highlight-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}
.highlight-card p {
  margin: 0;
  color: var(--cx-text-2);
  font-size: 13px;
  line-height: 1.65;
}

/* Sections */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.02em;
  font-weight: 700;
}
.section-head p { margin: 0; color: var(--cx-text-2); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pain-card {
  background: #fff;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.pain-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--cx-shadow);
  border-color: #C8E0FF;
}
.pain-card h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.45; font-weight: 600; }
.pain-card p { margin: 0; color: var(--cx-text-2); font-size: 14px; }

/* Platform marquee */
.platforms { background: linear-gradient(180deg, #F8FAFC, #fff); }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: scroll 36s linear infinite;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.platform-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--cx-border);
  background: #fff;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
}
.platform-dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.is-whatsapp { background: #25D366; }
.is-telegram { background: #0088cc; }
.is-facebook { background: #1877F2; }
.is-messenger { background: #006AFF; }
.is-instagram { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); }
.is-twitter { background: #0F1419; }
.is-tiktok {
  background: transparent;
  padding: 0;
  overflow: hidden;
}
.is-tiktok img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.platform-icon.is-tiktok {
  padding: 0;
  overflow: hidden;
}
.platform-icon.is-tiktok img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

/* Feature blocks */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--cx-line);
}
.feature-block.reverse .feature-visual { order: 2; }
.feature-block.reverse .feature-copy { order: 1; }
.feature-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.25;
  font-weight: 700;
}
.feature-item { margin-bottom: 22px; }
.feature-item h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.feature-item p { margin: 0; color: var(--cx-text-2); font-size: 14px; }
.feature-panel {
  border-radius: 16px;
  border: 1px solid var(--cx-border);
  background: linear-gradient(145deg, #F8FAFC, #fff);
  min-height: 280px;
  padding: 28px;
  box-shadow: var(--cx-shadow);
  position: relative;
  overflow: hidden;
}
.feature-panel::after {
  content: '';
  position: absolute;
  inset: auto -20% -30% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(22, 119, 255, 0.1), transparent 70%);
}
.feature-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--cx-text-2);
}
.feature-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--cx-line);
  font-size: 14px;
  color: var(--cx-text-2);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list strong { color: var(--cx-text); font-weight: 600; }
.fp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
  font-size: 12px;
}
.fp-cell {
  padding: 16px 8px;
  border: 1px dashed var(--cx-border);
  border-radius: 10px;
  background: #fff;
}
.fp-cell span { color: var(--cx-success-text); font-weight: 600; }

/* Use cases */
.usecases { background: #F8FAFC; }
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.usecase-card {
  background: #fff;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius);
  padding: 24px;
}
.usecase-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
}
.usecase-card p {
  margin: 0;
  font-size: 14px;
  color: var(--cx-text-2);
  line-height: 1.65;
}

/* CTA */
.cta { padding: 72px 0; text-align: center; }
.cta-box {
  background: linear-gradient(135deg, var(--cx-sidebar) 0%, #0E2A52 55%, #1677FF 100%);
  border-radius: 20px;
  padding: 48px 32px;
  color: #fff;
}
.cta-box h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
}
.cta-box p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer {
  background: var(--cx-sidebar);
  color: #CBD5E1;
  padding: 56px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { margin: 0; color: #94A3B8; font-size: 13px; line-height: 1.7; }
.footer-col h4 { margin: 0 0 14px; color: #fff; font-size: 15px; font-weight: 600; }
.footer-col a {
  display: block;
  color: #94A3B8;
  margin-bottom: 10px;
  font-size: 13px;
  transition: color 0.18s;
}
.footer-col a:hover { color: var(--cx-primary); }
.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #64748B;
  font-size: 12px;
}
.footer-note { max-width: 680px; line-height: 1.6; }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: rgba(8, 20, 38, 0.4);
  z-index: 90;
}
.mobile-nav.open { display: block; }
.mobile-nav-panel {
  background: #fff;
  padding: 16px 20px 24px;
  border-bottom: 1px solid var(--cx-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-panel a,
.mobile-nav-panel summary {
  padding: 12px 4px;
  border-bottom: 1px solid var(--cx-line);
  font-size: 15px;
  color: var(--cx-text);
}
.mobile-nav-panel details a {
  padding-left: 16px;
  font-size: 14px;
  color: var(--cx-text-2);
  border: none;
}

@media (max-width: 980px) {
  .nav-main, .header-actions { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .hero-grid, .feature-block { grid-template-columns: 1fr; }
  .feature-block.reverse .feature-visual,
  .feature-block.reverse .feature-copy { order: unset; }
  .mockup-wrap { padding-left: 0; }
  .float-card.user-info { left: 8px; }
  .highlights-grid,
  .usecase-grid { grid-template-columns: 1fr; gap: 16px; }
  .pain-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mockup-body { grid-template-columns: 48px 1fr; }
  .mock-list { display: none; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .cta-box { padding: 36px 20px; }
  .fp-grid { grid-template-columns: 1fr; }
}
