/* ===== Tokens ===== */
:root {
  --primary: #6C5CE7;
  --primary-2: #8B7BFF;
  --primary-deep: #4D3FBF;
  --teal: #00CEC9;
  --pink: #FF69B4;
  --red: #FF7675;
  --green: #00B894;
  --yellow: #FDCB6E;
  --blue: #4FB8FF;

  --bg: #f7f6fb;
  --bg-soft: #ffffff;
  --ink: #1a1a2e;
  --ink-2: #2d2d44;
  --muted: #6b6b85;
  --muted-2: #9a9ab0;
  --border: #ececf3;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 4px 14px rgba(108, 92, 231, 0.08);
  --shadow: 0 12px 36px rgba(60, 40, 160, 0.10);
  --shadow-lg: 0 30px 80px rgba(60, 40, 160, 0.18);

  --grad-primary: linear-gradient(135deg, #8B7BFF 0%, #6C5CE7 50%, #4D3FBF 100%);
  --grad-warm: linear-gradient(135deg, #FF9DD0 0%, #B57BFF 100%);
  --grad-cool: linear-gradient(135deg, #6C5CE7 0%, #00CEC9 100%);

  --container: 1200px;
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  min-width: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
code {
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
  background: rgba(108,92,231,0.10);
  color: var(--primary-deep);
  padding: 1px 6px; border-radius: 6px; font-size: 0.92em;
}
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Background decoration ===== */
.bg-decor {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(110px); opacity: .55;
}
.blob-1 { width: 520px; height: 520px; background: #B5A8FF; top: -180px; left: -150px; }
.blob-2 { width: 460px; height: 460px; background: #FFB1DC; top: 30%; right: -160px; }
.blob-3 { width: 420px; height: 420px; background: #A0F2EE; bottom: -160px; left: 25%; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(108,92,231,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,92,231,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(236,236,243,0.7);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; color: var(--ink);
  text-decoration: none;
}
.brand-logo {
  display: block; height: 52px; width: auto;
  object-fit: contain;
  transition: transform .25s ease, filter .25s ease;
}
.brand:hover .brand-logo { transform: scale(1.04); }

/* Legacy mark/name/tag (kept for backwards-compat if reused elsewhere) */
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad-primary);
  color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 18px;
  box-shadow: 0 6px 18px rgba(108,92,231,0.40);
}
.brand-name { font-size: 18px; letter-spacing: 0.3px; }
.brand-tag {
  font-size: 12px; color: var(--muted);
  padding: 2px 8px; background: rgba(108,92,231,.10);
  border-radius: 999px; font-weight: 600;
}
.nav-links {
  display: flex; gap: 28px; align-items: center;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  position: relative; padding: 6px 0;
  transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--grad-primary); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(108,92,231,.08);
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.nav-toggle span {
  width: 18px; height: 2px; background: var(--primary); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: .2px;
  transition: transform .2s, box-shadow .25s, background .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-primary); color: #fff;
  box-shadow: 0 10px 24px rgba(108,92,231,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(108,92,231,0.45);
}
.btn-ghost {
  background: rgba(108,92,231,0.08); color: var(--primary-deep);
  border: 1px solid rgba(108,92,231,0.15);
}
.btn-ghost:hover { background: rgba(108,92,231,0.15); }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ===== Hero ===== */
.hero {
  padding: 60px 0 40px;
  position: relative;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(0,184,148,0.2);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0,184,148,0.20); }
  50% { box-shadow: 0 0 0 8px rgba(0,184,148,0); }
}
.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1; font-weight: 800;
  letter-spacing: -0.5px;
  margin: 18px 0 18px;
}
.grad-text {
  background: var(--grad-cool);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 16px; color: var(--muted);
  max-width: 540px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; margin: 28px 0 32px; flex-wrap: wrap; }
.hero-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  padding: 20px 22px;
  background: rgba(255,255,255,0.7); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  max-width: 560px;
}
.hero-meta > div { display: flex; flex-direction: column; }
.hero-meta strong {
  font-size: 24px; font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-meta span { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Hero visual */
.hero-visual {
  position: relative; min-height: 520px;
  display: grid; place-items: center;
}
.mascot {
  width: min(420px, 90%); height: auto; position: relative; z-index: 2;
  filter: drop-shadow(0 30px 50px rgba(108,92,231,0.30));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.halo {
  position: absolute; border-radius: 50%; z-index: 0;
}
.halo-a {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(108,92,231,0.35), transparent 65%);
  filter: blur(20px);
  animation: spin 22s linear infinite;
}
.halo-b {
  width: 320px; height: 320px;
  background: conic-gradient(from 0deg, rgba(108,92,231,0.0), rgba(255,105,180,0.35), rgba(0,206,201,0.35), rgba(108,92,231,0.0));
  filter: blur(30px); opacity: .6;
  animation: spin 30s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; min-width: 180px;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow);
  animation: floatCard 5s ease-in-out infinite;
}
.hero-card-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; font-size: 18px;
  background: rgba(108,92,231,0.12);
}
.hero-card-t { font-size: 13px; font-weight: 700; color: var(--ink); }
.hero-card-s { font-size: 11px; color: var(--muted); margin-top: 2px; }

