/* ============================================
   solutions.css V2 — AI 解决方案页 深色科技风
   ============================================ */

/* --- Page Banner --- */
.sol-banner {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: var(--space-5xl) var(--space-xl) var(--space-3xl);
  margin-top: 64px;
}

.sol-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glow-hero);
  pointer-events: none;
}

.sol-banner-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.sol-banner-grid-pattern {
  position: absolute;
  inset: -10%;
  background-image:
    radial-gradient(circle at center, rgba(255,107,94,0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  animation: grid-pulse 6s ease-in-out infinite;
}

.sol-banner-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.sol-banner-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.2vw, var(--text-6xl));
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  color: var(--text-bright);
  line-height: 1.02;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.035em;
}

.sol-banner-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.92;
  letter-spacing: 0.012em;
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
}

.sol-banner-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.sol-banner-nav .btn {
  min-width: 160px;
}

/* Banner decorations */
.sol-banner-deco {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.sol-banner-deco-1 {
  width: 500px;
  height: 500px;
  background: rgba(255,107,94,0.1);
  top: -120px;
  right: -100px;
  animation: glow-breathe 8s ease-in-out infinite;
}

.sol-banner-deco-2 {
  width: 400px;
  height: 400px;
  background: rgba(245,166,35,0.06);
  bottom: -80px;
  left: -120px;
  animation: glow-breathe 8s ease-in-out infinite 2s;
}

/* --- Section Common --- */
.sol-section {
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
}

/* Section divider gradient line */
.sol-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,94,0.3) 20%, rgba(245,166,35,0.2) 50%, rgba(52,199,89,0.15) 80%, transparent);
  margin: 0;
}

/* Section glow decoration */
.sol-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.sol-glow-primary {
  width: 500px;
  height: 500px;
  background: rgba(255,107,94,0.06);
}

.sol-glow-secondary {
  width: 400px;
  height: 400px;
  background: rgba(245,166,35,0.05);
}

.sol-glow-accent {
  width: 450px;
  height: 450px;
  background: rgba(52,199,89,0.05);
}

/* --- Product Hero Layout --- */
.sol-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  margin-bottom: var(--space-4xl);
  position: relative;
  z-index: 1;
}

.sol-hero.reversed {
  direction: rtl;
}

.sol-hero.reversed > * {
  direction: ltr;
}

.sol-hero-content {
  position: relative;
  z-index: 1;
}

/* Tag */
.sol-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  margin-bottom: var(--space-xl);
  border: 1px solid;
}

.sol-tag-primary {
  background: rgba(255,107,94,0.08);
  color: var(--color-primary);
  border-color: rgba(255,107,94,0.2);
}

.sol-tag-secondary {
  background: rgba(245,166,35,0.08);
  color: var(--color-secondary);
  border-color: rgba(245,166,35,0.2);
}

.sol-tag-accent {
  background: rgba(52,199,89,0.08);
  color: var(--color-accent);
  border-color: rgba(52,199,89,0.2);
}

.sol-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.sol-tag-primary .sol-tag-dot { background: var(--color-primary); box-shadow: 0 0 8px var(--color-primary); }
.sol-tag-secondary .sol-tag-dot { background: var(--color-secondary); box-shadow: 0 0 8px var(--color-secondary); }
.sol-tag-accent .sol-tag-dot { background: var(--color-accent); box-shadow: 0 0 8px var(--color-accent); }

.sol-hero-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 30;
  color: var(--text-bright);
  line-height: 1.08;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.025em;
}

.sol-hero-desc {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  max-width: 480px;
}

.sol-hero-actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

/* --- SVG Visual Container --- */
.sol-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
}

.sol-visual-wrapper svg {
  width: 100%;
  height: 100%;
}

/* SVG shared styles */
.sol-visual-wrapper .node-pulse {
  animation: sol-node-pulse 3s ease-in-out infinite;
}

.sol-visual-wrapper .node-float {
  animation: float 4s ease-in-out infinite;
}

.sol-visual-wrapper .line-fade {
  animation: sol-line-fade 4s ease-in-out infinite;
}

@keyframes sol-node-pulse {
  0%, 100% { opacity: 0.6; r: inherit; }
  50% { opacity: 1; }
}

@keyframes sol-line-fade {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.4; }
}

/* Visual glow behind SVG */
.sol-visual-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

.sol-visual-glow-primary { background: rgba(255,107,94,0.1); }
.sol-visual-glow-secondary { background: rgba(245,166,35,0.08); }
.sol-visual-glow-accent { background: rgba(52,199,89,0.08); }

/* --- Features Section --- */
.sol-features {
  position: relative;
  z-index: 1;
}

