:root {
  --bg: #070b18;
  --bg-alt: #0b1124;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.09);
  --text: #e8ecf8;
  --muted: #9aa3bd;
  --c1: #6ee7ff;
  --c2: #8b5cf6;
  --grad: linear-gradient(135deg, var(--c1), var(--c2));
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

#bg-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
}

.container { width: min(1160px, 100% - 48px); margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: .25s; font-family: inherit;
}
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-primary { background: var(--grad); color: #0a0f1f; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(139, 92, 246, .6); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--c1); color: var(--c1); }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, border-color .3s; border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 11, 24, .8); backdrop-filter: blur(14px); border-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 500; letter-spacing: .3px; }
.logo b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { padding: 160px 0 100px; text-align: center; }
.eyebrow { font-size: 13px; letter-spacing: 3px; color: var(--c1); font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 72px); line-height: 1.15; font-weight: 800; letter-spacing: -1px; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 660px; margin: 24px auto 0; color: var(--muted); font-size: 18px; }
.hero-cta { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-demo {
  max-width: 680px; margin: 72px auto 0; text-align: left;
  background: rgba(14, 20, 40, .75); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 30px 80px -20px rgba(110, 231, 255, .18); backdrop-filter: blur(10px); overflow: hidden;
}
.demo-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.demo-title { margin-left: 10px; font-size: 13px; color: var(--muted); }
.demo-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 230px; }
.msg { padding: 12px 16px; border-radius: 12px; font-size: 15px; max-width: 88%; white-space: pre-line; }
.msg.user { align-self: flex-end; background: var(--grad); color: #0a0f1f; font-weight: 500; }
.msg.ai { align-self: flex-start; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); }
.caret { color: var(--c1); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Sections */
.section { padding: 110px 0; }
.section-alt { background: linear-gradient(180deg, transparent, var(--bg-alt) 20%, var(--bg-alt) 80%, transparent); }
.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2, .about h2, .contact-box h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.25; }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 17px; }

.grid { display: grid; gap: 24px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.features { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.solutions { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(110, 231, 255, .4); box-shadow: 0 20px 50px -20px rgba(110, 231, 255, .3); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(110, 231, 255, .15), rgba(139, 92, 246, .2));
  border: 1px solid var(--border); margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--c1); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--c1); }

.feature { padding: 30px 26px; border-left: 2px solid; border-image: var(--grad) 1; }
.feature-num { font-size: 14px; font-weight: 700; color: var(--c2); letter-spacing: 1px; }
.feature h3 { font-size: 20px; margin: 10px 0 8px; }
.feature p { color: var(--muted); font-size: 15px; }

.solution {
  position: relative; padding: 34px 28px; border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--border); transition: border-color .3s;
}
.solution::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.solution:hover { border-color: rgba(139, 92, 246, .4); }
.solution:hover::before { transform: scaleX(1); }
.solution h3 { font-size: 20px; margin-bottom: 10px; }
.solution p { color: var(--muted); font-size: 15px; }

/* About */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about-text p:not(.eyebrow) { color: var(--muted); margin-top: 18px; font-size: 16px; }
.about-visual { position: relative; aspect-ratio: 1; max-width: 380px; width: 100%; margin: 0 auto; }
.orb {
  position: absolute; inset: 30%; border-radius: 50%; background: var(--grad);
  filter: blur(6px); box-shadow: 0 0 80px 20px rgba(139, 92, 246, .45); animation: pulse 4s ease-in-out infinite;
}
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(110, 231, 255, .3); }
.ring.r1 { inset: 18%; animation: spin 14s linear infinite; border-top-color: var(--c1); }
.ring.r2 { inset: 8%; animation: spin 22s linear infinite reverse; border-right-color: var(--c2); }
.ring.r3 { inset: 0; animation: spin 32s linear infinite; border-bottom-color: var(--c1); opacity: .6; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.08); } }

/* Contact */
.contact-box {
  text-align: center; padding: 64px 40px; border-radius: 24px; border: 1px solid var(--border);
  background: radial-gradient(ellipse at top, rgba(139, 92, 246, .18), transparent 60%), var(--card);
}
.contact-box > p { color: var(--muted); margin-top: 14px; }
.contact-form {
  max-width: 620px; margin: 36px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border);
  background: rgba(0, 0, 0, .25); color: var(--text); font: inherit; font-size: 15px; outline: none; transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--c1); }