.hero-card-a { top: 8%; left: -2%; animation-delay: 0s; }
.hero-card-b { top: 42%; right: -4%; animation-delay: 1.2s; }
.hero-card-c { bottom: 8%; left: 6%; animation-delay: 2.4s; }
.hero-card-a .hero-card-icon { background: rgba(108,92,231,0.15); }
.hero-card-b .hero-card-icon { background: rgba(255,105,180,0.15); }
.hero-card-c .hero-card-icon { background: rgba(253,203,110,0.20); }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Marquee */
.marquee {
  margin-top: 60px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.5);
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex; gap: 48px; white-space: nowrap;
  animation: marquee 32s linear infinite;
  font-weight: 700; font-size: 14px; color: var(--muted);
  letter-spacing: 1px;
}
.marquee-track span:nth-child(odd) {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ===== Section base ===== */
.section { padding: 100px 0; position: relative; }
.section-tinted {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.7) 40%, rgba(255,255,255,0.7) 60%, transparent);
}
.section-dark {
  background: radial-gradient(ellipse at top, #2d2851 0%, #1a1a2e 70%);
  color: #fff;
}
.section-dark code { background: rgba(255,255,255,0.10); color: #BFB5FF; }

.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.kicker {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 2px; color: var(--primary);
  background: rgba(108,92,231,0.10);
  padding: 6px 14px; border-radius: 999px;
}
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 800;
  margin: 16px 0 12px; letter-spacing: -0.3px; line-height: 1.2;
}
.section-head p { color: var(--muted); font-size: 16px; }
.section-head-light h2 { color: #fff; }
.section-head-light p { color: #BFB5FF; }
.section-head-light .kicker { background: rgba(255,255,255,0.10); color: #C8BCFF; }

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 22px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.feature::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-primary); opacity: 0;
  transition: opacity .25s; z-index: 0;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature:hover::before { opacity: 1; }
.feature:hover h3, .feature:hover p { color: #fff; }
.feature:hover .feature-icon { background: rgba(255,255,255,0.18); }
.feature > * { position: relative; z-index: 1; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 24px;
  background: rgba(108,92,231,0.10);
  margin-bottom: 16px; transition: background .25s;
}
.i-purple { background: rgba(108,92,231,0.10); }
.i-pink   { background: rgba(255,105,180,0.10); }
.i-teal   { background: rgba(0,206,201,0.10); }
.i-yellow { background: rgba(253,203,110,0.18); }
.i-green  { background: rgba(0,184,148,0.10); }
.i-red    { background: rgba(255,118,117,0.10); }
.i-blue   { background: rgba(79,184,255,0.12); }
.feature h3 {
  font-size: 17px; font-weight: 700; margin-bottom: 8px; transition: color .25s;
}
.feature p { font-size: 14px; color: var(--muted); transition: color .25s; }

/* ===== Modules ===== */
.modules {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.mod-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px; position: relative;
  transition: transform .25s, box-shadow .25s;
}
.mod-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(108,92,231,0.25);
}
.mod-num {
  font-size: 11px; font-weight: 800; color: var(--primary);
  background: rgba(108,92,231,0.10);
  padding: 3px 8px; border-radius: 6px;
}
.mod-card h4 { font-size: 15px; font-weight: 700; margin: 12px 0 6px; }
.mod-card p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ===== Preview ===== */
.preview-stage {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px; align-items: center;
}
.phone-frame {
  width: 320px; height: 660px;
  background: #1a1a2e;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 50px 100px rgba(60, 40, 160, 0.35),
    0 0 0 1px rgba(255,255,255,0.1) inset;
  position: relative;
  flex-shrink: 0;
}
.phone-frame::before {
  content: ''; position: absolute; inset: -16px;
  background: radial-gradient(circle, rgba(108,92,231,0.40), transparent 60%);
  z-index: -1; filter: blur(40px);
}
.phone-notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 24px; background: #1a1a2e; border-radius: 14px;
  z-index: 5;
}
.phone-iframe {
  width: 100%; height: 100%; border: 0;
  border-radius: 32px; background: #fff; display: block;
}
.phone-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}

/* Phone screen stack (carousel of mock screens) */
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #f7f6fb;
  font-family: -apple-system, 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}
