/* ==========================================================================
   快连VPN 落地页样式
   设计参数速查：
   主色 #2563eb / 深主色 #1d4ed8 / 浅主色 #3b82f6 / 点缀 #06b6d4
   深色背景 #0b1b3a → #123a8c；正文 #1f2937；次要 #4b5563；弱化 #6b7280
   背景 #ffffff；浅灰底 #f5f8ff；描边 #e5e7eb
   圆角 14px（文章卡 16px）；字体 PingFang SC / Microsoft YaHei
   ========================================================================== */

/* ---------- Reset & 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* 锚点跳转防止标题被导航栏盖住 */
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1f2937;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: #2563eb; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 14px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37, 99, 235, .35); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-light { background: #ffffff; color: #1d4ed8; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-lg { padding: 14px 32px; font-size: 16px; }

.section { padding: 80px 0; }
.section-alt { background: #f5f8ff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-title { font-size: 32px; font-weight: 700; color: #1f2937; line-height: 1.3; }
.section-desc { margin-top: 12px; color: #6b7280; font-size: 16px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(16, 24, 40, .10); border-color: #d7dbe3; }

/* ---------- 01 头部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 68px;
  background: transparent;
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 12px rgba(16, 24, 40, .08);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; height: 68px; gap: 28px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 36px; height: 36px; border-radius: 8px; }
.brand-name { font-size: 19px; font-weight: 700; color: #fff; transition: color .25s ease; }
.site-header.scrolled .brand-name { color: #1f2937; }

.site-nav { display: flex; gap: 6px; margin-left: auto; }
.nav-link {
  padding: 8px 14px;
  border-radius: 10px;
  color: rgba(255, 255, 255, .85);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s ease, background .2s ease;
}
.site-header.scrolled .nav-link { color: #4b5563; }
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.site-header.scrolled .nav-link:hover { color: #2563eb; background: rgba(37, 99, 235, .08); }
.nav-link.active { color: #fff; }
.site-header.scrolled .nav-link.active { color: #2563eb; font-weight: 600; }

.btn-header-cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.site-header.scrolled .nav-toggle span { background: #1f2937; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 02 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1b3a 0%, #123a8c 100%);
  color: #fff;
  padding: 148px 0 96px;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero-glow-1 { width: 520px; height: 520px; right: -140px; top: -160px; background: rgba(37, 99, 235, .35); }
.hero-glow-2 { width: 420px; height: 420px; left: -160px; bottom: -180px; background: rgba(6, 182, 212, .22); }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  font-size: 13.5px;
  color: #bfdbfe;
  background: rgba(255, 255, 255, .06);
}
.hero-badge i { color: #06b6d4; }

.hero-title {
  margin-top: 20px;
  font-size: 46px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .5px;
}
.hero-sub { margin-top: 18px; font-size: 17px; color: rgba(255, 255, 255, .82); max-width: 540px; }

.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.hero-platforms { display: flex; gap: 22px; margin-top: 30px; }
.hero-platforms li { font-size: 24px; color: rgba(255, 255, 255, .75); transition: color .2s ease, transform .2s ease; }
.hero-platforms li:hover { color: #fff; transform: translateY(-2px); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 40px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  justify-content: start;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 30px; font-weight: 700; color: #60a5fa; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 13px; color: rgba(255, 255, 255, .65); margin-top: 2px; }

.hero-visual {
  position: relative;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 450px;
}

/* 设备展示容器 */
.device-showcase {
  position: relative;
  width: 100%;
  max-width: 650px;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 6s ease-in-out infinite;
}

/* 通用点样式 */
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

/* 国旗图标样式 - 用 CSS 绘制 */
.flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  display: inline-block;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.flag-au { background: linear-gradient(180deg, #00008B 50%, #fff 50%); }
.flag-au::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 6px;
  height: 4px;
  background: #fff;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.flag-ae { background: linear-gradient(180deg, #00732f 33%, #fff 33%, #fff 66%, #000 66%); }
.flag-ae::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: #f00;
}

.flag-ar { background: linear-gradient(180deg, #74ACDF 33%, #fff 33%, #fff 66%, #74ACDF 66%); }
.flag-ar::after {
  content: '☀';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 6px;
  color: #F6B40E;
}

.flag-de { background: linear-gradient(180deg, #000 33%, #DD0000 33%, #DD0000 66%, #FFCE00 66%); }

.flag-hk { background: #fff; border: 1px solid #eee; }
.flag-hk::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #f00 30%, transparent 30%),
              radial-gradient(circle at 5px 0, #f00 20%, transparent 20%),
              radial-gradient(circle at 0 5px, #f00 20%, transparent 20%),
              radial-gradient(circle at 10px 5px, #f00 20%, transparent 20%),
              radial-gradient(circle at 5px 10px, #f00 20%, transparent 20%);
  background-size: 10px 10px;
}

.flag-br { background: #009c3b; }
.flag-br::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 8px;
  background: #ffdf00;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.flag-br::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: #002776;
  border-radius: 50%;
}

/* ========== 笔记本电脑（背景） ========== */
.device.laptop {
  position: relative;
  width: 480px;
  height: 320px;
  z-index: 1;
}

.laptop-frame {
  background: linear-gradient(145deg, #e8e8ed 0%, #d1d1d6 100%);
  border-radius: 16px 16px 0 0;
  padding: 16px 16px 12px;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, .25),
    0 0 0 1px rgba(255, 255, 255, .3),
    inset 0 1px 0 rgba(255, 255, 255, .5);
}

.laptop-screen {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  height: 260px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .08);
}

.laptop-base {
  background: linear-gradient(180deg, #c7c7cc 0%, #a8a8ad 100%);
  height: 20px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
  position: relative;
  margin-top: -2px;
}

.laptop-base::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  background: rgba(0, 0, 0, .1);
  border-radius: 3px;
}

/* 浏览器窗口 */
.browser-window {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.browser-bar {
  background: #f5f5f7;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e5e5e7;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-url {
  flex: 1;
  background: #fff;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.browser-url i {
  color: #10b981;
  font-size: 10px;
}

.browser-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 16px;
}

.google-logo {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -2px;
}
.g-blue { color: #4285f4; }
.g-red { color: #ea4335; }
.g-yellow { color: #fbbc05; }
.g-green { color: #34a853; }

.google-search {
  width: 80%;
  max-width: 280px;
  padding: 10px 16px;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
}

/* ========== 手机（前景左侧） ========== */
.device.phone {
  position: absolute;
  left: -30px;
  bottom: -40px;
  width: 160px;
  height: 340px;
  z-index: 3;
}

.phone-frame {
  background: linear-gradient(145deg, #f5f5f7 0%, #e5e5ea 100%);
  border-radius: 28px;
  padding: 10px;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, .3),
    0 0 0 1px rgba(255, 255, 255, .4),
    inset 0 1px 0 rgba(255, 255, 255, .6);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px 8px;
}

.notch-time {
  font-size: 10px;
  font-weight: 600;
  color: #333;
}

.notch-icons {
  display: flex;
  gap: 4px;
  font-size: 9px;
  color: #333;
}

.phone-screen-content {
  flex: 1;
  background: linear-gradient(180deg, #fff 0%, #f8f9ff 100%);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app-header-bar {
  background: linear-gradient(90deg, #e91e8c 0%, #00bcd4 100%);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.app-header-bar i {
  font-size: 12px;
}

.app-network {
  padding: 8px 10px 4px;
  font-size: 10px;
  color: #666;
}

.vpn-connect-circle {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 12px;
}

.pulse-ring {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 188, 212, .25);
  animation: pulseRing 2s ease-out infinite;
}

.pulse-ring.ring-2 {
  animation-delay: 0.6s;
}

.pulse-ring.ring-3 {
  animation-delay: 1.2s;
}

.rocket-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  box-shadow: 0 6px 20px rgba(0, 188, 212, .4);
  position: relative;
  z-index: 2;
  animation: rocketPulse 2s ease-in-out infinite;
}

.connect-text {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  position: relative;
  z-index: 2;
}

.phone-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  border-radius: 0 0 16px 16px;
}

.member-info {
  font-size: 8px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 3px;
}

.member-info i {
  color: #fbbf24;
  font-size: 9px;
}

.member-info .days {
  color: #2563eb;
  font-weight: 600;
}

.renew-btn {
  background: #2563eb;
  color: #fff;
  font-size: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
}

/* ========== 弹出窗口（右侧） ========== */
.device.popup-window {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  z-index: 2;
  animation: popupFloat 4s ease-in-out infinite;
}

.popup-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, .2),
    0 0 0 1px rgba(0, 0, 0, .05);
  overflow: hidden;
  display: flex;
}

.popup-header {
  padding: 8px 10px;
  background: #f5f5f7;
  border-bottom: 1px solid #e5e5e7;
}

.popup-dots {
  display: flex;
  gap: 5px;
}

.popup-body {
  flex: 1;
  padding: 12px;
}

.popup-vpn-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.popup-rocket {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-ring-sm {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(233, 30, 140, .2);
  animation: pulseRingSm 2s ease-out infinite;
}

.popup-rocket i {
  font-size: 18px;
  color: #e91e8c;
  position: relative;
  z-index: 2;
}

.popup-status-text {
  flex: 1;
}

.status-title {
  font-size: 11px;
  font-weight: 600;
  color: #333;
}

.status-network {
  font-size: 9px;
  color: #666;
  margin-top: 2px;
}

.popup-btn {
  background: #e91e8c;
  color: #fff;
  text-align: center;
  padding: 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
  cursor: pointer;
}

.popup-server-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 120px;
  overflow-y: auto;
}

.popup-server {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 10px;
}

.popup-server .flag {
  font-size: 12px;
}

.popup-server .name {
  flex: 1;
  color: #333;
}

.popup-server .radio {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
}

.popup-server .radio.checked {
  background: #e91e8c;
  border-color: #e91e8c;
}

/* 弹出窗口侧边栏 */
.popup-sidebar {
  width: 100px;
  background: #f8f9fa;
  border-left: 1px solid #e5e5e7;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e5e7;
}

.logo-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e91e8c 0%, #f48fb1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
}

.logo-text .brand {
  font-size: 9px;
  font-weight: 600;
  color: #333;
}

.logo-text .version {
  font-size: 7px;
  color: #999;
}

.sidebar-menu {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-item {
  font-size: 8px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu-item i {
  font-size: 9px;
  color: #999;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #e5e5e7;
}

.member-badge {
  font-size: 7px;
  padding: 3px 6px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #666;
  text-align: center;
  margin-bottom: 4px;
}

.trial-btn {
  font-size: 7px;
  padding: 3px 6px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #666;
  text-align: center;
  margin-bottom: 6px;
}

.version-info {
  font-size: 6px;
  color: #999;
  text-align: center;
}

/* ========== 动画 ========== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes popupFloat {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 8px)); }
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: .6;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes pulseRingSm {
  0% {
    transform: scale(1);
    opacity: .5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes rocketPulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(0, 188, 212, .4);
  }
  50% { 
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(0, 188, 212, .6);
  }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.9; }
}

/* ---------- 03 核心功能 ---------- */
.feature-card .card-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(37, 99, 235, .1);
  color: #2563eb;
  font-size: 22px;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 19px; margin-bottom: 8px; }
.feature-card p { color: #4b5563; font-size: 15px; }

/* ---------- 04 产品优势 ---------- */
.adv-item { padding: 24px; }
.adv-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #fff;
  font-size: 19px;
  margin-bottom: 14px;
}
.adv-item h3 { font-size: 17.5px; margin-bottom: 6px; }
.adv-item p { color: #4b5563; font-size: 14.5px; }

/* ---------- 05 下载引导 ---------- */
.dl-card { display: flex; flex-direction: column; align-items: center; text-align: center; color: #1f2937; cursor: pointer; }
.dl-icon { font-size: 40px; color: #2563eb; margin-bottom: 12px; }
.dl-card h3 { font-size: 19px; }
.dl-meta { color: #6b7280; font-size: 13.5px; margin: 6px 0 18px; }
.dl-btn { width: 100%; justify-content: center; }
.dl-note { margin-top: 32px; text-align: center; color: #6b7280; font-size: 14px; }
.dl-note i { color: #06b6d4; margin-right: 6px; }

/* ---------- 06 常见问题 ---------- */
.faq-container { max-width: 860px; }

.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.acc-item.open { border-color: #2563eb; box-shadow: 0 2px 8px rgba(37, 99, 235, .08); }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  font-size: 16.5px;
  font-weight: 600;
  color: #1f2937;
  text-align: left;
  cursor: pointer;
  min-height: 44px;
}
.acc-trigger i { color: #2563eb; transition: transform .25s ease; flex-shrink: 0; }
.acc-item.open .acc-trigger i { transform: rotate(180deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-panel p { padding: 0 22px 20px; color: #4b5563; font-size: 15px; }

/* ---------- 07 文章区块（深色） ---------- */
.articles-section { background: #0F0F12; padding: 80px 0; }
.section-head-dark .section-title { color: #fff; }
.section-head-dark .section-desc { color: #9ca3af; }

.articles-badge {
  display: inline-block;
  padding: 5px 16px;
  border: 1px solid rgba(124, 92, 255, .6);
  border-radius: 999px;
  color: #a78bfa;
  font-size: 13.5px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  background: rgba(124, 92, 255, .1);
}

.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.article-card {
  background: #16161A;
  border: 1px solid #26262c;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: #3f3f46;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
}

.article-cover {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #7C5CFF, #B06AB3);
}
.article-cover img {
  width: 100%; height: 100%;
  object-fit: cover;      /* 文章图标撑满图片框 */
  transition: transform .35s ease;
}
.article-card:hover .article-cover img { transform: scale(1.05); }

.article-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.article-tag {
  align-self: flex-start;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  color: #a78bfa;
  background: rgba(124, 92, 255, .16);
}
.article-title { margin-top: 12px; }
.article-title a {
  font-size: 18px;
  font-weight: 700;
  color: #f3f4f6;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-title a:hover { color: #c4b5fd; }
.article-excerpt {
  margin-top: 10px;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #6b7280;
}
.article-foot i { margin-right: 5px; }
.article-more { color: #a78bfa; font-weight: 500; }
.article-more:hover { color: #c4b5fd; }

/* ---------- 08 CTA 横幅 ---------- */
.cta-section {
  background: linear-gradient(120deg, #7C5CFF 0%, #B06AB3 100%);
  padding: 72px 0;
  text-align: center;
  color: #fff;
}
.cta-title { font-size: 30px; font-weight: 700; }
.cta-sub { margin: 12px 0 28px; color: rgba(255, 255, 255, .88); font-size: 16px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0b1b3a; color: #cbd5e1; padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand-name { color: #fff; }
.footer-desc { margin-top: 16px; font-size: 14px; color: #94a3b8; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 15.5px; margin-bottom: 16px; }
.footer-col a { display: block; color: #94a3b8; font-size: 14px; padding: 5px 0; transition: color .2s ease; }
.footer-col a:hover { color: #60a5fa; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
}
.footer-bottom a { color: #64748b; }
.footer-bottom a:hover { color: #94a3b8; }

/* ---------- 进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-inner { gap: 40px; }
  .hero-title { font-size: 42px; }
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .hero { padding: 128px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-platforms { justify-content: center; }
  .hero-stats { justify-content: center; grid-template-columns: repeat(4, auto); gap: 32px; }
  
  .device-showcase {
    max-width: 500px;
    height: 350px;
  }
  .device.laptop {
    width: 380px;
    height: 260px;
  }
  .laptop-screen { height: 210px; }
  .device.phone {
    width: 130px;
    height: 280px;
    left: -20px;
    bottom: -30px;
  }
  .device.popup-window {
    width: 230px;
    right: -20px;
  }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 72px; }
  .section { padding: 64px 0; }

  /* 汉堡菜单 */
  .nav-toggle { display: flex; margin-left: auto; }
  .btn-header-cta { display: none; }
  .site-nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: 0 18px 44px rgba(16, 24, 40, .14);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav-link, .site-header.scrolled .nav-link { color: #1f2937; padding: 12px 10px; border-radius: 10px; }
  .nav-link:hover, .site-header.scrolled .nav-link:hover { color: #2563eb; background: rgba(37, 99, 235, .06); }

  .hero { padding: 120px 0 56px; }
  .hero-title { font-size: 34px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; width: 100%; text-align: center; }
  
  .device-showcase {
    max-width: 420px;
    height: 300px;
  }
  .device.laptop {
    width: 320px;
    height: 220px;
  }
  .laptop-screen { height: 170px; }
  .device.phone {
    width: 110px;
    height: 240px;
    left: -10px;
    bottom: -20px;
  }
  .device.popup-window {
    width: 200px;
    right: -10px;
  }
  .popup-sidebar { display: none; }
  .section-title { font-size: 27px; }
  .cta-title { font-size: 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .grid-3, .grid-4, .articles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }
  .hero-glow { display: none; } /* 隐藏次要装饰元素 */
  .hero-title { font-size: 28px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 18px; }
  .stat-num { font-size: 24px; }
  
  .device-showcase {
    max-width: 340px;
    height: 260px;
  }
  .device.laptop {
    width: 260px;
    height: 180px;
  }
  .laptop-screen { height: 140px; }
  .google-logo { font-size: 28px; }
  .device.phone {
    width: 95px;
    height: 200px;
    left: -5px;
    bottom: -15px;
  }
  .device.popup-window {
    width: 170px;
    right: -5px;
  }
  .popup-sidebar { display: none; }
  .rocket-icon { width: 45px; height: 45px; font-size: 20px; }
  .pulse-ring { width: 60px; height: 60px; }
  .section-title { font-size: 24px; }
  .btn-lg { width: 100%; justify-content: center; }
}

/* 触屏友好：小屏去掉 hover 上浮，改用 :active */
@media (hover: none) and (max-width: 768px) {
  .card:hover, .article-card:hover { transform: none; }
  .card:active { transform: scale(.98); }
  .article-card:active { transform: scale(.98); }
  .btn:hover { transform: none; }
  .btn:active { transform: scale(.97); }
}
