/* ============================================
   ZJINNOVA — 布局参考图精确还原
   ============================================ */

/* === Design Tokens === */
:root {
  /* Colors */
  --color-white:        #ffffff;
  --color-bg-light:     #f8f9fa;
  --color-text:         #1d1d1f;
  --color-text-light:   #86868b;
  --color-text-secondary: #86868b;
  --color-accent:       #B0E212;
  --color-accent-hover: #9BC910;
  --color-dark:         #1d1d1f;

  /* Fonts */
  --font-display: "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* 渐变 Hero 背景 - 柔和粉彩色 */
  --gradient-hero-start: #FFF8E8;
  --gradient-hero-mid:   #FFE4D0;
  --gradient-hero-end:   #C8F5FF;

  /* zDrive Hero 渐变 */
  --gradient-zdrive: #E8E0FF;

  /* Spacing */
  --section-padding: clamp(80px, 12vw, 120px);
  --block-spacing: clamp(115px, 18vw, 180px);
  --element-spacing: clamp(24px, 4vw, 40px);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 54px;

  /* Radius */
  --radius-card: 24px;
  --radius-btn: 980px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "SF Pro Text", "Helvetica Neue", Helvetica, Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: opacity 0.3s ease;
  overflow-x: hidden;
}

body.lang-switching {
  opacity: 0;
}

#footer-container { margin-top: auto; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-text); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.7; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Typography === */
.section-heading {
  font-family: "SF Pro Display", sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  text-align: center;
  color: var(--color-text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--color-text-light);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn-outline-rounded {
  background: transparent;
  color: var(--color-text);
  border: 1px solid #d2d2d7;
  border-radius: var(--radius-btn);
  padding: 12px 28px;
}

.btn-outline-rounded:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

/* === Navigation — 顶部导航栏 === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(29, 29, 31, 0.85);
  backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links > li > a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links > li > a:hover,
.nav-links > li > a.nav-active {
  color: #fff;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(29, 29, 31, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu a.nav-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

.nav-dropdown-menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  cursor: pointer;
  padding: 4px 6px;
}

.lang-btn:hover,
.lang-btn.active {
  color: #fff;
}

.lang-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  border-radius: 1px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1d1d1f;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  font-family: "SF Pro Display", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s;
}

.mobile-nav.open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.open a:nth-child(1) { transition-delay: 0.08s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.13s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.18s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.23s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.28s; }
.mobile-nav.open a:nth-child(6) { transition-delay: 0.33s; }
.mobile-nav.open a:nth-child(7) { transition-delay: 0.38s; }

.mobile-lang-switcher {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mobile-lang-switcher .lang-btn {
  font-size: 18px;
  padding: 8px 12px;
}

/* === Footer — 页脚 === */
.footer {
  background: #f5f5f7;
  padding: 60px 0 24px;
  font-size: 12px;
  color: var(--color-text-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto 40px;
  padding: 0 24px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  font-size: 12px;
  color: var(--color-text-light);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.15s;
}

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px 0;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 12px;
  color: var(--color-text-light);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 12px;
  color: var(--color-text-light);
  text-decoration: none;
}

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

/* === Responsive for Nav/Footer === */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* === Hero Section === */
.section-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-main-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hero-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  pointer-events: auto;
}

.hero-content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

@media (max-width: 768px) {
  .hero-content {
    justify-content: center;
    text-align: center;
  }
  .hero-text {
    max-width: 100%;
  }
}




.hero-main-title {
  font-family: "SF Pro Display", sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 24px;
}

.hero-description {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-light);
}

.hero-description strong {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-text);
}

/* === Hero 公司胶囊 === */
.hero-company-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 980px;
  padding: 9px 24px 9px 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin-top: 32px;
}

.hero-company-pill-logo {
  height: 32px;
  width: auto;
}

.hero-company-pill-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

/* === Solution Cards — 左图右文交替 === */
.section-white {
  background: var(--color-white);
  padding: var(--section-padding) 0;
}

.section-bg-light {
  background: var(--color-bg-light);
  padding: var(--section-padding) 0;
}

.mt-xl {
  margin-top: var(--block-spacing);
}

.solution-cards-vertical {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 5vw, 50px);
  max-width: 1000px;
  margin: 0 auto;
}

.solution-card-horizontal {
  display: flex;
  align-items: center;
  gap: clamp(30px, 5vw, 50px);
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.04);
  transition: transform 0.15s, box-shadow 0.15s;
}

