:root {
  --bg: #100a26;
  --bg-deep: #0b071c;
  --bg-soft: #170f33;
  --line: rgba(185, 140, 255, 0.2);
  --line-strong: rgba(185, 140, 255, 0.38);
  --text: #efeaff;
  --muted: #a9a0c9;
  --accent: #b98cff;
  --accent-soft: #d8bcff;
  --pink: #ffc6ea;
  --radius: 20px;
  --wrap: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(680px 520px at 78% -6%, rgba(140, 87, 255, 0.32), transparent 70%),
    radial-gradient(520px 420px at 6% 22%, rgba(255, 198, 234, 0.12), transparent 72%),
    linear-gradient(180deg, #130c2e 0%, #100a26 55%, #0b071c 100%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

/* header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(13, 8, 30, 0.74);
  border-bottom: 1px solid rgba(185, 140, 255, 0.12);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 8px 24px rgba(122, 68, 255, 0.35);
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-domain {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  color: var(--muted);
}

.nav a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  border-color: var(--accent);
}

.head-cta {
  padding: 10px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  color: var(--accent-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.head-cta:hover,
.head-cta:focus-visible {
  background: var(--accent);
  color: #160d33;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
}

/* hero */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}

h1 {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #ffffff 12%, #dcc6ff 58%, #b98cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 24px;
  max-width: 33em;
  font-size: 16.5px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:not([hidden]) {
  display: inline-flex;
}

.btn-solid {
  background: linear-gradient(135deg, #c79dff, #8f5bff);
  color: #150b30;
  box-shadow: 0 14px 38px rgba(143, 91, 255, 0.35);
}

.btn-solid:hover,
.btn-solid:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(143, 91, 255, 0.45);
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(185, 140, 255, 0.12);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 34px;
  font-size: 13px;
  color: var(--muted);
}

.hero-tags li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-tags li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

.halo {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 105, 255, 0.4), rgba(160, 105, 255, 0.05) 58%, transparent 70%);
  filter: blur(6px);
}

.phone {
  position: relative;
  width: 234px;
  padding: 8px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
  box-shadow: 0 40px 80px rgba(4, 2, 14, 0.7);
}

.phone img {
  width: 100%;
  border-radius: 23px;
}

.float-card {
  position: absolute;
  right: -6px;
  bottom: 34px;
  width: 214px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(26, 17, 54, 0.86);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px rgba(4, 2, 14, 0.55);
}

.float-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent-soft);
}

.float-card p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* sections */
.section {
  padding: 92px 0;
  border-top: 1px solid rgba(185, 140, 255, 0.1);
  scroll-margin-top: 88px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 46px;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(27px, 3.2vw, 38px);
}

.section-lead {
  margin-top: 18px;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature {
  padding: 32px 28px 36px;
  background: rgba(19, 12, 40, 0.9);
  transition: background 0.25s ease;
}

.feature:hover {
  background: rgba(32, 21, 66, 0.95);
}

.feature-no {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.feature h3 {
  margin: 18px 0 12px;
  font-size: 19px;
}

.feature p {
  font-size: 14.5px;
  color: var(--muted);
}

/* split */
.split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}

.split-copy > p:not(.kicker) {
  margin-top: 20px;
  color: var(--muted);
}

.mini-list {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 32px;
}

.mini-list dt {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
}

.mini-list dt::before {
  content: "—";
  color: var(--accent);
  margin-right: 8px;
}

.mini-list dd {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

.quote-card {
  position: relative;
  padding: 40px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(300px 220px at 100% 0%, rgba(185, 140, 255, 0.22), transparent 70%),
    rgba(22, 14, 47, 0.9);
  overflow: hidden;
}

.quote-card::after {
  content: "“";
  position: absolute;
  right: 22px;
  top: -12px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 120px;
  color: rgba(185, 140, 255, 0.16);
  line-height: 1;
}

.quote-kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent-soft);
}

.quote-card blockquote {
  margin: 26px 0 0;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 500;
  color: #f4efff;
}

.quote-note {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

/* scripts */
.script-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.script-panel {
  padding: 38px 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(35, 23, 72, 0.85), rgba(18, 11, 38, 0.9));
}

.script-panel-alt {
  background: linear-gradient(165deg, rgba(52, 26, 80, 0.7), rgba(18, 11, 38, 0.9));
}

.script-panel h3 {
  font-size: 21px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.script-panel ul {
  margin-top: 8px;
}

.script-panel li {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px dashed rgba(185, 140, 255, 0.16);
}

.script-panel li:last-child {
  border-bottom: 0;
}

.script-panel li span {
  flex: none;
  min-width: 62px;
  font-size: 15px;
  color: var(--accent-soft);
}

.script-panel li em {
  font-style: normal;
  font-size: 13.5px;
  color: var(--muted);
}

.panel-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(185, 140, 255, 0.08);
  font-size: 13px;
  color: var(--muted);
}

