/* ============================================================
   云艺网络官网 · 手写样式（无框架、无依赖）
   配色: 主紫 #4632DA / 深蓝紫 #0700DD / 青 #00DAFC
         正文 #3D4459 / 浅底 #F5F6FA
   ============================================================ */

/* ---------- 基础 ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple: #4632DA;
  --purple-deep: #0700DD;
  --cyan: #00B7FC;
  --ink: #2B2F44;          /* 大标题 */
  --body: #3D4459;         /* 正文 */
  --muted: #7A8095;        /* 弱化文字 */
  --bg-alt: #F5F6FA;       /* 间隔底色 */
  --line: #E7E9F2;
  --grad: linear-gradient(90deg, #4632DA 0%, #00B7FC 100%);
  --shadow-card: 0 12px 40px rgba(70, 50, 218, 0.10);
  --radius: 18px;
  --content: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI",
          "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  /* 顶部蓝→青渐变条：透出给页头（与下方 .hero/.page-hero 的同向渐变无缝衔接） */
  background-image: linear-gradient(90deg, #0700DD 0%, #00E6FE 100%);
  background-repeat: no-repeat;
  background-size: 100% 94px;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  width: min(var(--content), 92%);
  margin: 0 auto;
}

/* ---------- 文字 ---------- */
.eyebrow {                       /* 版块上的青色英文小标题 */
  color: var(--cyan);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

h1 { font-size: 44px; line-height: 1.3; color: var(--ink); font-weight: 700; }
h2 { font-size: 34px; line-height: 1.35; color: var(--ink); font-weight: 700; }
h3 { font-size: 20px; color: var(--ink); font-weight: 700; }

.lead { color: var(--muted); font-size: 17px; }

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2 { margin-bottom: 8px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 13px 40px;
  border-radius: 30px;             /* 原站同款圆角 */
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {          /* 原站按钮：实心青色，悬停变紫（非渐变） */
  background: #00DAFC;
  color: #fff;
}
.btn-primary:hover { background: var(--purple); }

.btn-white {            /* 深底上的白边空心（横幅内页按钮的基础） */
  border-color: #fff;
  color: #fff;
}
.btn-white:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- 页头（位于顶部蓝→青渐变上，透明白样式） ---------- */
.site-header {
  background: transparent;
  position: relative;   /* 下拉菜单以页头为定位基准，并确保层级在首屏渐变层之上 */
  z-index: 20;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 94px;
}
.site-logo img { height: 46px; width: auto; }

.site-nav ul {
  display: flex;
  gap: 42px;
}
.site-nav a {
  font-size: 16px;
  color: #fff;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: #E6F9FF; }
.site-nav a.active {
  color: #fff;
  font-weight: 700;
  border-bottom-color: #fff;
}

.menu-toggle { display: none; }   /* 移动端见 media query */

/* ---------- 首屏（位于蓝→青渐变大区上，白色文字） ---------- */
.hero {
  background: linear-gradient(90deg, #0700DD 0%, #00E6FE 100%);
  padding: 44px 0 96px;
  /* 底部渐隐融入白色（原站同款软过渡） */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}
.hero .eyebrow { color: #fff; font-size: 18px; }
.hero h1 { color: #fff; font-size: 48px; margin: 8px 0 20px; }
.hero .lead { color: rgba(255,255,255,0.92); margin-bottom: 36px; max-width: 30em; }
.hero .btn { background: #fff; color: #0700DD; }
.hero .btn:hover { background: #E6F9FF; }
.hero-figure img { width: 100%; }

/* 内页页头（文档修复 / 清理大师，同款蓝→青渐变） */
.page-hero {
  background: linear-gradient(90deg, #0700DD 0%, #00E6FE 100%);
  padding: 46px 0 100px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
.page-hero .eyebrow { color: #fff; }
.page-hero h1 { color: #fff; font-size: 46px; margin: 8px 0 18px; }
.page-hero .lead { color: rgba(255,255,255,0.92); margin-bottom: 32px; }
.page-hero .btn { background: #fff; color: #0700DD; }
.page-hero .btn:hover { background: #E6F9FF; }
.page-hero .figure img { margin: 0 auto; max-height: 470px; }

/* 关于/政策页顶部的空装饰带（原站同款蓝区延伸） */
.page-hero-band {
  background: linear-gradient(90deg, #0700DD 0%, #00E6FE 100%);
  height: 170px;
}

/* ---------- 产品特性两栏 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}
.feature-grid h2 { margin: 4px 0 18px; }
.feature-points {
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--body);
}
.feature-points li::before {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad) border-box;
  border: 3px solid transparent;
}

/* 截图组合: 青色圆底 + 圆角阴影截图 */
.shot {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}
.shot::before {                  /* 装饰圆 */
  content: "";
  position: absolute;
  z-index: 0;
  width: 78%;
  padding-top: 78%;
  left: 11%;
  top: 11%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #C9F2FF 0%, #E3F6FF 55%, #F2FAFF 100%);
}
.shot img {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(43, 47, 68, 0.18);
}

/* 图标徽章 + 截图的叠放组合 */
.badge-shot {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  padding: 0 0 24px 56px;
}
.badge-shot .badge {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 120px;
  filter: drop-shadow(0 10px 20px rgba(70, 50, 218, 0.25));
}
.badge-shot .screen {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(43, 47, 68, 0.16);
}

/* 手机样机 + 截图 */
.phone-shot {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}
.phone-shot .phone {
  flex: 0 0 auto;
  width: 215px;
  margin-right: -72px;      /* 向右叠到截图上 */
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 16px 30px rgba(43, 47, 68, 0.22));
}
.phone-shot .screen {
  flex: 0 0 auto;
  width: 300px;
  max-width: 64%;
  margin-top: 96px;
  border-radius: 12px;
  box-shadow: 0 18px 46px rgba(43, 47, 68, 0.18);
}

/* ---------- 服务内容卡片 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 36px 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(70, 50, 218, 0.16);
}
.card img { width: 64px; margin-bottom: 20px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); }

/* ---------- 深底 CTA ---------- */
.cta {
  background: linear-gradient(115deg, #4632DA 0%, #0700DD 100%);
  color: #fff;
  padding: 96px 0;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.cta .eyebrow { color: #9FD8FF; }
.cta h2 { color: #fff; margin-bottom: 26px; }
.cta-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.cta-card {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 30px 26px;
  backdrop-filter: blur(2px);
}
.cta-card h3 { color: #fff; margin-bottom: 10px; font-size: 19px; }
.cta-card p { color: rgba(255, 255, 255, 0.85); font-size: 15px; }

/* ---------- 底部横幅（渐变底 + 顶部白色波浪 + 左文右图） ---------- */
.banner {
  position: relative;
  background: linear-gradient(130deg, #0700DD 0%, #00F2FF 89%);
  padding: 130px 0 56px;
  overflow: hidden;
}
.banner::before {                       /* 装饰纹理叠加（原站 CTA-Shapes 15%） */
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/CTA-Shapes.png") center left / cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
}
.banner .wave {                         /* 顶部波浪分隔线（与原站同一路径） */
  position: absolute;
  top: -1px;
  left: 50%;
  width: calc(230% + 1.3px);
  height: 70px;
  transform: translateX(-50%) rotateY(180deg);
  display: block;
}
.banner .wave path { fill: #fff; }
.banner-grid {
  position: relative;
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  gap: 48px;
}
.banner-title {                         /* 中文大标题（原站 40px 细体白字） */
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 8px;
}
.banner-sub {                           /* 英文小字（原站 20px 白字） */
  color: #fff;
  font-size: 20px;
}
.banner-figure img {
  width: 540px;
  max-width: 100%;
}
.banner-btn {                           /* 内页的白色实心按钮 */
  background: #fff;
  border-color: #fff;
  color: var(--purple);
  margin-top: 22px;
}
.banner-btn:hover { background: #f2f4ff; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--bg-alt);
  padding: 34px 0 30px;
  font-size: 14px;
  color: var(--muted);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 36px;
  line-height: 2;
}
.footer-row a:hover { color: var(--purple); }
.footer-beian {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.footer-beian img { width: 16px; height: 16px; }

/* ---------- 三步特性列表（文档修复/清理大师 页） ---------- */
.trait-list { max-width: 520px; }
.trait { margin-bottom: 42px; }
.trait:last-child { margin-bottom: 0; }
.trait h3 { font-size: 22px; margin: 2px 0 8px; }
.trait p { color: var(--muted); }

/* ---------- 三栏（优势/场景） ---------- */
.three-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.three-col h3 { margin-bottom: 14px; }

/* ---------- 纵向叠放截图 ---------- */
.stacked-shots img {
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(43, 47, 68, 0.16);
}
.stacked-shots img + img { margin-top: 24px; }

/* ---------- 图标清单（flex：图标与文字垂直居中，全站统一） ---------- */
.icon-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.icon-list li {
  display: flex;
  align-items: center;   /* 图标与文字行垂直居中 */
  gap: 9px;
}
.icon-list li::before {
  content: "✓";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  color: #fff;
  border-radius: 50%;
  background: var(--grad);
}

/* ---------- 操作步骤 ---------- */
.steps {
  max-width: 760px;
  margin: 0 auto;
}
.step { margin-bottom: 46px; }
.step h3 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.step img {
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(43, 47, 68, 0.14);
}

/* ---------- 常见问题（原生 details） ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}
.faq details {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 4px 24px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  font-size: 17px;
  padding: 18px 34px 18px 0;
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--purple);
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  color: var(--muted);
  padding: 0 6px 18px;
}

/* ---------- 关于页 ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-intro .figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.about-intro p { margin-bottom: 14px; }

.partner-strip {                   /* 合作伙伴: 原生滚动轮播 */
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 22px;
}
.partner-strip li {
  flex: 0 0 auto;
  scroll-snap-align: center;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 18px 26px;
  display: flex;
  align-items: center;
  height: 92px;
}
.partner-strip img { max-height: 56px; width: auto; }

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.job-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 30px 28px;
  text-align: center;
}
.job-card h3 { margin-bottom: 4px; }
.job-card .en { color: var(--muted); font-size: 14px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.contact-grid .icon-list { font-size: 17px; gap: 16px; }

/* ---------- 政策页 ---------- */
.policy-article {
  max-width: 900px;
  margin: 0 auto;
}
.policy-article h2 {
  text-align: center;
  margin-bottom: 6px;
}
.policy-article .update-date {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
}
.policy-article h3 {
  font-size: 22px;
  margin: 34px 0 12px;
}
.policy-article p {
  margin-bottom: 14px;
  text-align: justify;
}
.policy-article h4 {
  font-size: 17px;
  color: var(--ink);
  margin: 20px 0 8px;
}

/* ---------- ICP 证照页 ---------- */
.license-figure {
  max-width: 620px;
  margin: 0 auto;
}
.license-figure img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-card);
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  h1 { font-size: 36px; }
  h2 { font-size: 29px; }
  .section { padding: 72px 0; }

  .hero-grid,
  .page-hero-grid,
  .feature-grid,
  .about-intro,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-grid .feature-figure { order: -1; }

  .card-grid, .jobs-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-grid { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    display: none;
    position: absolute;
    top: 94px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(43, 47, 68, 0.10);
  }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 6vw 16px;
  }
  .site-nav ul a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    color: var(--body);
  }
  .site-nav ul a.active { color: var(--purple); border-bottom-color: var(--purple); }

  .card-grid, .jobs-grid, .cta-cards, .faq-grid { grid-template-columns: 1fr; }
  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  .hero { padding-top: 56px; }
  .banner { padding: 96px 0 36px; }
  .banner .wave { height: 46px; }
  .banner-title { font-size: 26px; }
  .banner-sub { font-size: 16px; }
  .banner-grid { grid-template-columns: 1fr; gap: 20px; }
  .banner-figure { text-align: center; }
  .banner-figure img { width: min(340px, 80%); margin: 0 auto; }
}

@media (max-width: 576px) {
  .container { width: 90%; }
  .section { padding: 56px 0; }
  .btn { padding: 12px 30px; }
  .phone-shot { transform: scale(0.92); transform-origin: top center; }
}