.contact-form input[name="company"], .contact-form textarea, .contact-form button { grid-column: 1 / -1; }
.contact-form textarea { resize: vertical; }
.form-note { min-height: 24px; margin-top: 14px; color: var(--c1); font-size: 14px; }
.contact-mail { color: var(--muted); font-size: 14px; }
.contact-mail a { color: var(--c1); }
.contact-info { list-style: none; margin: 10px 0 0; padding: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.contact-info a { color: var(--c1); }
html[lang="en"] .contact-info span[data-i18n] { margin-right: .3em; }
.footer .footer-addr a { color: inherit; white-space: nowrap; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer p { color: var(--muted); font-size: 14px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 22px; padding: 28px;
    background: rgba(7, 11, 24, .97); border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform .35s; z-index: -1;
  }
  .nav-links.open { transform: none; }
  .about { grid-template-columns: 1fr; }
  .about-visual { max-width: 260px; }
  .hero { padding-top: 130px; }
  .section { padding: 80px 0; }
}
@media (max-width: 560px) {
  .contact-form { grid-template-columns: 1fr; }
  .contact-box { padding: 48px 22px; }
  .hero-sub { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Language switch */
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-links { margin-left: auto; margin-right: 24px; }
.lang-switch {
  display: inline-flex; padding: 3px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255, 255, 255, .03);
}
.lang-switch button {
  border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600;
  min-width: 34px; padding: 5px 9px; border-radius: 999px; cursor: pointer; transition: .2s;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active { background: var(--grad); color: #0a0f1f; }
@media (max-width: 860px) {
  .nav-links { margin: 0; }
}

/* =========================================================
   Premium refresh — larger scale, more whitespace, richer light
   ========================================================= */
:root {
  --bg: #05070f;
  --bg-alt: #080c1a;
  --radius: 20px;
  --c3: #3b82f6;
  --grad: linear-gradient(120deg, #7ee8ff 0%, #6aa8ff 45%, #9b6cff 100%);
}
.container { width: min(1280px, 100% - 64px); }

/* Nav: taller, more air */
.nav-inner { height: 84px; }
.nav.scrolled { background: rgba(5, 7, 15, .72); backdrop-filter: blur(20px) saturate(140%); }
.logo { font-size: 21px; }

/* Buttons: larger, glowing primary */
.btn { padding: 16px 34px; font-size: 16px; letter-spacing: .2px; }
.btn-sm { padding: 9px 22px; font-size: 14px; }
.btn-primary { box-shadow: 0 10px 40px -10px rgba(106, 168, 255, .7), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -10px rgba(155, 108, 255, .8), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-ghost { background: rgba(255,255,255,.03); backdrop-filter: blur(8px); }

/* Eyebrow: framed with hairlines */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 4px; margin-bottom: 26px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--c1)); }
.eyebrow::after { transform: scaleX(-1); }
.about-text .eyebrow::before { display: none; }

/* Hero: full-screen stage */
.hero {
  position: relative; min-height: 100vh; padding: 180px 0 120px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.aurora { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .32; }
.aurora.a1 { width: 720px; height: 720px; left: 50%; top: -280px; transform: translateX(-80%); background: #2b6bff; animation: drift 18s ease-in-out infinite; }
.aurora.a2 { width: 620px; height: 620px; left: 50%; top: -160px; transform: translateX(0%); background: #7c3aed; animation: drift 22s ease-in-out infinite reverse; }
.aurora.a3 { width: 520px; height: 520px; left: 50%; top: 380px; transform: translateX(-50%); background: #0ea5e9; opacity: .14; animation: drift 26s ease-in-out infinite; }
@keyframes drift { 50% { translate: 60px 40px; } }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px;
  background: linear-gradient(transparent, var(--bg)); pointer-events: none;
}
.hero h1 {
  font-size: clamp(44px, 8vw, 104px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em;
  background: linear-gradient(180deg, #ffffff 30%, rgba(255,255,255,.62));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
:lang(zh) .hero h1, :lang(zh-CN) .hero h1, :lang(zh-HK) .hero h1 { letter-spacing: 0; line-height: 1.15; }
.hero-sub { max-width: 760px; margin-top: 32px; font-size: 20px; line-height: 1.75; }
.hero-cta { margin-top: 52px; gap: 18px; }

.hero-demo {
  max-width: 860px; margin-top: 96px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 28, 56, .78), rgba(10, 14, 30, .82));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 1px rgba(126,232,255,.05), 0 50px 120px -30px rgba(70, 120, 255, .45), 0 0 80px -20px rgba(155,108,255,.35);
  backdrop-filter: blur(18px);
}
.demo-body { padding: 32px 36px; min-height: 260px; gap: 18px; }
.msg { font-size: 16px; padding: 14px 20px; border-radius: 14px; }

/* Brand band */
.band {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 26px 0; background: rgba(255,255,255,.015);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.band-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 36s linear infinite; }
.band-track span { font-size: 26px; font-weight: 700; letter-spacing: -.01em; color: rgba(255,255,255,.38); white-space: nowrap; }
.band-track i { font-style: normal; color: var(--c1); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections: more breathing room, bigger headings */
.section { padding: 150px 0; }
.section-head { margin-bottom: 80px; }
.section-head h2, .about h2, .contact-box h2 {
  font-size: clamp(34px, 5vw, 60px); line-height: 1.12; letter-spacing: -.025em;
}
:lang(zh-CN) .section-head h2, :lang(zh-HK) .section-head h2 { letter-spacing: 0; }
.section-sub { font-size: 19px; margin-top: 20px; }

/* Products: 2 × 2 large panels */
.cards { grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  position: relative; padding: 48px 44px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.08);
}
.card::before {
  content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(106,168,255,.22), transparent 70%); transition: opacity .4s; opacity: .5;
}
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-6px); border-color: rgba(126,232,255,.35); box-shadow: 0 40px 80px -30px rgba(70,120,255,.45); }
.card-icon { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 30px; }
.card-icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 28px; letter-spacing: -.01em; margin-bottom: 14px; }
.card p { font-size: 16.5px; line-height: 1.8; max-width: 480px; }
.tags { margin-top: 28px; }
.tags li { font-size: 13px; padding: 6px 14px; background: rgba(126,232,255,.05); }

/* Capabilities: big gradient numerals */
.features { gap: 0; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); }
.feature { padding: 44px 34px 10px; border-left: 0; border-image: none; position: relative; }
.feature + .feature { border-left: 1px solid var(--border); }
.feature::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--grad); transition: width .5s; }
.feature:hover::before { width: 100%; }
.feature-num {
  display: block; font-size: 56px; line-height: 1; font-weight: 800; letter-spacing: -.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9;
}
.feature h3 { font-size: 22px; margin: 26px 0 12px; }
.feature p { font-size: 16px; line-height: 1.8; }

