/* ===== iwarm Shared Styles: dark green system ===== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 88px; }

:root {
  --primary: #9CC829;
  --primary-light: #B4D94D;
  --primary-dark: #7EAA16;
  --primary-bg: rgba(156, 200, 41, 0.12);
  --accent: #9CC829;
  --accent-warm: #9CC829;
  --accent-cool: #d5f27c;
  --gradient-warm: linear-gradient(135deg, #9CC829 0%, #b7da53 100%);
  --bg-white: #252525;
  --bg-cream: #252525;
  --bg-warm: #000000;
  --bg-light: #000000;
  --bg-panel: #000000;
  --bg-panel-2: #252525;
  --surface-1: #252525;
  --surface-2: #000000;
  --surface-3: #000000;
  --text-dark: #F5F5F5;
  --text-mid: rgba(245, 245, 245, 0.8);
  --text-light: rgba(245, 245, 245, 0.58);
  --border: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --radius-lg: 18px;
  --radius-sm: 8px;
  --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 18px 46px rgba(0, 0, 0, 0.22);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.28);
  --max-width: 1200px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  /* ===== Animation Tokens (Apple-aligned) ===== */
  /* 缓动曲线 */
  --ease-out: cubic-bezier(0.25, 0.1, 0.25, 1.0);
  --ease-in: cubic-bezier(0.42, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
  /* 时长 */
  --dur-enter: 0.7s;
  --dur-exit: 0.4s;
  --dur-hover: 0.22s;
  --dur-frame: 0.45s;
  /* 入场偏移 */
  --slide-up: 36px;
  --stagger-step: 100ms;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(156, 200, 41, 0.2);
}

body {
  font-family: 'Noto Sans SC', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #252525;
  color: var(--text-dark);
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition); }
ul { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease,
              backdrop-filter 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}

/* legacy: 已由 .navbar.is-scrolled 替代 */

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

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 32px; width: auto; filter: brightness(1.05); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #F5F5F5;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.nav-cta {
  padding: 9px 18px !important;
  border-radius: 999px !important;
  background: var(--primary) !important;
  color: #17120f !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 28px rgba(156, 200, 41, 0.2) !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--primary-light) !important;
}

.nav-cta::after { display: none !important; }

/* ===== Nav Search ===== */
.nav-search {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 4px;
}

.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(245,245,245,0.2);
  background: transparent;
  color: rgba(245,245,245,0.7);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  flex-shrink: 0;
}
.nav-search-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(156,200,41,0.08);
}

.nav-search-form {
  display: flex;
  align-items: center;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transition: max-width .3s ease, opacity .25s ease;
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  background: #1a1a1a;
  border: 1.5px solid rgba(156,200,41,0.35);
  border-radius: 999px;
  white-space: nowrap;
}
.nav-search-form.open {
  max-width: 260px;
  opacity: 1;
}

.nav-search-input {
  padding: 7px 12px 7px 16px;
  font-size: 13px;
  background: transparent;
  border: none;
  outline: none;
  color: #f5f5f5;
  width: 220px;
}
.nav-search-input::placeholder { color: rgba(245,245,245,0.35); }

.nav-search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #000;
  cursor: pointer;
  margin-right: 3px;
  flex-shrink: 0;
  transition: background .2s;
}
.nav-search-submit:hover { background: #7EA820; }

.mobile-toggle {
  display: none;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: #F5F5F5;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.98);
}

.mobile-nav.open { display: block; }

.mobile-close {
  position: absolute;
  top: 16px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #252525;
  border: 1px solid var(--border);
  color: #F5F5F5;
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-mid);
  font-size: 18px;
  font-weight: 500;
}

/* ===== Hero ===== */
.hero {
  min-height: 68vh;
  padding-top: 72px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 24px 80px;
}

.hero > .hero-content {
  /* 首页 hero 已无右侧产品图，移除两栏 grid，由 home.css 控制具体样式 */
}

.hero-text h1 {
  margin-bottom: 18px;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.1;
  color: #F5F5F5;
}

.hero-text h1 .highlight { color: var(--primary); }

