/* JNXPC Limited - Custom PC Builder CSS */
/* ===================================== */

.section-header {
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 30px !important;
}

.section-header h2::after {
  width: 10%;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

.section-header p {
  text-align: center;
}

/* --- Section Navigation Start --- */
.section-nav-container {
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  z-index: 49;
  position: sticky;
  top: 102px;
  margin-top: 0;
}

.section-nav-wrapper {
  width: 100%;
}

.section-nav-links {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  justify-content: center;
  overflow-x: auto;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
  position: relative;
}

.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 2px 2px 0 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
      0 0 5px rgba(var(--accent-color-rgb), 0.7),
      0 0 10px rgba(var(--accent-color-rgb), 0.5);
  will-change: transform, width;
  z-index: 5;
  opacity: 0;
  transform: translateX(0);
  width: 0;
}

.section-nav-links.initialized .nav-indicator {
  opacity: 1;
}

.nav-indicator.warping {
  transition:
      transform 0.6s cubic-bezier(0.2, 0.85, 0.25, 1.2),
      width 0.6s cubic-bezier(0.2, 0.85, 0.4, 1.4);
  animation: stretch-pulse 0.6s ease-in-out;
  box-shadow:
      0 0 8px rgba(var(--accent-color-rgb), 0.8),
      0 0 15px rgba(var(--accent-color-rgb), 0.6);
}

@keyframes stretch-pulse {
  0% {
      height: 3px;
  }

  50% {
      height: 5px;
      opacity: 0.9;
  }

  100% {
      height: 3px;
  }
}

.section-nav-links::-webkit-scrollbar {
  display: none;
}

.section-nav-links li {
  margin-right: 10px;
}

.section-nav-links li:last-child {
  margin-right: 0;
}

.section-nav-links a {
  display: block;
  color: #222;
  text-decoration: none;
  padding: 12px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
  text-align: center;
}

.section-nav-links a:hover {
  color: var(--accent-color);
}

.section-nav-links a.active {
  color: var(--accent-color);
}

.section-nav-container.sticky {
  position: fixed;
  top: 95px;
  left: 0;
  width: 100%;
  z-index: 800;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
      transform: translateY(-100%);
      opacity: 0;
  }

  to {
      transform: translateY(0);
      opacity: 1;
  }
}

@media (max-width: 1280px) {}

@media (max-width: 992px) {
  .section-nav-container {
      top: 60px !important;
  }
}

@media (max-width: 768px) {
  .section-nav-container {
      top: 80px !important;
  }

  .section-nav-links a {
      padding: 15px 12px;
      font-size: 13px;
  }

  .section-nav-container.sticky {
      top: 60px;
  }
}

@media (max-width: 480px) {
  .section-nav-container {
      top: 75px !important;
  }

  .section-nav-links {
      justify-content: flex-start;
      padding: 0 10px;
  }

  .section-nav-links a {
      padding: 12px 15px;
      font-size: 12px;
  }

  .nav-indicator {
      height: 2px;
      transition: transform 0.3s ease-out, width 0.3s ease-out;
  }

  .nav-indicator.warping {
      transition: transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), width 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
      animation: mobile-stretch-pulse 0.4s ease-in-out;
  }

  @keyframes mobile-stretch-pulse {
      0% {
          height: 2px;
      }

      50% {
          height: 3px;
          opacity: 1;
      }

      100% {
          height: 2px;
      }
  }

  .section-nav-links a.active {
      color: #fff;
      background-color: rgba(var(--accent-color-rgb), 0.1);
      border-radius: 4px;
  }
}

/* --- Section Navigation End --- */

/* --- PC Builder Bar Start --- */
.build-sharing-container {
  width: 100%;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  max-width: min(90%, var(--section-max-width));
  overflow: hidden;
}

.build-sharing-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.build-link-section {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.build-link-display {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  flex: 1;
  min-width: 0;
}

.build-link-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
}

.build-link-label i {
  font-size: 12px;
}

.build-link-url {
  color: #1f2937;
  position: relative;
  display: flex;
  align-items: center;
  background-color: #f2f2f2;
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #222;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.privacy-toggle-section {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 20px;
  flex-shrink: 0;
}