/* Solutions */
.solutions { gap: 28px; }
.solution { padding: 44px 34px; border-radius: 24px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; }
.solution h3 { font-size: 23px; }
.solution p { font-size: 16px; }

/* About */
.about { gap: 100px; }
.about-text p:not(.eyebrow) { font-size: 18px; line-height: 1.9; margin-top: 24px; }
.about-visual { max-width: 460px; }

/* Contact */
.contact-box {
  padding: 100px 56px; border-radius: 32px; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(106,168,255,.28), transparent 70%),
    radial-gradient(ellipse 40% 50% at 85% 100%, rgba(155,108,255,.22), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.1);
}
.contact-box > p { font-size: 18px; margin-top: 20px; }
.contact-form { max-width: 720px; margin-top: 48px; gap: 16px; }
.contact-form input, .contact-form textarea { padding: 17px 20px; border-radius: 14px; font-size: 16px; background: rgba(0,0,0,.3); }

/* Footer */
.footer { padding: 48px 0; }

@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { border-left: 0; }
  .feature { padding-bottom: 40px; }
}
@media (max-width: 860px) {
  .container { width: min(1280px, 100% - 40px); }
  .nav-inner { height: 72px; }
  .hero { min-height: auto; padding: 140px 0 90px; }
  .section { padding: 100px 0; }
  .section-head { margin-bottom: 56px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 38px 30px; }
  .about { gap: 56px; }
  .aurora { filter: blur(80px); }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--border); }
  .hero-sub { font-size: 17px; }
  .contact-box { padding: 64px 22px; }
  .band-track span { font-size: 20px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(34px, 9.6vw, 44px); }
  .eyebrow { letter-spacing: 2.5px; gap: 10px; }
  .eyebrow::before, .eyebrow::after { width: 16px; }
}