.hero-desc {
  max-width: 540px;
  margin-bottom: 32px;
  color: var(--text-mid);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.hero-product-img {
  width: 100%;
  max-width: 520px;
  object-fit: contain;
}

/* ===== Feature strip ===== */
.feature-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: -42px auto 0;
  padding: 28px;
  max-width: var(--max-width);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #252525, #000000);
  box-shadow: var(--shadow-md);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 8px 6px;
}

.feature-item + .feature-item {
  border-left: 1px solid var(--border-light);
  padding-left: 18px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(156, 200, 41, 0.14);
}

.feature-icon svg { width: 22px; height: 22px; fill: var(--primary); }
.feature-item h4 { margin-bottom: 4px; font-size: 14px; font-weight: 700; color: #F5F5F5; }
.feature-item p { color: var(--text-light); font-size: 12px; line-height: 1.55; }

/* ===== Inner hero ===== */
.inner-hero {
  min-height: 72vh;
  padding-top: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.inner-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: center center / cover no-repeat;
  transform: scale(1.02);
}

.inner-hero .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.9)),
    radial-gradient(circle at 50% 0%, rgba(156, 200, 41, 0.18), transparent 42%);
}

.hero-container,
.inner-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 84px 24px;
  text-align: center;
}

.inner-hero .hero-label,
.section-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-label::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--primary);
}

.text-center .section-label::after,
.inner-hero .hero-label::after {
  margin-left: auto;
  margin-right: auto;
}

.inner-hero h1 {
  margin-bottom: 14px;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.16;
  color: #F5F5F5;
}

.inner-hero p {
  margin: 0 auto;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.9;
}

@keyframes shared-hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(var(--slide-up, 36px));
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.inner-hero .hero-label,
.inner-hero h1,
.inner-hero p {
  opacity: 0;
  animation: shared-hero-fade-up 0.7s var(--ease-out, ease) forwards;
}

