/* ============================================
   Opera 欧朋浏览器 - 共享样式
   ============================================ */

:root {
  --red: #FF1B2D;
  --red-dark: #D60F1F;
  --red-gradient: linear-gradient(135deg, #FF1B2D 0%, #FF5A2D 100%);
  --dark: #0B0D12;
  --dark-2: #12151D;
  --dark-3: #1A1E29;
  --text: #1A1D23;
  --text-2: #4A4F5A;
  --text-3: #8A90A0;
  --white: #FFFFFF;
  --border: #E8EAF0;
  --bg-light: #F7F8FB;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(11, 13, 18, 0.10);
  --shadow-lg: 0 16px 48px rgba(255, 27, 45, 0.15);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--red-gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 27, 45, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 27, 45, 0.38);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-light {
  background: #fff;
  color: var(--red);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-link {
  color: var(--text-3);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .3s;
}
.btn-link:hover { color: var(--red); }
.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-small { padding: 8px 20px; font-size: 14px; }
.btn-block { width: 100%; margin-top: auto; }

/* ============ Logo ============ */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-icon { width: 34px; height: 34px; fill: var(--red); }
.logo-text { font-size: 20px; font-weight: 800; color: var(--text); letter-spacing: .5px; }
.logo-accent { color: var(--red); font-weight: 800; }

/* ============ 导航栏 ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all .3s;
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(11,13,18,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav { display: flex; gap: 8px; }
.nav-link {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 999px;
  transition: all .25s;
}
.nav-link:hover { color: var(--red); background: rgba(255,27,45,.06); }
.nav-link.active { color: var(--red); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #FFF5F5 0%, #FFFFFF 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(255,27,45,.10), transparent 60%),
    radial-gradient(500px 350px at 10% 80%, rgba(255,90,45,.08), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
  position: relative;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,27,45,.5); }
  50% { box-shadow: 0 0 0 8px rgba(255,27,45,0); }
}
.hero-title {
  font-size: clamp(38px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 16px; margin-bottom: 44px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; }
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  background: linear-gradient(135deg, var(--red), #FF5A2D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat span { font-size: 13px; color: var(--text-3); }

/* 浏览器演示框 */
.hero-visual { position: relative; }
.browser-frame {
  background: var(--dark);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(11,13,18,.35);
  overflow: hidden;
  position: relative;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .6s;
}
.browser-frame:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.browser-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--dark-2);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #FF5F57; }
.dot.yellow { background: #FEBC2E; }
.dot.green { background: #28C840; }
.browser-url {
  margin-left: 12px;
  flex: 1;
  background: var(--dark-3);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 12px;
  color: #9BA0AC;
  max-width: 60%;
}
.browser-body {
  display: flex;
  height: 340px;
  position: relative;
}
.browser-sidebar {
  width: 52px;
  background: var(--dark-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 14px;
  gap: 10px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.side-item {
  width: 30px; height: 30px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
}
.side-item.active { background: var(--red); }
.browser-content { flex: 1; padding: 20px; background: var(--dark-3); }
.mock-hero { margin-bottom: 20px; }
.mock-title {
  width: 55%; height: 22px;
  background: linear-gradient(90deg, rgba(255,255,255,.35), rgba(255,255,255,.12));
  border-radius: 4px;
  margin-bottom: 12px;
}
.mock-text {
  width: 85%; height: 10px;
  background: rgba(255,255,255,.12);
  border-radius: 3px;
  margin-bottom: 8px;
}
.mock-text.short { width: 60%; }
.mock-btn {
  width: 120px; height: 32px;
  background: var(--red);
  border-radius: 999px;
  margin-top: 14px;
}
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-card {
  height: 90px;
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.05);
}

/* 漂浮气泡 */
.browser-bubble {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  color: var(--text);
  animation: float 4s ease-in-out infinite;
  z-index: 5;
}
.bubble-1 { top: 22%; right: -30px; animation-delay: 0s; }
.bubble-2 { top: 52%; left: -36px; animation-delay: 1.2s; }
.bubble-3 { top: 80%; right: -20px; animation-delay: 2.4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}
.mouse {
  width: 26px; height: 42px;
  border: 2px solid rgba(11,13,18,.2);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.wheel {
  width: 3px; height: 8px;
  background: var(--red);
  border-radius: 3px;
  animation: scrollWheel 1.6s ease-in-out infinite;
}
@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ============ 通用 Section ============ */
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,27,45,.08);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.section-tag.light {
  background: rgba(255,255,255,.14);
  color: #fff;
}
.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title.light { color: #fff; }
.section-desc { font-size: 16px; color: var(--text-2); }
.section-desc.light { color: rgba(255,255,255,.7); }

/* ============ 功能特性 ============ */
.features { background: var(--bg-light); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid var(--border);
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(255,27,45,.25);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--ic, var(--red));
  background: color-mix(in srgb, var(--ic, var(--red)) 12%, white);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ============ AI 智能助手 ============ */
.smart {
  background: linear-gradient(135deg, #1A1E29 0%, #0B0D12 60%, #2A0D12 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.smart::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,27,45,.2), transparent 60%);
  top: -200px; right: -200px;
  pointer-events: none;
}
.smart-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.smart-list { margin: 28px 0 36px; display: flex; flex-direction: column; gap: 14px; }
.smart-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,.85);
}
.smart-list svg {
  width: 22px; height: 22px;
  color: #4ADE80;
  flex-shrink: 0;
}

/* AI 对话卡片 */
.ai-card {
  background: #fff;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  color: var(--text);
  transform: perspective(1000px) rotateY(4deg);
  transition: transform .5s;
}
.ai-card:hover { transform: perspective(1000px) rotateY(0deg); }
.ai-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.ai-avatar {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--red-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.ai-info { display: flex; flex-direction: column; }
.ai-info strong { font-size: 15px; }
.ai-info span { font-size: 12px; color: var(--text-3); }
.ai-chat { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.chat-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  animation: msgIn .4s ease both;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-msg.bot {
  background: var(--bg-light);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: var(--red-gradient);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-msg.typing { display: flex; gap: 4px; align-items: center; }
.chat-msg.typing span {
  width: 7px; height: 7px;
  background: var(--text-3);
  border-radius: 50%;
  animation: typing 1.2s infinite;
}
.chat-msg.typing span:nth-child(2) { animation-delay: .2s; }
.chat-msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.ai-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.ai-input-text { flex: 1; font-size: 14px; color: var(--text-3); }
.ai-send {
  width: 30px; height: 30px;
  background: var(--red-gradient);
  border-radius: 50%;
  position: relative;
}
.ai-send::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-40%, -50%) rotate(-45deg);
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
}

/* ============ CTA ============ */
.cta-section { padding: 40px 0 100px; background: var(--bg-light); }
.cta-card {
  background: linear-gradient(135deg, #FF1B2D 0%, #FF5A2D 100%);
  border-radius: 28px;
  padding: 70px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-card::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 60%);
  top: -150px; right: -100px;
}
.cta-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
}
.cta-desc { font-size: 16px; opacity: .9; margin-bottom: 32px; position: relative; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-note { margin-top: 24px; font-size: 13px; opacity: .8; position: relative; }

/* ============ 页脚 ============ */
.footer { background: var(--dark); color: #9BA0AC; padding: 70px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo .logo-text { color: #fff; }
.footer-brand p { font-size: 14px; margin: 16px 0 20px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  color: #9BA0AC;
  transition: color .25s;
}
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 30px;
  font-size: 13px;
  color: #6B7080;
}

/* ============ 下载页 ============ */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(180deg, #FFF5F5 0%, #FFFFFF 100%);
  overflow: hidden;
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.page-hero-title {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin: 16px 0 20px;
}
.page-hero-desc { font-size: 17px; color: var(--text-2); max-width: 460px; }

/* 设备展示 */
.devices { position: relative; height: 380px; }
.device {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.device.desktop {
  width: 420px; height: 260px;
  background: var(--dark);
  top: 20px; left: 20px;
  z-index: 1;
}
.device-screen {
  height: calc(100% - 26px);
  margin: 13px 13px 0;
  background: linear-gradient(135deg, #2A2E3A, #1A1E29);
  border-radius: 4px;
  padding: 14px;
}
.device-bar {
  height: 10px;
  background: rgba(255,255,255,.15);
  border-radius: 5px;
  margin-bottom: 14px;
  width: 60%;
}
.device-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.device-cards span {
  height: 60px;
  background: rgba(255,255,255,.08);
  border-radius: 6px;
}
.device-cards.small span { height: 30px; }
.device.phone {
  width: 110px; height: 230px;
  background: var(--dark);
  right: 10px; bottom: 10px;
  border-radius: 20px;
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}
.device.phone .device-screen { margin: 10px; height: calc(100% - 20px); }
.device.tablet {
  width: 170px; height: 230px;
  background: var(--dark-2);
  right: 100px; bottom: 10px;
  border-radius: 16px;
  z-index: 0;
  opacity: .7;
  animation: float 5s ease-in-out infinite 1s;
}

/* 平台标签 */
.download-section { background: #fff; }
.platform-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  transition: all .3s;
}
.tab-btn svg { width: 20px; height: 20px; }
.tab-btn:hover { border-color: var(--red); color: var(--red); }
.tab-btn.active {
  background: var(--red-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(255,27,45,.25);
}

/* 下载卡片 */
.download-card {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 44px;
  box-shadow: var(--shadow);
  animation: fadeUp .5s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.download-main { display: flex; gap: 28px; align-items: flex-start; }
.dl-icon {
  width: 76px; height: 76px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,27,45,.1), rgba(255,90,45,.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.dl-icon svg { width: 40px; height: 40px; }
.dl-info h3 { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.version {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  background: rgba(255,27,45,.1);
  padding: 3px 10px;
  border-radius: 999px;
  vertical-align: 3px;
  margin-left: 6px;
}
.dl-desc { font-size: 15px; color: var(--text-2); margin-bottom: 6px; }
.dl-meta { font-size: 13px; color: var(--text-3); margin-bottom: 24px; }
.dl-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.dl-requirements {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--bg-light);
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-2);
}
.dl-requirements strong { color: var(--text); flex-shrink: 0; }
.dl-trusted {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.dl-trusted span {
  font-size: 12px;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dl-trusted span::before {
  content: '✓';
  color: #22C55E;
  font-weight: 800;
}

/* 下载进度动画 */
.dl-btn.loading {
  position: relative;
  pointer-events: none;
  color: transparent;
  overflow: hidden;
}
.dl-btn.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  animation: shimmer 1.4s infinite;
}
.dl-btn.loading::before {
  content: '正在准备下载...';
  color: #fff;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }

/* ============ 版本对比 ============ */
.versions-section { background: var(--bg-light); }
.versions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.version-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all .35s;
}
.version-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.version-card.featured {
  border: 2px solid var(--red);
  position: relative;
}
.vc-logo {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.vc-opera { background: var(--red-gradient); }
.vc-gx { background: linear-gradient(135deg, #E84393, #FF1B2D); }
.vc-mobile { background: linear-gradient(135deg, #0984E3, #00B894); }
.version-card h3 { font-size: 20px; font-weight: 700; }
.version-card p { font-size: 14px; color: var(--text-2); }
.vc-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  background: rgba(255,27,45,.08);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 4px;
}

/* ============ 步骤 ============ */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 36px 28px; }
.step-num {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--red-gradient);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255,27,45,.3);
}
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text-2); }

/* ============ 其他下载 ============ */
.other-dl-section { padding-top: 0; }
.other-dl {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}
.other-dl h3 { font-size: 22px; margin-bottom: 24px; }
.other-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.other-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  transition: all .3s;
}
.other-links svg { width: 18px; height: 18px; }
.other-links a:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

/* ============ 404 页面 ============ */
.error-body { background: var(--bg-light); }
.error-main {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
}
.error-container { max-width: 640px; width: 100%; text-align: center; }
.error-browser {
  background: var(--dark);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(11,13,18,.3);
  margin-bottom: 36px;
  animation: float 6s ease-in-out infinite;
}
.error-browser-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--dark-2);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.error-url {
  margin-left: 12px;
  flex: 1;
  background: var(--dark-3);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 12px;
  color: #9BA0AC;
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: left;
}
.error-url-glitch { color: #FF5F57; }
.error-browser-body { padding: 60px 40px; }
.error-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 110px;
  font-weight: 800;
  line-height: 1;
}
.e4 { color: var(--red); }
.e0 { width: 110px; height: 110px; }
.e0 svg { width: 100%; height: 100%; }
.error-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
}
.error-desc {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  max-width: 440px;
  margin: 0 auto 32px;
}
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.error-body .btn-ghost { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.3); }
.error-body .btn-ghost:hover { color: #fff; border-color: #fff; }
.error-body .btn-link { color: rgba(255,255,255,.6); }
.error-body .btn-link:hover { color: #fff; }
.error-suggestions { margin-top: 8px; }
.error-suggestions p { font-size: 14px; color: var(--text-3); margin-bottom: 14px; }
.suggestion-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.suggestion-links a {
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  transition: all .3s;
}
.suggestion-links a:hover { color: var(--red); border-color: var(--red); transform: translateY(-2px); }

/* ============ Toast 提示 ============ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--dark);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 12px 40px rgba(11,13,18,.35);
  opacity: 0;
  pointer-events: none;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  z-index: 999;
  max-width: calc(100vw - 48px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ 滚动显示动画 ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .hero-inner, .page-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 140px; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .features-grid, .versions-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .smart-inner { grid-template-columns: 1fr; gap: 56px; }
  .smart-visual { max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .devices { height: 320px; }
  .device.desktop { width: 100%; max-width: 420px; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 72px;
    right: 0;
    width: 240px;
    height: calc(100vh - 72px);
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -8px 0 32px rgba(11,13,18,.1);
  }
  .nav.open { transform: translateX(0); }
  .nav-link { display: block; padding: 12px 16px; }
  .nav-toggle { display: flex; }
  .features-grid, .versions-grid, .steps-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-title { font-size: 34px; }
  .section { padding: 70px 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .download-card { padding: 28px 22px; }
  .download-main { flex-direction: column; align-items: center; text-align: center; }
  .dl-actions { justify-content: center; }
  .dl-requirements { flex-direction: column; text-align: center; }
  .dl-trusted { justify-content: center; }
  .bubble-1 { right: -10px; }
  .bubble-2 { left: -10px; }
  .error-browser-body { padding: 40px 20px; }
  .error-404 { font-size: 80px; }
  .e0 { width: 80px; height: 80px; }
  .devices { height: 280px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-btns, .cta-btns, .error-actions { flex-direction: column; width: 100%; }
  .hero-btns .btn, .cta-btns .btn, .error-actions .btn { width: 100%; }
  .page-hero { padding-top: 130px; }
}

/* 减少动态效果偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
