/* ===== REBO-LABEL ENHANCED SECTIONS: SOLUTIONS, VISION, SPECS FILTER, FAQ & GUIDES ===== */

/* 1. Hero KPI Bar */
.hero-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-kpi-item {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
}

.hero-kpi-val {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1.2;
  margin-bottom: 4px;
}

.hero-kpi-lbl {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.3;
}

@media (max-width: 768px) {
  .hero-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* 2. Solutions / Model Series Section (#solutions) */
.solutions-overview {
  padding: 90px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
  position: relative;
}

.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 48px;
  align-items: stretch;
}

.solution-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 84, 166, 0.14);
  border-color: #0054a6;
}

.solution-card.featured {
  background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
  border: 2px solid #38bdf8;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.24);
}

.solution-badge {
  display: inline-block;
  align-self: flex-start;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
}

.solution-card.featured .solution-badge {
  background: #38bdf8;
  color: #0f172a;
}

.solution-img-wrap {
  width: 100%;
  height: 240px;
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.12) 0%, rgba(15, 23, 42, 0.03) 70%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  padding: 12px;
}

.solution-card.featured .solution-img-wrap {
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.22) 0%, rgba(255, 255, 255, 0.04) 75%);
}

.solution-img-wrap img {
  max-height: 220px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
  transition: transform 0.35s ease;
}

.solution-card:hover .solution-img-wrap img {
  transform: scale(1.05);
}

.solution-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.solution-card.featured h3 {
  color: #ffffff;
}

.solution-subtitle {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 18px;
}

.solution-card.featured .solution-subtitle {
  color: #cbd5e1;
}

.solution-specs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  text-align: left;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding-top: 16px;
}

.solution-specs-list li {
  font-size: 0.9rem;
  color: #334155;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.solution-card.featured .solution-specs-list li {
  color: #f1f5f9;
}

.solution-specs-list li i {
  color: #0284c7;
  margin-top: 3px;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.solution-card.featured .solution-specs-list li i {
  color: #38bdf8;
}

.solution-quote-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  background: #0054a6;
  color: #ffffff;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.solution-quote-btn:hover {
  background: #003d7a;
  transform: translateY(-2px);
}

.solution-card.featured .solution-quote-btn {
  background: #38bdf8;
  color: #0f172a;
}

.solution-card.featured .solution-quote-btn:hover {
  background: #7dd3fc;
}

@media (max-width: 992px) {
  .solution-cards {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 3. VisualGuard Machine Vision Section (#vision) */
.vision-section {
  padding: 90px 0;
  background: #0f172a;
  color: #ffffff;
}

.vision-section .section-header h2 {
  color: #ffffff;
}

.vision-section .section-header p {
  color: #94a3b8;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 44px;
}

.vision-diagram-card {
  background: #1e293b;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.vision-diagram-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.vision-diagram-caption {
  font-size: 0.85rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 12px;
}

.vision-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vision-step-card {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-left: 4px solid #38bdf8;
  border-radius: 14px;
  padding: 22px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.vision-step-card:hover {
  transform: translateX(6px);
  border-color: #38bdf8;
}

.vision-step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vision-step-card p {
  font-size: 0.94rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 992px) {
  .vision-grid {
    grid-template-columns: 1fr;
  }
}

/* 4. Specs Filter Bar */
.specs-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 36px auto;
}

.spec-filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.spec-filter-btn:hover,
.spec-filter-btn.active {
  background: #0054a6;
  color: #ffffff;
  border-color: #0054a6;
  box-shadow: 0 4px 12px rgba(0, 84, 166, 0.22);
}

/* 5. FAQ & Technical Guides Section (#faq) */
.faq-section {
  padding: 90px 0;
  background: #f8fafc;
}

.rebo-faq-list {
  max-width: 920px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rebo-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease;
}

.rebo-faq-item.open {
  border-color: #0054a6;
}

.rebo-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rebo-faq-q i {
  color: #0054a6;
  transition: transform 0.25s ease;
}

.rebo-faq-item.open .rebo-faq-q i {
  transform: rotate(180deg);
}

.rebo-faq-a {
  display: none;
  padding: 0 24px 22px 24px;
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
}

.rebo-faq-item.open .rebo-faq-a {
  display: block;
  padding-top: 16px;
}

/* Technical Guides Synergy Grid */
.guides-hub-box {
  max-width: 1080px;
  margin: 64px auto 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 34px 30px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.guides-hub-title {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.guides-hub-sub {
  text-align: center;
  font-size: 0.94rem;
  color: #64748b;
  margin-bottom: 26px;
}

.guides-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.guide-link-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  text-decoration: none;
  transition: all 0.25s ease;
}

.guide-link-card:hover {
  border-color: #0054a6;
  background: #f0f9ff;
  transform: translateY(-3px);
}

.guide-link-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #0054a6;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.guide-link-body h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 5px 0;
  line-height: 1.35;
}

.guide-link-body p {
  font-size: 0.85rem;
  color: #475569;
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .guides-hub-grid {
    grid-template-columns: 1fr;
  }
}