.solution-card-horizontal.reveal:hover,
.solution-card-horizontal:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
  transition-delay: 0s;
}

.solution-card-reverse {
  flex-direction: row-reverse;
}

.solution-card-media {
  flex: 0 0 45%;
  max-width: 420px;
}

.solution-card-media img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
}

.solution-card-body {
  flex: 1;
  padding: 24px;
}

.solution-card-main-title {
  font-family: "SF Pro Display", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
}

.solution-card-main-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

/* === Protocols Section === */
.protocols-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.protocols-main-image {
  max-width: 900px;
  width: 100%;
  height: auto;
}

/* === Partners Section === */
.partners-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.partners-main-image {
  max-width: 1000px;
  width: 100%;
  height: auto;
}

/* === CTA Section === */
.section-dark-cta {
  position: relative;
  background: linear-gradient(180deg, #1d1d1f 0%, #0a0a0a 100%);
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.cta-bg-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(176,226,18,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-container {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* === Animations === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s, transform 0.8s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === Responsive === */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .solution-card-horizontal,
  .solution-card-reverse {
    flex-direction: column;
    text-align: center;
  }

  .solution-card-media {
    max-width: 100%;
    width: 100%;
  }

  .solution-card-body {
    padding: 16px 0 0;
  }
}

@media (max-width: 768px) {
  .section-hero {
    padding-top: var(--nav-height);
    min-height: 400px;
  }

  .hero-main-title {
    font-size: 32px;
  }

  .hero-description {
    font-size: 15px;
  }

  .section-heading {
    font-size: 24px;
  }

  .solution-card-horizontal {
    padding: 20px;
  }
}

/* === 法律页面 Hero — 紧凑白色标题区 === */
.hero-compact {
  position: relative;
  background: var(--color-white);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 法律页面复用 .hero-overlay 类名,此处覆盖图片 hero 的绝对定位行为,恢复为普通块级布局 */
.hero-compact .hero-overlay {
  position: static;
  width: 100%;
  height: auto;
  display: block;
  text-align: center;
  pointer-events: auto;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}

/* === 法律页面内容区 === */
.section-alt {
  padding: var(--section-padding) 0;
}

/* === Sub-page Hero === */
.section-hero-small {
  padding: clamp(120px, 18vw, 180px) 0 clamp(60px, 10vw, 80px);
}

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

.hero-content-centered .hero-text {
  max-width: 700px;
  text-align: center;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--color-text-light);
}

/* === Feature Grid 2x2 === */
.feature-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 30px);
  max-width: 900px;
  margin: 0 auto;
}

.feature-card {
  background: var(--color-white);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 48px) 24px;
  text-align: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  transition: transform 0.4s, box-shadow 0.4s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.feature-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.feature-card-title {
  font-family: "SF Pro Display", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}

.feature-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-light);
}

/* === Video Grid === */
.video-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(30px, 4vw, 48px);
  max-width: 1200px;
  margin: 40px auto 0;
}

