/* Technoes — tambahan di atas tema Small Apps */
.language-selector {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  gap: 5px;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.language-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: #333;
  cursor: pointer;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 40px;
}

.language-btn.active {
  background: #2e7eed;
  color: #fff;
  transform: scale(1.05);
}

.language-btn:hover:not(.active) {
  background: rgba(46, 126, 237, 0.1);
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .language-selector {
    top: 10px;
    right: 10px;
    padding: 5px;
  }
  .language-btn {
    padding: 6px 12px;
    font-size: 11px;
    min-width: 35px;
  }
}

@media (max-width: 576px) {
  .language-selector {
    top: 70px;
    right: 10px;
    padding: 4px;
  }
  .language-btn {
    padding: 5px 10px;
    font-size: 10px;
    min-width: 30px;
  }
}

.hero-outcomes {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1.25rem;
  text-align: left;
  display: inline-block;
}

.hero-outcomes li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  line-height: 1.45;
}

.hero-outcomes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #7dd87d;
  font-weight: 700;
}

.case-highlight {
  border-left: 4px solid #2e7eed;
  padding: 1.25rem 1.5rem;
  background: #fafafa;
  border-radius: 0 8px 8px 0;
}

.case-highlight .badge-technoes {
  background: #2e7eed;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.client-slider .item img,
.client-slider .item .client-logo-img {
  max-height: 56px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.anchor-offset {
  scroll-margin-top: 88px;
}

p.desc[data-translate^="product_"],
p[data-translate$="_desc"] {
  white-space: pre-line;
}

.btn-technoes-primary {
  background-color: #2e7eed;
  border-color: #2e7eed;
  color: #fff;
}

.btn-technoes-primary:hover {
  background-color: #1a6ad8;
  border-color: #1a6ad8;
  color: #fff;
}

.text-technoes-icon {
  background-color: #2e7eed !important;
}

/* Konten HTML dari CMS (produk / blok halaman) */
.cms-block-html img {
  max-width: 100%;
  height: auto;
}

#cms-products-api .card-img-top {
  max-height: 200px;
  object-fit: cover;
}

/*
 * Banner beranda & halaman dalam: `.gradient-banner::before` (theme) menutupi teks
 * jika `.container` tidak di atas — markup beranda mengikuti repo-root `index.html`
 * + kelas `technoes-page-hero` pada section hero.
 */
.section.gradient-banner.technoes-page-hero {
  isolation: isolate;
}

.section.gradient-banner.technoes-page-hero::before {
  background-image: linear-gradient(
    118deg,
    #0a2540 0%,
    #124a7a 22%,
    #1e6bb8 48%,
    #2e7eed 72%,
    #0c3d5c 100%
  );
}

.section.gradient-banner.technoes-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Di bawah shapes + konten agar bentuk `.shapes-container` terlihat seperti halaman Produk */
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 78% 18%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 12% 75%, rgba(20, 184, 166, 0.12) 0%, transparent 50%);
}

.technoes-page-hero .shapes-container {
  position: absolute;
  z-index: 1;
}

.technoes-page-hero .container {
  position: relative;
  z-index: 2;
}

.technoes-page-hero h1.text-white {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  letter-spacing: -0.02em;
}

.technoes-page-hero .shapes-container .shape {
  opacity: 0.55;
}

.technoes-page-hero .shapes-container .shape::before {
  background: linear-gradient(
    135deg,
    rgba(46, 126, 237, 0.22) 0%,
    rgba(20, 184, 166, 0.18) 100%
  );
  filter: drop-shadow(0 0 4px rgba(46, 126, 237, 0.15));
}

.technoes-page-hero .btn-technoes-primary {
  background: linear-gradient(165deg, #2e7eed 0%, #1a5fc9 100%);
  border: none;
  box-shadow: 0 10px 28px rgba(26, 95, 201, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.technoes-page-hero .btn-technoes-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(26, 95, 201, 0.55);
  filter: brightness(1.05);
}

.technoes-page-hero .btn-outline-light {
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease,
    box-shadow 0.25s ease;
}

.technoes-page-hero .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .technoes-page-hero .btn-technoes-primary,
  .technoes-page-hero .btn-outline-light {
    transition: none !important;
  }

  .technoes-page-hero .btn-technoes-primary:hover,
  .technoes-page-hero .btn-outline-light:hover {
    transform: none !important;
  }
}
