:root {
  --bg: #e8f3ff;
  --panel: rgba(255, 255, 255, 0.7);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --text: #0d2540;
  --muted: #5b6f8a;
  --accent: #3ba8ff;
  --accent-2: #5fd3c2;
  --accent-3: #ff7bba;
  --accent-4: #f3c969;
  --gradient: linear-gradient(135deg, #9fd7ff, #6ac8ff);
  --shadow: 0 18px 40px rgba(37, 89, 142, 0.18);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 15%, rgba(58, 168, 255, 0.18), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(95, 211, 194, 0.2), transparent 28%),
    radial-gradient(circle at 30% 80%, rgba(255, 191, 121, 0.16), transparent 26%),
    var(--bg);
  color: var(--text);
  font-family: 'Manrope', 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.hero {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(58, 168, 255, 0.12);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.hero::after,
.hero::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
}

.hero::before {
  background: rgba(58, 168, 255, 0.22);
  right: -100px;
  top: -120px;
}

.hero::after {
  background: rgba(95, 211, 194, 0.2);
  left: -120px;
  bottom: -180px;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 2;
}

.brand {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
}

.brand-text {
  font-weight: 700;
  color: var(--text);
}

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

.nav-link {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 14px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(58, 168, 255, 0.12);
}

.nav-button {
  background: var(--gradient);
  color: #0d2540;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(123, 123, 255, 0.35);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 28px 18px 18px;
}

.hero-text h1 {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  margin: 10px 0 12px;
  line-height: 1.1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.subtext {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.primary-cta,
.ghost-cta {
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}

.primary-cta {
  background: var(--gradient);
  color: #0d2540;
  box-shadow: 0 20px 40px rgba(58, 168, 255, 0.32);
}

.ghost-cta {
  border: 1px solid rgba(58, 168, 255, 0.25);
  color: var(--text);
}

.meta {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.meta span {
  padding: 6px 10px;
  background: rgba(58, 168, 255, 0.12);
  border-radius: 12px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(58, 168, 255, 0.18);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 10px rgba(100, 232, 195, 0.1);
}

.card-title {
  margin: 0;
  font-weight: 700;
}

.card-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.live-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(58, 168, 255, 0.12), rgba(95, 211, 194, 0.12));
}

.KK聊天-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, #3ba8ff 0%, #d9f0ff 65%);
  position: relative;
}

.KK聊天-ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(123, 123, 255, 0.35);
  animation: KK聊天 2.2s infinite ease;
}

