/* ============================================
   天鹅哥量化密码 - Landing Page Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-primary: #0a0b0e;
  --bg-secondary: #111318;
  --bg-card: #161920;
  --bg-card-hover: #1c1f28;
  --border: #1e2230;
  --border-light: #2a2e3e;
  --text-primary: #e8e9ed;
  --text-secondary: #8b8fa3;
  --text-muted: #5c6070;
  --gold: #d4a843;
  --gold-light: #e8c76a;
  --gold-dark: #b08930;
  --gold-glow: rgba(212, 168, 67, 0.15);
  --gold-glow-strong: rgba(212, 168, 67, 0.3);
  --orange: #e8873a;
  --orange-light: #f0a060;
  --green: #34c759;
  --red: #ff3b30;
  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 24px rgba(212, 168, 67, 0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

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

ul {
  list-style: none;
}

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

.gold {
  color: var(--gold);
}

.orange {
  color: var(--orange);
}

.positive {
  color: var(--green);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 168, 67, 0.1); }
  50% { box-shadow: 0 0 40px rgba(212, 168, 67, 0.25); }
}

@keyframes scroll-down {
  0% { opacity: 1; transform: translateY(0); }
  75% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(12px); }
}

@keyframes chart-draw {
  from { stroke-dashoffset: 1000; }
  to { stroke-dashoffset: 0; }
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 11, 14, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.15rem;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-text {
  letter-spacing: 0.02em;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  gap: 8px;
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0b0e;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212, 168, 67, 0.35);
  color: #0a0b0e;
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange), #c96f28);
  color: #0a0b0e;
  box-shadow: 0 4px 24px rgba(232, 135, 58, 0.2);
}

.btn-orange:hover {
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(232, 135, 58, 0.35);
  color: #0a0b0e;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: #0a0b0e;
  box-shadow: var(--shadow-gold);
  font-size: 1.05rem;
  padding: 16px 32px;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(212, 168, 67, 0.4);
  color: #0a0b0e;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
  transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 168, 67, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 67, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float 6s infinite;
}

@keyframes particle-float {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  20% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: translateY(-200px) scale(0); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gold-glow);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-mono);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Chart mockup */
.hero-visual {
  position: relative;
}

.chart-mockup {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  animation: float 6s ease-in-out infinite;
  box-shadow: var(--shadow-lg);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.chart-pair {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.chart-price {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1rem;
}

.chart-svg {
  width: 100%;
  height: 180px;
  display: block;
}

.chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: chart-draw 2.5s ease-out forwards;
  animation-delay: 0.5s;
}

.chart-grid-lines {
  position: absolute;
  inset: 60px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.grid-line {
  height: 1px;
  background: var(--border);
  opacity: 0.3;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  z-index: 2;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: scroll-down 2s infinite;
}

/* --- Sections --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--gold-glow);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Products Section --- */
.products {
  background: var(--bg-secondary);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:first-child::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.product-card:last-child::before {
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
}

.product-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card:hover::before {
  opacity: 1;
}

.product-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
}

.product-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold-glow);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 16px;
}

.btc-badge {
  background: rgba(232, 135, 58, 0.12);
  color: var(--orange);
}

.product-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-pair {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.product-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feature-icon {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.btc-check {
  color: var(--orange);
}

/* --- Performance Section --- */
.performance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.perf-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.perf-card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-md);
}

.perf-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.perf-card-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.perf-period {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.perf-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.perf-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.perf-metric-value {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.perf-metric-value.gold {
  color: var(--gold);
}

.perf-metric-value.orange {
  color: var(--orange);
}

.perf-metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.perf-equity-curve {
  position: relative;
}

.equity-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.equity-svg {
  width: 100%;
  height: 80px;
  display: block;
}

.performance-disclaimer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* --- Pricing Section --- */
.pricing {
  background: var(--bg-secondary);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.save-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  background: rgba(52, 199, 89, 0.12);
  color: var(--green);
  border-radius: 100px;
  font-weight: 600;
}

.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.toggle-switch:hover {
  border-color: var(--gold);
}

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  transition: all var(--transition);
  pointer-events: none;
}

.toggle-switch.active .toggle-knob {
  left: 27px;
}

.toggle-switch.active {
  background: var(--gold-glow);
  border-color: var(--gold);
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(to bottom, rgba(212, 168, 67, 0.06), var(--bg-card));
  animation: pulse-glow 4s infinite;
}

.pricing-card-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0b0e;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card-header {
  text-align: center;
  margin-bottom: 24px;
}

.pricing-card-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-card-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-card-price {
  text-align: center;
  margin-bottom: 28px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price {
  display: none;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.price.active {
  display: flex;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--text-primary);
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 4px;
}

/* --- FAQ Section --- */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-item.active {
  border-color: rgba(212, 168, 67, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: all var(--transition);
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  line-height: 1;
}

.faq-item.active .faq-toggle {
  color: var(--gold);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* --- Contact Section --- */
.contact {
  background: var(--bg-secondary);
}

.contact-content {
  display: flex;
  justify-content: center;
}

.contact-card {
  display: flex;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 700px;
  width: 100%;
}

.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.qr-mock {
  width: 180px;
  height: 180px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.qr-inner {
  width: 100%;
  height: 100%;
}

.qr-inner svg {
  width: 100%;
  height: 100%;
}

.qr-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  min-width: 70px;
}

.contact-value {
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.copy-btn {
  padding: 4px 12px;
  background: var(--gold-glow);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--transition);
}

.copy-btn:hover {
  background: rgba(212, 168, 67, 0.2);
}

.copy-btn.small {
  padding: 3px 10px;
  font-size: 0.72rem;
}

/* --- Footer --- */
.footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li,
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-risk {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- Floating WeChat --- */
.floating-wechat {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
}

.wechat-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #07c160, #06ad56);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(7, 193, 96, 0.4);
  transition: all var(--transition);
}

.wechat-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(7, 193, 96, 0.5);
}

.wechat-popup {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: all var(--transition);
  overflow: hidden;
}

.wechat-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wechat-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.9rem;
}

.wechat-popup-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.wechat-popup-close:hover {
  color: var(--text-primary);
}

.wechat-popup-body {
  padding: 18px;
}

.wechat-popup-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.wechat-popup-id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
}

/* --- Toast --- */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-container {
    gap: 40px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.featured {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 11, 14, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-scroll-hint {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .products-grid,
  .performance-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    padding: 28px;
  }

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

  .contact-card {
    flex-direction: column;
    padding: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .floating-wechat {
    bottom: 20px;
    right: 20px;
  }
}

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

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

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

  .btn-lg {
    width: 100%;
    max-width: 280px;
  }

  .perf-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .perf-metric-value {
    font-size: 1.1rem;
  }
}
