/* wonderder client — landing page */

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --bg: #000000;
  --fg: #f5f5f7;
  --muted: #86868b;
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.045);
  --max: 1160px;
  --radius: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.6'/></svg>");
  mix-blend-mode: overlay;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 52px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-brand img { height: 17px; width: auto; opacity: 0.95; }

.nav-links {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.nav-links a {
  font-size: 12.5px;
  color: rgba(245, 245, 247, 0.72);
  letter-spacing: 0.01em;
  transition: color 0.25s var(--ease);
}

.nav-links a:hover { color: #fff; }

.nav-cta {
  font-size: 12.5px;
  padding: 7px 16px;
  border-radius: 980px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-cta:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.nav-burger {
  display: none;
  width: 34px;
  height: 34px;
  margin-left: auto;
  border: 0;
  background: none;
  padding: 8px 6px;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  height: 1px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.3s var(--ease);
}

.nav.open .nav-burger span:first-child { transform: translateY(3px) rotate(45deg); }
.nav.open .nav-burger span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  padding: 150px 28px 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(255, 255, 255, 0.06), transparent 70%),
    radial-gradient(40% 30% at 18% 70%, rgba(41, 151, 255, 0.07), transparent 70%),
    radial-gradient(40% 30% at 84% 62%, rgba(255, 255, 255, 0.04), transparent 70%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 26% at 50% 34%, rgba(255, 255, 255, 0.09), transparent 70%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.4));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow.dark { color: #6e6e73; }

.hero-title { margin: 0 0 26px; }

.hero-wordmark {
  width: clamp(300px, 54vw, 760px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 20px 60px rgba(255, 255, 255, 0.08));
}

.hero-sub {
  margin: 0 0 14px;
  font-size: clamp(22px, 3.2vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-copy {
  margin: 0 auto 34px;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: #fff;
  color: #000;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.16);
}

.btn-primary:hover { background: #e8e8ed; }

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: #f5f5f7;
  background: transparent;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.4); }

.btn .chev { font-size: 17px; line-height: 1; opacity: 0.7; }

.hero-meta {
  margin: 26px 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(134, 134, 139, 0.8);
}

.hero-stage {
  position: relative;
  z-index: 2;
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.stage-glow {
  position: absolute;
  top: 10px;
  left: 50%;
  width: min(560px, 80vw);
  height: 120px;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.2), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.island {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.65),
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  font-size: 15px;
  color: rgba(245, 245, 247, 0.92);
  white-space: nowrap;
}

.island b { font-weight: 600; letter-spacing: 0.01em; }
.island .brand { color: #fff; }
.island .sep { width: 1px; height: 15px; background: rgba(255, 255, 255, 0.25); }
.island .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); }
.island .clock { color: rgba(245, 245, 247, 0.7); font-variant-numeric: tabular-nums; }

.island-hero { font-size: clamp(13px, 1.6vw, 16px); padding: clamp(12px, 1.6vw, 17px) clamp(18px, 2.4vw, 30px); }

.island-lg { font-size: clamp(14px, 2.2vw, 19px); padding: 20px 30px; }

.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 13px; }
.bars i { width: 2.5px; background: #fff; border-radius: 1px; opacity: 0.55; }
.bars i:nth-child(1) { height: 5px; }
.bars i:nth-child(2) { height: 9px; opacity: 0.8; }
.bars i:nth-child(3) { height: 13px; }

.stage-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.stage-tags span {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(245, 245, 247, 0.55);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ---------- sections ---------- */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 150px 28px 0;
  scroll-margin-top: 80px;
}

.section.intro { text-align: center; padding-top: 170px; }

.section-title {
  margin: 0 0 26px;
  font-size: clamp(34px, 5.2vw, 66px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.section-title.dark { color: #1d1d1f; }

.section-lead {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
}

.intro .section-lead { margin: 0 auto; }

/* ---------- split ---------- */

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 90px;
  align-items: center;
  padding-top: 180px;
}

.split-copy .section-lead { margin-bottom: 34px; }

.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.bullet-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: rgba(245, 245, 247, 0.82);
}

.tick {
  flex: none;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 11px;
  color: #fff;
  margin-top: 1px;
}

.split-visual { position: relative; }

.island-demo {
  position: relative;
  border-radius: 24px;
  padding: 58px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  background:
    radial-gradient(60% 70% at 50% 40%, rgba(255, 255, 255, 0.09), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  overflow: hidden;
}

.island-demo::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(40% 40% at 30% 30%, rgba(41, 151, 255, 0.12), transparent 70%),
    radial-gradient(40% 40% at 74% 68%, rgba(255, 255, 255, 0.08), transparent 70%);
  filter: blur(10px);
}

.island-demo .island { position: relative; }

.demo-note {
  position: relative;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(245, 245, 247, 0.4);
}

.caption {
  margin: 16px 0 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(134, 134, 139, 0.7);
}

/* ---------- bento ---------- */

.bento {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bento-card {
  position: relative;
  padding: 34px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  opacity: 0.6;
}

.bento-lg { grid-row: span 2; min-height: 620px; }

.bento-head h3 {
  margin: 0 0 10px;
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.bento-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* css menu mock */

.ui-mock {
  margin-top: auto;
  padding-top: 34px;
  display: grid;
  gap: 10px;
}

.ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  color: rgba(245, 245, 247, 0.86);
  font-size: 14.5px;
  backdrop-filter: blur(8px);
}

.ui-row i { font-style: normal; opacity: 0.45; }

.ui-row.is-active {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 0 34px rgba(255, 255, 255, 0.12);
}

.ui-mock-columns {
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-content: end;
}

.ui-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ui-col-title {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.ui-col > span:not(.ui-col-title) {
  padding: 10px 13px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
  color: rgba(245, 245, 247, 0.78);
}

.bento-stat { justify-content: center; }

.stat-big {
  font-size: clamp(64px, 8vw, 104px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stat-big .plus { color: var(--muted); font-weight: 400; }

.stat-label {
  margin: 6px 0 30px;
  color: var(--muted);
  font-size: 14px;
}

.stat-row {
  display: flex;
  gap: 42px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.stat-row div { display: flex; flex-direction: column; gap: 4px; }
.stat-row b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.stat-row span { font-size: 12px; color: var(--muted); }

.swatches {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 26px;
}

.swatches span {
  flex: 1;
  height: 74px;
  border-radius: 12px;
  background: var(--c);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.bento-theme {
  grid-column: 1 / -1;
  min-height: 260px;
}

/* ---------- crystal ---------- */

.crystal-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.crystal-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.crystal-art::before {
  content: "";
  position: absolute;
  inset: 8% 10%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(140, 175, 255, 0.22), transparent 70%);
  filter: blur(24px);
}

.crystal-art svg {
  position: relative;
  width: min(320px, 80%);
  filter: drop-shadow(0 30px 60px rgba(120, 160, 255, 0.25));
}

.crystal-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.crystal-card {
  position: relative;
  padding: 28px 24px;
  border-radius: 22px;
  border: 1px solid rgba(190, 210, 255, 0.16);
  background: linear-gradient(180deg, rgba(160, 190, 255, 0.08), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.crystal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(190, 210, 255, 0.42);
  box-shadow: 0 30px 70px rgba(110, 150, 255, 0.14);
}

.gem {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff, #bcd6ff 45%, #7fa8ff);
  clip-path: polygon(50% 0, 95% 38%, 78% 100%, 22% 100%, 5% 38%);
  filter: drop-shadow(0 8px 20px rgba(130, 170, 255, 0.35));
}

.crystal-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.crystal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ---------- modules ---------- */


.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0 54px;
}

.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  color: rgba(245, 245, 247, 0.86);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.module-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.module-col h4 {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.module-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 15px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: padding 0.25s var(--ease), border-color 0.25s var(--ease);
}

.module-row:hover { padding-left: 8px; border-color: rgba(255, 255, 255, 0.2); }

.module-row span { font-size: 16px; }

.module-row em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(134, 134, 139, 0.85);
}

/* ---------- specs ---------- */

.specs { padding-top: 160px; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 54px 0;
}

.spec { text-align: center; }

.spec b {
  display: block;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.spec span {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- contact ---------- */

.contact {
  margin-top: 160px;
  background: #f5f5f7;
  color: #1d1d1f;
  padding: 140px 28px 150px;
}

.contact-inner { max-width: var(--max); margin: 0 auto; }

.contact-lead {
  max-width: 560px;
  color: #6e6e73;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
}

.qq-card {
  margin-top: 50px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 28px 32px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

.qq-badge {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #1d1d1f;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  flex: none;
}

.qq-info { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }

.qq-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #86868b;
}

.qq-info strong {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.btn-dark {
  background: #1d1d1f;
  color: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.btn-dark:hover { background: #000; }

.btn-outline {
  border-color: rgba(0, 0, 0, 0.18);
  color: #1d1d1f;
  background: transparent;
}

.btn-outline:hover { background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.34); }

.hints {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hint {
  padding: 26px 24px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.035);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hint span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #86868b;
  margin-bottom: 12px;
}

.hint p { margin: 0; font-size: 14.5px; line-height: 1.55; }

/* copied state */
.btn.is-copied { background: #1d7d3f; color: #fff; border-color: #1d7d3f; }

/* ---------- hero entrance (CSS only) ---------- */

.hero-anim {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 0.95s var(--ease) both;
}

.hero-content .hero-anim:nth-child(1) { animation-delay: 0.05s; }
.hero-content .hero-anim:nth-child(2) { animation-delay: 0.12s; }
.hero-content .hero-anim:nth-child(3) { animation-delay: 0.2s; }
.hero-content .hero-anim:nth-child(4) { animation-delay: 0.26s; }
.hero-content .hero-anim:nth-child(5) { animation-delay: 0.34s; }
.hero-content .hero-anim:nth-child(6) { animation-delay: 0.42s; }
.hero-stage.hero-anim { animation-delay: 0.5s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-anim { animation: none; opacity: 1; transform: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}

.reveal.in { opacity: 1; transform: none; }

.bento .reveal:nth-child(1) { transition-delay: 0.05s; }
.bento .reveal:nth-child(2) { transition-delay: 0.12s; }
.bento .reveal:nth-child(3) { transition-delay: 0.18s; }
.bento .reveal:nth-child(4) { transition-delay: 0.24s; }

/* flat preview mode: shorten hero for full-page screenshots */
body.flat .hero { min-height: 0; padding-top: 130px; }
body.flat .reveal { opacity: 1; transform: none; transition: none; }
body.flat .hero-anim { animation: none; opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 54px; }
  .crystal-head { grid-template-columns: 1fr; gap: 30px; }
  .crystal-grid { grid-template-columns: repeat(2, 1fr); }
  .split-copy { order: -1; }
  .bento { grid-template-columns: 1fr; }
  .bento-lg { grid-row: auto; min-height: 0; }
  .module-cols { grid-template-columns: 1fr; gap: 30px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 12px; }
  .hints { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 14px;
    margin-left: auto;
    padding: 0;
    background: none;
    border: 0;
    backdrop-filter: none;
  }

  .nav-links a { padding: 0; font-size: 11.5px; border: 0; color: rgba(245, 245, 247, 0.75); }

  .nav-links a:nth-child(2),
  .nav-links a:nth-child(4) { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: none !important; }

  .hero { padding-top: 120px; }
  .island { gap: 8px; font-size: 12px; padding: 10px 14px; }
  .island .brand { display: none; }
  .section { padding-top: 110px; }
  .crystal-grid { grid-template-columns: 1fr; }
  .split { padding-top: 120px; }
  .contact { padding: 100px 22px 110px; margin-top: 110px; }
  .qq-card { padding: 22px; }
  .qq-info strong { font-size: 22px; }
  .stat-row { gap: 26px; }
}



/* ---------- ai assistant ---------- */

.ai {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
}

.ai-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(12, 12, 14, 0.82);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.16) inset;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), opacity 0.3s var(--ease);
}

.ai-fab:hover { transform: translateY(-2px); background: rgba(30, 30, 34, 0.92); }

.ai.open .ai-fab { opacity: 0; pointer-events: none; transform: scale(0.8); }

.ai-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: rgba(14, 14, 17, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  overflow: hidden;
}

.ai-panel[hidden] { display: none; }

.ai.open .ai-panel { opacity: 1; transform: none; pointer-events: auto; }

.ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-title strong { display: block; font-size: 14px; letter-spacing: 0.02em; }
.ai-title span { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

.ai-close {
  border: 0;
  background: none;
  color: rgba(245, 245, 247, 0.6);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.ai-close:hover { color: #fff; }

.ai-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
}

.ai-msg {
  max-width: 86%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.ai-bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 6px;
}

.ai-user {
  align-self: flex-end;
  background: #f5f5f7;
  color: #000;
  border-bottom-right-radius: 6px;
}

.ai-err {
  background: rgba(255, 80, 80, 0.12);
  border-color: rgba(255, 80, 80, 0.3);
  color: #ffb4b4;
}

.ai-typing { display: inline-flex; gap: 4px; align-items: center; }
.ai-typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  animation: aiBlink 1.2s infinite;
}
.ai-typing i:nth-child(2) { animation-delay: 0.2s; }
.ai-typing i:nth-child(3) { animation-delay: 0.4s; }

@keyframes aiBlink {
  0%, 80%, 100% { opacity: 0.2; }
  40% { opacity: 1; }
}

.ai-suggest {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px;
  flex-wrap: wrap;
}

.ai-suggest button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 245, 247, 0.8);
  font-size: 11.5px;
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.ai-suggest button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.ai-form {
  display: flex;
  gap: 10px;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-form input {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #f5f5f7;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 13.5px;
  outline: none;
}

.ai-form input:focus { border-color: rgba(255, 255, 255, 0.4); }

.ai-form button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.ai-form button:disabled { opacity: 0.45; cursor: default; }

@media (max-width: 760px) {
  .ai { right: 16px; bottom: 16px; }
  .ai-panel { height: min(70vh, 560px); }
}

.ai-qq{border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:6px 12px;font-size:11.5px;color:rgba(245,245,247,.85);text-decoration:none;margin-left:auto;margin-right:10px;transition:background .2s,border-color .2s}
.ai-qq:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.34)}