.privacy-label {
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
}

.privacy-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.privacy-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.privacy-switch.disabled .privacy-slider,
.privacy-switch.disabled .privacy-slider:before {
  cursor: not-allowed !important;
}

.privacy-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 24px;
}

.privacy-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .privacy-slider {
  background-color: var(--accent-color);
}

input:checked + .privacy-slider:before {
  transform: translateX(20px);
}

.privacy-status {
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
  min-width: 40px;
  text-align: center;
}

.build-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.guest-notice {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  margin: 8px;
  text-align: center;
  padding: 8px 12px;
  background-color: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  width: fit-content;
}

.guest-notice i {
  margin-right: 6px;
  color: #9ca3af;
}

.guest-notice a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
}

.guest-notice a:hover {
  text-decoration: underline !important;
}

.btn-outline, .btn-fill {
  background: transparent;
  border: 2px solid var(--accent-color);
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
}

.btn-fill {
  background: var(--accent-color);
  color: white
}

.btn-fill:hover {
  background-color: #d64545;
  border-color: #d64545;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(214, 69, 69, 0.3);
}

.btn-outline {
  color: var(--accent-color);
}

.btn-outline:hover {
  background: var(--accent-color);
  color: white;
}

#copy-link.btn-outline {
  border: 1px solid #6b7280;
  color: #6b7280;
  background: #e7e7e7;
}

#copy-link.btn-outline:hover {
  background: #6b7280;
  color: white;
}

.compatibility-status-bar {
  display: flex;
  background-color: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.compatibility-section {
  flex: 2;
  color: white;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
}

.compatibility-section.green {
  background-color: #10b981;
}

.compatibility-section.red {
  background-color: #6907c5;
}

.compatibility-section.yellow {
  background-color: #f59e0b;
}

.compatibility-section i {
  font-size: 12px;
  color: #ffffff;
}

.compatibility-section:last-child {
  max-width: fit-content;
}

.compatibility-section a {
  color: #ffffff;
  text-decoration: none;
}

.compatibility-section a:hover {
  text-decoration: underline !important;
}

/* --- PC Builder Bar End--- */

/* --- Builder Component Start --- */
.builder-container {
  margin: 0;
  padding: 0;
  max-width: min(90%, var(--section-max-width));
  margin: 0 auto 20px;
  position: relative;
  min-height: 55vh;
  height: 55vh;
  overflow: hidden;
  display: flex; 
  gap: 20px;
}

.left-section {
  margin: 0;
  width: 65%;
  max-height: 100%;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.category {
  scroll-margin-top: 180px;
  scroll-margin-bottom: 40px;
}

.left-section::-webkit-scrollbar {
  display: none;
}

.right-section {
  width: 35%;
  height: 100%;
  display: inline-block;
  color: #222;
  background-color: white;
  border-radius: 10px;
  border: 1px solid #f0f0f0;
  position: relative;
}

/* Dropdown */
.category-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category {
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-decoration: none;
}

.dropdown-content::-webkit-scrollbar {
  width: 6px;
  background-color: rgba(0, 0, 0, 0.2);
}

.dropdown-content::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 0px rgba(0, 0, 0, 0);
}

.dropdown-content::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-color-rgb), 0.5);
}

.dropdown-content::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

.builder-container .dropdown-btn,
.category .dropdown-btn {
  margin: 0;
  padding: 0;
  width: 100%;
  background: white;
  color: #222;
  border-radius: 10px;
  border: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 10px 16px;
  transition: all 0.3s ease;
}

.builder-container .dropdown-btn i,
.category .dropdown-btn i {
  font-size: 12px;
  color: #222;
  transition: transform 0.3s ease;
}

.builder-container .dropdown-btn:hover,
.category .dropdown-btn:hover {
  border-color: var(--accent-color);
  background: rgba(var(--accent-color-rgb), 0.05);
}

.builder-container .dropdown-btn.active,
.category .dropdown-btn.active {
  border-color: var(--accent-color);
  background: rgba(var(--accent-color-rgb), 0.1);
}

.component-category {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
}

.component-category h3 {
  font-size: 14px;
  font-weight: 700;
}

