/* ================================================
   黑科智能 - 墨绿赛博朋克科技风官网
   Color Palette:
   - Dark Background: #0a0f0d, #111916
   - Primary Green: #1a5c45, #24b393
   - Accent Neon: #00ffc8
   - Silver: #c0c0c0, #a8b5c4
   ================================================ */

:root {
  --bg-deep: #060a08;
  --bg-dark: #0a0f0d;
  --bg-card: #111916;
  --bg-card-hover: #162019;
  --primary: #1a5c45;
  --primary-light: #24b393;
  --accent: #00ffc8;
  --accent-dim: rgba(0, 255, 200, 0.15);
  --silver: #c0c0c0;
  --silver-dark: #8a9ba8;
  --text-main: #e8eee9;
  --text-muted: #7a8a84;
  --border: rgba(36, 179, 147, 0.2);
  --glow: 0 0 20px rgba(0, 255, 200, 0.3);
  --glow-strong: 0 0 40px rgba(0, 255, 200, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', 'Source Han Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ================================================
   ANIMATED BACKGROUND
   ================================================ */
.bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-particles::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(26, 92, 69, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(0, 255, 200, 0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(36, 179, 147, 0.08) 0%, transparent 60%);
  animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

/* Grid Lines Overlay */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(36, 179, 147, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 179, 147, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* ================================================
   SCROLL PROGRESS BAR
   ================================================ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 1000;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: var(--glow);
}

/* ================================================
   HEADER / NAVIGATION
   ================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 10, 8, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(6, 10, 8, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: var(--accent);
  box-shadow: 0 0 15px rgba(0, 255, 200, 0.3);
  animation: logoBreath 3s ease-in-out infinite;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

@keyframes logoBreath {
  0%, 100% { box-shadow: 0 0 15px rgba(0, 255, 200, 0.3); }
  50% { box-shadow: 0 0 25px rgba(0, 255, 200, 0.5); }
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 1px;
}

.logo-text span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  color: var(--silver-dark);
  text-decoration: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 0.5px;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
  box-shadow: var(--glow);
}

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

.nav a:hover::after {
  width: 60%;
}

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

.nav a.active::after {
  width: 60%;
}

.nav-cta {
  background: transparent !important;
  border: 1px solid var(--primary) !important;
  color: var(--accent) !important;
  margin-left: 12px;
}

.nav-cta:hover {
  background: var(--accent-dim) !important;
  border-color: var(--accent) !important;
  box-shadow: var(--glow);
}

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

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  z-index: 2;
}

.hero-content {
  max-width: 900px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 255, 200, 0.3);
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 32px;
  letter-spacing: 1px;
  animation: fadeInUp 0.8s ease;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 .line1 {
  display: block;
  color: var(--text-main);
}

.hero h1 .line2 {
  display: block;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: white;
  box-shadow: 0 4px 20px rgba(36, 179, 147, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(36, 179, 147, 0.4);
}

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

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

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ================================================
   SECTION COMMON
   ================================================ */
.section {
  position: relative;
  z-index: 2;
  padding: 120px 40px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.section-tag::before,
.section-tag::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--primary);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ================================================
   PRODUCTS SECTION
   ================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.product-card:hover {
  border-color: rgba(0, 255, 200, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 255, 200, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.product-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.product-badge-free {
  background: rgba(0, 255, 200, 0.15);
  color: var(--accent);
  border: 1px solid rgba(0, 255, 200, 0.3);
}

.product-badge-pro {
  background: rgba(36, 179, 147, 0.2);
  color: var(--primary-light);
  border: 1px solid rgba(36, 179, 147, 0.3);
}

.product-badge-vip {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.product-badge-new {
  background: rgba(156, 39, 176, 0.15);
  color: #ce93d8;
  border: 1px solid rgba(156, 39, 176, 0.3);
}

.product-badge-party {
  background: rgba(233, 30, 99, 0.15);
  color: #f48fb1;
  border: 1px solid rgba(233, 30, 99, 0.3);
}

.product-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.product-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-tags .tag {
  padding: 3px 10px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 11px;
  color: var(--silver-dark);
}

/* Product CTA Button */
.product-btn {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  margin-top: auto;
  transition: all 0.3s ease;
}

.product-btn-free,
.product-btn-pro {
  background: var(--primary);
  color: white;
  border: 1px solid var(--primary-light);
}

.product-btn-free:hover,
.product-btn-pro:hover {
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  color: #000;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 255, 200, 0.4);
}

/* Hover highlight when mouse is anywhere on the card */
.product-card:hover .product-btn-free,
.product-card:hover .product-btn-pro {
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  color: #000;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 255, 200, 0.4);
}

.product-btn-disabled {
  background: var(--bg-dark);
  color: var(--text-muted);
  cursor: not-allowed;
  border: 1px solid var(--border);
}

/* ================================================
   SERVICES SECTION
   ================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--accent-dim), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  border-color: rgba(0, 255, 200, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 255, 200, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
}

.service-card:hover .service-icon {
  background: rgba(0, 255, 200, 0.2);
  box-shadow: var(--glow);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ================================================
   CASES / SHOWCASE
   ================================================ */
.cases-section {
  background: linear-gradient(180deg, transparent, rgba(17, 25, 22, 0.8), transparent);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.case-card:hover {
  border-color: rgba(0, 255, 200, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.case-image {
  height: 220px;
  background: linear-gradient(135deg, var(--bg-deep), var(--primary));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 40%, rgba(0, 255, 200, 0.05) 50%, transparent 60%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.case-image-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 255, 200, 0.1);
  border: 1px solid rgba(0, 255, 200, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-image-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent);
}

.case-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 1px;
}

.case-content {
  padding: 28px;
}

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

.case-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.case-tech {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tech-tag {
  padding: 4px 12px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 12px;
  color: var(--silver-dark);
}

/* ================================================
   FEATURES / ADVANTAGES
   ================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: rgba(0, 255, 200, 0.2);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
}

.feature-text h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================================================
   ABOUT SECTION
   ================================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-left h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-left h3 span {
  color: var(--accent);
}

.about-left p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-right {
  position: relative;
}

.about-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--accent-dim), transparent 60%);
}

.about-info-grid {
  display: grid;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.about-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-info-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-info-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

.about-info-text h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.about-info-text p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

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

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 255, 200, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
}

.contact-text h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-text p {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-text a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-text a:hover {
  color: var(--accent);
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--silver);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(36, 179, 147, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 60px 40px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

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

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--silver);
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--silver-dark);
  transition: fill 0.3s ease;
}

.social-link:hover svg {
  fill: var(--accent);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.6;
}

.footer-bottom a:hover {
  color: var(--accent);
}

.beian-police {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.beian-police img {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.beian-police:hover img {
  opacity: 1;
}

/* ================================================
   SHOWCASE SECTION - 客户案例展示
   ================================================ */
.showcase-section {
  background: var(--bg-deep);
}

.showcase-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.showcase-content h3 {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.3;
}

.showcase-content h3 span {
  color: var(--accent);
}

.showcase-subtitle {
  font-size: 18px;
  color: var(--primary-light);
  margin-bottom: 32px;
  font-weight: 500;
}

.showcase-features {
  list-style: none;
  margin-bottom: 32px;
}

.showcase-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.showcase-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 255, 200, 0.4);
}

.showcase-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.showcase-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-dark);
  border: 1px solid var(--border);
}

.showcase-video iframe,
.showcase-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

@media (max-width: 900px) {
  .showcase-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }

  .showcase-content h3 {
    font-size: 24px;
  }

  .showcase-subtitle {
    font-size: 16px;
  }

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

/* ================================================
   MEDIA COVERAGE SECTION
   ================================================ */
.media-section {
  background: linear-gradient(180deg, transparent, rgba(17, 25, 22, 0.6), transparent);
}

/* 视频卡片网格 */
.media-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.media-video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
}

.media-video-card:hover {
  border-color: rgba(0, 255, 200, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* 视频缩略图区域 */
.media-video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--bg-dark), var(--primary));
  overflow: hidden;
}

/* 内嵌视频预览（显示第一帧） */
.media-video-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  z-index: 0;
}

.media-video-card:hover .media-video-preview {
  transform: scale(1.05);
}

/* 播放中：contain + 黑色背景 */
.media-video-card.playing .media-video-preview {
  object-fit: contain;
  background: #000;
  z-index: 3;
}

/* 播放时隐藏hover缩放 */
.media-video-card.playing:hover .media-video-preview {
  transform: none;
}

/* 占位降级（视频加载前显示） */
.media-video-placeholder-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.media-video-placeholder-fallback svg {
  width: 48px;
  height: 48px;
  stroke: var(--accent);
  opacity: 0.4;
}

.media-video-placeholder-fallback span {
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.5;
}

/* 视频加载成功后隐藏占位 */
.media-video-preview[src]:not([src=""]) ~ .media-video-placeholder-fallback {
  opacity: 0;
}

/* 播放按钮叠加层 */
.media-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.media-video-card:hover .media-play-overlay {
  opacity: 1;
}

/* 播放中：半透明+顶部显示 */
.media-play-overlay.playing {
  opacity: 0;
  background: transparent;
  pointer-events: none;
}

.media-play-btn {
  width: 60px;
  height: 60px;
  background: rgba(0, 255, 200, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(0, 255, 200, 0.5);
}

.media-video-card:hover .media-play-btn {
  transform: scale(1);
}

.media-play-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--bg-deep);
  margin-left: 3px;
}