/* tools */
.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}

.tool-card {
  padding: 38px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(21, 13, 45, 0.85);
}

.tool-card h3 {
  font-size: 21px;
  margin-bottom: 16px;
}

.tool-card > p {
  color: var(--muted);
  font-size: 14.5px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip-list li {
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--accent-soft);
}

.reminder {
  margin-top: 28px;
  padding: 24px 26px;
  border-radius: 16px;
  background: rgba(185, 140, 255, 0.07);
  border: 1px solid rgba(185, 140, 255, 0.16);
}

.reminder-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent-soft);
}

.reminder-note {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 500;
}

.reminder-sub {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(38, 24, 78, 0.6), rgba(14, 9, 32, 0.8));
}

.gallery figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0e0920;
}

.gallery img {
  width: 100%;
  height: auto;
}

/* download */
.download {
  background: linear-gradient(180deg, rgba(185, 140, 255, 0.06), transparent 70%);
}

.download-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.download-head p:last-child {
  margin-top: 16px;
  color: var(--muted);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.channel:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(23, 15, 51, 0.9);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.channel:not([hidden]):hover,
.channel:not([hidden]):focus-visible {
  border-color: var(--line-strong);
  background: rgba(38, 24, 78, 0.95);
  transform: translateY(-3px);
}

.channel-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: rgba(185, 140, 255, 0.14);
  color: var(--accent-soft);
}

.channel-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.channel-text strong {
  font-size: 16px;
  font-weight: 500;
}

.channel-text small {
  font-size: 12.5px;
  color: var(--muted);
}

.channel-arrow {
  margin-left: auto;
  color: var(--accent);
  font-size: 18px;
}

/* faq */
.faq-wrap {
  max-width: 820px;
}

.faq-wrap details {
  border-bottom: 1px solid var(--line);
}

.faq-wrap summary {
  cursor: pointer;
  padding: 22px 40px 22px 0;
  position: relative;
  font-size: 16.5px;
  list-style: none;
}

.faq-wrap summary::-webkit-details-marker {
  display: none;
}

.faq-wrap summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 20px;
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-wrap details[open] summary::after {
  content: "−";
}

.faq-wrap details p {
  padding: 0 40px 24px 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* footer */
.site-foot {
  border-top: 1px solid rgba(185, 140, 255, 0.12);
  padding: 40px 0;
}

.foot-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.foot-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.foot-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.foot-brand strong {
  font-size: 15px;
}

.foot-brand span {
  font-size: 12px;
  color: var(--muted);
}

.foot-nav {
  display: flex;
  gap: 22px;
  font-size: 13.5px;
  color: var(--muted);
}

.foot-nav a:hover,
.foot-nav a:focus-visible {
  color: var(--text);
}

.copyright {
  font-size: 12.5px;
  color: rgba(169, 160, 201, 0.72);
}

/* responsive */
@media (max-width: 1000px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-grid {
    gap: 40px;
  }

  .mini-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .hero {
    padding: 64px 0 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.82fr;
    gap: 32px;
  }

  .lead {
    font-size: 15.5px;
  }

  .float-card {
    width: 190px;
    padding: 14px 16px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 36px, var(--wrap));
  }

  .head-inner {
    height: 64px;
    gap: 12px;
  }

  .brand-domain {
    font-size: 10px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 18px 18px;
    background: rgba(13, 8, 30, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(185, 140, 255, 0.12);
  }

  .head-cta {
    padding: 8px 16px;
  }

  .nav-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-visual {
    padding: 0;
  }

  .phone-hero {
    width: 210px;
  }

  .float-card {
    right: calc(50% - 168px);
    bottom: 12px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .script-grid {
    grid-template-columns: 1fr;
  }

  .script-panel,
  .tool-card,
  .quote-card {
    padding: 28px 24px;
  }

  .gallery {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding: 16px;
    scroll-snap-type: x mandatory;
  }

  .gallery figure {
    flex: 0 0 200px;
    scroll-snap-align: start;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .foot-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

@media (max-width: 420px) {
  .brand-domain {
    display: none;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .float-card {
    display: none;
  }

  .phone-hero {
    width: 190px;
  }
}

/* 404 */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 64px 0;
}

.error-brand {
  margin: 0 0 56px;
}

.error-code {
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--accent);
  margin-bottom: 14px;
}

.error-page h1 {
  font-size: clamp(32px, 4.4vw, 48px);
}

.error-text {
  max-width: 30em;
  margin: 20px 0 32px;
  color: var(--muted);
}

