  :root {
    --bg: #070609;
    --bg-2: #0d0b16;
    --card: rgba(240, 238, 255, .045);
    --card-strong: rgba(240, 238, 255, .075);
    --line: rgba(220, 215, 255, .1);
    --line-strong: rgba(220, 215, 255, .2);
    --text: #f3f1fa;
    --text-2: #aca6c4;
    --text-3: #716b8a;
    --a1: #e85a54;
    --a2: #c0508a;
    --fire: #ff7a45;
    --grad: linear-gradient(115deg, #ffc233, #ff8a5b 45%, #ff5f7a);
    --grad-btn: linear-gradient(135deg, #c24440, #96385e);
    --radius: 20px;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Text", "PingFang SC", "Helvetica Neue", "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }
  ::selection { background: rgba(232, 90, 84, .4); }
  a { color: inherit; text-decoration: none; }
  img { display: block; }
  ::-webkit-scrollbar { width: 10px; }
  ::-webkit-scrollbar-thumb { background: rgba(235,230,255,.14); border-radius: 8px; }
  ::-webkit-scrollbar-track { background: transparent; }

  /* ---------- 背景氛围 ---------- */
  .orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .45; pointer-events: none; z-index: 0; }
  .orb-1 { width: 560px; height: 560px; background: #7a1f24; top: -170px; left: -150px; animation: drift 17s ease-in-out infinite alternate; }
  .orb-2 { width: 470px; height: 470px; background: #6b2348; top: -60px; right: -130px; animation: drift 21s ease-in-out infinite alternate-reverse; }
  .orb-3 { width: 340px; height: 340px; background: #8a5a12; top: 430px; left: 44%; opacity: .25; animation: drift 25s ease-in-out infinite alternate; }
  @keyframes drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(56px, 48px, 0) scale(1.12); }
  }
  .grid-bg {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
      linear-gradient(rgba(220, 215, 255, .05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(220, 215, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 78%);
            mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 78%);
  }
  .hero-wrap { position: relative; overflow: hidden; }

  /* ---------- 导航 ---------- */
  nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
  nav.scrolled {
    background: rgba(7, 6, 9, .72);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    backdrop-filter: saturate(160%) blur(18px);
    border-bottom-color: var(--line);
  }
  .nav-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 28px; }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
  .brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 2px 10px rgba(232, 90, 84, .5); }
  .nav-links { display: flex; gap: 26px; margin-left: auto; }
  .nav-links a { font-size: 14px; color: var(--text-2); transition: color .2s; }
  .nav-links a:hover { color: var(--text); }
  .lang-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.04); }
  .lang-btn {
    border: 0; background: transparent; color: var(--text-2);
    font: 600 12.5px/1 inherit; font-family: inherit;
    padding: 7px 13px; border-radius: 999px; cursor: pointer;
    transition: color .2s, background .2s;
  }
  .lang-btn:hover { color: var(--text); }
  .lang-btn.active { background: var(--grad-btn); color: #fff; }

  /* ---------- Hero ---------- */
  .hero {
    position: relative; z-index: 1;
    max-width: 1120px; margin: 0 auto; padding: 92px 24px 100px;
    display: grid; grid-template-columns: 1.02fr .98fr; gap: 44px; align-items: center;
  }
  .badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 500; color: var(--text-2);
    border: 1px solid var(--line-strong); border-radius: 999px;
    padding: 7px 14px; background: rgba(255,255,255,.04);
    margin-bottom: 26px;
  }
  .badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fire); box-shadow: 0 0 10px var(--fire); animation: pulse 2.2s ease-in-out infinite; }
  @keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
  h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.08; font-weight: 800; letter-spacing: -.025em; }
  h1 .grad {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
  .hero-desc { margin-top: 22px; font-size: 18px; color: var(--text-2); max-width: 33em; }
  .rot-chip {
    display: inline-flex; align-items: center; gap: 9px;
    margin-top: 20px; padding: 9px 17px; border-radius: 999px;
    border: 1px solid rgba(139, 141, 255, .3); background: rgba(93, 98, 242, .1);
    font-size: 13.5px; font-weight: 600; color: #ffc9a8;
  }
  .rot-chip svg { color: var(--fire); flex: 0 0 auto; }
  #rot-word { display: inline-block; min-width: 15em; transition: opacity .3s, transform .3s; }
  #rot-word.out { opacity: 0; transform: translateY(-7px); }
  .hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 26px; border-radius: 999px;
    font-size: 15.5px; font-weight: 600; font-family: inherit;
    cursor: pointer; border: 0; transition: transform .2s, box-shadow .2s, opacity .2s;
  }
  .btn svg { flex: 0 0 auto; }
  .btn-primary {
    background: var(--grad-btn); color: #fff;
    box-shadow: 0 8px 28px rgba(105, 92, 242, .42), inset 0 1px 0 rgba(255,255,255,.25);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(105, 92, 242, .55); }
  .btn-primary.soon { filter: saturate(.4) brightness(.8); cursor: default; box-shadow: none; }
  .btn-primary.soon:hover { transform: none; }
  .btn-ghost { background: rgba(255,255,255,.05); color: var(--text); border: 1px solid var(--line-strong); }
  .btn-ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,.09); }
  .hero-meta { margin-top: 24px; display: flex; gap: 22px; flex-wrap: wrap; color: var(--text-3); font-size: 13.5px; }
  .hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
  .hero-meta svg { color: var(--a1); }

  /* ---------- Hero 三面板 ---------- */
  .panels { position: relative; min-height: 560px; perspective: 1300px; }
  .panel {
    position: absolute;
    background: linear-gradient(165deg, var(--card-strong), var(--card));
    border: 1px solid var(--line); border-radius: 20px;
    padding: 15px 16px;
    box-shadow: 0 22px 55px rgba(0,0,0,.5);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    animation: floaty 7s ease-in-out infinite;
  }
  @keyframes floaty { 0%,100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-12px) rotate(var(--r, 0deg)); } }
  .panel-head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
  .panel-head .ic { width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
  .panel-head .nm { font-size: 13px; font-weight: 700; }
  .panel-head .tag { margin-left: auto; font-size: 10.5px; font-weight: 600; color: var(--text-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
  .panel-chat { top: 14px; left: 0; width: 60%; --r: -2deg; z-index: 2; }
  .panel-img { top: 0; right: 0; width: 52%; --r: 2.5deg; z-index: 3; animation-delay: 1.1s; }
  .panel-vid { bottom: 12px; right: 5%; width: 64%; --r: 1.2deg; z-index: 4; animation-delay: 2s; }
  .p-chat-user {
    margin-left: auto; max-width: 86%; width: fit-content;
    background: var(--grad-btn); color: #fff;
    border-radius: 15px 15px 4px 15px; padding: 8px 13px; font-size: 12.5px;
  }
  .p-chat-ai {
    margin-top: 10px; max-width: 92%;
    background: rgba(255,255,255,.055); border: 1px solid var(--line);
    border-radius: 4px 15px 15px 15px; padding: 9px 13px; font-size: 12.5px; color: var(--text);
  }
  .p-cat { display: flex; align-items: center; gap: 12px; }
  .p-donut {
    width: 88px; height: 88px; flex: 0 0 auto; border-radius: 50%;
    background: conic-gradient(
      #ff7a5c 0 42%,
      #ffb347 42% 70%,
      #e86a8a 70% 88%,
      #ffd36e 88% 100%
    );
    display: grid; place-items: center;
    box-shadow: 0 8px 22px rgba(232,90,84,.18);
  }
  .p-donut-hole {
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--card-strong);
    border: 1px solid var(--line);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    line-height: 1.05;
  }
  .p-donut-hole b { font-size: 13px; font-weight: 800; letter-spacing: -.02em; }
  .p-donut-hole span { font-size: 9px; color: var(--text-2); margin-top: 2px; }
  .p-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; min-width: 0; flex: 1; }
  .p-legend li {
    display: flex; align-items: center; gap: 7px;
    font-size: 11px; color: var(--text-2); min-width: 0;
  }
  .p-legend li i {
    width: 8px; height: 8px; border-radius: 99px; flex: 0 0 auto;
    box-shadow: 0 0 0 2px rgba(255,255,255,.06);
  }
  .p-legend li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .p-legend li b { font-size: 11px; color: var(--text); font-weight: 700; }
  .p-vid-frame {
    aspect-ratio: 16/9; border-radius: 12px; position: relative; overflow: hidden;
    background: linear-gradient(120deg, #c24440 0%, #96385e 55%, #ff9a62 100%);
  }
  .p-vid-frame .play {
    position: absolute; inset: 0; margin: auto; width: 42px; height: 42px;
    background: rgba(255,255,255,.22); border-radius: 50%;
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  }
  .p-vid-frame .play::after {
    content: ""; position: absolute; inset: 0; margin: auto;
    width: 0; height: 0; border-style: solid;
    border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff;
    transform: translateX(2px);
  }
  .p-vid-bar { margin-top: 11px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.09); overflow: hidden; }
  .p-vid-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #c24440, #ffc233); transition: width 1.6s cubic-bezier(.22,.8,.3,1) .4s; }
  .in .p-vid-bar i { width: 78%; }
  .p-vid-meta { margin-top: 8px; font-size: 11.5px; color: var(--text-2); display: flex; justify-content: space-between; }
  .p-vid-meta b { color: #ffb38a; font-weight: 600; }

  /* ---------- Marquee ---------- */
  .marquee-band { padding: 34px 0 38px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); position: relative; z-index: 1; }
  .marquee-label { text-align: center; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 22px; }
  .marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .marquee-track { display: flex; gap: 14px; width: max-content; animation: scroll 34s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes scroll { to { transform: translateX(-50%); } }
  .chip {
    display: inline-flex; align-items: center; gap: 9px;
    border: 1px solid var(--line); border-radius: 999px;
    padding: 10px 20px; font-size: 14.5px; font-weight: 600; color: var(--text-2);
    background: var(--card); white-space: nowrap;
    transition: border-color .2s, color .2s;
  }
  .chip:hover { border-color: var(--line-strong); color: var(--text); }
  .chip i { width: 8px; height: 8px; border-radius: 50%; }
  .chip .k { font-size: 10.5px; color: var(--text-3); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-weight: 600; }

  /* ---------- 通用版式 ---------- */
  section.block { max-width: 1120px; margin: 0 auto; padding: 96px 24px 0; position: relative; z-index: 1; }
  .eyebrow {
    display: block; text-align: center; font-size: 13px; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px;
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
  h2.title { text-align: center; font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; }
  p.subtitle { text-align: center; color: var(--text-2); font-size: 17px; margin: 14px auto 0; max-width: 40em; }

  /* ---------- 功能卡片 ---------- */
  .grid { margin-top: 54px; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
  .card {
    position: relative; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 30px 28px; overflow: hidden;
    transition: transform .3s, border-color .3s, background .3s;
  }
  .card::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(420px 160px at 50% -20%, rgba(255, 138, 91, .14), transparent 70%);
    opacity: 0; transition: opacity .3s;
  }
  .card:hover { transform: translateY(-6px); border-color: rgba(139, 141, 255, .42); background: var(--card-strong); }
  .card:hover::before { opacity: 1; }
  .card .ico {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(150deg, rgba(232,90,84,.22), rgba(150,56,94,.14));
    border: 1px solid rgba(255, 154, 98, .32); color: #ffb48a;
  }
  .card h3 { margin-top: 20px; font-size: 18.5px; font-weight: 700; letter-spacing: -.01em; }
  .card p { margin-top: 9px; font-size: 14.5px; color: var(--text-2); }

  /* ---------- 安全带 ---------- */
  .sec-band { margin-top: 96px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(232,90,84,.06), rgba(255,194,51,.04)); position: relative; z-index: 1; }
  .sec-inner { max-width: 1120px; margin: 0 auto; padding: 72px 24px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
  .sec-inner h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.02em; }
  .sec-inner .desc { margin-top: 14px; color: var(--text-2); font-size: 16.5px; }
  .sec-points { display: grid; gap: 14px; }
  .sec-point {
    display: flex; align-items: center; gap: 14px;
    background: var(--card); border: 1px solid var(--line); border-radius: 16px;
    padding: 18px 20px; font-weight: 600; font-size: 15.5px;
  }
  .sec-point .ic { width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; background: rgba(255, 138, 91, .12); border: 1px solid rgba(255,138,91,.3); color: #ff9a62; }

  /* ---------- FAQ ---------- */
  .faq-list { margin-top: 50px; display: grid; gap: 13px; max-width: 840px; margin-left: auto; margin-right: auto; }
  details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .25s, background .25s; }
  details[open] { border-color: rgba(139,141,255,.4); background: var(--card-strong); }
  summary {
    cursor: pointer; list-style: none;
    padding: 21px 24px; font-size: 16.5px; font-weight: 600;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
  }
  summary::-webkit-details-marker { display: none; }
  summary .plus { position: relative; width: 22px; height: 22px; flex: 0 0 auto; }
  summary .plus::before, summary .plus::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--text-2); transition: transform .25s; }
  summary .plus::before { width: 14px; height: 2px; }
  summary .plus::after { width: 2px; height: 14px; }
  details[open] .plus::after { transform: rotate(90deg); }
  details .answer { padding: 0 24px 22px; color: var(--text-2); font-size: 15px; }
  details .answer p + p { margin-top: 10px; }

  /* ---------- 联系 ---------- */
  .contact-grid { margin-top: 54px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .contact-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 36px 32px; text-align: center;
    transition: transform .3s, border-color .3s;
  }
  .contact-card:hover { transform: translateY(-6px); border-color: rgba(139,141,255,.42); }
  .contact-card .ic {
    width: 52px; height: 52px; margin: 0 auto; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(150deg, rgba(232,90,84,.22), rgba(150,56,94,.16));
    border: 1px solid rgba(255,154,98,.32); color: #ffb48a;
  }
  .contact-card h3 { margin-top: 18px; font-size: 18px; font-weight: 700; }
  .contact-card p { margin-top: 8px; font-size: 14.5px; color: var(--text-2); }
  .contact-card a.mail {
    display: inline-block; margin-top: 18px; font-weight: 600; font-size: 15px;
    padding: 11px 24px; border-radius: 999px;
    background: rgba(255,255,255,.06); border: 1px solid var(--line-strong);
    transition: background .2s, border-color .2s;
  }
  .contact-card a.mail:hover { background: rgba(255,255,255,.1); border-color: rgba(139,141,255,.5); }

  /* ---------- 页脚 ---------- */
  footer { margin-top: 110px; border-top: 1px solid var(--line); padding: 44px 24px 56px; background: rgba(255,255,255,.015); position: relative; z-index: 1; }
  .foot-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
  .foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
  .foot-brand img { width: 26px; height: 26px; border-radius: 7px; }
  .foot-links { display: flex; gap: 22px; font-size: 13.5px; color: var(--text-2); }
  .foot-links a:hover { color: var(--text); }
  .foot-note { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); max-width: 1120px; margin-left: auto; margin-right: auto; }

  /* ---------- 滚动进场 ---------- */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.22,.8,.3,1), transform .75s cubic-bezier(.22,.8,.3,1); transition-delay: var(--d, 0s); }
  .reveal.in { opacity: 1; transform: none; }
  .panels.reveal { transform: translateY(28px) scale(.97); }
  .panels.reveal.in { transform: none; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
    .in .p-vid-bar i { width: 78%; }
  }

  /* ---------- 响应式 ---------- */
  @media (max-width: 980px) {
    .hero { grid-template-columns: 1fr; padding-top: 64px; gap: 16px; }
    .panels { max-width: 560px; margin: 24px auto 0; width: 100%; min-height: 540px; }
    .grid { grid-template-columns: 1fr 1fr; }
    .sec-inner { grid-template-columns: 1fr; gap: 30px; }
  }
  @media (max-width: 640px) {
    .nav-links { display: none; }
    .nav-inner { height: 58px; }
    .hero { padding: 48px 20px 72px; }
    .grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .panels { min-height: 470px; }
    .panel-chat { width: 62%; }
    .panel-img { width: 56%; }
    .panel-vid { width: 70%; right: 0; }
    #rot-word { min-width: 0; }
    .section-pad { padding-top: 72px !important; }
  }

  /* ---------- Hero 真实截图（Mac 窗口 + iPhone） ---------- */
  .hero-shot { position: relative; }
  .hero-shot img { display: block; width: 112%; max-width: none; height: auto; margin-left: -2%;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); }
  .hero-shot.reveal { transform: translateY(28px) scale(.97); }
  .hero-shot.reveal.in { transform: none; }
  @media (max-width: 960px) { .hero-shot img { width: 100%; margin-left: 0; } }

  /* ---------- 三种语言：标题只在标点处换行，窄屏收起品牌名 ---------- */
  h1, h2 { word-break: keep-all; overflow-wrap: break-word; }
  .lang-btn { white-space: nowrap; }
  @media (max-width: 480px) {
    .brand span { display: none; }
    .lang-btn { padding: 6px 10px; }
  }

  /* 标题每行固定一行，由脚本 fitHeadline() 按宽度缩小字号 */
  h1 > span { display: inline-block; white-space: nowrap; }
  .hero > * { min-width: 0; }   /* 否则不换行的标题会把网格列撑宽，脚本量不到真实可用宽度 */

  /* Hero 按钮：由脚本 fitButtons() 决定是否排成一行，以及缩放比例 --cta */
  .hero-cta { gap: calc(14px * var(--cta, 1)); }
  .hero-cta .btn { white-space: nowrap; padding: calc(14px * var(--cta, 1)) calc(26px * var(--cta, 1));
    font-size: calc(15.5px * var(--cta, 1)); gap: calc(10px * var(--cta, 1)); }
  .hero-cta.one-line { flex-wrap: nowrap; }