/* 放大按钮 */
.media-expand-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 5;
}

.media-video-card:hover .media-expand-btn {
  opacity: 1;
}

.media-expand-btn:hover {
  background: rgba(0, 255, 200, 0.2);
  border-color: rgba(0, 255, 200, 0.4);
  color: var(--primary);
}

.media-expand-btn svg {
  width: 16px;
  height: 16px;
}

/* 播放加载动画 */
.media-playing-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.media-playing-spinner.active {
  transform: translate(-50%, -50%) scale(1);
  animation: media-spin 0.8s linear infinite;
}

@keyframes media-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 视频正在播放时卡片样式 */
.media-video-card.playing {
  border-color: rgba(0, 255, 200, 0.5);
  box-shadow: 0 0 30px rgba(0, 255, 200, 0.15);
}

/* 视频信息栏 */
.media-video-info {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.media-video-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

.media-video-info .media-video-date {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ================================================
   媒体照片画廊 — Slideshow + Thumbnails
   ================================================ */
.media-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.media-gallery-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 15px;
  border: 1px dashed var(--border);
  border-radius: 12px;
}

/* ---- 上方大图轮播 ---- */
.media-slideshow {
  width: 100%;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  min-height: 360px;
}

.media-slideshow-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.media-slideshow-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.media-slideshow-img.active {
  opacity: 1;
  pointer-events: auto;
}

.media-slideshow-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}

