/* ============================================
   SuperCue 产品页共享样式
   适用于：product-mini/dual/quad/pro/timer/usb-extender
   ============================================ */

/* --- Header --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
}
.logogo { display: flex; align-items: center; margin-left: 30px; }
.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}
.nav-links { display: flex; gap: 40px; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.back-btn {
  padding: 12px 28px;
  background: var(--primary);
  border: none;
  border-radius: 30px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.back-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* --- Breadcrumb (new) --- */
.breadcrumb-nav {
  position: relative;
  z-index: 1;
  padding: 100px 60px 0;
  background: var(--bg);
}
.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb-list li { display: flex; align-items: center; gap: 8px; }
.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  color: var(--border);
  margin-left: 4px;
}
.breadcrumb-list a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-list a:hover { color: var(--primary-dark); text-decoration: underline; }
.breadcrumb-list .current { color: var(--text); font-weight: 600; }

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 60px 100px;
  position: relative;
  z-index: 1;
  background: #F5F3FF;
}
.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
  align-items: center;
}

/* --- Product Showcase --- */
.product-showcase { position: relative; }
.product-card {
  width: 540px;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 60px;
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.1);
  transition: box-shadow 0.3s;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.product-image-container {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-tag {
  position: absolute;
  top: 20px; left: 20px;
  padding: 8px 20px;
  background: var(--gradient-1);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- Thumbnails --- */
.thumbnails { display: flex; gap: 16px; margin-top: 30px; justify-content: center; }
.thumb {
  width: 100px; height: 60px;
  background: var(--surface);
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.thumb::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.3s;
}
.thumb:hover { transform: translateY(-4px) scale(1.05); border-color: var(--primary); }
.thumb.active { border-color: var(--primary); background: var(--surface-hover); }
.thumb.active::before { opacity: 0.1; }
.thumb img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; }

/* --- Product Info --- */
.product-info { padding: 20px 0; }
.series-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.series-badge .dot {
  width: 8px; height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: blink 2s infinite;
}
.product-title {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text);
}
.product-subtitle {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.product-subtitle::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}
.product-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