@keyframes KK聊天 {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.live-info p {
  margin: 0;
}

.live-title {
  font-weight: 700;
}

.live-desc {
  color: var(--muted);
  font-size: 14px;
}

.pill {
  border: none;
  background: #fff;
  color: #0d2540;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: rgba(58, 168, 255, 0.06);
  border: 1px solid rgba(58, 168, 255, 0.12);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: rgba(58, 168, 255, 0.2);
}

.list-title {
  margin: 0;
  font-weight: 600;
}

.list-desc {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.tag {
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(58, 168, 255, 0.16);
  font-weight: 600;
  font-size: 12px;
}

.tag-soft {
  background: rgba(58, 168, 255, 0.12);
}

.section {
  margin-top: 54px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 26px;
}

.section h2 {
  margin: 12px 0 8px;
  font-size: 30px;
  letter-spacing: -0.3px;
}

.section-desc {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid rgba(58, 168, 255, 0.14);
  box-shadow: var(--shadow);
}

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

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.icon.orb {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.orb.pink {
  background: linear-gradient(145deg, #ff9ccf, #3ba8ff);
}

.orb.purple {
  background: linear-gradient(145deg, #6ac8ff, #9fd7ff);
}

.orb.teal {
  background: linear-gradient(145deg, #5fd3c2, #2fb7a7);
}

.orb.yellow {
  background: linear-gradient(145deg, #f3c969, #f8864f);
}

.preview-card {
  border-radius: 22px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(58, 168, 255, 0.14);
  box-shadow: var(--shadow);
}

.preview-body {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  margin-top: 14px;
  align-items: center;
}

.phone-mock {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.65));
  border-radius: 32px;
  padding: 14px;
  border: 1px solid rgba(58, 168, 255, 0.18);
  box-shadow: 0 20px 40px rgba(37, 89, 142, 0.28);
}

.notch {
  width: 120px;
  height: 18px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 0 0 14px 14px;
  margin: 0 auto 12px;
}

.screen {
  background: #f5fbff;
  border-radius: 22px;
  padding: 16px;
  min-height: 360px;
  border: 1px solid rgba(58, 168, 255, 0.12);
}

.screen-title {
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: 700;
}

.bubble {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 14px;
  margin-bottom: 8px;
  max-width: 90%;
  line-height: 1.4;
}

.bubble-me {
  background: linear-gradient(145deg, #9fd7ff, #6ac8ff);
  color: #0d2540;
}

.bubble-them {
  background: rgba(58, 168, 255, 0.08);
  color: var(--text);
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
  margin: 10px 0;
}

.preview-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bullet {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient);
  margin-top: 6px;
}

.bullet-title {
  margin: 0;
  font-weight: 700;
}

.bullet-desc {
  margin: 4px 0 0;
  color: var(--muted);
}

.safety-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82));
  border-radius: 22px;
  padding: 24px;
  border: 1px solid rgba(58, 168, 255, 0.16);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: center;
}

.safety-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  color: var(--muted);
}

.safety-list li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.safety-list strong {
  color: var(--text);
}

.safety-side {
  text-align: center;
}

.shield {
  width: 160px;
  margin: 0 auto 10px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.shield-top {
  width: 100%;
  height: 110px;
  background: linear-gradient(145deg, #9fd7ff, #6ac8ff);
  border-radius: 20px 20px 0 0;
}

.shield-bottom {
  width: 100%;
  height: 70px;
  background: linear-gradient(145deg, #6ac8ff, #3ba8ff);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.shield-text {
  color: var(--muted);
  margin: 0;
}

.download-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(58, 168, 255, 0.16);
  box-shadow: var(--shadow);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 8px;
}

.store-button {
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  color: #0d2540;
}

.store-button.ios {
  background: #e6f4ff;
}

.store-button.android {
  background: #5fd3c2;
  color: #0d2540;
}

.store-button.mac {
  background: #bfe3ff;
}

.store-button.win {
  background: #9fd7ff;
}

.store-button.apk {
  background: #6ac8ff;
  color: #0d2540;
}

.download-qr {
  text-align: center;
}

.qr-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 18px;
  background: repeating-linear-gradient(
    45deg,
    rgba(58, 168, 255, 0.12) 0,
    rgba(58, 168, 255, 0.12) 10px,
    rgba(58, 168, 255, 0.04) 10px,
    rgba(58, 168, 255, 0.04) 20px
  );
  border: 1px dashed rgba(58, 168, 255, 0.35);
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 2px;
}

.mini-note {
  color: var(--muted);
  font-size: 13px;
}

.footer {
  margin-top: 64px;
  padding: 22px 10px;
  border-top: 1px solid rgba(58, 168, 255, 0.14);
  color: var(--muted);
}

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

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(58, 168, 255, 0.08);
}

.footer-links a:hover {
  color: var(--text);
}

.copyright {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero-content,
  .preview-body,
  .safety-card,
  .download-card {
    grid-template-columns: 1fr;
  }

  .top-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-actions {
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 22px 16px 60px;
  }

  .hero {
    padding: 10px;
  }

  .hero-content {
    padding: 18px 10px 10px;
  }

  .cta-row {
    flex-direction: column;
  }

  .top-nav {
    position: relative;
    align-items: center;
  }

  .nav-actions {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 10px;
    padding-bottom: 4px;
  }

  .nav-link {
    padding: 6px 8px;
    font-size: 13px;
  }

  .nav-button {
    padding: 8px 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  .nav-actions::-webkit-scrollbar {
    height: 4px;
  }

  .nav-actions::-webkit-scrollbar-thumb {
    background: rgba(58, 168, 255, 0.3);
    border-radius: 999px;
  }

  .preview-body {
    gap: 16px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-card {
    margin-top: 6px;
  }

  .phone-mock {
    max-width: 100%;
  }

  .section h2 {
    font-size: 24px;
  }
}
