:root {
  --bg: #f4f7fc;
  --bg-soft: #ffffff;
  --card: #ffffff;
  --text: #152647;
  --text-soft: #5f708f;
  --line: #dbe5f4;
  --brand: #17b6ff;
  --brand-strong: #2d71ff;
  --ok: #49e3ad;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e4ebf8;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
}

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

.logo {
  font-weight: 700;
  letter-spacing: 1px;
  color: #111f3d;
}

.nav {
  display: flex;
  gap: 24px;
  color: #4a5a79;
}

.nav a:hover {
  color: #2567f5;
}

.menu-btn {
  display: none;
  border: 1px solid #dbe5f4;
  color: #2a3f64;
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
}

.hero {
  padding: 84px 0 62px;
  color: #fff;
  background: radial-gradient(900px 420px at 78% 22%, rgba(156, 96, 255, 0.35), transparent 60%),
    radial-gradient(900px 600px at 20% 30%, rgba(17, 182, 255, 0.16), transparent 62%),
    linear-gradient(120deg, #132c74 0%, #222f8f 46%, #4e2c9e 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  color: #c7f2ff;
  background: rgba(19, 195, 255, 0.18);
  border: 1px solid rgba(19, 195, 255, 0.45);
  font-size: 13px;
}

h1 {
  font-size: clamp(30px, 4.8vw, 50px);
  line-height: 1.15;
  margin: 16px 0;
}

.hero-desc {
  color: rgba(239, 245, 255, 0.84);
  line-height: 1.8;
  max-width: 620px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 10px 20px rgba(28, 110, 255, 0.28);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn:hover {
  transform: translateY(-1px);
}

.hero-card,
.card,
.plan,
.feature-block,
.trust-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.hero-card {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-device {
  position: relative;
  min-height: 280px;
}

.device {
  position: absolute;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: 0 18px 40px rgba(7, 11, 37, 0.34);
}

.mock-desktop {
  width: 80%;
  height: 200px;
  top: 28px;
  left: 9%;
}

.mock-tablet {
  width: 52%;
  height: 140px;
  bottom: 16px;
  left: 0;
}

.mock-phone {
  width: 24%;
  height: 160px;
  top: 56px;
  right: 0;
}

.hero-card h2 {
  margin: 0;
  font-size: 20px;
}

.hero-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.9;
}

.section {
  padding: 72px 0;
}

.section h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin: 0 0 18px;
}

.section-intro {
  color: var(--text-soft);
  margin: 0 0 24px;
}

.section-tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: #2d71ff;
  background: #eef4ff;
  margin: 0 0 12px;
}

.section-tag-dark {
  color: #9ec9ff;
  background: rgba(102, 161, 255, 0.16);
}

.section-dark {
  color: #eaf1ff;
  background: linear-gradient(155deg, #0c286d 0%, #1e49b4 50%, #15317f 100%);
}

.section-intro-dark {
  color: rgba(235, 244, 255, 0.8);
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 26px;
}

.hero-stats strong {
  display: block;
  font-size: 36px;
  line-height: 1;
}

.hero-stats span {
  font-size: 13px;
  color: rgba(235, 244, 255, 0.82);
}

.trust-section {
  margin-top: -16px;
}

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

.trust-card {
  padding: 24px 20px;
  box-shadow: 0 10px 28px rgba(33, 62, 116, 0.08);
}

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

.trust-card p {
  margin: 0;
  color: var(--text-soft);
}

.scene-tabs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 18px;
}

.scene-tab {
  border: 1px solid #dde8f7;
  background: #fff;
  color: #475b80;
  border-radius: 10px;
  height: 36px;
  padding: 0 16px;
  cursor: pointer;
}

.scene-tab.active {
  border-color: transparent;
  background: linear-gradient(120deg, #ff3994, #ff7aa0);
  color: #fff;
}

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

.card {
  padding: 24px;
  box-shadow: 0 12px 28px rgba(30, 52, 99, 0.07);
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.feature-block {
  padding: 20px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block h3 {
  margin: 0 0 8px;
}

.feature-block ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(237, 245, 255, 0.88);
  line-height: 1.9;
}

.tech-stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  text-align: center;
}

.tech-stats strong {
  display: block;
  font-size: 38px;
  color: #2de0ff;
}

.tech-stats span {
  color: rgba(237, 245, 255, 0.82);
  font-size: 14px;
}

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

.plan {
  position: relative;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(30, 52, 99, 0.08);
}

.plan h3 {
  margin: 0 0 6px;
}

.price {
  font-size: 34px;
  font-weight: 700;
  margin: 0;
}

.origin {
  margin: 6px 0 14px;
  color: var(--text-soft);
}

.plan ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.9;
}

.featured {
  border-color: rgba(61, 127, 255, 0.7);
  box-shadow: 0 12px 32px rgba(49, 116, 255, 0.24);
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(73, 227, 173, 0.16);
  border: 1px solid rgba(73, 227, 173, 0.6);
  color: var(--ok);
  border-radius: 999px;
  font-size: 12px;
  padding: 4px 10px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.contact-wrap p {
  color: var(--text-soft);
  line-height: 1.8;
}

.contact-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 18px;
}

.contact-form label {
  display: block;
  margin-bottom: 12px;
}

.contact-form span {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: rgba(239, 245, 255, 0.84);
}

.contact-form input {
  width: 100%;
  background: rgba(10, 20, 48, 0.5);
  color: #f2f7ff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  height: 40px;
  padding: 0 10px;
}

.form-msg {
  margin: 10px 0 0;
  min-height: 18px;
  color: var(--ok);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid #d9e3f3;
  padding: 24px 0 36px;
  color: #6d7f9f;
  background: #fff;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 980px) {
  .hero-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    right: 16px;
    background: #fff;
    border: 1px solid #dbe5f4;
    border-radius: 14px;
    padding: 12px;
    min-width: 170px;
  }

  .nav.open {
    display: grid;
    gap: 8px;
  }

  .menu-btn {
    display: inline-flex;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 16px;
  }

  .hero-stats strong {
    font-size: 28px;
  }

  .tech-stats {
    grid-template-columns: 1fr;
  }
}
