/* 首页样式（币安风格暗色+黄色点缀） */
.home-page { background: var(--bg); color: var(--text); }
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }

.home-header { padding: 16px 0; border-bottom: 1px solid var(--border); backdrop-filter: blur(6px); position: sticky; top: 0; background: rgba(0,0,0,0.95); z-index: 100; }
.navbar { display:flex; align-items:center; justify-content:space-between; }
.nav-brand .brand-link { display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand-logo { 
    width: 50px; 
    height: 50px; 
    border-radius: 8px; 
    object-fit: contain;
    background: rgba(255,255,255,0.9);
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-brand h2 { color: var(--text); font-weight: 800; font-size: 18px; margin: 0; }
.nav-actions { display:flex; align-items:center; gap:10px; }
.language-switcher { display:flex; align-items:center; gap:6px; margin-right: 6px; }
.lang-btn { padding:6px 10px; border-radius:6px; color: var(--muted); border:1px solid var(--border); text-decoration:none; font-size:12px; }
.lang-btn.active { color: var(--black); background: var(--primary); border-color: var(--primary); }

.hero { padding: 80px 0 60px; background: var(--bg); }
.hero-content { text-align:center; }
.hero-badge { display: inline-block; padding: 8px 16px; background: rgba(240,185,11,0.1); border: 1px solid rgba(240,185,11,0.3); border-radius: 20px; color: var(--primary); font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.hero-title { font-size: 42px; font-weight: 800; margin: 0 0 16px; line-height: 1.2; }
.hero-subtitle { font-size: 16px; color: var(--muted); margin: 0 auto 32px; max-width: 800px; line-height: 1.6; }

.hero-stats { display: flex; justify-content: center; gap: 40px; margin: 32px 0; }
.stat-item { text-align: center; }
.stat-number { font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.stat-label { font-size: 12px; color: var(--muted); }

.hero-actions { display:flex; gap:16px; justify-content:center; margin-bottom: 32px; }
.btn-large { padding: 14px 28px; font-size: 16px; font-weight: 600; }
.btn-large i { margin-right: 8px; }

.hero-trust { margin-top: 32px; }
.trust-text { display: block; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.trust-badges { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.trust-badge i { color: var(--primary); }

/* 数据展示区 */
.data-showcase { padding: 60px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.showcase-header { text-align: center; margin-bottom: 40px; }
.showcase-header h3 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.showcase-header p { color: var(--muted); font-size: 16px; }
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.showcase-card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 24px; text-align: center; }
.showcase-icon { font-size: 32px; margin-bottom: 16px; }
.showcase-content h4 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.showcase-content p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.showcase-metric { }
.metric-value { display: block; font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.metric-label { font-size: 12px; color: var(--muted); }

.features { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h3 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.section-subtitle { color: var(--muted); font-size: 16px; margin: 0; }
.features-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card { background: var(--surface); border:1px solid var(--border); border-radius: 16px; padding: 24px; }
.feature-icon { font-size: 28px; margin-bottom: 16px; }
.feature-card h4 { margin: 0 0 12px; font-size: 18px; font-weight: 600; }
.feature-card p { margin: 0 0 16px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 6px 0; font-size: 13px; color: var(--muted); position: relative; padding-left: 20px; }
.feature-list li:before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

/* 套餐预览区 */
.pricing-preview { padding: 60px 0; background: var(--surface); border-top: 1px solid var(--border); }
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; align-items: stretch; grid-auto-rows: 1fr; }
.plan-card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 24px; position: relative; transition: all 0.3s ease; display: flex; flex-direction: column; height: 100%; }
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }
.plan-card.popular { border-color: var(--primary); box-shadow: 0 8px 24px rgba(240,185,11,0.2); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--black); padding: 6px 16px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.plan-header { text-align: center; margin-bottom: 24px; }
.plan-name { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.plan-price { margin-bottom: 8px; }
.price-currency { font-size: 16px; color: var(--muted); }
.price-amount { font-size: 32px; font-weight: 800; color: var(--text); }
.price-original { font-size: 16px; color: var(--muted); text-decoration: line-through; margin-left: 8px; }
.plan-period { font-size: 14px; color: var(--muted); }
.plan-features { margin-bottom: 24px; }
.plan-feature { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; }
.plan-feature i { color: var(--primary); font-size: 12px; }
.plan-action { margin-top: auto; }
.plan-action .btn-block { width: 100%; justify-content: center; }
.plans-footer { text-align: center; }

/* 用户评价区 */
.testimonials { padding: 60px 0; }

.testimonials-carousel {
    margin-top: 40px;
    position: relative;
}

.carousel-container {
    display: flex;
    align-items: center;
    position: relative;
}

.testimonials-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 16px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonials-page {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 10px;
}

.testimonials-page.active {
    opacity: 1;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    height: 280px;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(240, 185, 11, 0.3);
    box-shadow: 0 12px 32px rgba(240, 185, 11, 0.1);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-stars i {
    color: var(--primary);
    font-size: 14px;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    color: var(--text);
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.author-avatar {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 185, 11, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(240, 185, 11, 0.2);
}

.author-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}

.author-title {
    font-size: 12px;
    color: var(--muted);
}

/* 轮播按钮 */
.carousel-btn {
    background: var(--surface);
    border: 2px solid var(--border);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(240, 185, 11, 0.1);
    border-color: var(--primary);
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-prev {
    margin-right: 20px;
}

.carousel-next {
    margin-left: 20px;
}

/* 轮播指示器 */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
}

.indicator:hover {
    border-color: var(--primary);
}

.cta { padding: 60px 0; }
.cta-card { background: var(--bg); border:1px solid var(--border); border-radius: 16px; padding: 40px; text-align:center; }
.cta-card h3 { margin: 0 0 12px; font-size: 24px; font-weight: 700; }
.cta-card p { margin: 0 0 24px; color: var(--muted); font-size: 16px; }
.cta-actions { display:flex; gap:16px; justify-content:center; }

.home-footer { border-top:1px solid var(--border); padding: 32px 0; }
.footer-grid { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.footer-brand { display:flex; flex-direction: column; align-items:flex-start; gap:8px; }
.brand-main { display:flex; align-items:center; gap:16px; flex-wrap: wrap; }
.brand-text { color: var(--muted); font-size: 12px; }
.contact-info { margin-top: 4px; }
.contact-info p { color: var(--muted); font-size: 11px; margin: 0; }
.footer-text { color: var(--muted); font-size: 12px; }
.footer-links { display:flex; gap:16px; }
.footer-link { color: var(--muted); text-decoration:none; font-size: 12px; transition: color 0.3s; }
.footer-link:hover { color: var(--text); }

/* 社交媒体链接样式 */
.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 0;
}

.social-label {
  color: var(--muted);
  font-size: 12px;
  margin-right: 4px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--muted);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
  .hero { padding: 60px 0 40px; }
  .hero-title { font-size: 32px; }
  .hero-stats { gap: 20px; }
  .stat-number { font-size: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .testimonials-page { grid-template-columns: repeat(2, 1fr); }
  .trust-badges { gap: 12px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  
  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
  
  .carousel-prev {
    margin-right: 15px;
  }
  
  .carousel-next {
    margin-left: 15px;
  }
  
  .testimonial-card {
    height: auto;
    min-height: 250px;
  }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 16px; }
  .trust-badges { flex-direction: column; gap: 8px; }
  .testimonials-page { grid-template-columns: 1fr; }
  
  .carousel-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .carousel-prev,
  .carousel-next {
    margin: 0;
    order: 2;
  }
  
  .testimonials-wrapper {
    order: 1;
  }
  
  .carousel-indicators {
    order: 3;
    margin-top: 20px;
  }
}