/* ========================================
   三号动漫官方专题站 - 全局样式
   配色：深紫/霓虹粉/电青
   ======================================== */

:root {
  --primary: #7C3AED;
  --primary-dark: #5B21B6;
  --primary-light: #A78BFA;
  --accent: #F472B6;
  --accent-2: #22D3EE;
  --accent-3: #FBBF24;

  --bg: #0B0A14;
  --bg-2: #121026;
  --surface: #1E1B33;
  --surface-2: #262140;
  --surface-3: rgba(255, 255, 255, 0.06);

  --text: #F8F7FC;
  --text-2: #E0DDEF;
  --muted: #A5A2B6;
  --muted-2: #6D6A85;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 28px rgba(124, 58, 237, 0.35);
  --shadow-accent: 0 0 24px rgba(244, 114, 182, 0.35);

  --max-width: 1180px;
  --nav-height: 72px;
  --section-gap: 88px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-2);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover {
  color: var(--accent);
}

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

ul, ol {
  list-style: none;
}

/* ========================================
   工具类
   ======================================== */
.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary-light), var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ========================================
   导航
   ======================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(11, 10, 20, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--surface-3);
  transition: background .3s ease, box-shadow .3s ease;
}

.header.scrolled {
  background: rgba(11, 10, 20, 0.96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.25rem;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  display: block;
  padding: 8px 14px;
  color: var(--text-2);
  font-size: .95rem;
  border-radius: 999px;
  transition: all .2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: var(--surface-3);
}

.nav .btn-sm {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: var(--surface-3);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

/* ========================================
   按钮
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  box-shadow: 0 0 34px rgba(244, 114, 182, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  background: var(--surface-3);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-sm {
  padding: 10px 22px;
  font-size: .9rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  padding: calc(var(--nav-height) + 96px) 0 120px;
  background:
    radial-gradient(ellipse at 75% 20%, rgba(124, 58, 237, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse at 25% 90%, rgba(244, 114, 182, 0.20) 0%, transparent 45%),
    var(--bg);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: .6;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 999px;
  color: var(--primary-light);
  font-size: .88rem;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.12;
  font-weight: 900;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.hero h1 em {
  font-style: normal;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-stats {
  display: flex;
  gap: 44px;
  margin: 42px 0 38px;
}

.hero-stats .stat b {
  display: block;
  font-size: 1.8rem;
  color: var(--text);
  line-height: 1;
}

.hero-stats .stat span {
  font-size: .9rem;
  color: var(--muted);
  margin-top: 8px;
  display: block;
}

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: 300px;
  border-radius: 34px;
  background: linear-gradient(180deg, #1e1b33 0%, #0f0d1f 100%);
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(124, 58, 237, 0.25);
  transform: perspective(1100px) rotateY(-12deg) rotateX(6deg);
  transition: transform .4s ease;
}

.phone-mockup:hover {
  transform: perspective(1100px) rotateY(-6deg) rotateX(3deg) translateY(-8px);
}

.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9/16;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 18px;
  background: #0b0a14;
  border-radius: 999px;
  z-index: 5;
}

.glow-orb {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
  pointer-events: none;
}

.glow-orb.pink {
  background: var(--accent);
  top: -80px;
  right: 60px;
}

.glow-orb.cyan {
  background: var(--accent-2);
  bottom: -60px;
  left: 40px;
  opacity: .25;
}

/* ========================================
   信任徽标
   ======================================== */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 28px 0;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: .88rem;
  color: var(--text-2);
}

.trust-pill i {
  color: var(--accent-3);
}

/* ========================================
   区块标题
   ======================================== */
.section {
  padding: var(--section-gap) 0;
}

.section-alt {
  background: var(--bg-2);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 14px;
  font-weight: 800;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ========================================
   功能卡片
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(167, 139, 250, 0.25);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 1.35rem;
  margin-bottom: 18px;
  color: #fff;
}

.feature-icon.violet { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.feature-icon.pink { background: linear-gradient(135deg, var(--accent), #FB7185); }
.feature-icon.cyan { background: linear-gradient(135deg, var(--accent-2), #60A5FA); }
.feature-icon.amber { background: linear-gradient(135deg, var(--accent-3), #F97316); }

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}

/* ========================================
   截图展示
   ======================================== */
.screenshots-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.screenshots-info h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 18px;
  font-weight: 800;
}

.screenshots-info p {
  color: var(--muted);
  margin-bottom: 28px;
}

.screenshots-list {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 12px 4px 28px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shot-item {
  flex: 0 0 235px;
  scroll-snap-align: center;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}

.shot-item:hover {
  transform: scale(1.03);
}

.shot-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}

.shot-caption {
  padding: 12px 14px;
  font-size: .9rem;
  color: var(--text-2);
  text-align: center;
}

/* ========================================
   深度模块入口
   ======================================== */
.deep-entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.deep-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.deep-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.deep-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.deep-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.deep-card p {
  color: var(--muted);
  font-size: .94rem;
  margin-bottom: 18px;
}

.deep-card .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--accent);
}

/* ========================================
   用户评价
   ======================================== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.review-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.review-stars {
  color: var(--accent-3);
  margin-bottom: 12px;
}

.review-text {
  color: var(--text-2);
  font-size: .96rem;
  margin-bottom: 18px;
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.review-author b {
  display: block;
  font-size: .95rem;
}

.review-author span {
  font-size: .82rem;
  color: var(--muted);
}

/* ========================================
   FAQ
   ======================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-question i {
  transition: transform .25s ease;
  color: var(--primary-light);
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.8;
}

/* ========================================
   底部下载
   ======================================== */
.bottom-cta {
  position: relative;
  padding: 90px 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.25) 0%, transparent 50%),
    var(--bg-2);
  text-align: center;
}

.bottom-cta h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.bottom-cta p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 34px;
  font-size: 1.05rem;
}

.download-note {
  margin-top: 18px;
  font-size: .85rem;
  color: var(--muted-2);
}

/* ========================================
   页脚
   ======================================== */
.footer {
  background: #080712;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 42px;
  margin-bottom: 42px;
}

.footer-brand p {
  color: var(--muted);
  font-size: .92rem;
  margin-top: 14px;
  line-height: 1.7;
}

.footer-title {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-links a {
  display: block;
  color: var(--muted);
  font-size: .92rem;
  padding: 5px 0;
}

.footer-links a:hover {
  color: var(--accent-2);
}

.disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  font-size: .84rem;
  color: var(--muted-2);
  line-height: 1.8;
}

.copyright {
  margin-top: 18px;
  text-align: center;
  color: var(--muted-2);
  font-size: .82rem;
}

/* ========================================
   内页通用
   ======================================== */
.page-hero {
  padding: calc(var(--nav-height) + 70px) 0 70px;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(124, 58, 237, 0.18) 0%, transparent 50%),
    var(--bg);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
}

