:root {
    --bg-deep: #120b1f;
    --bg-panel: #1b1230;
    --bg-soft: #24173c;
    --bg-cream: #f7f3ee;
    --ink: #f3ecff;
    --ink-dim: #b5a8cc;
    --ink-dark: #2b1f3d;
    --ink-dark-dim: #6b5c82;
    --pink: #ff4fa3;
    --violet: #8b5cf6;
    --cyan: #35d6d0;
    --amber: #ffb547;
    --line: rgba(255,255,255,0.1);
    --radius: 18px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    background: var(--bg-deep);
    color: var(--ink);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  ul { list-style: none; }
  .wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
  .section-title { font-size: 26px; line-height: 1.35; font-weight: 800; letter-spacing: .5px; }
  .section-sub { color: var(--ink-dim); font-size: 15px; margin-top: 8px; }
  .accent-pink { color: var(--pink); }
  .accent-cyan { color: var(--cyan); }
  .accent-amber { color: var(--amber); }

  /* ============ Header ============ */
  .site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(18,11,31,.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; height: 64px;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; white-space: nowrap; }
  .brand img { height: 34px; width: auto; border-radius: 9px; }
  .nav-desktop { display: flex; gap: 4px; flex-wrap: wrap; }
  .nav-desktop a {
    font-size: 14px; color: var(--ink-dim); padding: 6px 10px; border-radius: 10px;
    transition: color .22s, background .22s, transform .22s;
  }
  .nav-desktop a:hover { color: #fff; background: linear-gradient(120deg, var(--violet), var(--pink)); transform: translateY(-1px); }
  .nav-toggle {
    display: none; width: 42px; height: 42px; border: 1px solid var(--line);
    border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer;
    align-items: center; justify-content: center; flex-direction: column; gap: 4px;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .24s; }
  .nav-mobile { display: none; }
  .nav-mobile.open { display: block; padding: 8px 20px 18px; }
  .nav-mobile a {
    display: block; padding: 11px 14px; margin-bottom: 6px; border-radius: 12px;
    background: var(--bg-soft); color: var(--ink); font-size: 15px;
  }
  .nav-mobile a:hover { background: linear-gradient(120deg, var(--violet), var(--pink)); }

  /* ============ Hero ============ */
  .hero { position: relative; padding: 46px 0 0; overflow: hidden; }
  .hero::before {
    content: ""; position: absolute; inset: -160px -80px auto -80px; height: 520px;
    background: radial-gradient(circle at 22% 30%, rgba(255,79,163,.28), transparent 62%),
                radial-gradient(circle at 78% 18%, rgba(139,92,246,.34), transparent 60%),
                radial-gradient(circle at 55% 90%, rgba(53,214,208,.16), transparent 60%);
    pointer-events: none;
  }
  .hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 38px; align-items: center; position: relative; }
  .hero-copy .tagline {
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px;
    padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,79,163,.4);
    color: #ffd6e8; background: rgba(255,79,163,.1); margin-bottom: 18px;
  }
  .tagline i { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
  .hero h1 { font-size: 40px; line-height: 1.25; font-weight: 900; letter-spacing: .5px; }
  .hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, #ff7ec4, #b78cff 48%, #59e6e0);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero-lead { margin-top: 16px; font-size: 16px; color: var(--ink-dim); max-width: 30em; }
  .hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
  .hero-points span {
    font-size: 13px; padding: 6px 13px; border-radius: 10px;
    background: var(--bg-soft); border: 1px solid var(--line); color: #dcd0f2;
  }
  .hero-copy h2.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

  /* Download buttons */
  .dl-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
  .btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 12px 20px; border-radius: 14px; font-size: 15px; font-weight: 700;
    transition: transform .2s, box-shadow .2s, background .2s;
    border: 1px solid transparent; cursor: pointer;
  }
  .btn .ico { font-size: 16px; line-height: 1; }
  .btn-primary { color: #fff; background: linear-gradient(120deg, var(--pink), var(--violet)); box-shadow: 0 8px 22px rgba(255,79,163,.28); }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,79,163,.42); }
  .btn-ghost { color: var(--ink); background: var(--bg-soft); border-color: var(--line); }
  .btn-ghost:hover { transform: translateY(-2px); border-color: rgba(139,92,246,.7); background: #2c1c48; }
  .dl-note { font-size: 12.5px; color: var(--ink-dim); margin-top: 12px; }

  /* Hero visual */
  .hero-visual { position: relative; }
  .hero-stage {
    position: relative; border-radius: 26px; padding: 16px; overflow: hidden;
    background: linear-gradient(160deg, rgba(139,92,246,.24), rgba(255,79,163,.14) 55%, rgba(53,214,208,.12));
    border: 1px solid var(--line);
  }
  .hero-stage::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at 80% 0%, rgba(255,255,255,.12), transparent 55%);
  }
  .hero-slides { display: grid; gap: 12px; }
  .hero-slide { display: none; }
  .hero-slide.active { display: block; animation: fadeSlide .6s ease; }
  @keyframes fadeSlide { from { opacity: .4; transform: translateX(14px); } to { opacity: 1; transform: none; } }
  .hero-slide img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
  .slide-strip { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
  .slide-strip button {
    width: 26px; height: 5px; border: 0; border-radius: 999px; background: rgba(255,255,255,.24); cursor: pointer; padding: 0;
  }
  .slide-strip button.on { background: linear-gradient(90deg, var(--pink), var(--violet)); }

  /* Marquee */
  .marquee {
    margin-top: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.02); overflow: hidden; padding: 13px 0;
  }
  .marquee-track { display: flex; gap: 34px; width: max-content; animation: roll 26s linear infinite; }
  .marquee-track span {
    font-size: 15px; font-weight: 800; letter-spacing: 1px; white-space: nowrap;
    background: linear-gradient(90deg, #ff8ec9, #b28cff, #4fe0da, #ffd166, #ff8ec9);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  @keyframes roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* ============ Sections generic ============ */
  section { padding: 70px 0; position: relative; }
  .soft-panel { background: var(--bg-panel); }
  .lite { background: var(--bg-cream); color: var(--ink-dark); }
  .lite .section-sub { color: var(--ink-dark-dim); }
  .lite .section-title { color: var(--ink-dark); }
  .head-block { max-width: 720px; margin-bottom: 34px; }

  /* ============ Core functions ============ */
  .fn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .fn-card {
    border-radius: var(--radius); padding: 22px 20px; border: 1px solid var(--line);
    background: linear-gradient(160deg, #24173c, #1a1029);
    transition: transform .22s, border-color .22s;
  }
  .fn-card:hover { transform: translateY(-4px); border-color: rgba(255,79,163,.5); }
  .fn-card .num { font-size: 13px; font-weight: 800; color: var(--pink); letter-spacing: 1px; }
  .fn-card h3 { font-size: 17px; margin: 8px 0 6px; }
  .fn-card p { font-size: 14px; color: var(--ink-dim); }
  .fn-card:nth-child(3n+2) .num { color: var(--cyan); }
  .fn-card:nth-child(3n) .num { color: var(--amber); }

  /* ============ Tutorial ============ */
  .tut-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; align-items: start; }
  .tut-shot { position: sticky; top: 84px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(43,31,61,.14); background: #fff; }
  .tut-shot img { width: 100%; height: auto; }
  .steps { display: grid; gap: 14px; }
  .step {
    display: flex; gap: 14px; padding: 16px 18px; border-radius: 16px;
    background: #fff; border: 1px solid rgba(43,31,61,.12);
    transition: transform .2s, box-shadow .2s;
  }
  .step:hover { transform: translateX(4px); box-shadow: 0 10px 24px rgba(43,31,61,.1); }
  .step .badge {
    flex: 0 0 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(130deg, var(--pink), var(--violet));
  }
  .step h3 { font-size: 15.5px; color: var(--ink-dark); margin-bottom: 2px; }
  .step p { font-size: 13.5px; color: var(--ink-dark-dim); }
  .step:nth-child(even) .badge { background: linear-gradient(130deg, #7b61ff, var(--cyan)); }

  /* ============ Roles plaza ============ */
  .role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .role-card {
    border-radius: 20px; overflow: hidden; background: var(--bg-soft);
    border: 1px solid var(--line); display: flex; flex-direction: column;
    transition: transform .22s, border-color .22s;
  }
  .role-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,.65); }
  .role-card img { width: 100%; height: 200px; object-fit: cover; object-position: center top; }
  .role-body { padding: 16px 16px 18px; }
  .role-body h3 { font-size: 16px; margin-bottom: 6px; }
  .role-body p { font-size: 13.5px; color: var(--ink-dim); }
  .role-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
  .role-tags span {
    font-size: 12px; padding: 3px 9px; border-radius: 999px;
    background: rgba(139,92,246,.18); color: #d9c8ff; border: 1px solid rgba(139,92,246,.32);
  }
  .role-more { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; }
  .role-more li { font-size: 14px; color: var(--ink-dim); }
  .role-more li::before { content: "✦ "; color: var(--pink); }

  /* ============ Custom ============ */
  .chip-wall { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
  .chip {
    font-size: 14px; padding: 10px 16px; border-radius: 12px;
    background: #fff; color: var(--ink-dark); border: 1px solid rgba(43,31,61,.14);
    transition: .2s;
  }
  .chip:hover { background: linear-gradient(120deg, var(--pink), var(--violet)); color: #fff; transform: translateY(-2px); }
  .custom-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }
  .custom-shot { border-radius: 22px; overflow: hidden; border: 1px solid rgba(43,31,61,.14); background: #fff; }
  .custom-shot img { width: 100%; height: auto; }

  /* ============ Chat show ============ */
  .chat-show { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: center; }
  .bubble-list { display: grid; gap: 12px; }
  .bubble { max-width: 92%; padding: 12px 16px; border-radius: 16px; font-size: 14px; }
  .bubble.ai { background: #2a1b45; border: 1px solid var(--line); border-bottom-left-radius: 6px; color: #e6dbff; }
  .bubble.me { margin-left: auto; background: linear-gradient(120deg, rgba(255,79,163,.9), rgba(139,92,246,.9)); border-bottom-right-radius: 6px; color: #fff; }
  .chat-pic { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
  .chat-pic img { width: 100%; height: auto; }

  /* ============ Privacy ============ */
  .privacy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .priv-item {
    padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(43,31,61,.12); background: #fff;
  }
  .priv-item h3 { font-size: 15.5px; color: var(--ink-dark); margin-bottom: 6px; }
  .priv-item p { font-size: 13.5px; color: var(--ink-dark-dim); }
  .priv-item h3::before { content: "🛡 "; }

  /* ============ Feedback ============ */
  .fb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .qa { border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; }
  .qa summary {
    cursor: pointer; list-style: none; padding: 16px 44px 16px 18px; position: relative;
    font-size: 15px; font-weight: 700; color: var(--ink);
  }
  .qa summary::-webkit-details-marker { display: none; }
  .qa summary::after {
    content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    font-size: 20px; color: var(--pink); transition: .2s;
  }
  .qa[open] summary::after { content: "−"; }
  .qa .ans { padding: 0 18px 16px; font-size: 14px; color: var(--ink-dim); }

  /* ============ Reviews ============ */
  .review-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .review {
    padding: 18px; border-radius: 18px; background: #fff; border: 1px solid rgba(43,31,61,.12);
  }
  .review .who { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
  .review .who img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(43,31,61,.12); }
  .review .who b { font-size: 14px; color: var(--ink-dark); }
  .review p { font-size: 13.5px; color: var(--ink-dark-dim); }

  /* ============ Download area ============ */
  .dl-area { background: linear-gradient(150deg, #1c1130, #2a1240 55%, #141c33); border-top: 1px solid var(--line); }
  .dl-card {
    display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: center;
    background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 24px; padding: 30px;
  }
  .dl-card .shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
  .dl-card .shot img { width: 100%; height: auto; }
  .dl-card h2 { font-size: 24px; margin-bottom: 10px; }
  .dl-card p { font-size: 14.5px; color: var(--ink-dim); }
  .dl-steps { margin: 14px 0 4px; display: grid; gap: 8px; }
  .dl-steps li { font-size: 13.5px; color: #d9cdf0; }
  .dl-steps li b { color: var(--cyan); margin-right: 6px; }

  /* ============ Floating download ============ */
  .float-dl {
    position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
    z-index: 70; display: flex; align-items: center; gap: 12px;
    padding: 10px 16px 10px 12px; border-radius: 18px;
    background: rgba(28,17,48,.94); border: 1px solid rgba(255,79,163,.4);
    box-shadow: 0 12px 30px rgba(0,0,0,.4); backdrop-filter: blur(10px);
    max-width: calc(100% - 24px);
  }
  .float-dl img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
  .float-dl .txt { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
  .float-dl .txt b { font-size: 13.5px; white-space: nowrap; }
  .float-dl .txt span { font-size: 11.5px; color: var(--ink-dim); white-space: nowrap; }
  .float-dl .go {
    flex: 0 0 auto; font-size: 13px; font-weight: 800; color: #fff;
    padding: 8px 14px; border-radius: 11px; background: linear-gradient(120deg, var(--pink), var(--violet));
  }

  /* ============ Copy modal ============ */
  .copy-modal {
    position: fixed; inset: 0; z-index: 100; display: none;
    align-items: center; justify-content: center; padding: 20px;
    background: rgba(9,5,17,.72);
  }
  .copy-modal.open { display: flex; }
  .copy-box {
    width: 100%; max-width: 360px; border-radius: 20px; padding: 22px;
    background: #1d1231; border: 1px solid rgba(255,79,163,.35); text-align: center;
  }
  .copy-box p { font-size: 14px; color: var(--ink); line-height: 1.6; margin-bottom: 14px; }
  .copy-input {
    width: 100%; padding: 11px 12px; border-radius: 11px; font-size: 13px;
    background: #120b1f; color: #d9cdf0; border: 1px solid var(--line); margin-bottom: 12px;
  }
  .copy-actions { display: flex; gap: 10px; }
  .copy-actions button, .copy-actions a {
    flex: 1; padding: 10px 0; border-radius: 11px; font-size: 13.5px; font-weight: 700;
    border: 0; cursor: pointer; font-family: inherit;
  }
  .copy-actions .do { background: linear-gradient(120deg, var(--pink), var(--violet)); color: #fff; }
  .copy-actions .cancel { background: var(--bg-soft); color: var(--ink); }

  /* ============ Footer ============ */
  .site-footer { background: #0d0718; color: var(--ink-dim); font-size: 12.5px; padding: 34px 0 96px; border-top: 1px solid var(--line); }
  .foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 26px; }
  .foot-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; color: #fff; font-weight: 700; font-size: 14px; }
  .foot-brand img { height: 26px; width: auto; border-radius: 7px; }
  .foot-grid h4 { font-size: 13px; color: #fff; margin-bottom: 10px; }
  .foot-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
  .foot-links a:hover { color: var(--pink); }
  .foot-bottom { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; }
  .foot-bottom a { color: var(--ink-dim); }
  .foot-bottom a:hover { color: #fff; }
  .foot-time { color: #7b6d93; }

  /* ============ Responsive ============ */
  @media (max-width: 1024px) {
    .hero h1 { font-size: 34px; }
    .fn-grid, .role-grid, .review-strip { grid-template-columns: repeat(2, 1fr); }
    .tut-layout, .custom-grid, .chat-show, .dl-card { grid-template-columns: 1fr; }
    .tut-shot { position: static; }
    .chat-show .chat-pic { order: -1; }
  }
  @media (max-width: 768px) {
    .wrap { padding: 0 16px; }
    .nav-desktop { display: none; }
    .nav-toggle { display: inline-flex; }
    .hero { padding-top: 30px; }
    .hero-grid { grid-template-columns: 1fr; gap: 26px; }
    .hero h1 { font-size: 27px; word-break: break-word; }
    .hero-lead { font-size: 15px; }
    .hero-slide img { max-height: 320px; object-fit: cover; }
    section { padding: 48px 0; }
    .section-title { font-size: 21px; }
    .fn-grid, .role-grid, .review-strip, .privacy-grid, .fb-grid { grid-template-columns: 1fr; }
    .role-card img { height: 190px; }
    .dl-group .btn { flex: 1 1 calc(50% - 12px); justify-content: center; padding: 11px 12px; font-size: 14px; }
    .dl-card { padding: 20px; }
    .dl-card h2 { font-size: 20px; }
    .float-dl { bottom: 12px; padding: 8px 12px; gap: 9px; }
    .float-dl .txt span { display: none; }
    .foot-grid { grid-template-columns: 1fr; gap: 20px; }
    .site-footer { padding-bottom: 110px; }
  }