:root {
  --ink: #12121a;
  --ink-2: #3d3d4b;
  --muted: #6b6b7b;
  --line: #e7e7ef;
  --bg: #ffffff;
  --bg-soft: #f7f7fb;
  --brand: #5b4bd6;
  --brand-dark: #4438b8;
  --brand-soft: #efedfd;
  --pink: #e0398a;
  --grad: linear-gradient(135deg, #6d5ae6 0%, #e0398a 100%);
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(18, 18, 26, 0.05);
  --shadow: 0 8px 28px rgba(18, 18, 26, 0.08);
  --shadow-lg: 0 20px 60px rgba(18, 18, 26, 0.12);
  --font: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.22; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 15px; font-weight: 500;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(91, 75, 214, .28); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 6px 20px rgba(91, 75, 214, .36); }

.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--bg-soft); }

.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { display: block; width: 32px; height: 32px; }
.brand-text { font-size: 15px; color: var(--ink-2); letter-spacing: -0.01em; }
.brand-text b { color: var(--ink); font-weight: 600; }

.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 15px; color: var(--ink-2); transition: color .15s ease; }
.nav-links a:hover { color: var(--brand); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 16px; height: 1.6px; background: var(--ink); border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 76px 0 72px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -220px; right: -140px; width: 620px; height: 620px;
  background: radial-gradient(circle at 50% 50%, rgba(109, 90, 230, .16), rgba(224, 57, 138, .10) 45%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-soft); color: var(--brand-dark);
  font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }

.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 700; margin-bottom: 20px; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 30em; margin-bottom: 30px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.hero-meta li { display: flex; align-items: center; gap: 7px; }
.hero-meta li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand); flex-shrink: 0;
}

/* ---------- hero mockups ---------- */
.hero-visual { display: flex; flex-direction: column; gap: 16px; }

.mock {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 18px;
}

.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mock-title { font-size: 14px; font-weight: 600; }
.mock-status { font-size: 12px; color: #0f6e56; background: #e1f5ee; padding: 3px 10px; border-radius: 999px; }

.bubble { font-size: 14px; padding: 11px 14px; border-radius: 14px; margin-bottom: 10px; max-width: 88%; }
.bubble-user { background: var(--brand); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.bubble-ai { background: var(--bg-soft); color: var(--ink-2); border-bottom-left-radius: 4px; }

.mock-typing { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); padding-top: 2px; }
.mock-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); animation: blink 1.2s infinite; }
.mock-typing i:nth-child(2) { animation-delay: .2s; }
.mock-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.mock-player { display: flex; align-items: center; gap: 14px; }
.cover { width: 62px; height: 62px; border-radius: 14px; overflow: hidden; flex-shrink: 0; }
.track { flex: 1; min-width: 0; }
.track-name { font-size: 15px; font-weight: 600; }
.track-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }

.wave { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.wave span {
  flex: 1; height: var(--h); min-height: 3px;
  background: var(--brand); opacity: .35; border-radius: 2px;
}
.wave span:nth-child(-n+9) { opacity: 1; }

.track-time { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 5px; }

.play-btn {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.strip-inner {
  display: flex; flex-wrap: wrap; gap: 12px 34px; justify-content: center;
  padding-top: 18px; padding-bottom: 18px;
  font-size: 14px; color: var(--muted);
}

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }

.sec-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em;
  color: var(--brand); margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 16px; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d9d9e8; }
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--muted); }

.ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ic-1 { background: #efedfd; color: var(--brand); }
.ic-2 { background: #fbeaf1; color: var(--pink); }
.ic-3 { background: #e6f1fb; color: #185fa5; }
.ic-4 { background: #e1f5ee; color: #0f6e56; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative;
}
.step-no {
  font-size: 13px; font-weight: 700; color: var(--brand);
  background: var(--brand-soft); padding: 5px 12px; border-radius: 999px;
  display: inline-block; margin-bottom: 16px;
}
.steps h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.steps p { font-size: 14.5px; color: var(--muted); }

/* ---------- trial ---------- */
.trial {
  background: var(--grad); border-radius: 26px; padding: 52px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  color: #fff;
}
.trial .eyebrow { color: rgba(255, 255, 255, .78); }
.trial h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; margin-bottom: 12px; }
.trial-copy p { color: rgba(255, 255, 255, .85); font-size: 15.5px; margin-bottom: 22px; }
.trial .btn-outline { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); color: #fff; }
.trial .btn-outline:hover { background: rgba(255, 255, 255, .24); border-color: #fff; color: #fff; }

.trial-form label { display: block; font-size: 13.5px; margin-bottom: 8px; color: rgba(255, 255, 255, .9); }
.field-row { display: flex; gap: 10px; }
.field-row input {
  flex: 1; min-width: 0; font-family: inherit; font-size: 15px;
  padding: 13px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .16); color: #fff; outline: none;
}
.field-row input::placeholder { color: rgba(255, 255, 255, .6); }
.field-row input:focus { border-color: #fff; background: rgba(255, 255, 255, .24); }
.trial-form .btn-primary { background: #fff; color: var(--brand-dark); box-shadow: none; }
.trial-form .btn-primary:hover { background: #f2f0ff; }
.trial-form .btn-primary[disabled] { opacity: .7; cursor: default; }
.form-note { font-size: 13px; color: rgba(255, 255, 255, .82); margin-top: 12px; }
.form-note.is-ok { color: #fff; font-weight: 500; }
.form-note.is-err { color: #ffe0e6; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; position: relative;
}
.plan-hot { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-tag {
  position: absolute; top: -13px; left: 28px;
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 500;
  padding: 4px 12px; border-radius: 999px;
}
.plan h3 { font-size: 16px; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; }
.price { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 20px; }
.price .cur { font-size: 20px; font-weight: 500; margin-right: 2px; vertical-align: 6px; }
.price .per { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.plan ul { margin-bottom: 26px; }
.plan li { font-size: 14.5px; color: var(--ink-2); padding: 7px 0 7px 24px; position: relative; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 14px; height: 8px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg) translateY(-2px);
}

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0;
  font-size: 16.5px; font-weight: 500; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 28px;
  width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq p { font-size: 15px; color: var(--muted); padding: 0 40px 22px 0; }

/* ---------- final cta ---------- */
.cta-final { background: var(--ink); color: #fff; padding: 76px 0; text-align: center; }
.cta-final-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 12px; }
.cta-final-inner p { color: rgba(255, 255, 255, .72); margin-bottom: 28px; font-size: 16px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { font-size: 14px; color: var(--muted); margin-top: 12px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-cols h4 { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer-cols a { display: block; font-size: 14px; color: var(--muted); padding: 5px 0; transition: color .15s ease; }
.footer-cols a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 28px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  font-size: 13px; color: var(--muted);
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 520px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trial { grid-template-columns: 1fr; padding: 40px 32px; gap: 32px; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav.is-open .nav-links, .nav.is-open .nav-cta {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px;
    flex-direction: column; align-items: stretch; gap: 14px;
  }
  .nav.is-open .nav-cta { top: 214px; padding-top: 0; padding-bottom: 20px; border-bottom: none; }
  .nav.is-open .nav-cta .btn { width: 100%; }

  .section { padding: 60px 0; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { flex-direction: column; }
  .strip-inner { gap: 10px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
