/* ==========================================================================
   Sol Meet — 落地页样式
   ========================================================================== */

:root {
  --bg-0: #060a14;
  --text: #eef2ff;
  --text-dim: #9aa6c4;
  --text-faint: #6b7695;
  --accent: #67e8f9;
  --accent-2: #818cf8;
  --accent-grad: linear-gradient(135deg, #67e8f9, #818cf8);
  --stroke: rgba(255, 255, 255, 0.09);
  --stroke-strong: rgba(255, 255, 255, 0.18);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Segoe UI", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100%;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 10% -10%, rgba(103, 232, 249, 0.16), transparent 60%),
    radial-gradient(1000px 700px at 95% 0%, rgba(129, 140, 248, 0.18), transparent 62%),
    radial-gradient(800px 600px at 50% 110%, rgba(52, 211, 153, 0.09), transparent 60%),
    var(--bg-0);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
code {
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 0.9em;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #a5f3fc;
}

.bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.bg-orbs span:nth-child(1) { width: 460px; height: 460px; left: -120px; top: -140px; background: rgba(103, 232, 249, 0.22); }
.bg-orbs span:nth-child(2) { width: 520px; height: 520px; right: -160px; top: -80px; background: rgba(129, 140, 248, 0.25); }
.bg-orbs span:nth-child(3) { width: 400px; height: 400px; left: 45%; bottom: -240px; background: rgba(52, 211, 153, 0.14); }

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px clamp(20px, 5vw, 72px);
  max-width: 1440px;
  margin: 0 auto;
}
.nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  margin-right: auto;
}
.nav .logo {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-grad);
  color: #06101f;
  font-weight: 900;
}
.nav-link { color: var(--text-dim); font-size: 13px; transition: 0.18s ease; }
.nav-link:hover { color: var(--text); }

main { position: relative; z-index: 2; }

.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 64px) clamp(20px, 5vw, 72px) 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: #a5f3fc;
  border: 1px solid rgba(103, 232, 249, 0.3);
  background: rgba(103, 232, 249, 0.08);
  padding: 7px 12px;
  border-radius: 999px;
}

h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.06;
  letter-spacing: -1.5px;
  margin: 22px 0 18px;
  background: linear-gradient(180deg, #ffffff 20%, #b9c6ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 46ch;
  margin: 0 0 28px;
}

.join-form {
  background: rgba(16, 24, 45, 0.66);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 18px;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  max-width: 560px;
}

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label { font-size: 11.5px; color: var(--text-faint); letter-spacing: 0.2px; }
.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke-strong);
  background: rgba(5, 8, 16, 0.7);
  outline: none;
  font-size: 14px;
  transition: 0.18s ease;
}
.field input:focus { border-color: rgba(103, 232, 249, 0.6); box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.12); }
.field input::placeholder { color: var(--text-faint); }

.form-row { display: flex; gap: 10px; margin-top: 12px; align-items: flex-end; }
.form-row .grow { flex: 1; }

.primary-btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 20px;
  background: var(--accent-grad);
  color: #06101f;
  font-weight: 700;
  font-size: 14px;
  transition: 0.18s ease;
  box-shadow: 0 12px 28px rgba(103, 232, 249, 0.2);
  white-space: nowrap;
}
.primary-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(103, 232, 249, 0.3); }
.primary-btn.big { padding: 15px 26px; font-size: 15px; border-radius: 14px; }

.form-hint { margin: 12px 0 0; font-size: 12px; color: var(--text-faint); line-height: 1.6; }

.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.hero-note { font-size: 12px; color: var(--text-faint); }

.hero-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 34px 0 0;
  border-top: 1px solid var(--stroke);
  padding-top: 22px;
}
.hero-stats li { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong { font-size: 20px; letter-spacing: -0.4px; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { font-size: 11.5px; color: var(--text-faint); line-height: 1.4; }

/* 视觉示意 */
.hero-visual { position: relative; }
.mock-room {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--stroke-strong);
  background: linear-gradient(165deg, rgba(22, 32, 60, 0.9), rgba(8, 12, 24, 0.95));
  padding: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
}
.mock-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 4px 12px;
}
.mock-topbar .dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.red { background: #fb7185; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #34d399; }
.mock-url {
  margin-left: 10px;
  font-size: 11px;
  color: var(--text-faint);
  background: rgba(5, 8, 16, 0.6);
  border: 1px solid var(--stroke);
  padding: 3px 10px;
  border-radius: 999px;
}
.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mock-tile {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background:
    radial-gradient(180px 120px at 50% 30%, rgba(103, 232, 249, 0.22), transparent 70%),
    linear-gradient(160deg, #1b2a4d, #0b1224);
  display: grid;
  place-items: center;
}
.mock-tile.t2 { background: radial-gradient(180px 120px at 50% 30%, rgba(129, 140, 248, 0.28), transparent 70%), linear-gradient(160deg, #232a52, #0b1224); }
.mock-tile.t3 { background: radial-gradient(180px 120px at 50% 30%, rgba(52, 211, 153, 0.22), transparent 70%), linear-gradient(160deg, #15364a, #0b1224); }
.mock-tile.t4 { background: linear-gradient(160deg, #101a33, #060a14); }
.mock-name {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 10px;
  color: #dbe4ff;
  background: rgba(5, 8, 16, 0.6);
  padding: 3px 8px;
  border-radius: 999px;
}
.mock-wave {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(103, 232, 249, 0.55);
  box-shadow: 0 0 0 12px rgba(103, 232, 249, 0.07), 0 0 0 26px rgba(103, 232, 249, 0.04);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(0.94); opacity: 0.75; }
  50% { transform: scale(1.04); opacity: 1; }
}
.mock-screen {
  width: 72%;
  height: 58%;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(103, 232, 249, 0.18) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(rgba(129, 140, 248, 0.16) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(160deg, rgba(103, 232, 249, 0.14), rgba(129, 140, 248, 0.1));
  border: 1px solid rgba(103, 232, 249, 0.28);
}
.mock-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 14px 0 4px;
}
.mock-bar span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  font-size: 14px;
}
.mock-wasm {
  position: absolute;
  right: 22px;
  bottom: 74px;
  font-size: 10.5px;
  color: #a5f3fc;
  background: rgba(8, 20, 32, 0.85);
  border: 1px solid rgba(103, 232, 249, 0.3);
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.features {
  max-width: 1280px;
  margin: 20px auto 0;
  padding: 36px clamp(20px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.features article {
  border: 1px solid var(--stroke);
  background: rgba(16, 24, 45, 0.5);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(12px);
  transition: 0.2s ease;
}
.features article:hover { border-color: var(--stroke-strong); transform: translateY(-2px); background: rgba(22, 32, 60, 0.62); }
.features h3 { margin: 0 0 8px; font-size: 15px; letter-spacing: 0.1px; }
.features p { margin: 0; font-size: 12.8px; line-height: 1.7; color: var(--text-dim); }

.cta {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 46px clamp(20px, 5vw, 72px);
  text-align: center;
}
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.8px; margin: 0 0 12px; }
.cta p { color: var(--text-dim); font-size: 14px; margin: 0 0 22px; }

.footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 26px clamp(20px, 5vw, 72px) 36px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--stroke);
  color: var(--text-faint);
  font-size: 12px;
}
.footer [data-status="ok"] { color: #34d399; }
.footer [data-status="down"] { color: #fb7185; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 620px; width: 100%; justify-self: center; }
  .mock-room { transform: none; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .nav { padding: 16px 18px; }
  .nav-link { display: none; }
  .hero { padding-top: 12px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .features { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; align-items: stretch; }
  .hero-visual { display: none; }
  .footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