/* --- Specs Grid --- */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.spec-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.spec-item::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transition: left 0.5s;
}
.spec-item:hover::before { left: 100%; }
.spec-item:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  background: var(--surface-hover);
}
.spec-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
}
.spec-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Price Section --- */
.price-section {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  padding: 24px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.price-label { font-size: 14px; color: var(--text-muted); }
.price { font-size: 48px; font-weight: 900; color: var(--primary); }
.price-note { font-size: 13px; color: var(--text-muted); margin-left: auto; }

/* --- Action Buttons --- */
.action-buttons { display: flex; gap: 16px; }

/* --- Shop Channels --- */
.shop-channels { background: #fff; padding: 0; }
.shop-channels .section-inner { max-width: 120px; margin: 0 auto; padding: 0 40px; }
.shop-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.shop-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all .3s;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 16px;
}
.shop-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.shop-card-inner { width: 300px; display: flex; }
.shop-logo {
  width: 60px; height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.shop-logo img { width: 85%; height: 100%; margin-left: -10px; }
.shop-info { flex: 1; min-width: 0; }
.shop-info .shop-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shop-info .shop-desc { font-size: 12px; color: #999; line-height: 1.4; }
.shop-btn {
  float: right;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  background: #fff;
  color: #666;
  border: 1px solid #e0e0e0;
}
.shop-btn:hover { background: #f5f5f5; border-color: #d0d0d0; }
.shop-card.taobao .shop-btn { color: #FF5000; border-color: #FF5000; }
.shop-card.taobao .shop-btn:hover { background: #FFF5F0; }
.shop-card.jd .shop-btn { color: #E2231A; border-color: #E2231A; }
.shop-card.jd .shop-btn:hover { background: #FFF5F5; }
.shop-card.xianyu .shop-btn { color: #FF6A00; border-color: #FF6A00; }
.shop-card.xianyu .shop-btn:hover { background: #FFF8F0; }

/* --- Features Section --- */
.features {
  padding: 120px 60px;
  position: relative;
  z-index: 1;
  background: #fff;
}
.features-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover { transform: translateY(-8px); border-color: var(--primary); }
.feature-card:hover::before { opacity: 0; }
.feature-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(139, 92, 246, 0.05));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}
.feature-card:hover .feature-icon { background: var(--primary); transform: scale(1.1); }
.feature-icon svg { width: 36px; height: 36px; color: var(--primary-light); transition: color 0.3s; }
.feature-card:hover .feature-icon svg { color: #fff; }
.feature-card h4 { font-size: 20px; font-weight: 700; margin-bottom: 12px; position: relative; z-index: 1; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; position: relative; z-index: 1; }

/* --- Specs Table Section --- */
.specs-section {
  padding: 120px 60px;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #DDD6FE 0%, #F5F3FF 100%);
}
.specs-container {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.1);
}
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table th {
  background: var(--gradient-1);
  padding: 24px 32px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}
.specs-table td {
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  transition: all 0.3s;
}
.specs-table tr:hover td { background: var(--surface-hover); }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table .label { font-weight: 600; color: var(--text); width: 47%; }
.specs-table .value { color: var(--text-muted); }

/* --- CTA Section --- */
.cta-section {
  padding: 120px 60px;
  text-align: center;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #F5F3FF 0%, #DDD6FE 100%);
}
.cta-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 60px;
  background: var(--gradient-1);
  border-radius: 40px;
  position: relative;
  overflow: hidden;
}
.cta-container::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.cta-container h2 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 16px;
  color: #fff;
}
.cta-container p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
}
.cta-btn {
  padding: 20px 60px;
  background: #fff;
  border: none;
  border-radius: 40px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}
.cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* --- Gallery Section --- */
.gallery-section {
  padding: 80px 60px;
  position: relative;
  z-index: 1;
  background: #fff;
}
.gallery-grid {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}
.gallery-item {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}
.gallery-item:hover {
  border-color: #7C3AED;
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.25);
  transform: translateY(-5px);
}
.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  display: block;
  padding: 15px;
}

/* --- Gallery Modal --- */
.gallery-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}
.gallery-modal.active { display: flex; }
.gallery-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
}
.gallery-modal-close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-modal-close:hover { color: #7C3AED; }

/* --- Footer --- */
.footer {
  padding: 60px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
  background: var(--text);
  color: #fff;
  flex-direction: column;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand .logo-icon { background: #fff; color: var(--primary); }
.footer-brand .logo-text { color: #fff; }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 24px;
}
.footer-brand .social { display: flex; gap: 12px; }
.footer-brand .social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all .3s;
}
.footer-brand .social a:hover { background: var(--primary); }
.footer-col h4 { font-size: 15px; font-weight: 700; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: all .3s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  max-width: 1280px;
  margin: 40px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: all .3s; }
.footer-bottom a:hover { color: #fff; }

/* ============================================
   响应式 — 产品页
   ============================================ */

@media (max-width: 1200px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .product-showcase { order: -1; }
  .product-title { font-size: 48px; }
}

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

@media (max-width: 768px) {
  .header { padding: 12px 16px; }
  .logogo img { width: 200px !important; }
  .nav-links { display: none; }
  .breadcrumb-nav { padding: 80px 16px 0; }
  .hero { padding: 80px 16px 30px; }
  .product-title { font-size: 32px; }
  .product-subtitle { font-size: 18px; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .spec-value { font-size: 22px; }
  .features-grid { grid-template-columns: 1fr; }
  .features, .specs-section, .cta-section { padding: 40px 16px; }
  .section-header h2 { font-size: 32px; }
  .section-header p { font-size: 15px; }
  .product-card { width: 100%; padding: 30px; min-height: 400px; }
  .product-image-container { height: 280px; }
  .thumbnails { gap: 10px; }
  .thumb { width: 60px; height: 40px; }
  .thumb img { width: 100%; height: 100%; }
  .shop-channels-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .shop-card-inner { width: 100%; flex-wrap: wrap; }
  .shop-logo { width: 50px; height: 40px; }
  .shop-info { flex: 1; min-width: calc(100% - 120px); }
  .shop-btn { width: 100%; text-align: center; margin-top: 10px; }
  .action-buttons { flex-direction: column; gap: 12px; }
  .btn-primary, .btn-secondary { padding: 14px 24px; font-size: 14px; }
  .cta-container { padding: 40px 24px; }
  .cta-container h2 { font-size: 28px; }
  .cta-container p { font-size: 15px; }
  .cta-btn { padding: 14px 40px; font-size: 16px; }
  .specs-table { display: block; overflow-x: auto; }
  .specs-table th, .specs-table td { white-space: nowrap; padding: 14px 16px; font-size: 13px; }
  .gallery-section { padding: 60px 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .gallery-item img { height: 140px; }
  .footer { padding: 40px 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-brand .logo img { width: 180px; }
  .footer-brand p { font-size: 13px; }
  .footer-col h4 { font-size: 14px; }
  .footer-col ul li a { font-size: 13px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; padding-top: 20px; }
  .footer-bottom p { font-size: 12px; padding: 0 !important; }
  .feature-card { padding: 24px 20px; }
  .feature-icon { width: 60px; height: 60px; }
  .feature-icon svg { width: 28px; height: 28px; }
}

@media (max-width: 480px) {
  .product-title { font-size: 28px; }
  .product-subtitle { font-size: 16px; }
  .product-desc { font-size: 14px; }
  .specs-grid { grid-template-columns: 1fr 1fr; }
  .spec-item { padding: 16px 12px; }
  .spec-value { font-size: 20px; }
  .spec-label { font-size: 11px; }
  .logogo img { width: 160px !important; }
  .back-btn { padding: 10px 18px; font-size: 13px; }
}
