/* NoiseTrace — shared styles for /noise/ sub-site */
:root {
  --primary: #2E6FBF;
  --primary-dark: #1B4F8F;
  --primary-light: #8FBEE8;
  --navy: #0C1B30;
  --navy-soft: #14263F;
  --ink: #1D1D1F;
  --muted: #6E6E73;
  --canvas: #FFFFFF;
  --soft: #F2F6FB;
  --hairline: rgba(12,27,48,.10);
  --glass: rgba(255,255,255,.78);
  --radius-lg: 22px;
  --shadow: 0 8px 30px rgba(12,27,48,.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", "Microsoft YaHei", Roboto, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: 2px; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--ink); opacity: .85; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-cta {
  background: var(--primary); color: #fff !important;
  padding: 9px 18px; border-radius: 999px; font-weight: 600;
  transition: background .2s;
}
.nav-cta:hover { background: var(--primary-dark); }
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border: 1px solid var(--hairline); border-radius: 999px;
  background: rgba(0,0,0,.035);
}
.lang-switch a,
.lang-switch button,
.lang-switch span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; padding: 4px 12px; border: 0; border-radius: 999px;
  background: transparent; font-size: 13px; font-weight: 600; line-height: 1.35;
  color: var(--muted); text-decoration: none; white-space: nowrap; font-family: inherit;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.lang-switch a:hover,
