:root {
  --primary: #ab6ada;
  --primary-strong: #8848b2;
  --primary-dark: #663081;
  --primary-light: #f0e3f5;
  --accent: #7568d5;
  --accent-light: #e8e5fa;
  --background: #faf7fb;
  --surface: #ffffff;
  --surface-muted: #f6f0f8;
  --text: #291b2f;
  --secondary: #76677d;
  --tertiary: #9b8da1;
  --border: #e6daea;
  --border-strong: #d3bfe0;
  --shadow: 0 18px 60px rgba(74, 39, 88, 0.14);
  --teal: #2f9875;
  --rose: #d45173;
  --blue: #587fc9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(250, 247, 251, 0.86);
  border-bottom: 1px solid rgba(230, 218, 234, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(136, 72, 178, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--primary-dark);
}

.language-switch,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.language-switch,
.secondary-button {
  color: var(--primary-dark);
  background: var(--surface);
  border: 1px solid var(--border-strong);
}

.primary-button {
  color: #fff;
  background: var(--primary-strong);
  box-shadow: 0 16px 28px rgba(136, 72, 178, 0.24);
}

.secondary-button:hover,
.language-switch:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.language-switch {
  min-width: 72px;
}

.primary-button:hover {
  background: var(--primary-dark);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 112px clamp(20px, 6vw, 88px) 76px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(171, 106, 218, 0.2), transparent 30%),
    radial-gradient(circle at 78% 14%, rgba(47, 152, 117, 0.14), transparent 24%),
    linear-gradient(135deg, #fff 0%, #fbf7fd 48%, #f3edf7 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(44px, 8vw, 88px);
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--secondary);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.scene-panel,
.phone-preview {
  position: absolute;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(211, 191, 224, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.scene-panel {
  width: min(280px, 24vw);
  min-width: 210px;
  padding: 18px;
  border-radius: 24px;
}

.scene-panel span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.scene-panel strong {
  display: block;
  font-size: 18px;
  line-height: 1.28;
}

.scene-panel p {
  margin: 8px 0 0;
  color: var(--secondary);
  font-size: 13px;
}

.panel-chat {
  right: 7vw;
  top: 130px;
}

.panel-create {
  right: 24vw;
  bottom: 120px;
}

.phone-preview {
  right: 8vw;
  bottom: 72px;
  width: 246px;
  height: 450px;
  border-radius: 38px;
  padding: 22px 16px;
  transform: rotate(4deg);
}

.phone-preview::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, var(--surface) 0%, var(--surface-muted) 100%);
  z-index: -1;
}

.phone-top {
  width: 72px;
  height: 8px;
  margin: 0 auto 22px;
  border-radius: 99px;
  background: var(--border-strong);
}

.phone-card {
  padding: 18px;
  border-radius: 22px;
  background: var(--primary-light);
}

.phone-card small,
.phone-card b,
.phone-card em {
  display: block;
}

.phone-card small {
  color: var(--primary-dark);
  font-weight: 750;
}

.phone-card b {
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.2;
}

.phone-card em {
  width: max-content;
  margin-top: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  font-size: 12px;
  font-style: normal;
}

.phone-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.phone-list i {
  height: 58px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: -34px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 4;
}

.trust-bar div {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.trust-bar div:first-child {
  border-radius: 18px 0 0 18px;
}

.trust-bar div:last-child {
  border-radius: 0 18px 18px 0;
}

.trust-bar strong,
.trust-bar span {
  display: block;
}

.trust-bar strong {
  font-size: 18px;
}

.trust-bar span {
  margin-top: 4px;
  color: var(--secondary);
  font-size: 13px;
}

.section,
.market-section,
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px 20px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.section-heading h2,
.market-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.market-copy p {
  color: var(--secondary);
  font-size: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card,
.scene-grid article,
.market-board article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(74, 39, 88, 0.08);
}

.feature-card {
  min-height: 236px;
  padding: 22px;
}

.feature-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--primary-dark);
  background: var(--primary-light);
  font-size: 13px;
  font-weight: 850;
}

.feature-card:nth-child(2) .feature-icon {
  color: var(--blue);
  background: #e8eefb;
}

.feature-card:nth-child(3) .feature-icon {
  color: var(--rose);
  background: #fbe8ee;
}

.feature-card:nth-child(4) .feature-icon {
  color: var(--teal);
  background: #e3f2ed;
}

.feature-card h3,
.scene-grid h3,
.market-board b {
  margin: 20px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.feature-card p,
.scene-grid p {
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
}

.market-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: center;
  padding-top: 40px;
}

.market-copy {
  padding: 34px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--teal);
}

.market-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-height: 360px;
  align-items: end;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(140deg, rgba(240, 227, 245, 0.9), rgba(232, 229, 250, 0.72)),
    var(--surface-muted);
  border: 1px solid var(--border);
}

.market-board article {
  min-height: 220px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.market-board article:nth-child(2) {
  min-height: 286px;
}

.market-board article:nth-child(3) {
  min-height: 246px;
}

.market-board b {
  display: block;
}

.market-board span {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 700;
}

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

.scene-grid article {
  padding: 24px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-size: 20px;
}

.site-footer p {
  margin: 10px 0 0;
  color: var(--secondary);
}

.footer-links {
  display: flex;
  gap: 18px;
  align-items: start;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 650;
}

.copyright {
  grid-column: 1 / -1;
  font-size: 13px;
}

.policy-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 84px 20px 40px;
}

.policy-hero {
  padding: 42px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 14%, rgba(117, 104, 213, 0.14), transparent 30%),
    var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(74, 39, 88, 0.08);
}

.policy-hero h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.policy-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--secondary);
  font-size: 17px;
}

.policy-card {
  margin-top: 18px;
  padding: 30px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.policy-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.policy-card h3 {
  margin: 22px 0 8px;
  font-size: 18px;
}

.policy-card p,
.policy-card li {
  color: var(--secondary);
}

.policy-card p {
  margin: 0 0 12px;
}

.policy-card ul,
.policy-card ol {
  margin: 0;
  padding-left: 22px;
}

.policy-card a {
  color: var(--primary-dark);
  font-weight: 750;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.policy-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-light);
  font-size: 13px;
  font-weight: 750;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
  padding: 26px;
  border-radius: 22px;
  color: #fff;
  background: var(--text);
}

.contact-panel p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-panel .secondary-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

@media (max-width: 980px) {
  .site-header {
    gap: 14px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 680px;
    padding-top: 96px;
  }

  .hero-content {
    max-width: 620px;
  }

  .scene-panel {
    display: none;
  }

  .phone-preview {
    right: 4vw;
    bottom: 34px;
    width: 190px;
    height: 330px;
    opacity: 0.82;
  }

  .trust-bar,
  .feature-grid,
  .scene-grid,
  .market-section,
  .contact-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .trust-bar div,
  .trust-bar div:first-child,
  .trust-bar div:last-child {
    border-radius: 16px;
  }

  .market-board {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .market-board article,
  .market-board article:nth-child(2),
  .market-board article:nth-child(3) {
    min-height: 150px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand span {
    font-size: 20px;
  }

  .hero {
    min-height: 650px;
    padding: 82px 18px 58px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .phone-preview {
    right: -54px;
    bottom: 24px;
    width: 178px;
    height: 306px;
    transform: rotate(7deg);
  }

  .trust-bar {
    margin-top: -22px;
  }

  .section,
  .market-section,
  .site-footer {
    padding: 64px 16px;
  }

  .policy-hero,
  .policy-card,
  .contact-panel {
    padding: 24px 20px;
  }

  .feature-card {
    min-height: auto;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