.page-hero p {
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 0 90px;
}

.content-wrap h2 {
  font-size: 1.7rem;
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.content-wrap h3 {
  font-size: 1.25rem;
  margin: 30px 0 12px;
  color: var(--text-2);
}

.content-wrap p,
.content-wrap li {
  color: var(--text-2);
  line-height: 1.85;
}

.content-wrap p {
  margin-bottom: 16px;
}

.content-wrap ul,
.content-wrap ol {
  margin: 0 0 18px 22px;
  list-style: disc;
}

.content-wrap ol {
  list-style: decimal;
}

.content-wrap li {
  margin-bottom: 10px;
}

.tip-box {
  background: rgba(34, 211, 238, 0.08);
  border-left: 4px solid var(--accent-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 24px 0;
}

.tip-box strong {
  color: var(--accent-2);
}

/* 步骤卡片 */
.step-card {
  display: flex;
  gap: 20px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 800;
  color: #fff;
}

.step-body h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.step-body p {
  color: var(--muted);
  margin: 0;
  font-size: .95rem;
  line-height: 1.75;
}

/* 功能详情 */
.feature-detail {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-detail h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.feature-detail p {
  color: var(--muted);
  margin: 0;
  font-size: .95rem;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: .88rem;
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--text);
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle,
  .hero-stats {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-phone {
    order: -1;
  }

  .phone-mockup {
    width: 240px;
  }

  .screenshots-wrap {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: var(--nav-height) 0 auto 0;
    background: rgba(11, 10, 20, 0.98);
    border-bottom: 1px solid var(--surface-3);
    padding: 18px 0;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav ul {
    flex-direction: column;
    gap: 8px;
  }

  .nav .btn-sm {
    margin: 8px 0 0;
  }

  .nav-toggle {
    display: flex;
  }

  .btn-group {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-stats {
    gap: 28px;
    justify-content: center;
  }

  .features-grid,
  .deep-entry-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .shot-item {
    flex-basis: 180px;
  }

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

  .step-card {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-top: calc(var(--nav-height) + 64px);
  }

  .phone-mockup {
    width: 200px;
  }

  .section {
    padding: 60px 0;
  }
}