/* Business-line label under product names */
.card .card-kicker {
  margin: -4px 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Fifth product spans the full row */
.card.card-wide { grid-column: 1 / -1; }
.card.card-wide p { max-width: 760px; }
.card .card-kicker:empty { display: none; }

/* Contact form: loading spinner on submit, then fade in the success notice */
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading::before {
  content: ""; width: 16px; height: 16px; margin-right: 10px; flex: none;
  border: 2px solid rgba(10, 15, 31, .25); border-top-color: #0a0f1f; border-radius: 50%;
  animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
.form-note { opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; }
.form-note.show { opacity: 1; transform: none; }

/* Success notice: brand-gradient pill with check icon (matches site palette) */
.form-note.show {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 12px; border-radius: 999px;
  color: #bdf3ff; font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(10, 16, 36, .92), rgba(10, 16, 36, .92)) padding-box,
    linear-gradient(120deg, #7ee8ff 0%, #6aa8ff 45%, #9b6cff 100%) border-box;
  box-shadow: 0 0 28px -4px rgba(106, 168, 255, .45);
}
.form-note.show::before {
  content: "\2713"; display: inline-grid; place-items: center; flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad); color: #0a0f1f; font-size: 13px; font-weight: 800;
}

/* =========================================================
   Product use cases: card trigger + inline collapsible panel
   ========================================================= */
.card[data-product] { cursor: pointer; }
.card-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 0;
  background: none; border: 0; color: var(--c1); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.card-more::after { content: "→"; transition: transform .25s ease; }
.card:hover .card-more::after, .card-more:focus-visible::after { transform: translateX(5px); }
.card-more:focus-visible { outline: 2px solid var(--c1); outline-offset: 4px; border-radius: 6px; }

.card.is-open { border-color: rgba(126, 232, 255, .45); box-shadow: 0 30px 70px -30px rgba(70, 120, 255, .55); }
.card-more.open::after { transform: rotate(-90deg); }
.card:hover .card-more.open::after, .card-more.open:focus-visible::after { transform: rotate(-90deg) translateX(3px); }

/* Use-case panel: expands inline below the clicked card's row */
.case-panel {
  grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; margin-top: -28px; opacity: 0;
  transition: grid-template-rows .45s cubic-bezier(.2, .8, .2, 1), margin-top .45s cubic-bezier(.2, .8, .2, 1), opacity .35s ease;
}
.case-panel[hidden] { display: none; }
.case-panel.open { grid-template-rows: 1fr; margin-top: 0; opacity: 1; }
.cp-clip {
  min-height: 0; overflow: hidden; border-radius: 24px;
  background: #0a0f20; border: 1px solid rgba(126, 232, 255, .18);
  box-shadow: 0 40px 120px -40px rgba(70, 120, 255, .45);
}
.cm-inner { position: relative; padding: 40px 44px 44px; }
.cm-close {
  position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(255, 255, 255, .04); color: var(--text);
  font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s;
}
.cm-close:hover { background: rgba(255, 255, 255, .1); border-color: rgba(126, 232, 255, .4); }
.cm-head { display: flex; align-items: center; gap: 18px; padding-right: 48px; }
.cm-head .card-icon { margin: 0; flex: none; width: 56px; height: 56px; }
.cm-label { font-size: 13px; letter-spacing: 2px; color: var(--c1); font-weight: 600; margin-bottom: 4px; }
.cm-head h3 { font-size: 26px; }
.cm-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 24px; }
.cm-tabs button {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, .03);
  color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; transition: color .2s, border-color .2s, background .2s;
}
.cm-tabs button:hover { color: var(--text); border-color: rgba(126, 232, 255, .35); }
.cm-tabs button.active {
  color: #0a0f1f; font-weight: 600; border-color: transparent; background: var(--grad);
  box-shadow: 0 8px 24px -10px rgba(106, 168, 255, .8);
}
.cm-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.cm-demo {
  position: relative; min-height: 400px; padding: 26px; border-radius: 20px; overflow: hidden;
  background: radial-gradient(120% 80% at 0% 0%, rgba(126, 232, 255, .08), transparent 60%),
              radial-gradient(120% 80% at 100% 100%, rgba(155, 108, 255, .1), transparent 60%), rgba(255, 255, 255, .025);
  border: 1px solid var(--border); display: flex; align-items: center;
}
.cm-text h4 { font-size: 24px; margin-bottom: 12px; }
.cm-text p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.cm-text .cm-note { font-size: 13px; margin: 14px 0 26px; opacity: .75; }
@media (max-width: 860px) {
  .cm-inner { padding: 30px 20px 28px; }
  .cm-head h3 { font-size: 21px; }
  .cm-body { grid-template-columns: 1fr; gap: 24px; }
  .cm-demo { min-height: 320px; padding: 18px; }
}