.mock-screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: #f7f6fb;
  color: #1a1a2e;
  font-size: 12px;
  opacity: 0;
  transform: translateX(20px) scale(0.98);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
  padding-bottom: 56px;
}
.mock-screen.is-active {
  opacity: 1; transform: none; pointer-events: auto;
}
.mock-status {
  height: 38px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; font-weight: 700; color: #1a1a2e;
  flex-shrink: 0;
}
.mock-status-icons {
  font-size: 9px; letter-spacing: 1px; opacity: .6;
}
/* Carousel dots & label */
.phone-dots { display: flex; gap: 8px; }
.phone-dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(108,92,231,0.25);
  cursor: pointer; padding: 0;
  transition: width .25s, background .25s;
}
.phone-dots .dot.is-active {
  width: 22px; background: var(--primary); border-radius: 4px;
}
.phone-label {
  font-size: 13px; font-weight: 600; color: var(--primary-deep);
  background: rgba(108,92,231,0.08);
  padding: 6px 14px; border-radius: 999px;
}

/* ===== Mock Screen 1: Home ===== */
.mock-topbar {
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px 12px;
}
.mock-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad-primary);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 12px;
  flex-shrink: 0;
}
.mock-avatar-pink { background: linear-gradient(135deg,#FFB1DC,#FF69B4); }
.mock-avatar-purple { background: linear-gradient(135deg,#B5A8FF,#6C5CE7); }
.mock-avatar-blue { background: linear-gradient(135deg,#A0E0FF,#4FB8FF); }
.mock-search {
  flex: 1; height: 30px; border-radius: 15px;
  background: #fff; padding: 0 12px;
  display: flex; align-items: center;
  font-size: 11px; color: #aaa;
}
.mock-bell { font-size: 16px; }
.mock-banner {
  margin: 0 14px 14px;
  padding: 14px;
  background: var(--grad-primary);
  border-radius: 14px;
  color: #fff; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 6px 16px rgba(108,92,231,0.30);
}
.mock-banner-tag {
  display: inline-block; font-size: 9px; font-weight: 700;
  background: rgba(255,255,255,0.25);
  padding: 2px 8px; border-radius: 999px;
  margin-bottom: 6px;
}
.mock-banner-title { font-size: 16px; font-weight: 800; line-height: 1.2; }
.mock-banner-sub { font-size: 10px; opacity: .85; margin-top: 4px; }
.mock-banner-emoji { font-size: 36px; opacity: .9; }
.mock-cats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 0 14px 12px; gap: 6px;
}
.mock-cat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 10px; color: #555;
}
.mock-cat span {
  width: 38px; height: 38px; border-radius: 12px;
  background: #fff; display: grid; place-items: center;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(108,92,231,0.08);
}
.mock-section {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 16px 8px;
}
.mock-section-t { font-size: 13px; font-weight: 700; color: #1a1a2e; }
.mock-section-m { font-size: 10px; color: #aaa; }
.mock-comp {
  display: flex; align-items: center; gap: 10px;
  margin: 0 14px 8px; padding: 10px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.mock-comp-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.mock-comp-info { flex: 1; min-width: 0; }
.mock-comp-name {
  font-size: 12px; font-weight: 700; color: #1a1a2e;
  display: flex; align-items: center; gap: 4px;
}
.mock-verify {
  display: inline-grid; place-items: center;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 8px; font-weight: 700;
}
.mock-comp-tags i { font-style: normal; font-size: 10px; color: var(--primary); }
.mock-comp-meta { font-size: 9px; color: #999; margin-top: 2px; }
.mock-comp-right { text-align: right; flex-shrink: 0; }
.mock-comp-price {
  font-size: 14px; font-weight: 800; color: #FF7675; line-height: 1;
}
.mock-comp-price span { font-size: 9px; color: #999; font-weight: 500; }
.mock-comp-btn {
  margin-top: 6px; padding: 4px 10px;
  background: var(--grad-primary); color: #fff;
  border-radius: 999px; font-size: 10px; font-weight: 700;
  display: inline-block;
}
.mock-tabbar {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 56px; background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  display: flex; border-top: 1px solid #eee;
}
.mock-tab {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  font-size: 9px; color: #aaa;
}
.mock-tab span { font-size: 16px; opacity: .6; }
.mock-tab.is-active { color: var(--primary); font-weight: 700; }
.mock-tab.is-active span { opacity: 1; }

/* ===== Mock Screen 2: Video ===== */
.mock-video { padding-bottom: 0; }
.mock-video-bg {
  position: absolute; inset: 0 0 56px 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,105,180,0.45), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0,206,201,0.35), transparent 55%),
    linear-gradient(180deg, #2d1b5b 0%, #1a1a2e 100%);
  overflow: hidden;
}
.mock-video-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 50px; color: rgba(255,255,255,0.25);
}
.mock-video-tabs {
  position: absolute; top: 14px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 18px;
  font-size: 12px; color: rgba(255,255,255,0.65);
  font-weight: 600;
}
.mock-video-tabs .is-active {
  color: #fff; position: relative;
}
.mock-video-tabs .is-active::after {
  content: ''; position: absolute; left: 25%; right: 25%; bottom: -6px;
  height: 2px; background: #fff; border-radius: 2px;
}
.mock-video-side {
  position: absolute; right: 12px; bottom: 80px;
  display: flex; flex-direction: column; gap: 16px; align-items: center;
}
.mock-video-act {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 18px; color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.40);
}
.mock-video-act i {
  font-style: normal; font-size: 9px; font-weight: 600;
}
.mock-video-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg,#B5A8FF,#6C5CE7);
  border: 2px solid #fff;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 14px;
  position: relative;
}
.mock-video-add {
  position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: #FF7675; color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
  border: 2px solid #1a1a2e;
}
.mock-video-bottom {
  position: absolute; left: 14px; right: 70px; bottom: 70px;
  color: #fff;
}
.mock-video-author { font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.mock-video-title {
  font-size: 11px; line-height: 1.45; margin-bottom: 6px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.30);
}
.mock-video-music {
  font-size: 10px; opacity: .8;
  display: inline-flex; align-items: center; gap: 4px;
}

/* ===== Mock Screen 3: Chat ===== */
.mock-chat-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 14px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  background: #fff;
}
.mock-back, .mock-call { font-size: 18px; color: #555; }
.mock-chat-name { flex: 1; text-align: center; }
.mock-chat-name > div:first-child {
  font-size: 14px; font-weight: 700;
}
.mock-chat-status {
  font-size: 10px; color: var(--green);
  margin-top: 1px;
}
.mock-chat-body {
  flex: 1; overflow: hidden;
  padding: 14px 12px;
  display: flex; flex-direction: column; gap: 10px;
  background: #f7f6fb;
}
.mock-chat-time {
  text-align: center; font-size: 10px; color: #aaa;
  margin-bottom: 4px;
}
.mock-chat-row {
  display: flex; align-items: flex-end; gap: 6px;
  max-width: 90%;
}
.mock-chat-me {
  align-self: flex-end; flex-direction: row-reverse;
}
.mock-chat-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 11px;
  flex-shrink: 0;
}
.mock-bubble {
  padding: 8px 12px; border-radius: 14px;
  font-size: 12px; line-height: 1.4;
  max-width: 200px;
}
.mock-bubble-them {
  background: #fff; color: #1a1a2e;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.mock-bubble-me {
  background: var(--grad-primary); color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 10px rgba(108,92,231,0.30);
}
.mock-bubble-voice {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: ui-monospace, Consolas, monospace;
  letter-spacing: 1px;
}
.mock-bubble-voice span {
  font-size: 10px; color: #999;
  font-family: inherit;
}
.mock-chat-input {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 56px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 12px;
  background: #fff; border-top: 1px solid #eee;
  font-size: 18px;
}
.mock-chat-field {
  flex: 1; height: 34px;
  background: #f0f0f5; border-radius: 17px;
  display: flex; align-items: center;
  padding: 0 14px;
  font-size: 12px; color: #aaa;
}

/* ===== Mock Screen 4: Profile ===== */
.mock-profile { padding-bottom: 60px; }
.mock-prof-cover {
  height: 110px;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,105,180,0.55), transparent 55%),
    var(--grad-primary);
  position: relative;
  flex-shrink: 0;
}
.mock-prof-back, .mock-prof-share {
  position: absolute; top: 14px;
  width: 28px; height: 28px;
  background: rgba(0,0,0,0.25); color: #fff;
  border-radius: 50%; display: grid; place-items: center;
  font-size: 16px; backdrop-filter: blur(10px);
}
.mock-prof-back { left: 14px; }
.mock-prof-share { right: 14px; }
.mock-prof-head {
  margin: -36px 14px 12px;
  padding: 16px;
  background: #fff; border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  text-align: center;
  position: relative; z-index: 1;
}
.mock-prof-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg,#B5A8FF,#6C5CE7);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 22px;
  margin: -42px auto 8px;
  border: 3px solid #fff;
  position: relative;
}
.mock-prof-verify {
  position: absolute; bottom: -2px; right: -2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 800;
  border: 2px solid #fff;
}
.mock-prof-name {
  font-size: 15px; font-weight: 800; color: #1a1a2e;
}
.mock-prof-tags {
  display: flex; justify-content: center; gap: 4px; flex-wrap: wrap;
  margin: 6px 0 10px;
}
.mp-tag {
  display: inline-block; font-size: 9px; font-weight: 600;
  padding: 2px 8px; border-radius: 999px;
}
.mp-tag-p { background: rgba(108,92,231,0.12); color: var(--primary); }
.mp-tag-y { background: rgba(253,203,110,0.20); color: #d4a017; }
.mp-tag-pk { background: rgba(255,105,180,0.12); color: var(--pink); }
.mock-prof-stats {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 4px;
  padding-top: 10px; border-top: 1px dashed #eee;
}
.mock-prof-stats > div {
  display: flex; flex-direction: column; gap: 2px;
}
.mock-prof-stats strong { font-size: 13px; color: #1a1a2e; }
.mock-prof-stats span { font-size: 9px; color: #999; }
.mock-prof-tabs {
  display: flex; padding: 0 16px; gap: 18px;
  border-bottom: 1px solid #eee;
}
.mock-prof-tabs span {
  padding: 10px 0; font-size: 12px; color: #999;
  position: relative;
}
.mock-prof-tabs .is-active {
  color: #1a1a2e; font-weight: 700;
}
.mock-prof-tabs .is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--primary); border-radius: 2px;
}
.mock-skill {
  display: flex; align-items: center; gap: 10px;
  margin: 8px 14px 0; padding: 10px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.mock-skill-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(108,92,231,0.10);
  display: grid; place-items: center; font-size: 18px;
  flex-shrink: 0;
}
.mock-skill-info { flex: 1; min-width: 0; }
.mock-skill-t { font-size: 12px; font-weight: 700; color: #1a1a2e; }
.mock-skill-s { font-size: 10px; color: #999; margin-top: 2px; }
.mock-skill-price {
  font-size: 14px; font-weight: 800; color: #FF7675;
  flex-shrink: 0;
}
.mock-skill-price span { font-size: 9px; color: #999; font-weight: 500; }
.mock-prof-foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 60px;
  display: flex; align-items: center; gap: 10px;
  padding: 0 14px;
  background: #fff;
  border-top: 1px solid #eee;
}
.mock-prof-msg {
  flex: 0 0 auto; padding: 10px 16px;
  border-radius: 999px; background: rgba(108,92,231,0.10);
  color: var(--primary); font-size: 12px; font-weight: 700;
}
.mock-prof-buy {
  flex: 1; height: 40px; border-radius: 999px;
  background: var(--grad-primary); color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 6px 16px rgba(108,92,231,0.35);
}
.preview-side h3 {
  font-size: 26px; font-weight: 800; margin: 14px 0 12px;
}
.preview-side p { color: var(--muted); margin-bottom: 18px; }
.preview-side code { background: rgba(108,92,231,0.10); }
.kbd-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); font-weight: 500;
}
.kbd {
  font-family: ui-monospace, Consolas, monospace;
  background: rgba(108,92,231,0.10); color: var(--primary-deep);
  padding: 3px 10px; border-radius: 6px; font-weight: 700; font-size: 12px;
}
.dot-sep { color: var(--muted-2); }
.check-list { list-style: none; margin: 0 0 24px; }
.check-list li {
  padding: 8px 0; font-size: 14.5px; color: var(--ink-2);
  border-bottom: 1px dashed var(--border);
}
.check-list li:last-child { border-bottom: none; }
.preview-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Scenes ===== */
.scenes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.scene {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.scene::after {
  content: ''; position: absolute; right: -40px; bottom: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,92,231,0.18), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.scene:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(108,92,231,0.3);
}
.scene:hover::after { opacity: 1; }
.scene-emoji {
  font-size: 38px; margin-bottom: 14px;
  display: inline-block; line-height: 1;
  filter: drop-shadow(0 6px 14px rgba(108,92,231,0.20));
}
.scene-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary-deep);
  background: rgba(108,92,231,0.12);
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 10px;
}
.scene h3 {
  font-size: 17px; font-weight: 800; line-height: 1.4;
  margin-bottom: 10px; color: var(--ink);
}
.scene p {
  font-size: 14px; color: var(--muted); line-height: 1.65;
}
.scene-foot {
  margin-top: 14px; font-size: 12px; color: var(--primary);
  font-weight: 600; padding-top: 12px; border-top: 1px dashed var(--border);
  position: relative; z-index: 1;
}

