/* ===================================================================
   狗急加速器：苹果客户端下载 - 专属样式表
   Design System & Layout Skeleton inspired by Apple Minimalist Design
   Palette: Apple System Blue + Clean Apple Mist + Slate Dark
   =================================================================== */

:root {
  --apple-blue: #0071e3;
  --apple-blue-hover: #0077ed;
  --apple-blue-glow: rgba(0, 113, 227, 0.3);
  --accent-gold: #f59e0b;
  --bg-page: #f5f5f7;
  --bg-white: #ffffff;
  --text-dark: #1d1d1f;
  --text-body: #515154;
  --text-muted: #86868b;
  --border-light: #d2d2d7;
  --border-card: #e5e5ea;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 36px rgba(0, 113, 227, 0.1);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1140px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: var(--apple-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--apple-blue-hover);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================================================
   Header & Navigation
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0071e3 0%, #0056b3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 113, 227, 0.35);
}

.logo-icon svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.logo-text span {
  color: var(--apple-blue);
  font-weight: 800;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--apple-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: var(--apple-blue);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

.btn-header-cta:hover {
  background: var(--apple-blue-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

/* ===================================================================
   Hero 聚焦首屏 (Apple 风格极简居中 + 拟真机视窗)
   =================================================================== */
.hero-apple-section {
  padding: 65px 0 55px;
  text-align: center;
  background: radial-gradient(circle at 50% 10%, #e8f2fe 0%, #ffffff 80%);
  border-bottom: 1px solid var(--border-light);
}

.apple-badge-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--apple-blue);
  background: #e1effe;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-h1-title {
  font-size: 46px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-h1-title span {
  color: var(--apple-blue);
}

.hero-p-desc {
  font-size: 17px;
  color: var(--text-body);
  max-width: 780px;
  margin: 0 auto 34px;
  line-height: 1.7;
}

.hero-cta-duo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn-apple-pill-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--apple-blue);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 38px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px var(--apple-blue-glow);
  transition: var(--transition);
}

.btn-apple-pill-dl:hover {
  background: var(--apple-blue-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.45);
}

.btn-ghost-guide {
  font-size: 15px;
  font-weight: 600;
  color: var(--apple-blue);
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-ghost-guide:hover {
  text-decoration: underline;
}

.hero-sub-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 45px;
}

/* 3 项核心参数条 */
.hero-3stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.stat-metric-col strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--apple-blue);
  margin-bottom: 2px;
}

.stat-metric-col span {
  font-size: 13px;
  color: var(--text-muted);
}

/* iPhone 16 Pro 拟真机展示卡片 */
.hero-phone-mockup-frame {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

.phone-mockup-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.phone-mockup-info p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.phone-status-pill-box {
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 13px;
  color: #1e40af;
  flex-shrink: 0;
}

/* ===================================================================
   针对 Apple iOS 系统的 4 大专属技术优化
   =================================================================== */
.optimizations-section {
  padding: 85px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.section-head-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-h2-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-desc-sub {
  font-size: 16px;
  color: var(--text-muted);
}

.opt-4grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.opt-card-item {
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: var(--transition);
}

.opt-card-item:hover {
  background: #ffffff;
  border-color: var(--apple-blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.opt-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e1effe;
  color: var(--apple-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.opt-card-h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.opt-card-p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.65;
}

/* ===================================================================
   苹果端三步极速安装向导 (3-Step Onboarding)
   =================================================================== */
.onboarding-3steps-section {
  padding: 85px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.steps-3grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.step-flow-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: var(--transition);
}

.step-flow-card:hover {
  border-color: var(--apple-blue);
  box-shadow: var(--shadow-sm);
}

.step-num-big {
  font-size: 18px;
  font-weight: 800;
  color: var(--apple-blue);
  margin-bottom: 12px;
}

.step-flow-h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-flow-p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ===================================================================
   常见问题解答 FAQ
   =================================================================== */
.faq-section {
  padding: 85px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.faq-list-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card-box {
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-q-btn {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-q-btn:hover {
  color: var(--apple-blue);
}

.faq-a-body {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ===================================================================
   官方正版防伪声明与安全承诺
   =================================================================== */
.security-notice-section {
  padding: 70px 0;
  background: var(--bg-page);
}

.security-notice-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 30px 36px;
}

.sec-title {
  font-size: 18px;
  font-weight: 800;
  color: #1e40af;
  margin-bottom: 10px;
}

.sec-p {
  font-size: 14px;
  color: #1e3a8a;
  line-height: 1.7;
}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
  background: #1d1d1f;
  color: #86868b;
  padding: 70px 0 35px;
  font-size: 13px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 45px;
}

.footer-col-about p {
  font-size: 13px;
  color: #86868b;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 300px;
}

.footer-col-nav h4 {
  font-size: 14px;
  font-weight: 700;
  color: #f5f5f7;
  margin-bottom: 16px;
}

.footer-col-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-nav a {
  color: #86868b;
}

.footer-col-nav a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===================================================================
   Floating Right Tool Bar
   =================================================================== */
.floating-side-bar {
  position: fixed;
  right: 24px;
  bottom: 80px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
  padding: 8px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-card);
}

.float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: transparent;
  transition: var(--transition);
}

.float-btn:hover {
  background: #e1effe;
  color: var(--apple-blue);
}

.float-btn.active-dl {
  background: var(--apple-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.35);
}

/* Responsive */
@media (max-width: 1024px) {
  .opt-4grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-3grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-h1-title {
    font-size: 32px;
  }
  .opt-4grid {
    grid-template-columns: 1fr;
  }
  .hero-phone-mockup-frame {
    flex-direction: column;
    text-align: center;
  }
  .nav-menu {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .floating-side-bar {
    right: 12px;
    bottom: 30px;
  }
}