.sol-features-label {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

/* ===== Product Showcase — 实拍 & 手册 & PPT 亮点 ===== */
.sol-showcase {
  margin-top: var(--space-5xl, 80px);
  padding-top: var(--space-4xl, 64px);
  border-top: 1px solid var(--border-card, rgba(255,255,255,0.06));
}
.sol-showcase-head {
  text-align: center;
  margin-bottom: var(--space-3xl, 48px);
}

/* PPT slide gallery */
.sol-slide-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: var(--space-4xl, 64px);
}
.sol-slide-card {
  margin: 0;
  background: var(--bg-card, #0e1422);
  border: 1px solid var(--border-card, rgba(255,255,255,0.07));
  border-radius: 12px;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.sol-slide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(52,199,89,0.35);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}
.sol-slide-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #000;
}
.sol-slide-card figcaption {
  padding: 10px 14px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted, #a9b0c0);
  letter-spacing: 0.01em;
}

/* 产品实拍 mosaic grid */
.sol-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
  margin-bottom: var(--space-4xl, 64px);
}
.sol-photo-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-card, rgba(255,255,255,0.07));
  background: #000;
  isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease;
}
.sol-photo-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.28); }
.sol-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.sol-photo-card:hover img { transform: scale(1.06); }
.sol-photo-tall { grid-row: span 2; }
.sol-photo-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.75) 100%);
  color: #fff;
}
.sol-photo-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent, #34C759);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.sol-photo-desc {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
}

/* Brochure 6-panel grid */
.sol-brochure-head {
  text-align: center;
  margin-bottom: var(--space-2xl, 32px);
}
.sol-brochure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.sol-brochure-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: #fff;
  transition: transform .3s ease, border-color .3s ease;
}
.sol-brochure-grid img:hover {
  transform: scale(1.02);
  border-color: rgba(255,107,94,0.4);
}

@media (max-width: 960px) {
  .sol-slide-gallery { grid-template-columns: repeat(2, 1fr); }
  .sol-photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .sol-brochure-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sol-slide-gallery { grid-template-columns: 1fr; }
  .sol-photo-grid { grid-template-columns: 1fr; grid-auto-rows: 190px; }
  .sol-photo-tall { grid-row: auto; }
  .sol-brochure-grid { grid-template-columns: 1fr; }
}

.sol-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.sol-features-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 840px;
  margin: 0 auto;
}

/* --- Feature Card (glass-card variant) --- */
.sol-feature-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  padding: var(--space-2xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

/* Top inner light */
.sol-feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0,0,0,0.03) 0%, transparent 40%);
  pointer-events: none;
}

/* Shine sweep */
.sol-feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.04), transparent);
  transform: rotate(25deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.sol-feature-card:hover::after {
  left: 120%;
}

.sol-feature-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow-sm), var(--shadow-card);
  transform: translateY(-6px);
}

/* Feature card icon */
.sol-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  position: relative;
}

.sol-feature-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: inherit;
  filter: blur(12px);
  opacity: 0.4;
  z-index: -1;
}

.sol-feature-icon-primary {
  background: rgba(255,107,94,0.12);
  color: var(--color-primary);
}

.sol-feature-icon-secondary {
  background: rgba(245,166,35,0.12);
  color: var(--color-secondary);
}

.sol-feature-icon-accent {
  background: rgba(52,199,89,0.12);
  color: var(--color-accent);
}

.sol-feature-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: var(--space-sm);
}

.sol-feature-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- CTA Section --- */
.sol-cta {
  position: relative;
  overflow: hidden;
  padding: var(--space-5xl) 0;
}

.sol-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.sol-cta-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: var(--space-md);
}

.sol-cta-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.sol-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.sol-cta-deco {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.sol-cta-deco-1 {
  width: 500px;
  height: 500px;
  background: rgba(255,107,94,0.08);
  top: -150px;
  right: -100px;
}

.sol-cta-deco-2 {
  width: 400px;
  height: 400px;
  background: rgba(52,199,89,0.05);
  bottom: -120px;
  left: -80px;
}

/* --- Center Layout (brain-robot) --- */
.sol-hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2xl);
  margin-bottom: var(--space-4xl);
  position: relative;
  z-index: 1;
}

.sol-hero-center .sol-hero-desc {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.sol-hero-center .sol-visual-wrapper {
  max-width: 400px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .sol-hero {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .sol-hero.reversed {
    direction: ltr;
  }

  .sol-hero-desc {
    max-width: 100%;
  }

  .sol-hero-actions {
    justify-content: center;
  }

  .sol-visual-wrapper {
    max-width: 360px;
    margin: 0 auto;
  }

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

  .sol-banner {
    min-height: 420px;
    padding-top: var(--space-4xl);
  }
}

@media (max-width: 768px) {
  .sol-banner {
    min-height: 360px;
    padding: var(--space-4xl) var(--space-md) var(--space-2xl);
  }

  .sol-banner-title {
    font-size: var(--text-3xl);
  }

  .sol-banner-nav {
    flex-direction: column;
  }

  .sol-features-grid,
  .sol-features-grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .sol-hero-actions {
    flex-direction: column;
  }

  .sol-cta-actions {
    flex-direction: column;
  }

  .sol-section {
    padding: var(--space-4xl) 0;
  }

  .sol-hero-title {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 480px) {
  .sol-banner-title {
    font-size: var(--text-2xl);
  }

  .sol-feature-card {
    padding: var(--space-lg);
  }
}