.component-category p {
  font-size: 11px;
  font-weight: 500;
}

.builder-container .dropdown-content,
.category .dropdown-content {
  margin: 0;
  padding: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  text-decoration: none;
  list-style-type: none;
  display: block !important;
  transition: max-height 0.3s ease-in-out;
}

/* Component List */
.component-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-height: 600px;
  overflow-y: auto;
  padding: 10px;
}

.component-list::-webkit-scrollbar {
  width: 6px;
}

.component-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.component-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.component-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.component-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.component-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.component-item.selected {
  background: rgba(var(--accent-color-rgb), 0.2);
  border: 2px dashed var(--accent-color);
}

.component-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 10px 10px 0 0;
}

.component-header h3 {
  font-size: 12px;
  font-weight: 600;
}

.component-price {
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 700;
}

.component-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.component-image {
  margin: 0 auto 20px;
  height: 90px;
}

.component-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.component-specs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.component-spec {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
}

.component-spec i {
  color: var(--accent-color);
}

.component-actions {
  display: flex;
  width: 100%;
  gap: 6px;
  margin-top: 12px;
}

.component-actions button,
.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none !important;
  width: 50%;
}

.view-btn {
  border: 2px solid var(--accent-color);
}

.view-btn i {
  font-size: 10px;
}

.view-btn:hover {
  background: var(--accent-color);
  color: white;
}

.select-btn {
  background: linear-gradient(270deg, #ff4c4c, #a71c1c, #ff4c4c, #a71c1c);
  background-size: 300% 100%;
  background-position: 0% 0%;
  color: #fff;
  border: none;
}

.select-btn:hover {
  background-position: 100% 0%;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 76, 76, 0.3);
}

.component-item.selected .select-btn {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: white;
}