/* Demo building blocks */
.dm { width: 100%; display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.dm-in { opacity: 0; animation: dm-in .5s ease forwards; animation-delay: var(--d, 0s); }
@keyframes dm-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.dm-badge {
  align-self: flex-start; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #bdf3ff;
  border: 1px solid transparent;
  background: linear-gradient(#0d1430, #0d1430) padding-box, var(--grad) border-box;
}
.dm-badge::before { content: "✦ "; color: var(--c1); }

/* chat */
.dm-msg { max-width: 88%; padding: 12px 16px; border-radius: 16px; line-height: 1.7; }
.dm-msg.user { align-self: flex-end; background: linear-gradient(135deg, rgba(126, 232, 255, .22), rgba(155, 108, 255, .22)); border-bottom-right-radius: 4px; }
.dm-msg.ai { align-self: flex-start; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); border-bottom-left-radius: 4px; white-space: pre-line; min-height: 46px; }
.dm-caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--c1); animation: dm-blink 1s steps(1) infinite; }
@keyframes dm-blink { 50% { opacity: 0; } }
.dm-chat.done .dm-caret { display: none; }
.dm-src { align-self: flex-start; font-size: 12px; color: var(--c1); padding: 5px 12px; border-radius: 8px; background: rgba(126, 232, 255, .08); border: 1px solid rgba(126, 232, 255, .25); opacity: 0; transition: opacity .4s; }
.dm-src::before { content: "📄 "; }
.dm-chat.done .dm-src { opacity: 1; }

