:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --amber-500: #f59e0b;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
  --font: "Noto Sans SC", "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--slate-800);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-primary {
  background: var(--emerald-600);
  color: #fff;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
  background: var(--emerald-700);
}

.btn-ghost {
  background: #fff;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
}

.btn-ghost:hover {
  border-color: var(--emerald-600);
  color: var(--emerald-700);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--slate-900);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
}

.brand-mark--sm {
  width: 28px;
  height: 28px;
  font-size: 13px;
  border-radius: 8px;
}

.nav-desktop {
  display: flex;
  gap: 32px;
}

.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 0.15s;
}

.nav-desktop a:hover {
  color: var(--emerald-600);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  background: #fff;
  border-bottom: 1px solid var(--slate-200);
}

.nav-mobile a {
  padding: 12px 0;
  font-weight: 500;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-100);
}

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

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(16, 185, 129, 0.12), transparent),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(5, 150, 105, 0.08), transparent),
    linear-gradient(180deg, var(--slate-50) 0%, #fff 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--slate-900);
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--emerald-600), #0d9488);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: var(--slate-500);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.75;
}

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

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat strong {
  display: block;
  font-size: 15px;
  color: var(--slate-800);
  margin-bottom: 2px;
}

.stat span {
  font-size: 13px;
  color: var(--slate-400);
}

/* Phone mock */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mock {
  width: 280px;
  background: var(--slate-900);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
}

.phone-notch {
  width: 80px;
  height: 6px;
  background: var(--slate-700);
  border-radius: 3px;
  margin: 0 auto 10px;
}

.phone-screen {
  background: var(--slate-50);
  border-radius: 28px;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}

.mock-nav {
  background: #fff;
  padding: 14px;
  text-align: center;
  border-bottom: 1px solid var(--slate-200);
}

.mock-nav-title {
  font-weight: 600;
  font-size: 15px;
}

.mock-hero {
  padding: 24px 20px;
  text-align: center;
}

.mock-hero-label {
  font-size: 13px;
  color: var(--slate-500);
}

.mock-hero-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--emerald-600);
  margin: 4px 0 16px;
}

.mock-btn {
  background: var(--emerald-600);
  color: #fff;
  border: none;
  padding: 10px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
}

.mock-agents {
  flex: 1;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-agent {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--slate-200);
}

.mock-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--emerald-100);
  color: var(--emerald-700);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.mock-agent-info span {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.mock-agent-info small {
  font-size: 11px;
  color: var(--slate-400);
}

.mock-tabbar {
  display: flex;
  justify-content: space-around;
  padding: 12px;
  background: #fff;
  border-top: 1px solid var(--slate-200);
  font-size: 11px;
  color: var(--slate-400);
}

.mock-tabbar .active {
  color: var(--emerald-600);
  font-weight: 600;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--slate-100);
  animation: float 4s ease-in-out infinite;
}

.float-card strong {
  display: block;
  font-size: 13px;
  color: var(--slate-800);
}

.float-card small {
  font-size: 11px;
  color: var(--slate-400);
}

.float-icon {
  font-size: 22px;
}

.float-card--skills {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.float-card--ai {
  bottom: 18%;
  left: -30px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Sections */
.section {
  padding: 96px 0;
}

.section--muted {
  background: var(--slate-50);
}

.section--dark {
  background: var(--slate-950);
  color: #fff;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head--light h2,
.section-head--light .section-desc {
  color: #fff;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald-600);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.section-tag--light {
  color: var(--emerald-500);
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-desc {
  font-size: 16px;
  color: var(--slate-500);
  line-height: 1.75;
}

/* Dual cards */
.dual-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dual-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}

.dual-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.dual-card-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.dual-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--slate-900);
}

.dual-card p {
  font-size: 15px;
  color: var(--slate-500);
  margin-bottom: 20px;
  line-height: 1.7;
}

.dual-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dual-card li {
  font-size: 14px;
  color: var(--slate-600);
  padding-left: 20px;
  position: relative;
}

.dual-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-500);
}

.dual-card--consumer {
  border-top: 3px solid var(--emerald-500);
}

.dual-card--agent {
  border-top: 3px solid var(--slate-800);
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--emerald-200);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--slate-900);
}

.feature-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.65;
}

/* Xuanshang */
.xuanshang-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.xuanshang-copy h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 16px;
  line-height: 1.3;
}

.xuanshang-copy > p {
  font-size: 16px;
  color: var(--slate-500);
  margin-bottom: 32px;
  line-height: 1.75;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.check-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.check-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--emerald-50);
  color: var(--emerald-600);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.check-item strong {
  display: block;
  font-size: 15px;
  color: var(--slate-800);
  margin-bottom: 2px;
}

.check-item p {
  font-size: 14px;
  color: var(--slate-400);
}

.chart-demo {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.chart-demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 16px;
}

.chart-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: #fef3c7;
  color: #b45309;
}

.radar-placeholder {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.radar-placeholder svg {
  width: 100%;
  height: auto;
}

.radar-labels span {
  position: absolute;
  font-size: 11px;
  color: var(--slate-400);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--slate-500);
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.dot--green { background: var(--emerald-600); }
.dot--amber { background: var(--amber-500); }

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.skill-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px;
  transition: background 0.2s, border-color 0.2s;
}

.skill-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(16, 185, 129, 0.4);
}

.skill-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.skill-emoji {
  font-size: 32px;
}

.skill-status {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-500);
}

.skill-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.skill-card p {
  font-size: 14px;
  color: var(--slate-400);
  line-height: 1.65;
}

.skill-card--more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-style: dashed;
  opacity: 0.7;
}

/* Flow */
.flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.flow-step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 0 16px;
}

.flow-num {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--emerald-600);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}

.flow-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--slate-900);
}

.flow-step p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.65;
}

.flow-connector {
  width: 60px;
  height: 2px;
  background: var(--slate-200);
  margin-top: 28px;
  flex-shrink: 0;
}

/* CTA */
.cta-section {
  padding-bottom: 96px;
}

.cta-box {
  background: linear-gradient(135deg, var(--emerald-700), #0d9488);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
}

.cta-copy h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-copy p {
  font-size: 16px;
  opacity: 0.9;
  max-width: 480px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.cta-actions .btn-primary {
  background: #fff;
  color: var(--emerald-700);
  box-shadow: none;
}

.cta-actions .btn-primary:hover {
  background: var(--emerald-50);
}

/* Footer */
.site-footer {
  background: var(--slate-950);
  color: var(--slate-400);
  padding: 48px 0;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 13px;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .dual-cards,
  .xuanshang-layout,
  .feature-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 48px;
  }

  .hero-visual {
    order: -1;
  }

  .float-card--skills { right: 0; }
  .float-card--ai { left: 0; }

  .flow-steps {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .flow-connector {
    width: 2px;
    height: 32px;
    margin: 0;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

  .hero-stats {
    gap: 20px;
  }

  .section {
    padding: 64px 0;
  }
}