.media-slideshow-caption span {
  font-size: 18px;
  color: #fff;
  font-weight: 500;
}

.media-slideshow-counter {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* 轮播箭头 */
.media-slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.media-slideshow:hover .media-slideshow-arrow {
  opacity: 1;
}

.media-slideshow-arrow:hover {
  background: rgba(0, 255, 200, 0.2);
  border-color: var(--accent);
}

.media-slideshow-arrow svg {
  width: 20px;
  height: 20px;
}

.media-slideshow-arrow.prev { left: 12px; }
.media-slideshow-arrow.next { right: 12px; }

/* 指示点 */
.media-slideshow-dots {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
  pointer-events: none;
}

.media-slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.media-slideshow-dot.active {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(0, 255, 200, 0.5);
  width: 24px;
  border-radius: 4px;
}

/* ---- 底部横向缩略条 ---- */
.media-thumbnails {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.media-thumbnails::-webkit-scrollbar {
  height: 4px;
}

.media-thumbnails::-webkit-scrollbar-track {
  background: transparent;
}

.media-thumbnails::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.media-thumb-item {
  flex-shrink: 0;
  width: 120px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease, transform 0.2s ease;
  position: relative;
}

.media-thumb-item:hover {
  border-color: rgba(0, 255, 200, 0.4);
  transform: scale(1.02);
}

.media-thumb-item.active {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(0, 255, 200, 0.2);
}

.media-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================================================
   VIDEO MODAL
   ================================================ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  pointer-events: all;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 8, 0.95);
  backdrop-filter: blur(10px);
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 960px;
  z-index: 1;
}

.video-modal-content video {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  outline: none;
}

.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.3s ease;
  z-index: 2;
}

.video-modal-close:hover {
  background: rgba(255, 60, 60, 0.2);
  border-color: rgba(255, 60, 60, 0.5);
  color: #ff3c3c;
}

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

/* ================================================
   PHOTO LIGHTBOX
   ================================================ */
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.photo-lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.photo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 8, 0.97);
  backdrop-filter: blur(15px);
}

.photo-lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.photo-lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}

.photo-lightbox-caption {
  font-size: 15px;
  color: var(--silver);
  text-align: center;
}

/* Lightbox 控制按钮 */
.photo-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.3s ease;
  z-index: 2;
}

.photo-lightbox-close:hover {
  background: rgba(255, 60, 60, 0.2);
  border-color: rgba(255, 60, 60, 0.5);
  color: #ff3c3c;
}