/* flow */
.dm-flow { gap: 0; }
.dm-step {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 13px 16px; margin-bottom: 18px;
  border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border);
  animation: dm-in .5s ease forwards, dm-lit .5s ease forwards; animation-delay: var(--d), calc(var(--d) + .35s);
}
.dm-step:not(:nth-last-child(2))::after {
  content: ""; position: absolute; left: 30px; top: 100%; width: 2px; height: 18px;
  background: linear-gradient(var(--c1), transparent);
}
@keyframes dm-lit { to { border-color: rgba(126, 232, 255, .45); background: rgba(126, 232, 255, .07); box-shadow: 0 0 24px -8px rgba(106, 168, 255, .6); } }
.dm-num { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #0a0f1f; font-weight: 700; font-size: 13px; }
.dm-ok { margin-left: auto; color: #7ee8ff; font-weight: 700; opacity: 0; animation: dm-in .3s ease forwards; animation-delay: calc(var(--d) + .6s); }
.dm-flow .dm-badge { margin-top: 4px; }

/* roles */
.dm-roles { gap: 12px; }
.dm-role { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); }
.dm-avatar { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, rgba(126, 232, 255, .3), rgba(155, 108, 255, .35)); font-weight: 700; }
.dm-rname { font-weight: 600; min-width: 5.5em; }
.dm-scope { color: var(--muted); font-size: 13px; }
.dm-toggle { position: relative; margin-left: auto; flex: none; width: 40px; height: 22px; border-radius: 999px; background: rgba(255, 255, 255, .12); animation: dm-tog-bg .35s ease forwards; animation-delay: var(--d); }
.dm-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; animation: dm-tog .35s ease forwards; animation-delay: inherit; }
@keyframes dm-tog-bg { to { background: linear-gradient(120deg, #7ee8ff, #9b6cff); } }
@keyframes dm-tog { to { transform: translateX(18px); } }

/* video */
.dm-prompt, .dm-voice { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); }
.dm-spark { color: var(--c1); }
.dm-voice { justify-content: space-between; font-size: 13px; color: var(--muted); }
.dm-wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.dm-wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--grad); transform: scaleY(.25); animation: dm-wave .9s ease-in-out infinite alternate; animation-delay: calc(var(--w) * -.13s); }
@keyframes dm-wave { to { transform: scaleY(1); } }
.dm-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #060a18; border: 1px solid var(--border); }
.dm-shot { position: absolute; inset: 0; opacity: 0; animation: dm-shot 1.9s ease forwards; animation-delay: var(--d); }
.dm-shot.s2 { animation-name: dm-in; animation-duration: .6s; }
@keyframes dm-shot { 0% { opacity: 0; } 12%, 88% { opacity: 1; } 100% { opacity: 0; } }
.dm-art { position: absolute; inset: 0; animation: dm-zoom 6s ease-out forwards; }
.s0 .dm-art { background: radial-gradient(60% 70% at 70% 40%, rgba(126, 232, 255, .55), transparent 70%), linear-gradient(135deg, #0b1a3a, #071027); }
.s1 .dm-art { background: radial-gradient(60% 70% at 30% 50%, rgba(106, 168, 255, .55), transparent 70%), linear-gradient(135deg, #10163d, #0a0f26); }
.s2 .dm-art { background: radial-gradient(60% 70% at 55% 45%, rgba(155, 108, 255, .6), transparent 70%), linear-gradient(135deg, #1a1240, #0a0b24); }
.dm-art::before {
  content: ""; position: absolute; left: 50%; top: 44%; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%);
  z-index: 1; background: #0b1230; border-radius: 28%; border: 3px solid rgba(255, 255, 255, .85); box-shadow: 0 0 40px rgba(126, 232, 255, .6), inset 0 0 24px rgba(126, 232, 255, .35);
}
.dm-art::after { content: ""; position: absolute; left: 50%; top: 44%; width: 9%; height: 60%; transform: translate(-50%, -50%); border-radius: 8px; background: rgba(255, 255, 255, .16); }
.dm-video.voice .dm-art::before { border-radius: 50%; width: 22%; }
@keyframes dm-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.dm-sub { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); white-space: nowrap; padding: 5px 14px; border-radius: 8px; background: rgba(0, 0, 0, .55); font-size: 14px; font-weight: 600; color: #fff; }
.dm-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .1); }
.dm-progress i { display: block; height: 100%; width: 0; background: var(--grad); animation: dm-prog 5.6s linear forwards; animation-delay: 1.3s; }
@keyframes dm-prog { to { width: 100%; } }

/* batch */
.dm-status { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.dm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 10px var(--c1); animation: dm-blink 1s steps(1) infinite; }
.dm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; }
.dm-thumb { position: relative; border-radius: 10px; overflow: hidden; background: linear-gradient(100deg, rgba(255,255,255,.04) 30%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.04) 70%) 0 0 / 300% 100%; animation: dm-shimmer 1.2s linear infinite; }
.dm-thumb.tall { height: 132px; } .dm-thumb.sq { height: 104px; } .dm-thumb.wide { height: 76px; }
@keyframes dm-shimmer { to { background-position: -150% 0; } }
.dm-thumb span { position: absolute; inset: 0; opacity: 0; animation: dm-in .5s ease forwards; animation-delay: calc(var(--d) + .4s); }
.dm-thumb.v0 span { background: radial-gradient(circle at 60% 35%, rgba(126,232,255,.7), transparent 60%), linear-gradient(160deg, #0d2244, #08102a); }
.dm-thumb.v1 span { background: radial-gradient(circle at 40% 45%, rgba(106,168,255,.7), transparent 60%), linear-gradient(160deg, #121a48, #0a0f28); }
.dm-thumb.v2 span { background: radial-gradient(circle at 55% 50%, rgba(155,108,255,.75), transparent 60%), linear-gradient(160deg, #1c1446, #0b0b26); }
.dm-thumb span::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-40%, -50%); border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent rgba(255,255,255,.9); }

/* charts */
.dm-ask { align-self: flex-end; max-width: 90%; padding: 11px 16px; border-radius: 16px 16px 4px 16px; background: linear-gradient(135deg, rgba(126, 232, 255, .22), rgba(155, 108, 255, .22)); }
.dm-bars { display: flex; align-items: flex-end; justify-content: space-around; gap: 16px; height: 180px; padding: 12px 10px 0; border-bottom: 1px solid var(--border); }
.dm-bar { flex: 1; max-width: 64px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.dm-bar i { width: 100%; height: 0; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, #7ee8ff, #6aa8ff 60%, #9b6cff); box-shadow: 0 0 24px -6px rgba(106, 168, 255, .7); animation: dm-grow .8s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: var(--d); }
.dm-bar:not(:first-child) i { opacity: .55; }
.dm-bar span { position: absolute; top: 100%; margin-top: 8px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.dm-chartq .dm-badge { margin-top: 26px; }
.dm-line + .dm-badge { margin-top: 4px; }
@keyframes dm-grow { to { height: var(--h); } }
.dm-line { height: 170px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.dm-line svg { width: 100%; height: 100%; overflow: visible; }
.dm-path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: dm-draw 1.8s ease forwards; animation-delay: 1.3s; filter: drop-shadow(0 0 6px rgba(106, 168, 255, .7)); }
.dm-area { opacity: 0; animation: dm-fade .8s ease forwards; animation-delay: 2.6s; }
@keyframes dm-draw { to { stroke-dashoffset: 0; } }
@keyframes dm-fade { to { opacity: 1; } }

/* report */
.dm-doc { width: 100%; padding: 22px 24px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 16px; }
.dm-doc h5 { font-size: 17px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.dm-sec { display: flex; flex-direction: column; gap: 8px; }
.dm-sec b { font-size: 13px; color: var(--c1); }
.dm-ln { display: block; height: 8px; width: 0; border-radius: 4px; background: rgba(255, 255, 255, .14); animation: dm-ln .7s ease forwards; animation-delay: calc(var(--d) + .3s); }
.dm-ln.short { --w: 62%; }
@keyframes dm-ln { to { width: var(--w, 100%); } }
.dm-mini { display: flex; align-items: flex-end; gap: 8px; height: 56px; }
.dm-mini i { flex: 1; height: 0; border-radius: 4px 4px 0 0; background: var(--grad); animation: dm-grow .7s ease forwards; animation-delay: calc(var(--d) + .3s); }

/* Reduced motion: show the final frame without animation (global rule disables all animations) */
.dm-static * { animation: none !important; }
.dm-static .dm-in, .dm-static .dm-ok, .dm-static .dm-thumb span, .dm-static .dm-area, .dm-static .dm-shot.s2 { opacity: 1; transform: none; }
.dm-static .dm-shot:not(.s2) { display: none; }
.dm-static .dm-step { border-color: rgba(126, 232, 255, .45); background: rgba(126, 232, 255, .07); }
.dm-static .dm-toggle { background: linear-gradient(120deg, #7ee8ff, #9b6cff); }
.dm-static .dm-toggle::after { transform: translateX(18px); }
.dm-static .dm-progress i { width: 100%; }
.dm-static .dm-bar i, .dm-static .dm-mini i { height: var(--h); }
.dm-static .dm-path { stroke-dashoffset: 0; }
.dm-static .dm-ln { width: var(--w, 100%); }
.dm-static .dm-wave i { transform: scaleY(.6); }
.dm-static .dm-art { transform: none; }
.nw { white-space: nowrap; }
