/* =============================================
   DEFIER Official Site — Apple/Google Light Style
   ============================================= */

:root {
  --white: #ffffff;
  --bg: #000000;
  --bg-alt: #0a0a0a;
  --bg-card: rgba(255, 255, 255, 0.02);
  --ink: #ffffff;
  --ink-secondary: #a1a1aa;
  --ink-tertiary: #71717a;
  --accent: #a78bfa;
  --accent-dark: #8b5cf6;
  --accent-light: rgba(167, 139, 250, 0.1);
  --accent-gradient: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
  --green: #22c55e;
  --red: #ef4444;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --max-width: 1200px;
  --font: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-white: rgba(255, 255, 255, 0.08);
  --glass-dark: rgba(20, 20, 20, 0.85);
}

/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  height: 60px;
  width: calc(100% - 40px);
  max-width: var(--max-width);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: saturate(200%) blur(24px);
  -webkit-backdrop-filter: saturate(200%) blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.navbar:hover {
  border-color: var(--border-strong);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 12px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  /* 只保留样式，去掉 url() 图片 */
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.brand-logo {
  height: 28px;
  max-width: 150px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
  padding: 8px 16px;
  border-radius: 980px;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-light);
  border-radius: 980px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::before {
  opacity: 1;
}

.nav-cta {
  padding: 10px 20px;
  border-radius: 980px;
  background: var(--accent-gradient);
  color: var(--white) !important;
  font-weight: 600 !important;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #00a8cc 0%, #007799 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-cta:hover::after {
  opacity: 1;
}

.nav-cta:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-glow);
}

.btn-ghost:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 17px;
}

/* ===== RAINBOW TEXT ANIMATION ===== */
.rainbow-text {
  color: var(--accent);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding-top: 160px;
  padding-bottom: 120px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  background: var(--bg);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.35;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(167, 139, 250, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(196, 181, 253, 0.08) 0%, transparent 50%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 280px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 980px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(48px, 10vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 36px;
}

.hero-line1 {
  display: block;
  margin-bottom: 12px;
}

.hero-line1,
.hero-line2 {
  display: block;
}

.hero-line2 {
  color: var(--accent);
}

.hero-sub {
  font-size: 21px;
  color: var(--ink-secondary);
  max-width: 760px;
  margin: 0 auto 48px;
  line-height: 1.8;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 72px;
}

.hero-metrics {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  padding: 28px 50px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: saturate(200%) blur(24px);
  -webkit-backdrop-filter: saturate(200%) blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero-metrics::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.03) 0%, transparent 50%);
}

.hero-metrics::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.03) 0%, transparent 50%);
}

.hero-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.hero-metric-value {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--accent);
}

.hero-metric-unit {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-metric-label {
  font-size: 11px;
  color: var(--ink-tertiary);
  font-weight: 500;
}

.hero-metric-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  opacity: 0.5;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 980px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ===== FEATURES TABS ===== */
.features-tabs-wrapper {
  text-align: center;
  margin-bottom: 24px;
}

.features-tabs {
  display: inline-flex;
  justify-content: center;
  gap: 2px;
  flex-wrap: wrap;
  padding: 2px;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.feature-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.feature-tab svg {
  width: 14px;
  height: 14px;
}

.feature-tab:hover {
  color: var(--accent);
  background: rgba(0, 212, 255, 0.08);
}

.feature-tab.active {
  background: var(--accent-gradient);
  color: var(--white);
}

.features-content {
  position: relative;
  height: 160px;
}

.feature-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: saturate(200%) blur(24px);
  -webkit-backdrop-filter: saturate(200%) blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}

.feature-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.feature-panel-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.feature-panel-icon svg {
  width: 28px;
  height: 28px;
}

.feature-panel-content {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.feature-panel-content h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feature-panel-content .feature-subtitle {
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: inline-block;
}

.feature-panel-content p {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ===== HOW IT WORKS — STEPS ===== */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 72px;
}

.step {
  flex: 1;
  max-width: 240px;
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--transition);
  position: relative;
}

.step:hover .step-number {
  transform: scale(1.1);
}

.step-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.65;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 16px;
  color: var(--accent);
  flex-shrink: 0;
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.4; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

.step-arrow svg {
  width: 28px;
  height: 28px;
}

/* ===== DIAGRAM ===== */
.diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 48px 24px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: saturate(200%) blur(24px);
  -webkit-backdrop-filter: saturate(200%) blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.diagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
}

