/* Products Page Specific Styles - Fully Responsive */

/* Hero Banner */
.products-hero {
  position: relative;
  width: 100%;
  height: 500px;
  margin-top: 72px;
  background: url(../img/mlgezwojqLRgap_imagewithfallback-2.png) center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 43, 0.6);
}

.hero-content-wrapper {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 5%;
  max-width: 1216px;
  margin: 0 auto;
}

.hero-title {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 900;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  margin: 0 0 24px 0;
  text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
}

.hero-description {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 400;
  color: #e2e8f0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
  margin: 0;
  text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.12);
}

/* Main Products Section */
.products-main {
  width: 100%;
  padding: 80px 5%;
  background-color: #ffffff;
  box-sizing: border-box;
}

.products-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

/* Sidebar */
.products-sidebar {
  width: 288px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
}

.sidebar-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  padding-left: 16px;
}

.sidebar-icon {
  width: 16px;
  height: 16px;
}

.sidebar-title {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #90a1b9;
  font-size: 14px;
  letter-spacing: 1.4px;
  line-height: 20px;
}

.sidebar-categories {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-btn {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background-color: #f8fafc;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 80px;
}

.category-btn:hover {
  background-color: #f1f5f9;
  transform: translateX(4px);
}

.category-btn.active {
  background-color: #155dfc;
  box-shadow: 0px 8px 10px -6px rgba(21, 93, 252, 0.2), 0px 20px 25px -5px rgba(21, 93, 252, 0.2);
}

.category-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.category-icon {
  width: 40px;
  height: 40px;
}

.category-name {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #45556c;
  font-size: 18px;
  line-height: 28px;
}

.category-btn.active .category-name {
  color: #ffffff;
}

.category-arrow {
  width: 20px;
  height: 20px;
}

/* Main Content */
.products-content {
  flex: 1;
  min-width: 0;
}

/* Category Header */
.category-header {
  margin-bottom: 48px;
}

.category-title-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.category-accent {
  width: 8px;
  height: 40px;
  background-color: #155dfc;
  border-radius: 999px;
  flex-shrink: 0;
}

.category-title {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #0f172b;
  font-size: clamp(28px, 3.5vw, 36px);
  line-height: 1.1;
  margin: 0;
}

.category-description {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 400;
  color: #62748e;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.6;
  margin: 0 0 32px 0;
}

.category-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  background-color: #f8fafc;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
}

.feature-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.feature-tag span {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #1d293d;
  font-size: 14px;
  line-height: 20px;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
}

.product-card {
  background-color: #ffffff;
  border-radius: 40px;
  border: 1px solid #f1f5f9;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.product-image {
  width: 100%;
  height: 256px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-name {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #0f172b;
  font-size: 20px;
  line-height: 28px;
  margin: 0;
}

.product-description {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 400;
  color: #62748e;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  min-height: 46px;
}

.product-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.btn-sample-request,
.btn-inquiry {
  all: unset;
  box-sizing: border-box;
  padding: 10px 20px;
  border-radius: 14px;
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-sample-request {
  background-color: #155dfc;
  color: #ffffff;
  flex: 1;
}

.btn-sample-request:hover {
  background-color: #1147d1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(21, 93, 252, 0.3);
}

.btn-inquiry {
  background-color: #f1f5f9;
  color: #45556c;
}

.btn-inquiry:hover {
  background-color: #e2e8f0;
  transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
  background-color: #f8fafc;
  border-radius: 48px;
  border: 1px solid #f1f5f9;
  padding: 65px;
}

.faq-header {
  margin-bottom: 48px;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgba(21, 93, 252, 0.1);
  border-radius: 999px;
  margin-bottom: 24px;
}

.faq-icon {
  width: 16px;
  height: 16px;
}

.faq-badge span {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #155dfc;
  font-size: 12px;
  letter-spacing: 1.2px;
  line-height: 16px;
}

.faq-title {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #0f172b;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.2;
  margin: 0 0 16px 0;
}

.faq-description {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 400;
  color: #62748e;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f099;
  overflow: hidden;
  box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.faq-item.expanded {
  border-color: #bedbff;
  box-shadow: 0px 4px 6px -4px rgba(43, 127, 255, 0.05), 0px 10px 15px -3px rgba(43, 127, 255, 0.05);
}

.faq-question {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f8fafc;
}

.question-text {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.question-label {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 900;
  font-size: 18px;
  line-height: 28px;
  color: #90a1b9;
}

.faq-item.expanded .question-label {
  color: #155dfc;
}

.question-text span:last-child {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 900;
  color: #0f172b;
  font-size: 18px;
  line-height: 28px;
}

.faq-item.expanded .question-text span:last-child {
  color: #155dfc;
}

.faq-toggle {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.faq-item.expanded .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 24px 57px;
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 400;
  color: #45556c;
  font-size: 16px;
  line-height: 1.6;
  display: none;
}

.faq-item.expanded .faq-answer {
  display: block;
}

.answer-label {
  font-weight: 700;
  color: #90a1b9;
  margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .products-container {
    gap: 32px;
  }

  .products-sidebar {
    width: 240px;
  }
}

@media (max-width: 1024px) {
  .products-hero {
    height: 400px;
  }

  .products-main {
    padding: 60px 5%;
  }

  .products-container {
    flex-direction: column;
  }

  .products-sidebar {
    width: 100%;
    position: static;
    margin-bottom: 48px;
  }

  .sidebar-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
  }

  .category-btn {
    height: 70px;
  }

  .faq-section {
    padding: 48px 32px;
  }
}

@media (max-width: 768px) {
  .products-hero {
    height: 350px;
    margin-top: 72px;
  }

  .products-main {
    padding: 48px 5%;
  }

  .category-features {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 60px;
  }

  .product-actions {
    flex-direction: column;
  }

  .btn-sample-request,
  .btn-inquiry {
    width: 100%;
  }

  .faq-section {
    padding: 32px 24px;
    border-radius: 32px;
  }

  .faq-answer {
    padding-left: 24px;
  }

  .sidebar-categories {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .products-hero {
    height: 300px;
  }

  .category-btn {
    height: 60px;
    padding: 16px;
  }

  .category-icon {
    width: 32px;
    height: 32px;
  }

  .category-name {
    font-size: 16px;
  }

  .feature-tag {
    padding: 10px 12px;
  }

  .feature-tag span {
    font-size: 13px;
  }

  .product-info {
    padding: 24px;
  }

  .faq-section {
    padding: 24px 16px;
  }

  .faq-question {
    padding: 16px;
  }

  .question-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
