:root {
  --bg: #0d0d12;
  --bg-2: #14141b;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.085);
  --border: rgba(255, 255, 255, 0.10);
  --text: #f4f4f7;
  --muted: rgba(244, 244, 247, 0.62);
  --primary: #8fa8ff;
  --accent: #9ed8c4;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-w: 1120px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(143, 168, 255, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(158, 216, 196, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.024;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.container {
  width: min(var(--max-w), calc(100% - 40px));
  margin-inline: auto;
}

.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: var(--shadow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, #b9c6ff, #8fa8ff);
  color: #11111a;
  box-shadow: 0 8px 28px rgba(143, 168, 255, 0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(143, 168, 255, 0.36); }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.11); }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Header */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  margin: 14px auto 0;
  width: min(1200px, calc(100% - 24px));
  border-radius: 24px;
  background: rgba(16, 16, 22, 0.52);
  border: 1px solid var(--border);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(158,216,196,.9), rgba(143,168,255,.9));
  color: #111;
  font-weight: 800; font-size: 20px;
}
.brand small { color: var(--muted); font-weight: 400; font-size: 12px; letter-spacing: .3px; }
.brand.small small { display: none; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; transition: .2s; font-size: 14px; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.07); }
.nav-links .btn { color: #111; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 4px; transition: .2s; }

/* Hero */
.hero { padding: 88px 0 56px; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(158,216,196,.1);
  border: 1px solid rgba(158,216,196,.2);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
h1 { font-size: clamp(36px, 6vw, 68px); line-height: 1.12; margin: 0 0 20px; font-weight: 700; letter-spacing: -1px; }
h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-tags { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.hero-tags span { font-size: 13px; color: var(--muted); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,0.03); }

.hero-visual { display: flex; justify-content: center; }
.phone-frame {
  position: relative;
  width: 270px; height: 540px;
  border-radius: 46px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.04);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.phone-top { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: rgba(0,0,0,.6); border-radius: 20px; z-index: 4; }
.phone-ui { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: space-between; height: 100%; padding: 72px 20px 48px; }
.ui-title { color: rgba(255,255,255,.8); font-size: 20px; letter-spacing: 2px; font-weight: 700; }
.ui-ring { position: relative; width: 190px; height: 190px; display: grid; place-items: center; }
.breath-orbit, .ring-inner { border-radius: 50%; position: absolute; }
.ui-ring .ring-inner {
  width: 150px; height: 150px;
  border: 1px solid rgba(158,216,196,.5);
  background: radial-gradient(circle, rgba(158,216,196,.13) 0%, transparent 68%);
  animation: breathe 8s ease-in-out infinite;
}
.breath-orbit { border: 1px solid rgba(158,216,196,.12); }
.orbit-1 { width: 260px; height: 260px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation: breathe-slow 8s ease-in-out infinite; }
.orbit-2 { width: 220px; height: 220px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation: breathe 8s ease-in-out infinite; }
.ui-phase { color: rgba(255,255,255,.86); font-size: 18px; font-weight: 500; }
.ui-sub { color: rgba(255,255,255,.4); font-size: 13px; }
@keyframes breathe {
  0%, 100% { transform: scale(.88); opacity: .6; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes breathe-slow {
  0%, 100% { transform: translate(-50%,-50%) scale(.82); opacity: .35; }
  50% { transform: translate(-50%,-50%) scale(1.1); opacity: .6; }
}

/* Quote */
.quote { padding: 10px 0 30px; }
blockquote {
  max-width: 760px; margin: 0 auto; text-align: center;
  font-size: clamp(20px, 3vw, 30px);
  color: rgba(244,244,247,.8);
  font-weight: 300;
  line-height: 1.5;
}
blockquote::before { content: "“"; color: var(--accent); }

/* Sections */
.section { padding: 70px 0; }
.section-alt { background: rgba(255,255,255,0.025); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 10px; letter-spacing: -.5px; }
.section-head p { color: var(--muted); margin: 0; font-size: 16px; }
.section-head strong { color: var(--accent); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 26px; border-radius: var(--radius-md); transition: .2s; }
.feature-card:hover { background: var(--surface-strong); transform: translateY(-3px); }
.icon-holder {
  width: 46px; height: 46px; border-radius: 15px; margin-bottom: 18px;
  display: grid; place-items: center; font-size: 22px;
  background: linear-gradient(135deg, rgba(143,168,255,.22), rgba(158,216,196,.16));
  border: 1px solid rgba(255,255,255,.12);
}
.feature-card h3 { margin: 0 0 8px; font-size: 19px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Download */
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 860px; margin: 0 auto; }
.download-card { padding: 32px; border-radius: var(--radius-lg); }
.download-card.featured { border-color: rgba(158,216,196,.35); }
.download-card h3 { margin: 0 0 8px; font-size: 22px; }
.download-card p { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.download-card ul { padding: 0; list-style: none; margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.download-card li { padding: 5px 0; border-bottom: 1px dashed rgba(255,255,255,.08); }
.download-card small { display: block; margin-top: 12px; color: var(--muted); opacity: .7; }
.platform-badge {
  display: inline-block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: #111; background: var(--accent); border-radius: 999px; padding: 4px 11px; font-weight: 700; margin-bottom: 16px;
}
.hint { text-align: center; color: var(--muted); font-size: 13px; margin: 26px auto 0; max-width: 700px; }
.hint code { background: rgba(255,255,255,.08); padding: 2px 7px; border-radius: 7px; }

/* Timeline */
.timeline { max-width: 800px; margin: 0 auto; display: grid; gap: 18px; }
.timeline-item { display: grid; grid-template-columns: 150px 1fr; border-radius: var(--radius-md); overflow: hidden; }
.timeline-date {
  color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .04em;
  padding: 22px; border-right: 1px solid var(--border); background: rgba(255,255,255,.025);
}
.timeline-body { padding: 18px 22px; }
.timeline-body h3 { margin: 0 0 8px; }
.timeline-body ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.timeline-body li { margin: 4px 0; }

/* Privacy */
.privacy-panel { max-width: 800px; margin: 0 auto; padding: 36px; border-radius: var(--radius-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.privacy-panel h2 { margin: 0; }
.privacy-panel ul { list-style: none; padding: 0; margin: 0; }
.privacy-panel li { color: var(--muted); padding: 7px 0; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.06); }

/* Footer */
.site-footer { padding: 36px 0 50px; color: var(--muted); text-align: center; }
.footer-inner { display: grid; gap: 8px; justify-items: center; }
.meta { font-size: 12px; opacity: .65; }
.footer-inner .brand { margin-bottom: 6px; }
.footer-inner p { margin: 0; font-size: 14px; }

/* Responsive */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 42px; }
  .hero { padding-top: 56px; }
  .hero-visual { order: 2; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .privacy-panel { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; }
  .timeline-date { border-right: 0; border-bottom: 1px solid var(--border); padding: 14px 22px; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 12px; right: 12px;
    flex-direction: column;
    background: rgba(18,18,25,.92);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 12px;
    backdrop-filter: blur(24px);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .card-grid { grid-template-columns: 1fr; }
  .download-grid { gap: 14px; }
  .section { padding: 50px 0; }
  .hero-tags { justify-content: center; }
}