.diagram-box {
  padding: 28px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  min-width: 200px;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.diagram-box:hover {
  border-color: var(--border-strong);
}

.diagram-box-accent {
  border-color: var(--accent);
  background: var(--accent-light);
}

.diagram-label {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.diagram-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.diagram-items span {
  font-size: 12px;
  color: var(--ink-secondary);
}

.diagram-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
}

.diagram-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--border-strong), var(--accent), var(--border-strong));
  border-radius: 1px;
}

.diagram-tags {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.diagram-tags span {
  font-size: 10px;
  color: var(--ink-tertiary);
  white-space: nowrap;
}

/* ===== SAFETY COMPARE ===== */
.compare {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 56px;
  background: rgba(15, 15, 15, 0.9);
  box-shadow: var(--shadow-md);
}

.compare-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.compare-col-label {
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.compare-col-label.compare-us {
  color: var(--accent);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.compare-row:hover {
  background: rgba(0, 212, 255, 0.03);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-item {
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.3);
}

.compare-cell {
  padding: 14px 20px;
  font-size: 13px;
  line-height: 1.55;
}

.compare-cell.compare-them {
  color: var(--ink-secondary);
  background: rgba(0, 0, 0, 0.3);
}

.compare-cell.compare-us {
  color: #f5f5dc;
  font-weight: 500;
  background: #0d0d0d;
}

/* ===== SAFETY GRID ===== */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.safety-card {
  padding: 24px;
  border-radius: var(--radius-sm);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: saturate(200%) blur(20px);
  -webkit-backdrop-filter: saturate(200%) blur(20px);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.safety-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
  transform: scaleY(0);
  transition: transform var(--transition);
}

.safety-card:hover::before {
  transform: scaleY(1);
}

.safety-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.safety-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent);
}

.safety-card p {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ===== SPECS ===== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.spec-group {
  padding: 32px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .spec-group {
  background: rgba(20, 20, 20, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

.spec-group h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 14px;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row span:first-child {
  color: var(--ink-secondary);
  font-weight: 500;
}

.spec-row span:last-child {
  font-weight: 600;
  color: var(--ink);
}

/* ===== GAMES ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.game-card {
  padding: 20px 14px;
  border-radius: var(--radius-md);
  backdrop-filter: saturate(200%) blur(16px);
  -webkit-backdrop-filter: saturate(200%) blur(16px);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 212, 255, 0.05) 100%);
}

.game-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: linear-gradient(rgba(0, 212, 255, 0.1), transparent) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
}

.game-card .game-name,
.game-card .game-sub {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.game-card:hover::after {
  opacity: 1;
}

.game-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px) scale(1.02);
}

.game-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.game-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.games-note {
  text-align: center;
  margin-top: 28px;
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ===== PACKAGE ===== */
.package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.package-item {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius-md);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: saturate(200%) blur(24px);
  -webkit-backdrop-filter: saturate(200%) blur(24px);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.package-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition);
}

.package-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.package-item:hover::before {
  opacity: 1;
}

.package-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--accent);
  transition: transform var(--transition);
}

.package-item:hover .package-icon {
  transform: scale(1.1);
}

.package-icon svg {
  width: 56px;
  height: 56px;
  stroke-width: 1;
}

.package-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.package-desc {
  font-size: 13px;
  color: var(--ink-tertiary);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-fast);
}

.faq-item:hover {
  background: rgba(0, 212, 255, 0.02);
}

.faq-item summary {
  padding: 24px 0;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition);
  position: relative;
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  transition: all var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-light);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--white);
}

.faq-answer {
  padding: 0 0 24px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.75;
}