.video-item {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.video-item video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* === Specs Table === */
.specs-table {
  width: 100%;
  max-width: 900px;
  margin: 40px auto 0;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid #e8e8ed;
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table th {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  padding: 20px 0;
  width: 28%;
  vertical-align: top;
}

.specs-table td {
  font-size: 15px;
  color: var(--color-text-light);
  padding: 20px 0;
  vertical-align: top;
}

/* === Responsive for sub-pages === */
@media (max-width: 1024px) {
  .feature-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .feature-grid-2 {
    grid-template-columns: 1fr;
  }

  .specs-table th {
    display: block;
    width: 100%;
    padding: 10px 0 0 0;
    padding-top: 20px;
    font-size: 14px;
    color: var(--color-text-light);
    font-weight: 500;
  }

  .specs-table td {
    display: block;
    width: 100%;
    padding: 10px 0 0 0;
    padding-bottom: 20px;
    font-size: 14px;
    color: var(--color-text);
  }

  .section-hero-small {
    padding: 100px 0 60px;
  }
}


/* === Demo Split — 左视频右文字 === */
.demo-split {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 60px);
  max-width: 1000px;
  margin: 0 auto;
}

.demo-media {
  flex: 0 0 42%;
  max-width: 400px;
}

.demo-media video {
  width: 100%;
  border-radius: 20px;
  background: #000;
}

.demo-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.demo-feature-item {
  padding-left: 20px;
  border-left: 2px solid var(--color-accent);
}

.demo-feature-title {
  font-family: "SF Pro Display", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.demo-feature-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-light);
}

            /* === Core Function Strip — 多行错落排列 === */
  .core-function-strip {
    margin-top: 40px;
    padding: 20px 0;
  }

  .core-function-images-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
  }

  .core-img {
    height: 560px;
    width: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
  }

  .core-img:hover {
    transform: scale(1.05);
  }

  /* 每张图垂直偏移，营造错落感 */
  .core-img:nth-child(2) { margin-top: 80px; }
  .core-img:nth-child(3) { margin-top: -50px; }
  .core-img:nth-child(5) { margin-top: 100px; }
  .core-img:nth-child(6) { margin-top: -40px; }

  /* === Responsive for zDrive === */
  @media (max-width: 1024px) {
    .demo-split {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .demo-media {
      max-width: 100%;
    }

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

    .demo-feature-item {
      border-left: none;
      border-top: 2px solid var(--color-accent);
      padding-left: 0;
      padding-top: 16px;
    }

    .core-img {
      height: 360px;
    }

    .core-function-images-strip {
      gap: 24px;
    }

    .core-img:nth-child(2) { margin-top: 48px; }
    .core-img:nth-child(3) { margin-top: -30px; }
    .core-img:nth-child(5) { margin-top: 60px; }
    .core-img:nth-child(6) { margin-top: -24px; }
  }

  @media (max-width: 768px) {
    .core-img {
      height: 280px;
    }

    .core-function-images-strip {
      gap: 16px;
    }

    .core-img:nth-child(2) { margin-top: 28px; }
    .core-img:nth-child(3) { margin-top: -18px; }
    .core-img:nth-child(5) { margin-top: 36px; }
    .core-img:nth-child(6) { margin-top: -14px; }
  }

/* === Pricing Grid — 个人用户 === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 40px);
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card-item {
  background: var(--color-white);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 48px) 32px;
  text-align: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  transition: transform 0.4s, box-shadow 0.4s;
}

.pricing-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.pricing-card-header {
  margin-bottom: 20px;
}

.pricing-card-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 8px;
  position: relative;
  padding-left: 0;
}

.pricing-card-corner-icon {
  width: 144px;
  height: 144px;
  object-fit: contain;
  position: absolute;
  right: -30px;
  top: -50px;
}

.pricing-card-icon-svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-card-icon-svg svg {
  width: 48px;
  height: 48px;
  stroke: var(--color-accent);
}

.pricing-card-title {
  font-family: "SF Pro Display", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  text-align: left;
}

.pricing-card-subtitle {
  font-size: 15px;
  color: var(--color-text-light);
  margin: 4px 0 0;
  text-align: left;
}

.pricing-card-price {
  font-family: "SF Pro Display", sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 24px;
}

.pricing-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}

.pricing-card-features li {
  font-size: 15px;
  color: var(--color-text-light);
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.pricing-card-features li:last-child {
  border-bottom: none;
}

.btn-group-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-block {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* === Contact Page === */
.contact-content {
  max-width: 700px;
  margin: 0 auto;
}

.contact-info-item {
  background: var(--color-white);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  margin-bottom: 24px;
}

.contact-info-title {
  font-family: "SF Pro Display", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info-text {
  font-size: 18px;
  color: var(--color-text);
  line-height: 1.6;
}

/* === Contact Page QR Code Cards === */
.qrcode-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.qrcode-card {
  background: var(--color-white);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qrcode-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.qrcode-card h4 {
  font-family: "SF Pro Display", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 4px 0;
}

.qrcode-card img {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

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

.faq-item {
  background: var(--color-white);
  border-radius: 16px;
  margin-bottom: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

.faq-item summary {
  font-family: "SF Pro Display", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--color-text-light);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* === Modal — 二维码弹窗 === */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  max-width: 400px;
  margin: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 28px;
  color: #86868b;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #1d1d1f;
}

/* === Responsive for pricing and contact === */
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card-item {
    padding: 32px 24px;
  }

  .pricing-card-price {
    font-size: 32px;
  }

  .contact-info-text {
    font-size: 16px;
  }

  .qrcode-cards {
    grid-template-columns: 1fr;
  }
}