.component-item.selected .select-btn:hover {
  background: linear-gradient(135deg, #ee5a52, #ff6b6b);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.no-components {
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 20px;
  font-style: italic;
}

@media screen and (max-width: 768px) {
  .component-item {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
  }
  
  .component-image {
    width: 100px;
    height: 100px;
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .component-actions {
    margin-left: 0;
    margin-top: 15px;
  }
  
  .component-price {
    font-size: 18px;
  }
}

/* Right Side */
.right-section {
  width: 35%;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #222;
  background-color: white;
  border-radius: 10px;
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.case-preview-container {
  margin: 0;
  padding: 20px;
  width: 100%;
  height: 100%;
  background: white;
  color: #222;
  border-radius: 10px;
  border: 1px solid #f0f0f0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.preview-content {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

#case-preview-img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#case-preview-img.visible {
  opacity: 1;
}

#case-preview-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #222;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  transition: opacity 0.3s ease;
}

.add-to-cart-section {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.add-to-cart-btn {
  width: 100%;
  margin-bottom: 10px;
  font-size: 15px !important;
}

.add-to-cart-note {
  width: 100%;
  color: #666;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
}

/* --- Builder Component End --- */

/* --- Build Summary Section Start --- */
.build-summary {
  margin: 20px auto;
  max-width: min(90%, var(--section-max-width));
  background: white;
  border-radius: 15px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.summary-header {
  background: white;
  color: #222;
  padding: 16px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.total-price {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.price-amount {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-color);
}

.summary-items {
  padding: 0;
}

.summary-item {
  padding: 10px 16px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item:hover {
  background-color: #f8f9fa;
}

.item-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.item-info i {
  font-size: 22px;
  color: var(--accent-color);
}

.item-price {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 80px;
}

.price-display {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
  text-align: right;
}

.item-details h4 {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: 700;
  color: #222;
}

.item-details p {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: #222;
  font-style: italic;
}

/* --- Build Summary Section End --- */

/* --- Steps Section Start --- */
.steps-section {
  padding: 30px 0;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  background-color: white;
  border-radius: 20px;
  padding: 30px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  max-width: min(80%, var(--section-max-width));
  margin: 0 auto;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #d64545, #a71c1c);
  box-shadow: 0 4px 15px rgba(167, 28, 28, 0.3);
  color: white;
  border-radius: 50%;
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.step-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  line-height: 1.65;
  width: 80%;
  margin: 0 auto 6px;
}

.step-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 11px;
  transition: all 0.3s ease;
}

.step-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
  font-size: 10px;
}

.step-link:hover {
  color: #8a1616;
}

.step-link:hover i {
  transform: translateX(4px);
}

@media (max-width: 1400px) {
  .steps-container {
      max-width: min(90%, var(--section-max-width));
      padding: 20px 10px;
      gap: 12px;
  }

  .step-number {
      width: 45px;
      height: 45px;
      font-size: 18px;
      margin-bottom: 15px;
  }

  .step-item h3 {
      font-size: 16px;
      margin-bottom: 10px;
  }

  .step-content p {
      font-size: 12px;
      font-weight: 600;
      max-width: 95%;
      margin: 0 auto;
  }
}

@media (max-width: 992px) {
  .steps-section {
      padding: 20px 0;
  }

  .steps-container {
      max-width: min(85%, var(--section-max-width));
      padding: 20px 16px;
      gap: 20px 12px;
  }

  .step-content p {
      max-width: 98%;
  }
}

@media (max-width: 480px) {
  .steps-section {
      padding: 10px 0;
  }

  .steps-container {
      max-width: min(80%, var(--section-max-width));
      gap: 16px;
  }

  .step-item {
      padding-bottom: 12px;
  }

  .step-item::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 70%;
      height: 1px;
      background-color: #e0e0e0;
  }

  .step-item:last-child {
      padding-bottom: 0;
  }

  .step-item:last-child::after {
      display: none;
  }

  .step-number {
      width: 40px;
      height: 40px;
      font-size: 15px;
      margin-bottom: 10px;
      margin-top: 0;
  }

  .step-content h3 {
      font-size: 15px;
      margin-bottom: 8px;
  }

  .step-content p {
      font-size: 11px;
      font-weight: 500;
  }

  .step-link,
  .step-link i {
      font-size: 11px;
  }
}

/*  --- Steps Section End --- */

/* --- FAQ Section Start --- */
#faq .section-header {
  left: -1.5%;
  position: relative;
}

.faq-section {
  padding: 30px 0;
}

.faq-container {
  max-width: min(75%, var(--section-max-width));
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 100px;
  margin: 20px auto 0;
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 0;
  position: relative;
  padding-left: 40px;
}

.faq-icon {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #d64545, #a71c1c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(167, 28, 28, 0.3);
  transition: all 0.3s ease;
  z-index: 2;
}

.faq-icon i {
  font-size: 16px;
  color: white;
}

.faq-item:hover .faq-icon {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 18px rgba(167, 28, 28, 0.4);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--accent-color);
}

.faq-question h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
  transition: color 0.3s ease;
}

.faq-question:hover h4 {
  color: var(--accent-color);
}

.faq-question i {
  font-size: 13px;
  color: #666;
  transition: all 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 0 24px 0;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--accent-color);
}

@media (max-width: 1400px) {
  .faq-section {
      padding-top: 0;
  }
}

@media (max-width: 992px) {
  .faq-grid {
      max-width: min(85%, var(--max-container-width));
  }
}

@media (max-width: 480px) {
  .faq-grid {
      margin-top: 0;
  }

  .faq-icon {
      width: 40px;
      height: 40px;
  }

  .faq-icon i {
      font-size: 16px;
  }

  .faq-item {
      padding-left: 35px;
  }

  .faq-item h4,
  .faq-question i {
      font-size: 12px;
  }

  .faq-answer p {
      font-size: 11px;
  }
}

/* --- FAQ Section End --- */

/* --- Incompatible Section Start --- */
#incompatible-msg {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  font-family: "Montserrat", sans-serif;
}

.incomp-msg-box {
  width: 30%;
  background-color: #18191c;
  margin: 15% auto 0;
  padding: 24px 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  color: white;
}

.incomp-header {
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  margin: 0 0 14px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-shadow: 0 0 16px rgba(0, 0, 0, 1);
}

.incomp-msg {
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  margin: 20px 0 0 0;
  text-shadow: 0 0 16px rgba(0, 0, 0, 1);
}

.incomp-options-container {
  width: 75%;
  display: flex;
  margin: 0 auto;
  flex-direction: column;
  gap: 15px;
}