/* ===== Voices ===== */
.voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.voice {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius); padding: 26px 24px;
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .25s, background .25s, border-color .25s;
  position: relative;
}
.voice::before {
  content: '"'; position: absolute; top: 6px; right: 18px;
  font-size: 80px; line-height: 1; color: rgba(108,92,231,0.25);
  font-family: Georgia, serif; pointer-events: none;
}
.voice:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(139,123,255,0.4);
}
.voice-stars {
  color: #FDCB6E; font-size: 16px; letter-spacing: 2px;
  text-shadow: 0 2px 6px rgba(253,203,110,0.40);
}
.voice-quote {
  font-size: 15px; color: #fff; line-height: 1.7;
  font-weight: 500;
}
.voice-author {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.voice-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; color: var(--ink); font-size: 16px;
  flex-shrink: 0;
}
.voice-name {
  font-size: 14px; font-weight: 700; color: #fff;
}
.voice-meta {
  font-size: 12px; color: #9c93c5; margin-top: 2px;
}

/* ===== CTA ===== */
.cta { padding-bottom: 60px; }
.cta-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px;
  align-items: center;
  background: var(--grad-primary);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  position: relative; overflow: hidden;
  box-shadow: 0 30px 60px rgba(108,92,231,0.35);
}
.cta-card::before {
  content: ''; position: absolute; right: -120px; top: -120px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,0.10);
}
.cta-card::after {
  content: ''; position: absolute; left: -80px; bottom: -100px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.cta-mascot {
  width: 120px; height: 120px; object-fit: contain; object-position: top;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.25));
  position: relative; z-index: 1;
}
.cta-text { color: #fff; position: relative; z-index: 1; }
.cta-text h2 { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.cta-text p { color: rgba(255,255,255,0.85); font-size: 15px; }
.cta-card .btn-primary {
  background: #fff; color: var(--primary-deep);
  position: relative; z-index: 1;
  box-shadow: 0 8px 20px rgba(0,0,0,0.20);
}
.cta-card .btn-primary:hover { background: #f5f3ff; }

/* ===== Footer ===== */
.footer {
  background: #0F0F1E; color: #BFB5FF;
  padding: 50px 0 30px;
}
.footer-inner {
  display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 30px;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo {
  display: block; height: 64px; width: auto;
  object-fit: contain;
  /* 彩色 logo 直接显示；为深色底加点柔光提升可读性 */
  filter: drop-shadow(0 2px 10px rgba(108, 92, 231, 0.35));
}
.footer-name { font-weight: 800; color: #fff; font-size: 16px; }
.footer-tag { font-size: 12px; color: #8a82b5; }
.footer-links {
  display: flex; gap: 22px; flex-wrap: wrap; justify-content: center;
}
.footer-links a {
  font-size: 14px; color: #BFB5FF; transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-meta {
  text-align: right; font-size: 12px; color: #8a82b5; line-height: 1.8;
}
.footer-beian {
  font-size: 12px; color: #6f6896;
}
.footer-beian a {
  color: #6f6896; transition: color .2s;
}
.footer-beian a:hover { color: #BFB5FF; }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */

/* ----- Tablet (≤ 1024px) ----- */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .modules { grid-template-columns: repeat(3, 1fr); }
  .scenes { grid-template-columns: repeat(2, 1fr); }
  .voices { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; min-height: 440px; }
  .mascot { width: 320px; }
  .preview-stage { grid-template-columns: 1fr; gap: 36px; justify-items: center; text-align: center; }
  .preview-side { max-width: 520px; }
  .check-list li { text-align: left; }
  .preview-actions { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; text-align: center; }
}

/* ----- Mobile portrait (≤ 720px) ----- */
@media (max-width: 720px) {
  /* Nav */
  .nav-inner { height: 60px; }
  .nav-links {
    position: absolute; top: 60px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 0; padding: 8px 0;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
    box-shadow: 0 8px 24px rgba(60,40,160,0.08);
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 24px; width: 100%; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn { display: none; }
  .brand-logo { height: 40px; }
  .footer-logo { height: 52px; }

  /* Layout */
  .section { padding: 60px 0; }
  .container { padding: 0 16px; }
  .section-head { margin-bottom: 40px; }

  /* Hero */
  .hero { padding: 30px 0 20px; }
  .hero-title { font-size: clamp(28px, 8vw, 38px); margin: 14px 0 14px; }
  .hero-sub { font-size: 14px; }
  .hero-cta { gap: 10px; margin: 22px 0 24px; }
  .hero-cta .btn { padding: 10px 16px; font-size: 13px; }
  .hero-meta {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px; padding: 14px 12px;
  }
  .hero-meta strong { font-size: 18px; }
  .hero-meta span { font-size: 11px; }
  .hero-visual { min-height: 340px; }
  .mascot { width: 240px; }
  .halo-a { width: 300px; height: 300px; }
  .halo-b { width: 220px; height: 220px; }

  /* Hero floating cards: keep 2 of them, repositioned to avoid overflow */
  .hero-card { min-width: 0; padding: 8px 12px; }
  .hero-card-icon { width: 30px; height: 30px; font-size: 14px; }
  .hero-card-t { font-size: 11px; }
  .hero-card-s { font-size: 10px; }
  .hero-card-b { display: none; }
  .hero-card-a { left: 4%; top: 6%; }
  .hero-card-c { left: auto; right: 4%; bottom: 6%; }

  /* Marquee */
  .marquee { margin-top: 36px; padding: 14px 0; }
  .marquee-track { gap: 28px; font-size: 12px; }

  /* Section heads */
  .section-head h2 { font-size: clamp(22px, 5.5vw, 28px); }
  .section-head p { font-size: 14px; }

  /* Grids */
  .features { grid-template-columns: 1fr; gap: 14px; }
  .feature { padding: 22px 18px; }
  .modules { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mod-card { padding: 18px 14px; }
  .scenes { grid-template-columns: 1fr; gap: 14px; }
  .scene { padding: 22px 20px; }
  .voices { grid-template-columns: 1fr; gap: 14px; }
  .voice { padding: 22px 20px; }

  /* Preview */
  .phone-frame { width: 270px; height: 560px; }
  .preview-side h3 { font-size: 22px; }

  /* CTA */
  .cta-card {
    grid-template-columns: 1fr; padding: 32px 22px; text-align: center;
    justify-items: center; gap: 18px;
  }
  .cta-mascot { width: 96px; height: 96px; }
  .cta-text h2 { font-size: 22px; }
  .cta-text p { font-size: 14px; }
  .cta-card .btn-lg { padding: 14px 26px; font-size: 15px; }

  /* Footer */
  .footer { padding: 40px 0 24px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 22px; }
  .footer-brand { justify-content: center; }
  .footer-links { gap: 16px; }
  .footer-meta { text-align: center; }
}

/* ----- Small phones (≤ 480px) ----- */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .section { padding: 50px 0; }
  .section-head { margin-bottom: 32px; }

  .nav-actions { gap: 6px; }
  .brand-logo { height: 36px; }

  .hero { padding: 20px 0 10px; }
  .hero-title { font-size: clamp(24px, 8vw, 32px); }
  .hero-meta {
    grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 14px;
  }
  .hero-meta strong { font-size: 20px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .hero-visual { min-height: 300px; }
  .mascot { width: 200px; }
  .halo-a { width: 260px; height: 260px; }
  .halo-b { width: 180px; height: 180px; }

  /* Hide floating cards entirely on very small to prevent crowding */
  .hero-card { display: none !important; }

  .modules { grid-template-columns: repeat(2, 1fr); }
  .mod-card { padding: 16px 12px; }
  .mod-card h4 { font-size: 14px; }
  .mod-card p { font-size: 12px; }

  /* Preview phone scales with viewport so it never overflows */
  .phone-frame {
    width: min(260px, 78vw);
    height: calc(min(260px, 78vw) * 2.05);
    border-radius: 36px;
    padding: 10px;
  }
  .phone-notch { width: 80px; height: 20px; top: 16px; }
  .phone-screen { border-radius: 26px; }

  .cta-card { padding: 28px 18px; }
  .cta-text h2 { font-size: 20px; }

  .footer-links { gap: 12px 16px; }
  .footer-links a { font-size: 13px; }
}

/* ----- Tiny phones (≤ 360px) ----- */
@media (max-width: 360px) {
  .modules { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); padding: 12px; gap: 10px; }
  .hero-title { font-size: 22px; }
  .nav-inner { height: 56px; }
  .nav-links { top: 56px; }
}