/* ===== CTA ===== */
.section-cta {
  background:
    radial-gradient(ellipse at 50% 100%, rgba( 227, 117, 0, 0.08) 0%, transparent 60%),
    var(--bg);
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.cta-inner > p {
  font-size: 18px;
  color: var(--ink-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 32px;
}

.cta-price-symbol {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}

.cta-price-value {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.cta-price-note {
  font-size: 14px;
  color: var(--ink-tertiary);
  margin-left: 8px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 28px;
}

.cta-guarantee {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-guarantee span {
  font-size: 13px;
  color: var(--ink-secondary);
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
}

.footer-brand small {
  color: var(--ink-tertiary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-copy {
  font-size: 13px;
  color: var(--ink-tertiary);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== UTILITIES ===== */
.hide-mobile {
  display: inline;
}

/* =============================================
   返回顶部按钮 (Back to Top)
   ============================================= */

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}



/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-content {
    height: 200px;
  }
  
  .feature-panel {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px 16px;
  }
  
  .feature-panel-icon {
    width: 50px;
    height: 50px;
  }
  
  .feature-panel-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .feature-panel-content h3 {
    font-size: 18px;
  }

  .safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .package-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    flex-wrap: wrap;
    gap: 8px;
  }

  .step-arrow {
    display: none;
  }

  .step {
    max-width: none;
    flex: 0 0 calc(50% - 8px);
  }

  .diagram {
    flex-direction: column;
    gap: 16px;
  }

  .diagram-connector {
    transform: rotate(90deg);
    padding: 8px 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

 .nav-links {
    display: flex;
    position: fixed;
    height: 100vh;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: saturate(200%) blur(24px);
    -webkit-backdrop-filter: saturate(200%) blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 12vh;
    gap: 12px;
    border-top: 1px solid var(--border);
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
  }

  .nav-links.open {
    /* 展开状态 */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    text-align: center;
    padding: 12px 20px; /* 增加点击区域大小 */
    transition: transform 0.2s ease, color 0.2s ease;
  }
  
  .nav-links a:active {
    transform: scale(0.96); /* 手机端点击按下时的微缩放反馈 */
  }

  /* 针对移动端优化购买/Pro按钮的样式 */
  .nav-links a.nav-cta {
    width: auto;
    min-width: 200px;
    padding: 14px 24px;
    margin-top: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .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);
  }

  .hero {
    min-height: 100vh;
    padding: 80px 20px 40px;
  }

  .hero-sub {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }

  .hero-metrics {
    flex-wrap: wrap;
    gap: 20px;
    padding: 24px;
  }

  .hero-metric-divider {
    display: none;
  }

  .hero-metric {
    flex: 0 0 calc(50% - 12px);
  }

  .hero-metric-value {
    font-size: 36px;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .features-content {
    height: 220px;
  }
  
  .feature-tab {
    padding: 10px 14px;
    font-size: 12px;
  }
  
  .feature-tab svg {
    width: 14px;
    height: 14px;
  }
  
  .feature-panel-content .feature-subtitle {
    font-size: 9px;
  }

  .safety-grid {
    grid-template-columns: 1fr;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-header,
  .compare-row {
    grid-template-columns: 0.8fr 1fr 1fr;
  }

  .compare-col-label,
  .compare-item,
  .compare-cell {
    padding: 10px 12px;
    font-size: 12px;
  }

  .step {
    flex: 0 0 100%;
  }

  .diagram-box {
    min-width: auto;
    width: 100%;
  }

  .cta-price-value {
    font-size: 48px;
  }

  .cta-price-note {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }

  .cta-price {
    flex-wrap: wrap;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-guarantee {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hide-mobile {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 26px;
  }

  .package-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== GAME PLAY ICON ===== */
.game-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  color: var(--accent);
  z-index: 2;
  transition: all var(--transition);
}

.game-card:hover .game-play-icon {
  transform: translate(-50%, -50%) scale(1);
}

.game-play-icon svg {
  width: 24px;
  height: 24px;
  margin-left: 4px;
}

.game-card:hover .game-name,
.game-card:hover .game-sub {
  opacity: 0;
}

.game-card[onclick] {
  cursor: pointer;
}

/* ===== VIDEO PLAYER MODAL ===== */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-modal.visible {
  opacity: 1;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.video-modal.visible .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition);
}

.video-modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.video-modal-close svg {
  width: 20px;
  height: 20px;
}

.video-modal-title {
  padding: 20px 24px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.video-modal video {
  width: 100%;
  max-height: calc(85vh - 60px);
  display: block;
}

@media (max-width: 768px) {
  .video-modal-content {
    width: 95%;
    border-radius: var(--radius-md);
  }
  
  .video-modal-title {
    font-size: 16px;
    padding: 16px 20px 0;
  }
  
  .video-modal-close {
    width: 36px;
    height: 36px;
    top: 12px;
    right: 12px;
  }
.game-card {
  background-image: attr(data-bg url);
}
.brand-icon {
    width: 40px;
    height: 40px;
    display: inline-block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
}