.incomp-option {
  padding: 12px 24px;
  color: var(--accent-color);
  background: transparent;
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin: 0;
  color: white;
  text-shadow: 0 0 16px rgba(0, 0, 0, 1);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.65);
}

.incomp-option:first-child {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 1);
}

.incomp-option:first-child:hover {
  background-color: rgba(var(--accent-color-rgb), 0.3);
  border: 1px solid rgba(var(--accent-color-rgb), 1);
  transform: translateY(-2px);
}

.incomp-option:last-child {
  background-color: rgba(var(--accent-color-rgb), 0.3);
  border: 1px solid rgba(var(--accent-color-rgb), 1);
}

.incomp-option:last-child:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Error Messages */
@keyframes pulseOpacity {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}

.error-messages {
  width: 100%;
  margin: 20px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.error-message {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
}

.error-message p {
  color: #edf0f1;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
}

.error-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseOpacity 2s infinite;
}

.error-dot.critical {
  background-color: #e24949;
  box-shadow: 0 0 8px rgba(226, 73, 73, 0.6);
}

.error-dot.warning {
  background-color: #f0a500;
  box-shadow: 0 0 8px rgba(240, 165, 0, 0.6);
}

.error-dot.info {
  background-color: #4a9eff;
  box-shadow: 0 0 8px rgba(74, 158, 255, 0.6);
}


/* Responsiveness */
@media screen and (max-width: 1440px) {
  .incomp-msg-box {
    width: 35%;
    margin: 12% auto 0;
  }
}

@media screen and (max-width: 1280px) {
  .incomp-msg-box {
    width: 40%;
    padding: 20px 32px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }

  .incomp-options-container {
    width: 85%;
  }
}

@media screen and (max-width: 992px) {
  .incomp-msg-box {
    width: 50%;
    padding: 20px 24px;
  }

  .incomp-header {
    font-size: 20px;
    margin: 0 0 10px 0;
  }

  .incomp-msg {
    font-size: 13px;
  }

  .incomp-option {
    padding: 10px 20px;
    font-size: 14px;
  }

  .error-messages {
    margin: 16px 0 24px;
    gap: 10px;
  }

  .error-message p {
    font-size: 13px;
  }
}

@media screen and (max-width: 768px) {
  .incomp-msg-box {
    width: 65%;
  }

  .incomp-options-container {
    width: 90%;
  }
}

@media screen and (max-width: 480px) {
  .incomp-msg-box {
    width: 85%;
  }

  .incomp-header {
    font-size: 18px;
    margin: 0 0 8px 0;
    padding-bottom: 8px;
  }

  .incomp-msg {
    font-size: 12px;
    margin: 16px 0 0 0;
  }

  .incomp-options-container {
    width: 100%;
    gap: 12px;
  }

  .incomp-option {
    padding: 8px 16px;
    font-size: 13px;
  }

  .error-messages {
    margin: 14px 0 20px;
    gap: 8px;
  }

  .error-message {
    padding: 0 12px;
    gap: 8px;
  }

  .error-message p {
    font-size: 12px;
  }

  .error-dot {
    width: 6px;
    height: 6px;
  }
}

/* --- Incompatible Section End --- */


/* All Responsiveness */
@media screen and (max-width: 1280px) {
  .builder-container {
    width: 90%;
  }
}

@media screen and (max-width: 992px) {
  .left-section {
    display: block;
    width: 100%;
    margin-top: 10px;
  }

  .right-section {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    z-index: 100;
  }
}

@media screen and (max-width: 768px) {
  .left-section {
    margin-top: 0;
  }
}

@media screen and (max-width: 480px) {
  .builder-container {
    margin-top: 120px;
  }

  .dropdown-btn {
    height: 60px;
    margin-top: 6px;
    border-radius: 12px;
  }

  .dropdown-btn h3 {
    font-size: 16px;
  }

  .dropdown-btn p {
    font-size: 10px;
  }

  .component-category {
    padding: 2px 10px 2px 20px;
  }
  
  .case-preview-container {
    padding: 10px 20px;
  }

  .cart-btn {
    font-size: 12px;
    font-weight: 500;
    height: 40px;
  }
}