/* ==========================================================================
   FWPT.CN · Apple 官方极简轻奢视觉规范系统 (Apple Design System)
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --apple-bg: #fbfbfd;
  --apple-white: #ffffff;
  --apple-card-bg: #ffffff;
  --apple-text-dark: #1d1d1f;
  --apple-text-secondary: #6e6e73;
  --apple-text-tertiary: #86868b;
  --apple-blue: #0071e3;
  --apple-blue-hover: #0077ed;
  --apple-blue-soft: #f5f5f7;
  --apple-border: rgba(0, 0, 0, 0.08);
  --apple-border-light: rgba(0, 0, 0, 0.04);
  --apple-radius-pill: 980px;
  --apple-radius-card: 22px;
  --apple-radius-sm: 12px;
}

body {
  background-color: var(--apple-bg);
  color: var(--apple-text-dark);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

/* ==========================================================================
   Apple 全局顶栏 (Global Nav - 44px)
   ========================================================================== */
.apple-global-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--apple-border);
  z-index: 9999;
  display: flex;
  align-items: center;
}
.nav-container {
  max-width: 1024px;
  margin: 0 auto;
  width: 100%;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-apple-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--apple-text-dark);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.5px;
}
.nav-logo-badge {
  background: var(--apple-text-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}
.nav-menu-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-menu-item a {
  text-decoration: none;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.8);
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
}
.nav-menu-item a:hover,
.nav-menu-item a.active {
  color: var(--apple-blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-search-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  padding: 4px;
}
.nav-search-btn:hover { color: var(--apple-blue); }

/* ==========================================================================
   Apple 产品副导航条 (Product Subnav - iPad Pro style)
   ========================================================================== */
.product-sticky-subnav {
  position: sticky;
  top: 44px;
  left: 0;
  right: 0;
  height: 52px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--apple-border);
  z-index: 999;
  display: flex;
  align-items: center;
}
.subnav-container {
  max-width: 1024px;
  margin: 0 auto;
  width: 100%;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.subnav-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--apple-text-dark);
  letter-spacing: -0.02em;
}
.subnav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.subnav-links a {
  text-decoration: none;
  font-size: 12px;
  color: var(--apple-text-secondary);
  transition: color 0.2s;
}
.subnav-links a:hover { color: var(--apple-text-dark); }
.btn-subnav-cta {
  background: var(--apple-blue);
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--apple-radius-pill);
  transition: background 0.2s, transform 0.2s;
}
.btn-subnav-cta:hover {
  background: var(--apple-blue-hover);
  transform: scale(1.02);
}

/* ==========================================================================
   Apple 巨幅广告屏 (Full-bleed Billboard Hero)
   ========================================================================== */
.apple-billboard-hero {
  padding-top: 100px;
  padding-bottom: 70px;
  text-align: center;
  background: #ffffff;
  border-bottom: 12px solid var(--apple-bg);
  position: relative;
  overflow: hidden;
}
.apple-billboard-hero.dark-hero {
  background: #000000;
  color: #f5f5f7;
}

.hero-super-tag {
  font-size: 13px;
  font-weight: 600;
  color: #b33900;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.hero-super-tag.blue-tag { color: var(--apple-blue); }

.hero-headline {
  font-size: 56px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--apple-text-dark);
  margin-bottom: 12px;
}
.dark-hero .hero-headline { color: #f5f5f7; }

.hero-subhead {
  font-size: 24px;
  line-height: 1.33;
  color: var(--apple-text-secondary);
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 720px;
  margin: 0 auto 24px auto;
}
.dark-hero .hero-subhead { color: #a1a1a6; }

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}
.btn-apple-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--apple-blue);
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--apple-radius-pill);
  transition: all 0.2s ease;
}
.btn-apple-primary:hover {
  background: var(--apple-blue-hover);
  transform: translateY(-1px);
}
.btn-apple-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--apple-blue);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.2s;
}
.btn-apple-secondary:hover { text-decoration: underline; }

