.en:not(:lang(en)),
.tr:not(:lang(tr)) {
  display: none;
}

:root {
  --bulma-primary-h: 213deg;
  --bulma-primary-l: 43%;
}

@media screen and (min-width: 1408px) {
  .container:not(.is-max-tablet):not(.is-max-desktop):not(.is-max-widescreen) {
    max-width: 1444px;
  }
}

/* hide scrollbar for Chrome, Edge, and Safari */
::-webkit-scrollbar {
  display: none;
}

/* hide scrollbar for Firefox */
* {
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
}

i {
  padding-right: 4px;
}

a {
  color: #0063db;
}

.title,
.subtitle {
  color: #0063db;
}

p {
  margin-bottom: 2rem;
}

h3 {
  font-size: larger;
  font-weight: 600 !important;
  margin-bottom: 0.25rem !important;
  color: #0063db;
}

.navbar-link:not(.is-arrowless):after {
  border-color: inherit !important;
}

/* Increase brand logo size */
.navbar-brand > .navbar-item {
  padding-top: 0;
  padding-bottom: 0;
}
.navbar-brand > .navbar-item img {
  max-height: 2.75rem;
}
/* Remove brand logo effects */
.navbar-brand .navbar-item:focus,
.navbar-brand .navbar-item:hover {
  background-color: transparent;
}

#sf6-text-content,
#pqm-text-content,
#tcm-text-content {
  width: 50%;
}
#sf6-text-content p,
#pqm-text-content p,
#tcm-text-content p {
  margin-bottom: 0 !important;
}
#sf6-container,
#pqm-container,
#tcm-container {
  height: 40rem;
  width: 50%;
}

#head-body-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (max-width: 1024px) {
  .navbar-brand > .navbar-item img {
    max-height: 2.25rem;
  }
  #head-body-container {
    flex-direction: column;
    gap: 0;
  }
  #sf6-text-content,
  #pqm-text-content,
  #tcm-text-content {
    width: 100%;
    max-width: 768px;
  }
  #sf6-container,
  #pqm-container,
  #tcm-container {
    width: 100%;
    height: 70vw;
    max-width: 800px;
    max-height: 800px;
  }
}

main i {
  color: #0063db;
  margin-right: 0.2rem;
  font-size: large;
}
main li {
  margin-bottom: 0.5rem;
}
main .column {
  padding-top: 0;
  padding-bottom: 0;
}

/*============ Product page content ============*/
#head-body-container .product-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffa126;
  margin-bottom: 0.75rem !important;
}

#head-body-container .title {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

#head-body-container .product-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #3c4a63;
  margin-bottom: 1.75rem !important;
}

.product-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}
.product-highlights i {
  padding-top: 0.2rem;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #0063db;
  color: #fff !important;
  font-weight: 500;
  border-radius: 0.25rem;
  padding: 0.75rem 1.4rem;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.product-btn i {
  color: #fff !important;
  font-size: 1rem !important;
}
.product-btn:hover {
  background: #3381e6;
  transform: translateY(-1px);
}

.product-link {
  font-weight: 500;
}
.product-link i {
  color: #0063db;
}

/* Sections under the hero */
.product-section {
  padding: 4rem 1.5rem;
}
.product-section-tinted {
  background: #f5f8ff;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #0063db;
  margin-bottom: 2rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3rem;
  margin: 0;
}
.spec-item {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e3eaf5;
}
.spec-item dt {
  font-weight: 600;
  color: #10264f;
}
.spec-item dd {
  margin: 0;
  color: #3c4a63;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: #fff;
  border: 1px solid #e1e9f8;
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.feature-card > i {
  font-size: 1.4rem;
  color: #0063db;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 0.6rem;
  background: #eaf2ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem !important;
}
.feature-card p {
  margin-bottom: 0 !important;
  color: #3c4a63;
  line-height: 1.6;
}

.usecase-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 3rem;
}
.usecase-list li {
  position: relative;
  padding-left: 1.5rem;
  color: #3c4a63;
  line-height: 1.6;
}
.usecase-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #ffa126;
}

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spec-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  #head-body-container .title {
    font-size: 1.75rem;
  }
  .product-section {
    padding: 3rem 1rem;
  }
  .feature-grid,
  .usecase-list {
    grid-template-columns: 1fr;
  }
  .spec-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* 3D views are loaded after the page; fade them in gently */
#crystal-container canvas,
#pqm-container canvas,
#sf6-container canvas,
#tcm-container canvas {
  animation: model-fade-in 0.6s ease both;
}
@keyframes model-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