.inner-hero .hero-label { animation-delay: 0.12s; }
.inner-hero h1 { animation-delay: 0.24s; }
.inner-hero p { animation-delay: 0.38s; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-light { background: #252525; }

.section-title {
  margin-bottom: 12px;
  color: #F5F5F5;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.24;
}

.section-desc {
  max-width: 620px;
  margin-bottom: 48px;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.85;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #17120f;
  box-shadow: 0 12px 30px rgba(156, 200, 41, 0.18);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-lg { min-height: 56px; padding: 14px 34px; font-size: 15px; }

.btn-outline-warm {
  background: transparent;
  color: #F5F5F5;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-outline-warm:hover {
  background: #252525;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: rgba(156, 200, 41, 0.44);
}

.btn-outline:hover {
  background: #252525;
  border-color: var(--primary);
}

.btn-white {
  background: #F5F5F5;
  color: #17120f;
}

.btn-secondary {
  background: transparent;
  color: #F5F5F5;
  border: 1px solid rgba(245,245,245,0.24);
}
.btn-secondary:hover {
  background: rgba(245,245,245,0.05);
  border-color: #F5F5F5;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ===== Trust ===== */
.trust-badges {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 600;
}

.trust-badge .badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #000000;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* ===== CTA banner ===== */
.cta-banner {
  padding: 72px 24px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(156, 200, 41, 0.16), transparent 38%),
    linear-gradient(135deg, #252525 0%, #000000 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.cta-banner h2 {
  margin-bottom: 12px;
  color: #F5F5F5;
  font-size: 30px;
  font-weight: 800;
}

.cta-banner p {
  max-width: 520px;
  margin: 0 auto 28px;
  color: var(--text-mid);
  font-size: 16px;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn-primary,
.cta-btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 176px;
  min-height: 52px;
  padding: 0 24px !important;
  border-radius: 999px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.cta-btn-primary {
  background: var(--primary) !important;
  color: #17120f !important;
}

.cta-btn-secondary {
  background: transparent !important;
  color: #F5F5F5 !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
}

/* ===== Footer ===== */
.site-footer {
  padding: 64px 0 28px;
  background: #000000;
  color: rgba(255, 255, 255, 0.68);
  border-top: 1px solid var(--border-light);
}

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

.footer-brand p {
  max-width: 340px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-light);
}

.footer-col h4 {
  margin-bottom: 16px;
  color: #F5F5F5;
  font-size: 14px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--text-light);
  font-size: 13px;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.footer-bottom-left,
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a,
.footer-icp a,
.footer-bottom a { color: inherit; }
.footer-links a:hover,
.footer-icp a:hover,
.footer-bottom a:hover { color: var(--primary); }

.social-icon-wrap { position: relative; display: inline-block; cursor: pointer; }
.social-text-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  font-weight: 800;
}

.social-icon-wrap .social-qr-popup {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 36px;
  margin-left: -80px;
  padding: 6px;
  background: #000000;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  z-index: 20;
}
.social-icon-img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.social-icon-wrap .social-qr-popup img {
  display: block;
  max-width: 180px;
  max-height: 220px;
  border-radius: 4px;
}

.social-icon-wrap:hover .social-qr-popup { display: block; }
.social-icon-wrap:hover svg { fill: var(--primary); }
.social-icon-wrap:hover .social-text-icon { border-color: var(--primary); color: var(--primary); }

/* ===== FAQ ===== */
.faq-item {
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, #252525, #000000);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #F5F5F5;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.faq-question:hover { background: #252525; }
.faq-question::after { content: "+"; color: var(--primary); font-size: 20px; font-weight: 300; }
.faq-item.open .faq-question::after { content: "\2212"; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.8;
}

.pd-faq { max-width: 860px; margin: 0 auto; }

.pd-faq-item {
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #252525, #000000);
}

.pd-faq-item[open] { border-color: rgba(156, 200, 41, 0.24); }

.pd-faq-q {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  cursor: pointer;
  color: #F5F5F5;
  font-size: 16px;
  font-weight: 700;
}

.pd-faq-q::-webkit-details-marker { display: none; }
.pd-faq-q svg,
.pd-faq-q .icon { color: var(--primary); flex-shrink: 0; transition: transform var(--transition); }
.pd-faq-item[open] .pd-faq-q svg,
.pd-faq-item[open] .pd-faq-q .icon { transform: rotate(180deg); }

.pd-faq-a {
  padding: 0 22px 20px;
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.85;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); margin: -30px 24px 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .section { padding: 64px 0; }
  .feature-strip { grid-template-columns: 1fr; margin: -22px 16px 0; padding: 22px; }
  .feature-item + .feature-item { padding-left: 6px; border-left: none; border-top: 1px solid var(--border-light); padding-top: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom-left, .footer-links { gap: 10px 14px; }
  .cta-btns { flex-direction: column; }
  .cta-btns a { width: min(100%, 320px); }
  .inner-hero h1, .hero-text h1 { font-size: 32px; }
}
/* =========================================
   小沃全局设计系统 (CIAOWARM Design System)
   ========================================= */

/* 1. 全局 Tokens */
:root {
  --color-black: #000000;
  --color-dark: #252525;
  --color-brand: #9CC829;
  --color-text: #F5F5F5;
  --color-text-secondary: rgba(245, 245, 245, 0.72);
  --color-text-muted: rgba(245, 245, 245, 0.48);

  --card-radius: 18px;
  --card-radius-sm: 14px;
  --card-gap: 24px;
  --card-gap-mobile: 16px;
  --card-padding: 24px;
  --card-padding-lg: 32px;
  --card-border: 1px solid rgba(245, 245, 245, 0.08);

  --section-padding-y: 96px;
  --section-padding-y-mobile: 64px;
  --container-width: 1120px;
}

/* 2. 12栏栅格系统 (Grid System) */
.section-container {
  width: min(100% - 48px, var(--container-width));
  margin-inline: auto;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--card-gap);
}
.card-rail {
  display: flex;
  flex-wrap: wrap;
  gap: var(--card-gap);
  justify-content: flex-start;
}
.card-rail.is-single-row-centered {
  justify-content: center;
}
.card-rail > * {
  flex: 0 0 auto;
}
.card-rail.cols-3 > * {
  width: calc((100% - (var(--card-gap) * 2)) / 3);
}
.card-rail.cols-4 > * {
  width: calc((100% - (var(--card-gap) * 3)) / 4);
}
/* 桌面端 */
.span-3 { grid-column: span 3; } /* 4列布局 */
.span-4 { grid-column: span 4; } /* 3列布局 */
.span-6 { grid-column: span 6; } /* 2列布局 */
.span-12 { grid-column: span 12; }/* 1列布局 */

/* 平板端 (<=1068px) */
@media (max-width: 1068px) {
  .span-md-4 { grid-column: span 4; }
  .span-md-6 { grid-column: span 6; }
  .span-md-12 { grid-column: span 12; }
  .card-rail.cols-3 > *,
  .card-rail.cols-4 > * {
    width: calc((100% - var(--card-gap)) / 2);
  }
}

/* 手机端 (<=734px) */
@media (max-width: 734px) {
  .section-container { width: min(100% - 32px, var(--container-width)); }
  .card-grid { gap: var(--card-gap-mobile); }
  .card-rail { gap: var(--card-gap-mobile); }
  .card-rail.cols-3 > *,
  .card-rail.cols-4 > * {
    width: 100%;
  }
  .span-sm-6 { grid-column: span 6; }
  .span-sm-12 { grid-column: span 12; }
}

/* 3. 统一模块标题 (Section Heading) */
.section-heading { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-kicker {
  display: inline-flex; margin-bottom: 12px; color: var(--color-brand);
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.section-heading h2 { margin: 0; color: var(--color-text); font-size: 36px; line-height: 1.2; font-weight: 700; }
.section-heading p { margin: 14px 0 0; color: var(--color-text-secondary); font-size: 16px; line-height: 1.7; }
@media (max-width: 734px) {
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading p { font-size: 14px; }
}

/* 4. 基础卡片与悬停效果 (Base Card) */
.base-card {
  background: var(--color-dark);
  border-radius: var(--card-radius);
  border: var(--card-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: opacity var(--dur-enter, 0.7s) var(--ease-out),
              transform var(--dur-enter, 0.7s) var(--ease-out),
              border-color 0.2s ease, box-shadow 0.2s ease;
}
.base-card:hover {
  transform: translateY(-2px);
  border-color: rgba(156, 200, 41, 0.55);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.36);
}

/* =========================================
   7 大标准组件类 (Standard Card Components)
   ========================================= */

/* 组件1：产品卡片 (Product Card) */
.card-product { height: 100%; text-decoration: none; }
.card-product .card-img-wrap {
  aspect-ratio: 16 / 10;
  background: #000;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-product .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.card-product:hover .card-img-wrap img { transform: scale(1.04); }
.card-product .card-body { padding: var(--card-padding); flex: 1; display: flex; flex-direction: column; }
.card-product h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px 0; color: var(--color-text); }
.card-product h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px 0; color: var(--color-text); min-height: 52px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-product .subtitle { font-size: 13px; color: var(--color-brand); margin-bottom: 12px; min-height: 42px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6; }
.card-product p { font-size: 14px; color: var(--color-text-secondary); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; min-height: 68px; }
.card-product .card-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: auto; align-content: flex-start; }
.card-product .card-tags span { font-size: 12px; padding: 4px 10px; background: rgba(255,255,255,0.06); border-radius: 4px; color: var(--color-text-secondary); }
.card-product .card-cta { margin-top: 20px; display: inline-flex; align-items: center; gap: 4px; color: var(--color-brand); font-size: 14px; font-weight: 500; text-decoration: none; }
.card-product:hover .card-cta { opacity: 0.8; }

/* 组件2：案例卡片 (Case Card) */
.card-case { height: 100%; text-decoration: none; }
.card-case .card-img-wrap { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.card-case .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.card-case:hover .card-img-wrap img { transform: scale(1.04); }
.card-case .card-badge { position: absolute; top: 16px; left: 16px; background: var(--color-brand); color: #000; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; z-index: 2; }
.card-case .card-body { padding: var(--card-padding); flex: 1; display: flex; flex-direction: column; }
.card-case h3 { font-size: 18px; font-weight: 600; line-height: 1.5; margin: 0 0 12px 0; color: var(--color-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: center; }
.card-case p { font-size: 14px; color: var(--color-text-secondary); line-height: 1.6; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-align: justify; text-align-last: left; flex: 1; }
.card-case .card-cta { margin-top: auto; align-self: center; color: var(--color-brand); font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid rgba(156,200,41,0.45); border-radius: 8px; transition: background 0.2s, color 0.2s; }
.card-case:hover .card-cta { background: var(--color-brand); color: #1a1a1a; }

/* 组件3：服务入口卡片 (Service Card) */
.card-service { padding: var(--card-padding); display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 180px; height: 100%; }
.card-service .icon-wrap { width: 64px; height: 64px; margin: 0 auto 20px; color: var(--color-brand); display: flex; align-items: center; justify-content: center; font-size: 40px; transition: transform 0.3s ease; }
.card-service:hover .icon-wrap { transform: translateY(-4px) scale(1.05); }
.card-service .icon-wrap svg { width: 40px !important; height: 40px !important; stroke-width: 1.5px; transition: all 0.3s ease; }
.card-service h3 { font-size: 18px; font-weight: 600; line-height: 1.45; margin: 0 0 10px 0; color: var(--color-text); text-align: center; text-align-last: center; width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; }
.card-service p { font-size: 14px; color: var(--color-text-secondary); margin: 0 0 16px 0; line-height: 1.7; text-align: center; text-align-last: center; width: 100%; flex: 1; }
.card-service > a, .card-service > .card-cta { margin-top: auto !important; align-self: center; display: inline-flex; align-items: center; }
.card-service ul { margin-top: 0 !important; text-align: left; width: 100%; flex: 1; }

/* 组件4：信息联系卡片 (Contact Info Card) */
.card-contact { padding: var(--card-padding); display: flex; flex-direction: column; align-items: center; text-align: center; }
.card-contact .icon-circle { width: 56px; height: 56px; border-radius: 50%; background: rgba(156, 200, 41, 0.1); color: var(--color-brand); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.card-contact .icon-circle svg { width: 24px; height: 24px; }
.card-contact h3 { font-size: 16px; color: var(--color-text-muted); font-weight: 500; margin: 0 0 8px 0; text-align: center; }
.card-contact .contact-value { font-size: 20px; font-weight: 600; color: var(--color-brand); text-decoration: none; margin-bottom: 8px; text-align: center; }
.card-contact p { font-size: 14px; color: var(--color-text-secondary); margin: 0; line-height: 1.5; text-align: justify; text-align-last: left; }

/* 组件5：数据统计卡片 (Stat Card) */
.card-stat { padding: var(--card-padding-lg); text-align: center; justify-content: center; border-radius: var(--card-radius-sm); }
.card-stat .stat-num { font-size: 40px; font-weight: 700; color: var(--color-brand); margin-bottom: 8px; font-family: 'Outfit', sans-serif; line-height: 1; }
.card-stat .stat-label { font-size: 14px; color: var(--color-text-secondary); margin: 0; font-weight: 500; }

/* 组件6：知识/文章卡片 (Article Card) */
.card-article { padding: var(--card-padding); text-decoration: none; }
.card-article .card-badge { display: inline-block; background: rgba(156, 200, 41, 0.1); color: var(--color-brand); font-size: 12px; padding: 4px 10px; border-radius: 4px; margin-bottom: 16px; }
.card-article h3 { font-size: 18px; font-weight: 600; margin: 0 0 12px 0; color: var(--color-text); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-article p { font-size: 14px; color: var(--color-text-secondary); line-height: 1.6; margin-bottom: 24px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-article .card-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--card-border); padding-top: 16px; }
.card-article .card-date { font-size: 12px; color: var(--color-text-muted); }
.card-article .card-cta { color: var(--color-brand); font-size: 13px; font-weight: 500; }

/* 组件7：人物/团队卡片 (Team Card) */
.card-team .card-img-wrap { aspect-ratio: 4 / 5; overflow: hidden; background: #000; position: relative; }
.card-team .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); transition: all 0.3s ease; }
.card-team:hover .card-img-wrap img { filter: grayscale(0%); transform: scale(1.04); }

/* 身份标签：悬浮在图片左上角内部，相对于 card-img-wrap 定位 */
.team-badge { position: absolute; top: 12px; left: 12px; z-index: 10; display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; line-height: 1.6; pointer-events: none; }
.team-badge--founder { background: var(--color-brand); color: #000; }
.team-badge--co_founder { background: rgba(156,200,41,0.18); color: var(--color-brand); border: 1px solid rgba(156,200,41,0.4); }

/* 卡片文字区 */
.card-team .card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; }

/* 姓名区 */
.card-team .team-name { font-size: 18px; font-weight: 700; color: var(--color-text); text-align: center; margin: 0 0 6px; line-height: 1.3; }

/* 职务区：绿色，居中，下方加分隔线 */
.card-team .team-role { font-size: 13px; color: var(--color-brand); text-align: center; margin: 0 0 12px; line-height: 1.5; padding-bottom: 12px; border-bottom: 1px solid rgba(245,245,245,0.08); }

/* 介绍区：多行左右对齐，尾行左对齐，不截断 */
.card-team .team-desc { font-size: 13px; color: var(--color-text-secondary); line-height: 1.7; margin: 0; text-align: justify; text-align-last: left; overflow: visible; display: block; }
/* 介绍区内的列表：左对齐，有项目符号 */
.card-team .team-desc ul,
.card-team .team-desc ol { margin: 0; padding: 0; list-style: none; text-align: left; text-align-last: left; }
.card-team .team-desc li {
  margin-bottom: 4px;
  line-height: 1.7;
  padding-left: 1.2em;   /* 文字缩进，为 · 留位置 */
  position: relative;
  text-align: justify;
  text-align-last: left;
}
.card-team .team-desc li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--color-brand);
  font-weight: 700;
  font-size: 1.1em;
  line-height: 1.7;
}
/* 介绍区内的高亮（==文字==）：绿色，无背景 */
.card-team .team-desc mark { background: transparent; color: var(--color-brand); font-weight: 600; }
/* 介绍区内的加粗 */
.card-team .team-desc strong { color: var(--color-text); font-weight: 700; }

/* 组件8：特性/优势卡片 (Feature Card) */
.card-feature { padding: var(--card-padding); display: flex; flex-direction: column; height: 100%; text-align: center; align-items: center; }
.card-feature .icon-wrap { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, rgba(156,200,41,0.15), rgba(156,200,41,0.02)); border: 1px solid rgba(156,200,41,0.2); color: var(--color-brand); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; margin: 0 auto 20px; box-shadow: inset 0 0 20px rgba(156,200,41,0.05), 0 8px 16px rgba(0,0,0,0.2); transition: all 0.3s ease; }
.card-feature:hover .icon-wrap { background: linear-gradient(135deg, rgba(156,200,41,0.25), rgba(156,200,41,0.05)); border-color: rgba(156,200,41,0.4); box-shadow: inset 0 0 20px rgba(156,200,41,0.1), 0 12px 24px rgba(156,200,41,0.15); }
.card-feature .icon-wrap svg { width: 28px !important; height: 28px !important; stroke-width: 1.5px; filter: drop-shadow(0 0 8px rgba(156,200,41,0.6)); }
.card-feature h3 { font-size: 18px; font-weight: 700; line-height: 1.45; margin: 0 0 12px; color: var(--color-text); text-align: center; text-align-last: center; width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; }
.card-feature p { font-size: 14px; color: var(--color-text-secondary); line-height: 1.7; margin: 0; text-align: justify; text-align-last: left; width: 100%; flex: 1; }

/* 组件9：步骤卡片 (Step Card) */
.card-step { padding: var(--card-padding); text-align: center; justify-content: flex-start; }
.card-step .step-num { width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%; background: var(--color-brand); color: #000; font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 16px rgba(156,200,41,0.2); }
.card-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--color-text); }
.card-step p { font-size: 14px; color: var(--color-text-secondary); line-height: 1.6; margin: 0; }

/* 组件10：表格卡片 (Table Card) */
.card-table { background: var(--color-dark); border: var(--card-border); border-radius: var(--card-radius); overflow-x: auto; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.card-table table { width: 100%; border-collapse: collapse; text-align: left; min-width: 600px; }
.card-table th { background: #000; padding: 16px 24px; font-size: 14px; font-weight: 700; color: var(--color-text); border-bottom: 1px solid var(--card-border); border-right: 1px solid var(--card-border); }
.card-table td { padding: 16px 24px; font-size: 14px; color: var(--color-text-secondary); border-bottom: 1px solid var(--card-border); border-right: 1px solid var(--card-border); line-height: 1.6; }
.card-table tr:last-child td { border-bottom: none; }
.card-table th:last-child, .card-table td:last-child { border-right: none; }
.card-table tbody tr:hover { background: rgba(255,255,255,0.02); }

/* 组件11：手风琴/FAQ卡片 (Accordion Card) */
.card-accordion { background: var(--color-dark); border: var(--card-border); border-radius: var(--card-radius-sm); margin-bottom: 12px; overflow: hidden; transition: border-color 0.3s; }
.card-accordion[open] { border-color: rgba(156,200,41,0.3); }
.card-accordion summary { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; font-size: 16px; font-weight: 600; color: var(--color-text); cursor: pointer; list-style: none; }
.card-accordion summary::-webkit-details-marker { display: none; }
.card-accordion summary .icon { color: var(--color-brand); font-size: 20px; transition: transform 0.3s; }
.card-accordion[open] summary .icon { transform: rotate(45deg); }
.card-accordion .accordion-content { padding: 0 24px 20px; font-size: 14px; color: var(--color-text-secondary); line-height: 1.7; }

/* =========================================
   Animation System (Apple-aligned)
   ========================================= */

/* 1. Unified Reveal — 通用入场淡入上移 */
.reveal {
  opacity: 0;
  transform: translateY(var(--slide-up, 36px));
  transition: opacity var(--dur-enter, 0.7s) var(--ease-out),
              transform var(--dur-enter, 0.7s) var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 2. 级联子元素：每个子元素依次延迟入场 */
.reveal-stagger > .reveal:nth-child(1)  { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2)  { transition-delay: var(--stagger-step, 100ms); }
.reveal-stagger > .reveal:nth-child(3)  { transition-delay: calc(var(--stagger-step, 100ms) * 2); }
.reveal-stagger > .reveal:nth-child(4)  { transition-delay: calc(var(--stagger-step, 100ms) * 3); }
.reveal-stagger > .reveal:nth-child(5)  { transition-delay: calc(var(--stagger-step, 100ms) * 4); }
.reveal-stagger > .reveal:nth-child(6)  { transition-delay: calc(var(--stagger-step, 100ms) * 5); }
.reveal-stagger > .reveal:nth-child(7)  { transition-delay: calc(var(--stagger-step, 100ms) * 6); }
.reveal-stagger > .reveal:nth-child(8)  { transition-delay: calc(var(--stagger-step, 100ms) * 7); }
.reveal-stagger > .reveal:nth-child(9)  { transition-delay: calc(var(--stagger-step, 100ms) * 8); }
.reveal-stagger > .reveal:nth-child(10) { transition-delay: calc(var(--stagger-step, 100ms) * 9); }
.reveal-stagger > .reveal:nth-child(11) { transition-delay: calc(var(--stagger-step, 100ms) * 10); }
.reveal-stagger > .reveal:nth-child(12) { transition-delay: calc(var(--stagger-step, 100ms) * 11); }

/* 3. 导航栏滚动渐变状态 (覆盖上方 .navbar 默认值) */
.navbar.is-scrolled {
  background: rgba(0, 0, 0, 0.82) !important;
  backdrop-filter: blur(18px) saturate(1.2) !important;
  border-bottom-color: var(--border-light) !important;
  box-shadow: var(--shadow-sm);
}

/* 4. Fixed Scroll Pinning (Sticky Scene) */
.sticky-scene { position: relative; }
.sticky-scene__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.sticky-scene__frame {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity var(--dur-frame, 0.45s) var(--ease-in-out);
}
.sticky-scene__frame.is-active { opacity: 1; }

/* 5. Light Sweep — 光影扫过 */
.light-sweep { position: relative; overflow: hidden; }
.light-sweep::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(255, 255, 255, 0.08) 55%,
    transparent 70%
  );
  transform: translateX(var(--sweep-x, -100%));
  pointer-events: none;
  will-change: transform;
}

/* 6. prefers-reduced-motion — 全局降级 */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal-stagger > .reveal { transition-delay: 0 !important; }
  .sticky-scene__frame { opacity: 1 !important; position: relative !important; }
  .sticky-scene__pin { position: relative !important; height: auto !important; }
  .light-sweep::after { display: none !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 7. 移动端高级动画降级 */
@media (max-width: 768px) {
  .sticky-scene__pin { position: relative !important; height: auto !important; min-height: auto !important; }
  .sticky-scene__frame { position: relative !important; opacity: 1 !important; }
  .sticky-scene { height: auto !important; }
}