.lang-switch button:hover { color: var(--ink); background: rgba(0,0,0,.06); text-decoration: none; }
.lang-switch a:focus-visible,
.lang-switch button:focus-visible { outline: 2px solid #AF2FDA; outline-offset: 2px; }
.lang-switch .cur {
  background: #fff; color: #9515C1; cursor: default;
  box-shadow: 0 1px 3px rgba(0,0,0,.10), 0 1px 1px rgba(0,0,0,.06);
}
@media (max-width: 640px) {
  .lang-switch a, .lang-switch button, .lang-switch span { padding: 7px 14px; font-size: 14px; }
}
.nav-burger { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 72px 24px 40px;
  background:
    radial-gradient(circle at 20% 15%, rgba(143,190,232,.28), transparent 45%),
    radial-gradient(circle at 82% 25%, rgba(46,111,191,.16), transparent 42%),
    linear-gradient(180deg, #EDF4FC 0%, #FFFFFF 62%);
  overflow: hidden;
}
.hero .container { max-width: 1080px; margin: 0 auto; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--primary-dark);
  background: rgba(46,111,191,.08);
  border: 1px solid rgba(46,111,191,.22);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 6.6vw, 72px);
  line-height: 1.08; font-weight: 700; letter-spacing: -1px;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary), var(--primary-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub {
  margin: 22px auto 0; max-width: 680px;
  font-size: clamp(17px, 2.4vw, 21px); color: var(--muted);
}
.hero .actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.soon {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: #fff;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
}
.soon span.dot { width: 8px; height: 8px; border-radius: 50%; background: #5FD08A; box-shadow: 0 0 0 4px rgba(95,208,138,.22); }
.ghost-btn {
  display: inline-block; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  color: var(--primary-dark); background: #fff; border: 1px solid rgba(46,111,191,.28);
  transition: background .2s, transform .2s;
}
.ghost-btn:hover { background: rgba(46,111,191,.07); text-decoration: none; transform: translateY(-1px); }

/* Hero device showcase */
.device-showcase {
  position: relative;
  margin: 48px auto 0;
  max-width: 1080px;
  display: flex; justify-content: center; align-items: flex-end;
  gap: 26px;
}
/* Screenshots already contain the device bezel — no extra frame, only a soft shadow. */
.phone { width: 232px; }
.phone img { width: 100%; height: auto; display: block; }
.phone.cen { width: 296px; z-index: 2; transform: translateY(-16px); }
.phone.cen img { filter: drop-shadow(0 26px 42px rgba(12,27,48,.26)); }
.phone.side img { filter: drop-shadow(0 16px 28px rgba(12,27,48,.18)); opacity: .96; }

/* ---------- Stats ---------- */
.stats { padding: 40px 24px; background: var(--soft); border-bottom: 1px solid var(--hairline); }
.stats-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-size: 30px; font-weight: 700; color: var(--primary-dark); font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { max-width: 1080px; margin: 0 auto; padding: 76px 24px; }
.section.tight { padding: 48px 24px 16px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(27px, 3.8vw, 40px); font-weight: 700; letter-spacing: -.5px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.features.two { grid-template-columns: repeat(2, 1fr); }
.feature { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 28px 24px; transition: transform .22s, box-shadow .22s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px; background: rgba(46,111,191,.10); }
.feature h3 { font-size: 19px; font-weight: 650; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); }
.feature .tagp { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .6px; color: var(--primary-dark); background: rgba(46,111,191,.12); padding: 2px 8px; border-radius: 6px; margin-bottom: 10px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hairline); background: #fff; box-shadow: 0 4px 16px rgba(12,27,48,.07); display: flex; flex-direction: column; }
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption { padding: 12px 14px; font-size: 14px; font-weight: 600; }

/* Showcase */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.showcase .media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.showcase .media img { width: 100%; height: auto; display: block; }
.showcase h3 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.showcase p { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.checklist { list-style: none; }
.checklist li { padding: 8px 0 8px 30px; position: relative; font-size: 15px; color: var(--ink); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* Steps */
.steps { list-style: none; counter-reset: step; max-width: 760px; margin: 0 auto; }
.steps li { padding: 12px 0 12px 44px; position: relative; font-size: 16px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 12px; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(46,111,191,.14); color: var(--primary-dark); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}

/* Plan table */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.plan { border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 28px 26px; background: #fff; }
.plan.premium { background: linear-gradient(180deg, #F5F9FF, #FFFFFF); border-color: rgba(46,111,191,.30); box-shadow: var(--shadow); }
.plan h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.plan .price { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.plan ul { list-style: none; }
.plan ul li { padding: 7px 0 7px 28px; position: relative; font-size: 15px; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.plan ul li.no { color: var(--muted); }
.plan ul li.no::before { content: "–"; color: var(--muted); }

/* Note / disclaimer */
.note { max-width: 880px; margin: 0 auto; background: var(--soft); border: 1px solid var(--hairline); border-radius: 18px; padding: 22px 24px; font-size: 15px; color: var(--muted); }
.note b { color: var(--ink); }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--soft); border: 1px solid var(--hairline); border-radius: 16px; margin-bottom: 14px; overflow: hidden; transition: box-shadow .2s; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; padding: 19px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 600; color: var(--ink); user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(46,111,191,.05); }
.faq-ico { flex: 0 0 auto; position: relative; width: 26px; height: 26px; border-radius: 50%; background: rgba(46,111,191,.14); transition: transform .25s ease, background .25s ease; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; background: var(--primary-dark); border-radius: 2px; }
.faq-ico::before { left: 50%; top: 7px; bottom: 7px; width: 2px; transform: translateX(-50%); }
.faq-ico::after { top: 50%; left: 7px; right: 7px; height: 2px; transform: translateY(-50%); }
.faq-item[open] .faq-ico { transform: rotate(135deg); background: rgba(46,111,191,.24); }
.faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { background: radial-gradient(circle at 50% 0%, rgba(143,190,232,.32), transparent 62%), linear-gradient(120deg, #0C1B30, #1B4F8F 58%, #2E6FBF); color: #fff; text-align: center; padding: 72px 24px; }
.cta-band h2 { font-size: clamp(29px, 4.6vw, 46px); font-weight: 700; letter-spacing: -.5px; }
.cta-band p { margin: 14px auto 28px; max-width: 560px; font-size: 17px; opacity: .92; }
.cta-band .soon { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); }
.cta-support { margin: 24px auto 0; font-size: 15px; opacity: .9; }
.cta-support a { color: #fff; text-decoration: underline; }

/* Page hero (sub pages) */
.page-hero { text-align: center; padding: 64px 24px 40px; background: radial-gradient(circle at 50% 0%, rgba(143,190,232,.24), transparent 55%), linear-gradient(180deg, #EDF4FC 0%, #FFFFFF 72%); }
.page-hero h1 { font-size: clamp(32px, 5.4vw, 54px); line-height: 1.1; font-weight: 700; letter-spacing: -.5px; background: linear-gradient(120deg, var(--primary-dark), var(--primary), var(--primary-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { margin: 16px auto 0; max-width: 640px; color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); }
.crumb { max-width: 1080px; margin: 0 auto; padding: 16px 24px 0; font-size: 13px; color: var(--muted); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--primary); }

/* Footer */
footer { background: #0C1B30; color: #9FB2C9; padding: 48px 24px 40px; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 650; margin-bottom: 12px; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-inner p { font-size: 14px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer-col a { display: block; color: #9FB2C9; font-size: 14px; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1080px; margin: 36px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .features, .features.two { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--glass); backdrop-filter: blur(16px); padding: 16px 24px; gap: 16px; border-bottom: 1px solid var(--hairline); align-items: flex-start; }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
  .features, .features.two { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 48px 20px 32px; }
  .device-showcase { gap: 8px; margin-top: 34px; }
  .phone { width: 27vw; max-width: 128px; }
  .phone.cen { width: 34vw; max-width: 164px; }
}

/* ---------- Legal pages ---------- */
.legal-wrap { max-width: 780px; margin: 0 auto; padding: 28px 24px 72px; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.legal-tabs button {
  border: 1px solid var(--hairline); background: #fff; color: var(--muted);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: background .18s, color .18s, border-color .18s;
}
.legal-tabs button:hover { background: var(--soft); }
.legal-tabs button.cur { background: rgba(46,111,191,.10); border-color: rgba(46,111,191,.34); color: var(--primary-dark); }
.legal-wrap article[lang] { display: none; }
.legal-wrap article[lang].active { display: block; }
.legal-wrap h1 { font-size: clamp(26px, 4vw, 34px); line-height: 1.25; letter-spacing: -.02em; margin: 4px 0 6px; }
.legal-wrap h2 { font-size: 19px; line-height: 1.4; margin: 30px 0 6px; }
.legal-wrap p { margin: 10px 0; font-size: 16px; }
.legal-wrap ul { margin: 10px 0; padding-left: 22px; }
.legal-wrap li { margin: 6px 0; font-size: 16px; color: var(--ink); }
.legal-wrap .meta { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.legal-wrap .lead { font-weight: 600; }
.legal-wrap hr { border: 0; border-top: 1px solid var(--hairline); margin: 34px 0 0; }
.legal-updated { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--muted); }
.legal-crumb { max-width: 828px; }

/* ---------- Download CTA in the nav ---------- */
.nav-cta { flex: none; font-size: 15px; white-space: nowrap; }
@media (max-width: 900px) {
  .nav-right { gap: 14px; }
  .nav-cta { padding: 8px 14px; font-size: 14px; }
}
@media (max-width: 640px) {
  .nav { padding: 12px 16px; }
  .nav-right { gap: 10px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .brand small { display: none; }
  .nav-cta { padding: 8px 13px; font-size: 13px; }
  .lang-switch a, .lang-switch button, .lang-switch span { min-width: 34px; padding: 4px 7px; font-size: 12px; }
}
@media (max-width: 400px) {
  .nav { padding: 11px 12px; }
  .nav-right { gap: 8px; }
  .brand > span { display: none; }
}