.photo-lightbox-close svg {
  width: 22px;
  height: 22px;
}

.photo-lightbox-prev,
.photo-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(17, 25, 22, 0.8);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.3s ease;
  z-index: 2;
}

.photo-lightbox-prev {
  left: 20px;
}

.photo-lightbox-next {
  right: 20px;
}

.photo-lightbox-prev:hover,
.photo-lightbox-next:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--glow);
}

.photo-lightbox-prev svg,
.photo-lightbox-next svg {
  width: 24px;
  height: 24px;
}

/* ================================================
   SHOWCASE VIDEO MODAL
   ================================================ */
.showcase-video-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.showcase-video-modal.active {
  opacity: 1;
  pointer-events: all;
}

.showcase-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 8, 0.97);
  backdrop-filter: blur(15px);
}

.showcase-video-modal-content {
  position: relative;
  z-index: 1;
  width: 90vw;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  max-height: 85vh;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.showcase-video-modal-content video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.showcase-video-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s ease;
}

.showcase-video-modal-close:hover {
  background: var(--green);
  color: var(--bg);
  border-color: var(--green);
}

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

/* ================================================
   SCROLL ANIMATIONS
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ================================================
   MOBILE RESPONSIVE
   ================================================ */
@media (max-width: 768px) {
  .header {
    padding: 0 20px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(6, 10, 8, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 12px 16px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 30px;
  }

  .section {
    padding: 80px 20px;
  }

  .about-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  /* 媒体报道移动端 */
  .media-videos {
    grid-template-columns: 1fr;
  }

  .media-gallery {
    flex-direction: column;
  }

  .media-slideshow {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 240px;
  }

  .media-thumbnails {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding-right: 0;
    padding-bottom: 4px;
  }

  .media-thumb-item {
    flex-shrink: 0;
    width: 100px;
    aspect-ratio: 4 / 3;
  }

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

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .media-slideshow {
    min-height: 200px;
  }

  .media-thumb-item {
    width: 80px;
  }

  .media-slideshow-dots {
    bottom: 40px;
  }
}

/* ================================================
   IMAGE PLACEHOLDERS
   ================================================ */

/* Hero背景图占位 */
.hero-image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--primary) 50%, var(--bg-dark) 100%);
  opacity: 0.3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: -1;
}

.hero-image-placeholder .placeholder-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-dim);
  border: 2px dashed rgba(0, 255, 200, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-placeholder .placeholder-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent);
  opacity: 0.5;
}

.hero-image-placeholder span {
  font-size: 14px;
  color: var(--text-muted);
  opacity: 0.6;
}

/* 产品卡片图片占位 */
.product-image-placeholder {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

/* 有实际图片时隐藏占位符图标 */
.product-image-placeholder[style*="background-image"] {
  background: none;
}
.product-image-placeholder[style*="background-image"] .placeholder-icon,
.product-image-placeholder[style*="background-image"] span {
  display: none;
}

/* 有实际图片时隐藏shimmer动画 */
.product-image-placeholder[style*="background-image"]::before {
  display: none;
}

.product-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 40%, rgba(0, 255, 200, 0.05) 50%, transparent 60%);
  animation: shimmer 3s infinite;
}

.product-image-placeholder .placeholder-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 2px dashed rgba(0, 255, 200, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.product-image-placeholder .placeholder-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  opacity: 0.5;
}

.product-image-placeholder span {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.6;
  z-index: 1;
}

/* 案例卡片图片占位 */
.case-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--primary) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* 有实际图片时隐藏占位符 */
.case-image-placeholder[style*="background-image"] {
  background: none;
}
.case-image-placeholder[style*="background-image"] .placeholder-icon,
.case-image-placeholder[style*="background-image"] span {
  display: none;
}

.case-image-placeholder .placeholder-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-dim);
  border: 2px dashed rgba(0, 255, 200, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-image-placeholder .placeholder-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent);
  opacity: 0.5;
}

.case-image-placeholder span {
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.6;
}

/* 关于页面图片占位 */
.about-image-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--primary) 100%);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.about-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 40%, rgba(0, 255, 200, 0.05) 50%, transparent 60%);
  animation: shimmer 4s infinite;
}

.about-image-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.about-image-placeholder-inner svg {
  width: 48px;
  height: 48px;
  stroke: var(--accent);
  opacity: 0.4;
}

.about-image-placeholder-inner span {
  font-size: 14px;
  color: var(--text-muted);
  opacity: 0.5;
}
