/* ============================================
   SmartSpaces 智慧办公 - Page Styles
   ============================================ */

/* === Section Header (shared) === */
.ss-section {
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.section-header .subtitle {
  font-size: 1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

/* === Hero Banner === */
.ss-hero {
  margin-top: var(--nav-height);
  position: relative;
  background: #0a1628;
  padding: 0;
  height: clamp(180px, 20.8vw, 400px);
  overflow: hidden;
}

.ss-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.55) 0%, rgba(10,22,40,0.25) 100%);
  z-index: 1;
  pointer-events: none;
}

.ss-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ss-hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.ss-hero-text h1 {
  font-size: clamp(1.2rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ss-hero-text p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  margin: 0;
  opacity: 0.9;
}

/* Remove old CTA styles */
/*.ss-hero-cta {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
}*/

.ss-btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.25s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.ss-btn-primary {
  background: #2563eb;
  color: #fff;
}

.ss-btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.ss-btn-outline {
  background: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.ss-btn-outline:hover {
  background: #2563eb;
  color: #fff;
}

/* === Value Proposition === */
.ss-values {
  background: #fff;
}

.ss-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ss-value-card {
  text-align: center;
  padding: 36px 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ss-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.ss-value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.ss-value-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ss-value-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
}

.ss-value-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.65;
}

/* === Video Section === */
.ss-video {
  background: #0f172a;
  padding: 60px 0;
}

.ss-video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.ss-video-player {
  width: 100%;
  display: block;
  background: #000;
}

/* === Why Detail (plain background) === */
.ss-why-detail {
  background: #f8fafc;
  padding: 80px 0;
}

.ss-why-detail-content {
  text-align: center;
  color: #334155;
}

.ss-why-detail-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1e293b;
}

.ss-why-detail-content > p {
  font-size: 1rem;
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.75;
  color: #64748b;
}

.ss-why-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.ss-stat {
  padding: 24px 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.ss-stat strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #2563eb;
  line-height: 1.2;
  margin-bottom: 6px;
}

.ss-stat span {
  font-size: 0.9rem;
  color: #64748b;
}

/* === Solution Sections === */
.ss-solution {
  background: #fff;
}

.ss-solution-alt {
  background: #f8fafc;
}

.ss-solution-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.ss-solution-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ss-solution-text h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.ss-solution-text em {
  display: block;
  font-style: normal;
  font-size: 0.95rem;
  color: #2563eb;
  font-weight: 500;
  margin-bottom: 20px;
}

.ss-solution-text ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.ss-solution-text ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
}

.ss-solution-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
}

/* === Client Cases Carousel === */
/* === CTA Band === */
.cta-band {
  padding: 48px 0;
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  color: #fff;
  text-align: center;
}
.cta-band h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cta-band p {
  opacity: 0.9;
  margin-bottom: 20px;
}
.cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background: #fff;
  color: #2563eb;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 40px;
  transition: all 0.25s;
  text-decoration: none;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* === Footer === */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 24px 0;
  font-size: 0.88rem;
}

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

.footer-left {
  display: flex;
  gap: 20px;
}

.footer a {
  color: #cbd5e1;
  transition: color 0.2s;
}

.footer a:hover {
  color: #fff;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .ss-values-grid,
  .ss-why-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .ss-solution-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .ss-section {
    padding: 48px 0;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .ss-values-grid {
    grid-template-columns: 1fr;
  }

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

  .ss-solution-text h2 {
    font-size: 1.4rem;
  }

  .ss-why-detail-content h2 {
    font-size: 1.5rem;
  }

  .ss-stat strong {
    font-size: 2rem;
  }

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

  .footer-left {
    flex-direction: column;
    gap: 4px;
  }


@media (max-width: 480px) {
  .ss-why-stats {
    grid-template-columns: 1fr;
  }

  .ss-hero-cta {
    bottom: 24px;
  }

  .ss-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}