/* 拟态大屏画幅 (Billboard Media Canvas) */
.billboard-media-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}
.billboard-device-frame {
  background: #ffffff;
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius-card);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
}
.dark-hero .billboard-device-frame {
  background: #161617;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.device-top-bar {
  background: #f5f5f7;
  border-bottom: 1px solid var(--apple-border);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dark-hero .device-top-bar {
  background: #242426;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.device-traffic-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.device-url-pill {
  font-size: 12px;
  font-family: monospace;
  color: var(--apple-text-secondary);
  background: #ffffff;
  padding: 3px 18px;
  border-radius: var(--apple-radius-pill);
  border: 1px solid var(--apple-border);
}
.dark-hero .device-url-pill {
  background: #161617;
  color: #86868b;
  border-color: rgba(255, 255, 255, 0.1);
}

.device-body { padding: 32px 28px; }

/* ==========================================================================
   Apple 2x2 营销推广网格 (Apple Promo Grid - apple.com 下方模块)
   ========================================================================== */
.apple-promo-grid-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 12px 30px 12px;
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.promo-card {
  background: #ffffff;
  border-radius: var(--apple-radius-card);
  padding: 50px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--apple-border-light);
  min-height: 480px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.promo-card:hover {
  transform: scale(1.008);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.promo-card.dark-card {
  background: #000000;
  color: #f5f5f7;
}

.promo-title {
  font-size: 38px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--apple-text-dark);
  margin-bottom: 8px;
}
.dark-card .promo-title { color: #f5f5f7; }

.promo-subhead {
  font-size: 19px;
  color: var(--apple-text-secondary);
  margin-bottom: 16px;
  max-width: 440px;
}
.dark-card .promo-subhead { color: #a1a1a6; }

.promo-links-row {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.promo-media-canvas {
  margin-top: auto;
  width: 100%;
}

/* ==========================================================================
   产品专页特色模块 (iPad Pro style Deep-Dive)
   ========================================================================== */
.deep-dive-section {
  max-width: 1024px;
  margin: 0 auto;
  padding: 100px 24px 60px 24px;
}
.section-headline-xl {
  font-size: 48px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--apple-text-dark);
  margin-bottom: 18px;
  text-align: center;
}
.section-subhead-lg {
  font-size: 21px;
  color: var(--apple-text-secondary);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px auto;
}

/* Bento 特性阵列 */
.apple-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}
.bento-card {
  background: #ffffff;
  border-radius: var(--apple-radius-card);
  padding: 36px 28px;
  border: 1px solid var(--apple-border-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}
.bento-card.span-2 { grid-column: span 2; }
.bento-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--apple-blue);
  margin-bottom: 12px;
}
.bento-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--apple-text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.bento-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--apple-text-secondary);
  margin-bottom: 20px;
  flex: 1;
}
.bento-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--apple-text-dark);
  letter-spacing: -0.02em;
}
.bento-stat-num small { font-size: 16px; color: var(--apple-blue); margin-left: 4px; }
.bento-stat-label { font-size: 12px; color: var(--apple-text-tertiary); }

/* 斑马专页核心条形码视觉 */
.zebra-barcode-hero-box {
  background: #ffffff;
  border: 2px dashed #e2e8f0;
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}
.laser-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #ff3b30;
  box-shadow: 0 0 12px #ff3b30;
  animation: scanLaser 2s ease-in-out infinite;
}
.barcode-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 70px;
  margin-bottom: 10px;
}
.b-bar { background: #000; height: 100%; display: inline-block; }
.b-bar.w-1 { width: 2px; }
.b-bar.w-2 { width: 4px; }
.b-bar.w-3 { width: 6px; }
.b-bar.w-4 { width: 9px; }
.barcode-num-text {
  font-family: monospace;
  font-weight: 700;
  letter-spacing: 6px;
  font-size: 16px;
  color: #1d1d1f;
}

/* 规格参数对比表 (Tech Specs Table) */
.specs-table-wrap {
  background: #ffffff;
  border-radius: var(--apple-radius-card);
  padding: 40px;
  border: 1px solid var(--apple-border-light);
  margin-bottom: 80px;
}
.specs-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 18px 0;
  border-bottom: 1px solid var(--apple-border-light);
  font-size: 14px;
}
.specs-row:last-child { border-bottom: none; }
.specs-label { font-weight: 600; color: var(--apple-text-dark); }
.specs-value { color: var(--apple-text-secondary); line-height: 1.6; }

/* ==========================================================================
   Apple 官网纯净页脚 (Apple Footer)
   ========================================================================== */
.apple-global-footer {
  background: #f5f5f7;
  color: var(--apple-text-tertiary);
  font-size: 12px;
  line-height: 1.33;
  padding: 34px 0 24px 0;
  border-top: 1px solid var(--apple-border);
}
.footer-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 22px;
}
.footer-note-section {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--apple-border);
  margin-bottom: 24px;
}
.footer-note-section p { margin-bottom: 8px; }

.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.footer-col-title {
  font-weight: 600;
  color: var(--apple-text-dark);
  margin-bottom: 10px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: var(--apple-text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover {
  color: var(--apple-text-dark);
  text-decoration: underline;
}

.footer-legal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--apple-border);
  color: var(--apple-text-tertiary);
}
.footer-legal-links {
  display: flex;
  gap: 14px;
}
.footer-legal-links a {
  color: var(--apple-text-secondary);
  text-decoration: none;
}
.footer-legal-links a:hover { text-decoration: underline; }

/* 动效 */
@keyframes scanLaser {
  0% { top: 0; opacity: 0.8; }
  50% { top: 96%; opacity: 1; }
  100% { top: 0; opacity: 0.8; }
}

/* 响应式 */
@media (max-width: 834px) {
  .hero-headline { font-size: 42px; }
  .hero-subhead { font-size: 20px; }
  .promo-grid { grid-template-columns: 1fr; }
  .apple-bento-grid { grid-template-columns: 1fr; }
  .bento-card.span-2 { grid-column: span 1; }
  .footer-nav-cols { grid-template-columns: repeat(2, 1fr); }
  .nav-menu-list { display: none; }
}
