/*
landing.css - Optimized CSS for landing_2d.html
Minimal CSS with only used classes - converted from LESS to CSS custom properties
*/

@charset "UTF-8";

/* ============================================
   FONT FACES
   ============================================ */

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src:
    url('../fonts/inter/Inter-latin-italic.woff2') format('woff2 supports variations'),
    url('../fonts/inter/Inter-latin-italic.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src:
    url('../fonts/inter/Inter-latin.woff2') format('woff2 supports variations'),
    url('../fonts/inter/Inter-latin.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ============================================
   CSS CUSTOM PROPERTIES (COLORS)
   ============================================ */

:root {
  /* Background Colors */
  --color-bg-1: #0071e3;
  --color-bg-2: #1d1d1f;
  --color-bg-3: #f5f5f7;
  --color-bg-4: #b9d4db;
  --color-bg-5: #8B8C8B;

  /* foreground colors */
  --color-fg-1: #ffffff;
  --color-fg-2: #ffffff;
  --color-fg-3: #171717;
  --color-fg-4: #ffffff;
  --color-fg-5: #ffffff;
}

/* ============================================
   FONT FAMILY UTILITIES
   ============================================ */

.font-sans {
  font-family: "Inter", arial, helvetica, sans-serif;
}

.font-alt {
  font-family: "Inter", sans-serif;
}

/* ============================================
   FONT WEIGHT UTILITIES
   ============================================ */

.fw-light {
  font-weight: 300;
}

.fw-regular {
  font-weight: 400;
}

.fw-medium {
  font-weight: 500;
}

.fw-semibold {
  font-weight: 600;
}

.fw-bold {
  font-weight: 700;
}

.fw-extrabold {
  font-weight: 800;
}

.fw-black {
  font-weight: 900;
}

/* ============================================
   COLOR UTILITIES (bg-app-*, text-app-*, border-app-*, btn-app-*)
   ============================================ */

/* Background Colors */
.bg-app-1 {
  background-color: var(--color-bg-1) !important;
  color: var(--color-fg-1);
}

.bg-app-2 {
  background-color: var(--color-bg-2) !important;
  color: var(--color-fg-2);
}

.bg-app-3 {
  background-color: var(--color-bg-3) !important;
  color: var(--color-fg-3);
}

.bg-app-4 {
  background-color: var(--color-bg-4) !important;
  color: var(--color-fg-4);
}

/* Ensure dark sections have readable text */
.bg-dark {
  color: #ffffff;
}

.bg-black {
  color: #ffffff;
}

.bg-dark a:not(.btn),
.bg-black a:not(.btn) {
  color: inherit;
}

.bg-white,
.bg-light {
  color: #212529;
}

.bg-white a:not(.btn),
.bg-light a:not(.btn) {
  color: inherit;
}

.bg-app-5 {
  background-color: var(--color-bg-5) !important;
  color: var(--color-fg-5);
}

/* Links inside bg-app containers */
.bg-app-1 a:not(.btn),
.bg-app-2 a:not(.btn),
.bg-app-3 a:not(.btn),
.bg-app-4 a:not(.btn),
.bg-app-5 a:not(.btn) {
  color: inherit;
}

/* Text Colors */
.text-app-1 {
  color: var(--color-bg-1) !important;
}

.text-app-2 {
  color: var(--color-bg-2) !important;
}

.text-app-3 {
  color: var(--color-bg-3) !important;
}

.text-app-5 {
  color: var(--color-bg-5) !important;
}

/* Button Colors */
.btn-app-1 {
  color: var(--color-fg-1) !important;
  background-color: var(--color-bg-1);
  border-color: var(--color-bg-1);
}

.btn-app-1:hover,
.btn-app-1:focus,
.btn-app-1:active {
  color: var(--color-fg-1) !important;
  background-color: var(--color-bg-1);
  border-color: var(--color-bg-1);
}

.btn-app-2 {
  color: var(--color-fg-2) !important;
  background-color: var(--color-bg-2);
  border-color: var(--color-bg-2);
}

.btn-app-2:hover,
.btn-app-2:focus,
.btn-app-2:active {
  color: var(--color-fg-2) !important;
  background-color: var(--color-bg-2);
  border-color: var(--color-bg-2);
}

.border-app-1 {
  border-color: var(--color-bg-1) !important;
}

.border-app-2 {
  border-color: var(--color-bg-2) !important;
}

.border-app-3 {
  border-color: var(--color-bg-3) !important;
}

/* ============================================
   FONT SIZE UTILITIES (em-size-*)
   ============================================ */

.em-size-80 {
  font-size: 0.80em;
  }

.em-size-85 {
  font-size: 0.85em;
}

.em-size-90 {
  font-size: 0.90em;
}

.em-size-110 {
  font-size: 1.10em;
}

.em-size-120 {
  font-size: 1.20em;
}

.em-size-140 {
  font-size: 1.40em;
}

.em-size-190 {
  font-size: 1.90em;
}

/* ============================================
   THUMBNAIL/WIDTH UTILITIES (thumb-*)
   ============================================ */

.thumb-24 {
  width: 24px;
}

.thumb-96 {
  width: 96px;
}

.thumb-128 {
  width: 128px;
}

.thumb-160 {
  width: 160px;
}

.thumb-192 {
  width: 192px;
}

.thumb-256 {
  width: 256px;
}

.thumb-320 {
  width: 320px;
}

.thumb-400 {
  width: 400px;
}

.thumb-640 {
  width: 640px;
}

.thumb-960 {
  width: 960px;
}

/* ============================================
   TEXT SPACING UTILITIES
   ============================================ */

@media only screen and (min-width: 576px) {
  .text-spacing-80 {
    letter-spacing: -0.02em !important;
  }

  .text-spacing-90 {
    letter-spacing: -0.01em !important;
  }

  .text-spacing-100 {
    letter-spacing: 0 !important;
  }

  .text-spacing-110 {
    letter-spacing: 0.01em !important;
  }

  .text-spacing-120 {
    letter-spacing: 0.02em !important;
  }

  .text-spacing-150 {
    letter-spacing: 0.05em !important;
  }
}

/* ============================================
   LINE HEIGHT UTILITIES
   ============================================ */

.text-height-120 {
  line-height: 120% !important;
}

.text-height-130 {
  line-height: 130% !important;
}

.text-height-140 {
  line-height: 140% !important;
}

.text-height-150 {
  line-height: 150% !important;
}

.text-height-160 {
  line-height: 160% !important;
}

.text-height-170 {
  line-height: 170% !important;
}


.truncate-lines-2 {
  display: -webkit-box;
  display: box; /* fallback standard */
  -webkit-box-orient: vertical;
  box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.truncate-lines-3 {
  display: -webkit-box;
  display: box; /* fallback standard */
  -webkit-box-orient: vertical;
  box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.truncate-lines-4 {
  display: -webkit-box;
  display: box; /* fallback standard */
  -webkit-box-orient: vertical;
  box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================
   BASE STYLES
   ============================================ */

html,
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "kern" 1, "liga" 1;
  word-break: break-word;
  width: 100%;
  min-height: 100%;
}

body {
  font-family: "Inter", arial, helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  height: 100%;
  font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", arial, helvetica, sans-serif;
  font-weight: 400;
}

b,
strong {
  font-weight: 700;
}

a {
  text-decoration: none;
}

p {
  font-size: 1.0em;
}

/* ============================================
   BUTTON STYLES
   ============================================ */

.btn {
  font-family: "Inter", arial, helvetica, sans-serif;
  font-size: 0.9em;
  letter-spacing: 0.3px;
  border-radius: 8px;
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  transition: background-color 0.2s, color 0.2s;
}

/* ============================================
   FORM STYLES
   ============================================ */

button:focus,
a:focus,
a:active,
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
select::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
  outline: none !important;
}

select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}

::selection {
  background: rgba(0, 0, 0, 0.5);
  color: #faf3eb;
}

.form-control,
.form-select {
  border: 1px solid #EAE8E4;
  border-radius: 0;
}

.form-check-input:checked {
  background-color: var(--color-bg-2);
  border-color: var(--color-bg-4);
}

textarea,
input {
  outline: none;
}

textarea:focus,
input:focus,
input[type]:focus,
.uneditable-input:focus {
  border-color: rgba(45, 45, 45, 1) !important;
  border-width: 2px;
  box-shadow: none;
  outline: 0 none;
}

input.error,
textarea.error,
select.error {
  border: 2px solid var(--color-bg-10);
}

input[type="checkbox"],
input[type="radio"] {
  outline: 2px solid transparent;
}

input[type="checkbox"].error,
input[type="radio"].error {
  outline: 2px solid var(--color-bg-10);
}

.form-control::placeholder {
  color: lighten(#6c757d, 25%);
  font-size: 0.9rem;
}


.form-bwt textarea {
  min-height: 100px !important;
}
.form-bwt .form-control {
  font-size: 0.9rem;
}
.form-bwt textarea,
.form-bwt textarea:focus,
.form-bwt textarea:active,
.form-bwt input,
.form-bwt input:focus,
.form-bwt input:active {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #DDD;
  outline: none;
  color: var(--ca-color-fg-3);
  font-weight: 500;
}
.form-bwt textarea:focus,
.form-bwt textarea:active,
.form-bwt input:focus,
.form-bwt input:active {
  outline: none;
  box-shadow: none;
  border-bottom: 1px solid #171717;
}
.form-bwt .form-floating label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ca-color-fg-3);
}
.form-bwt .form-floating input:focus + label {
  color: var(--ca-color-fg-3);
}
.form-bwt .form-floating textarea:focus + label {
  color: var(--ca-color-fg-3);
}
.form-floating > .form-control:focus ~ label::after,
.form-floating > .form-control:not(:placeholder-shown) ~ label::after,
.form-floating > .form-control-plaintext ~ label::after,
.form-floating > .form-select ~ label::after {
  background-color: transparent;
}

/* ============================================
   OFFCANVAS CUSTOM WIDTHS
   ============================================ */

.w-offcanvas--se-xl {
  width: 1100px !important;
  max-width: 100%;
}

.offcanvas-end.w-offcanvas--se {
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

/* ============================================
   MODAL STYLES
   ============================================ */

.modal.fade {
  z-index: 5000 !important;
}

.modal img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* ============================================
   RESPONSIVE TYPOGRAPHY
   ============================================ */

@media only screen and (max-width: 1200px) {
  .display-2 {
    font-size: 3.8rem !important;
  }
  .display-3 {
    font-size: 3.5rem !important;
  }
}

@media only screen and (max-width: 991px) {
  .display-2 {
    font-size: 3.5rem !important;
  }
  .display-3 {
    font-size: 3.2rem !important;
  }
  .display-5 {
    font-size: 2.1rem !important;
  }

  h1, .h1 {
    font-size: 1.9rem !important;
  }
  h2, .h2 {
    font-size: 1.60rem !important;
  }
  h3, .h3, h4, .h4 {
    font-size: 1.45rem !important;
  }
  h5, .h5 {
    font-size: 1.25rem !important;
  }
  h6, .h6 {
    font-size: 1.15rem !important;
  }
}

@media only screen and (max-width: 743px) {
  .display-2 {
    font-size: 3.0rem !important;
  }
  .display-3 {
    font-size: 2.4rem !important;
  }
  .display-5 {
    font-size: 1.7rem !important;
  }

  h1, .h1 {
    font-size: 1.6rem !important;
  }
  h2, .h2 {
    font-size: 1.40rem !important;
  }
  h3, .h3, h4, .h4 {
    font-size: 1.4rem !important;
  }
  h5, .h5 {
    font-size: 1.25rem !important;
  }
  h6, .h6 {
    font-size: 1.15rem !important;
  }
}

/* ============================================
   RESPONSIVE FONT SIZES (mobile optimization)
   ============================================ */

@media only screen and (min-width: 0px) and (max-width: 743px) {
  h3, .h3 {
    font-size: 1.15rem;
  }
  .em-size-120,
  .em-size-125 {
    font-size: 1.00em;
  }
  .em-size-130,
  .em-size-135,
  .em-size-140,
  .em-size-145 {
    font-size: 1.1em;
  }
  .em-size-150,
  .em-size-155 {
    font-size: 1.2em;
  }
}

@media only screen and (min-width: 744px) and (max-width: 991px) {
  h3, .h3 {
    font-size: 1.25rem;
  }
  .em-size-120,
  .em-size-125 {
    font-size: 1.15em;
  }
  .em-size-130,
  .em-size-135,
  .em-size-140,
  .em-size-145 {
    font-size: 1.2em;
  }
  .em-size-150,
  .em-size-155 {
    font-size: 1.3em;
  }
}

/* ============================================
   CONTAINER UTILITIES
   ============================================ */

.container-fluid {
  max-width: 2560px;
}

.container-fluid.full-hd {
  max-width: 1920px;
}

@media (min-width: 1280px) {
  .container-fluid {
    padding-left: 75px;
    padding-right: 75px;
  }
}

/* ============================================
   IMAGE RATIO UTILITIES
   ============================================ */

img.ratio--11 {
  aspect-ratio: 1/1;
  object-fit: cover;
}

img.ratio--43 {
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ============================================
   BACKGROUND UTILITIES
   ============================================ */

.bg-hero {
  background-image: url('../img/hero-bg-1920.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.scroll-rotate {
  animation: rotate360 10s linear infinite;
}

@keyframes arrowUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}

.arrow-bounce {
  animation: arrowUpDown 1.5s ease-in-out infinite;
  will-change: transform;
}

/* ============================================
   FLOATING CART BUTTON
   ============================================ */

#floating-cart-btn .btn {
  transition: width 0.4s ease-in-out, padding 0.4s ease-in-out, border-radius 0.4s ease-in-out;
  overflow: hidden;
  white-space: nowrap;
  min-width: 60px;
}

#floating-cart-btn .cart-text {
  max-width: 0;
  opacity: 0;
  display: inline-block;
  margin-left: 0;
  transition: max-width 0.4s ease-in-out, opacity 0.4s ease-in-out, margin-left 0.4s ease-in-out;
}

#floating-cart-btn .btn:hover {
  width: auto !important;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  border-radius: 2rem !important;
}

#floating-cart-btn .btn:hover .cart-text {
  max-width: 150px;
  opacity: 1;
  margin-left: 0.5rem;
}

@keyframes cart-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}

#floating-cart-btn.pulse-animation {
  animation: cart-pulse 0.4s ease-in-out 3;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1090;
}

.toast {
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
}

.toast .btn-close {
  filter: invert(1);
}

.btn-app-1.is-loading,
.btn-app-1:disabled,
.btn-app-1.disabled {
  opacity: 1 !important;
  background-color: var(--ca-color-bg-1) !important;
  border-color: var(--ca-color-bg-1) !important;
  color: var(--ca-color-fg-1) !important;
  visibility: visible !important;
}

button.hamburger {
  border: none;
  padding: 0;
  margin: 0;
  background-color: transparent;
  outline: none;
}

.hamburger {
  display: inline-block;
  cursor: pointer;
  position: relative;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner:after,
.hamburger.is-active .hamburger-inner:before {
  background-color: var(--ca-color-fg-1, #fff);
}

.hamburger-box {
  width: 28px;
  height: 25px;
  display: inline-block;
  overflow: hidden;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner:after,
.hamburger-inner:before {
  width: 28px;
  height: 2px;
  background-color: var(--ca-color-fg-1, #fff);
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger-inner:after,
.hamburger-inner:before {
  content: "";
  display: block;
}

.hamburger-inner:before {
  top: -9px;
}

.hamburger-inner:after {
  bottom: -9px;
}

.hamburger--spin .hamburger-inner {
  transition-duration: 0.22s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin .hamburger-inner:before {
  transition: top 0.1s ease-in 0.25s, opacity 0.1s ease-in;
}

.hamburger--spin .hamburger-inner:after {
  transition: bottom 0.1s ease-in 0.25s, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin.is-active .hamburger-inner {
  transform: rotate(225deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--spin.is-active .hamburger-inner:before {
  top: 0;
  opacity: 0;
  transition: top 0.1s ease-out, opacity 0.1s ease-out 0.12s;
}

.hamburger--spin.is-active .hamburger-inner:after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom 0.1s ease-out, transform 0.22s cubic-bezier(0.215, 0.61, 0.355, 1) 0.12s;
}

/* ============================================
   OFFCANVAS CUSTOMIZATIONS
   ============================================ */

/* Offcanvas Top with margins and rounded corners */
.offcanvas-top.h-100 {
  left: 25px !important;
  right: 25px !important;
  bottom: 25px !important;
  top: 0 !important;
  width: calc(100% - 50px) !important;
  height: calc(100% - 25px) !important;
  max-height: calc(100% - 25px) !important;
  border-bottom-left-radius: 1.5rem !important;
  border-bottom-right-radius: 1.5rem !important;
}

/* Mobile: no margins, no radius */
@media (max-width: 640px) {
  .offcanvas-top.h-100 {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
}

/* Fade-in effect for offcanvas content */
.offcanvas .offcanvas-body,
.offcanvas .offcanvas-header {
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

.offcanvas.show .offcanvas-body,
.offcanvas.show .offcanvas-header {
  opacity: 1;
  transition-delay: 0.15s;
}

/* Offcanvas End with custom width and rounded left corners */
.w-offcanvas--se-xl {
  width: 1150px !important;
  max-width: 100%;
  border-top-left-radius: 1.9rem !important;
  border-bottom-left-radius: 1.9rem !important;
}

.w-offcanvas--se-xl .offcanvas-body {
  padding-left: 53px !important;
  padding-right: 53px !important;
}

/* Mobile: full width, no radius */
@media (max-width: 640px) {
  .w-offcanvas--se-xl {
    width: 100% !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
  }
  .w-offcanvas--se-xl .offcanvas-body {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* Override Bootstrap btn-close for circular button */
.offcanvas .btn-close {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-bg-1);
  opacity: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8z'/%3E%3C/svg%3E");
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
}

.offcanvas .btn-close:hover {
  transform: scale(1.1);
  background-color: var(--color-bg-1);
  opacity: 1;
}

.offcanvas .btn-close:active {
  transform: scale(0.95);
  opacity: 1;
}

.offcanvas .btn-close:focus {
  box-shadow: none;
  opacity: 1;
}

/* Custom back button for offcanvas */
.offcanvas-btn-back {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-bg-1);
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='white' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8'/%3E%3C/svg%3E");
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
}

.offcanvas-btn-back:hover {
  transform: scale(1.1);
  background-color: var(--color-bg-1);
}

.offcanvas-btn-back:active {
  transform: scale(0.95);
}

.offcanvas-btn-back:focus {
  box-shadow: none;
  outline: none;
}

/* Fix offcanvas header layout */
.offcanvas-header {
  gap: 0 !important;
}

.offcanvas-header .offcanvas-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* ============================================
   BUTTON HOVER EFFECTS (E-COMMERCE)
   ============================================ */

.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: inherit;
  background-color: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  width: 120%;
  height: 120%;
}

.btn:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Specific styles for primary buttons */
.btn-app-1:hover {
  filter: brightness(1.1);
}

.btn-app-2:hover {
  filter: brightness(1.1);
}

/* Outline buttons hover effect */
.btn-outline-light:hover,
.btn-outline-dark:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Pill buttons specific effect */
.btn.rounded-pill:hover {
  transform: scale(1.02);
}

/* Icon buttons in cart */
.btn:has(.bi-cart-plus):hover .bi-cart-plus {
  animation: cartBounce 0.6s ease;
}

@keyframes cartBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* Circular buttons enhancement */
.btn.rounded-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Explore/View buttons in product cards */
.basket-clickable:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

/* ============================================
   PRODUCT PREVIEW IMAGE HEIGHTS (RESPONSIVE)
   ============================================ */

/* Default height for mobile devices */
.product-img-container {
  height: 128px;
}

/* Tablet and larger screens */
@media (min-width: 768px) {
  .product-img-container {
    height: 200px;
  }
}


/* ============================================
   OVERLAY
   ============================================ */

.overlay-item--full {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-color: #00000010;
}
.overlay-item--full.overlay--xs {
  background-color: #00000005;
}
.overlay-item--full.overlay--sm {
  background-color: #00000017;
}
.overlay-item--full.overlay--md {
  background-color: #00000030;
}
.overlay-item--full.overlay--lg {
  background-color: #00000051;
}
.overlay-item--full.overlay--xl {
  background-color: #00000068;
}
.overlay-item--full.overlay--xxl {
  background-color: #00000085;
}
.overlay-item--top-left {
  position: absolute;
  top: 20px;
  right: auto;
  bottom: auto;
  left: 20px;
  right: 20px;
}
.overlay-item--top-right {
  position: absolute;
  top: 17px;
  left: auto;
  bottom: auto;
  right: 17px;
}
.overlay-item--bottom-left {
  position: absolute;
  top: auto;
  right: auto;
  bottom: 20px;
  left: 20px;
  right: 20px;
}
.overlay-item--bottom-right {
  position: absolute;
  bottom: 20px;
  left: auto;
  top: auto;
  right: 20px;
  z-index: 100;
}
.overlay-item--bottom-center {
  position: absolute;
  bottom: 48px;
  left: 0;
  top: auto;
  right: 0;
  overflow: hidden;
}
.overlay-item--center-xy {
  position: absolute;
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.overlay-item--center-container {
  position: absolute;
  top: 50%;
  right: 0;
  bottom: auto;
  left: 0;
  -webkit-transform: translate(0%, -50%);
  -ms-transform: translate(0%, -50%);
  -moz-transform: translate(0%, -50%);
  -o-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
}


/* ============================================
   VAR
   ============================================ */

/* offcanvas */
.offcanvas-end {
  width: 640px !important;
  max-width: 100%;
}

/* iOS segmented control  */
.seg-control {
  background: #e5e5e5;
  border-radius: 50rem;
  padding: 4px;
  display: inline-flex;
  gap: 0.25rem;
  --bs-nav-pills-border-radius: 50rem;
  --bs-nav-link-color: #000;
  --bs-nav-link-hover-color: #000;
  --bs-nav-pills-link-active-bg: #fff;
  --bs-nav-pills-link-active-color: #000;
}
.seg-control .nav-link {
  border-radius: 50rem;
  font-weight: 500;
  background: transparent;
  font-size: 0.75rem;
}
.seg-control .nav-link.active {
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}
@media (max-width: 575px) {
  .seg-control .nav-link {
    font-size: 0.75rem;
  }
}
.progress.progress-slim {
  height: 0.5rem;
}

/* Tiny-slider specific layout */
.hSlider .tns-item {
  padding: 0 !important;
}

.hSlider .slide-inner {
  position: relative;
  aspect-ratio: 21 / 9;
  margin: 0 8px;
  border-radius: 1.1rem;
  overflow: hidden;
  background: #0a0a0a;
}

.hSlider .slide {
  background: transparent;
}

.hSlider .slide-inner img,
.hSlider .slide-inner .slide-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.hSlider .slide-inner .slide-overlay {
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0) 70%);
}

.hSlider .slide-inner .slide-caption {
  position: absolute;
  top: 0;
  left: 0;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .hSlider .slide-inner {
    margin: 0 12px;
  }
}

.tns-outer .tns-nav {
  display: flex;
  width: fit-content;
  margin: 22px auto 0;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #efeff2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.tns-outer .tns-nav [aria-controls] {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #717173;
  opacity: 0.9;
  border: 0;
  transition: all 0.25s;
}

.tns-outer .tns-nav [aria-controls].tns-nav-active {
  width: 28px;
  height: 6px;
  background: #1d1d1f;
  opacity: 1;
}

/* Ratio helpers */
.ratio {
  position: relative;
  width: 100%;
  --bs-aspect-ratio: 100%;
}

.ratio::before {
  content: "";
  display: block;
  padding-top: var(--bs-aspect-ratio);
}

.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ratio-1x1 {
  --bs-aspect-ratio: 100%;
}

@media (min-width: 992px) {
  .ratio-lg-32x9 {
    --bs-aspect-ratio: calc(100% * 9 / 32);
  }
}

/* Hero video container */
.video-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

.video-container video.video-fullscreen {
  height: 100vh;
  object-fit: cover;
}

@media (max-width: 991px) {
  .video-container video.video-fullscreen {
    width: auto;
    height: 100vh;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 992px) {
  .with-laptop-v4-home {
    position: relative;
    min-height: 700px;
  }
  .with-laptop-v4-home::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 25%;
    background: url('../img/home/macbook-256.png') no-repeat right center;
    background-size: contain;
    z-index: 0;
  }
  .with-laptop-v4-home .row,
  .with-laptop-v4-home .col-12 {
    position: relative;
    z-index: 1;
  }
}

.mt-navbar {
  margin-top: 60px !important;
}

@media (max-width: 767.98px) {
  .mt-navbar {
    margin-top: 54px !important;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .mt-navbar {
    margin-top: 76px !important;
  }
}

/* Markdown content */
.markdown-body img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   BWT HOME — NEW HOMEPAGE SECTIONS
   ============================================ */

:root {
  --bwt-bg: #0b0b0b;
  --bwt-ink: #f5f5f5;
  --bwt-muted: #9aa0a6;
  --bwt-accent: #f28a2b;
  --bwt-accent-soft: rgba(242, 138, 43, 0.35);
  --bwt-panel: rgba(10, 10, 10, 0.7);
}

/* ── HERO SCROLL ANIMATION ── */

.bwt-hero-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
  z-index: 0;
  background: radial-gradient(circle at 50% -20%, #1a1a2e 0%, #0b0b0b 38%, #0b0b0b 100%);
}

.bwt-hero-stage {
  position: relative;
  height: 100%;
  padding: clamp(18px, 3vw, 36px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bwt-hero-intro {
  position: absolute;
  top: clamp(72px, 8vw, 118px);
  left: 50%;
  width: min(920px, calc(100% - 2rem));
  transform: translateX(-50%) translateY(-44px);
  opacity: 0;
  text-align: center;
  color: var(--bwt-ink);
  z-index: 2;
  will-change: transform, opacity;
}

.bwt-hero-title {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.6rem) !important;
  line-height: 1 !important;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--bwt-ink);
}

.bwt-hero-sub {
  max-width: 60ch;
  margin: 0.9rem auto 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem) !important;
  line-height: 1.35 !important;
  color: var(--bwt-muted);
}

.bwt-hero-media-wrap {
  --frame-glow-opacity: 0;
  position: relative;
  width: 100vw;
  height: 100vh;
  border-radius: 24px;
  overflow: hidden;
  box-sizing: border-box;
  padding: 17px;
  background: linear-gradient(120deg, #8bb8ff 0%, #66a4ff 40%, #588dff 80%, #eaf1ff 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  transform-origin: center center;
  transform: scale(1.08);
  will-change: transform;
}

.bwt-hero-media-wrap::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: inherit;
  filter: blur(22px);
  opacity: var(--frame-glow-opacity);
  z-index: -1;
  pointer-events: none;
}

.bwt-hero-border-glow {
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.bwt-hero-border-glow .bwt-glow-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    transparent 55%,
    #5b9aff 65%,
    #88b4ff 72%,
    #ffffff 78%,
    #88b4ff 84%,
    #5b9aff 91%,
    transparent 97%,
    transparent 100%
  );
  animation: bwt-glow-rotate 4s linear infinite;
}

@keyframes bwt-glow-rotate {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.bwt-hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

@media (max-width: 768px) {
  .bwt-hero-stage {
    padding: 14px;
  }
  .bwt-hero-sub {
    max-width: 42ch;
  }
  .bwt-hero-media-wrap {
    width: 100%;
    height: 100%;
  }
}

/* ── OFFICES / CARDS SECTION ── */

.bwt-offices-section {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 80px 6vw;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.04), transparent 50%),
    #0b0b0b;
  color: var(--bwt-ink);
}

.bwt-cards-wrap {
  width: min(1200px, 100%);
  margin: 0 auto 80px auto;
}

.bwt-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.bwt-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(40, 40, 40, 0.1), rgba(0, 0, 0, 0));
  transition: background 200ms ease;
  overflow: hidden;
  border-radius: 0;
}

.bwt-card:hover {
  background: linear-gradient(180deg, rgba(45, 45, 45, 0.35), rgba(0, 0, 0, 0));
}

.bwt-card-border {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.bwt-card-border span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #f5f5f5;
}

.bwt-card-border span:nth-child(1) { top: -1px; left: -1px; }
.bwt-card-border span:nth-child(2) { top: -1px; right: -1px; }
.bwt-card-border span:nth-child(3) { bottom: -1px; left: -1px; }
.bwt-card-border span:nth-child(4) { bottom: -1px; right: -1px; }

.bwt-card:hover .bwt-card-border {
  opacity: 1;
}

.bwt-card-copy h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--bwt-ink);
}

.bwt-card-copy p {
  margin: 14px 0 0 0;
  color: var(--bwt-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.bwt-card-media {
  flex: 1;
  display: flex;
  align-items: center;
}

.bwt-media-box {
  position: relative;
  width: 100%;
  opacity: 0.6;
  transition: transform 200ms ease, opacity 200ms ease;
}

.bwt-card:hover .bwt-media-box {
  opacity: 0.9;
}

.bwt-grok-svg {
  width: 100%;
  transform-origin: top right;
  transform: scale(1.15);
}

.bwt-api-svg {
  width: 100%;
  transform-origin: center;
  transition: transform 200ms ease, opacity 200ms ease;
  opacity: 0.5;
}

.bwt-api-canvas-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 150ms ease;
}

.bwt-api-canvas {
  width: 100%;
  height: auto;
}

.bwt-api-card:hover .bwt-api-svg {
  transform: skewY(12deg) scale(0.75);
  opacity: 0.7;
}

.bwt-api-card:hover .bwt-api-canvas-wrap {
  opacity: 1;
}

.bwt-docs-box {
  position: relative;
  opacity: 0.5;
  transition: opacity 200ms ease;
}

.bwt-docs-svg {
  width: 100%;
  position: absolute;
  right: -16px;
  top: -16px;
  transition: transform 200ms ease;
}

.bwt-docs-svg.bwt-mid {
  right: -8px;
  top: -8px;
}

.bwt-docs-svg.bwt-front {
  position: relative;
  right: 0;
  top: 0;
}

.bwt-card:hover .bwt-docs-svg.bwt-back {
  transform: translateX(16px) rotate(3deg);
}

.bwt-card:hover .bwt-docs-svg.bwt-front {
  transform: translateX(-16px) rotate(-3deg);
}

.bwt-card-cta {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  color: var(--bwt-ink);
}

.bwt-offices-inner {
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.2fr);
  gap: 48px;
  align-items: center;
}

.bwt-offices-copy {
  max-width: 520px;
}

.bwt-eyebrow {
  letter-spacing: 0.2em;
  color: var(--bwt-muted);
  font-size: 12px;
  margin: 0 0 14px 0;
}

.bwt-offices-section h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.4rem) !important;
  line-height: 1.05 !important;
  margin: 0 0 18px 0;
  color: var(--bwt-ink);
}

.bwt-body-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d2d2d2;
  background: linear-gradient(90deg, rgba(43, 79, 128, 0.55), rgba(43, 79, 128, 0));
  padding: 10px 8px;
  border-left: 2px solid rgba(255, 255, 255, 0.18);
}

.bwt-cta {
  margin-top: 26px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--bwt-ink);
  padding: 10px 18px;
  border-radius: 999px;
  letter-spacing: 0.12em;
  font-size: 12px;
  cursor: pointer;
}

.bwt-globe-wrap {
  position: relative;
  width: min(580px, 100%);
  aspect-ratio: 1 / 1;
  margin-left: auto;
}

#bwt-globe {
  width: 100%;
  height: 100%;
  display: block;
}

.bwt-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bwt-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translate(-50%, -50%);
  color: #f2f2f2;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.bwt-label .bwt-dot {
  width: 12px;
  height: 12px;
  background: var(--bwt-accent);
  box-shadow: 0 0 12px var(--bwt-accent-soft);
  border-radius: 2px;
  flex: none;
}

.bwt-label .bwt-label-text {
  display: grid;
  gap: 4px;
}

.bwt-label .bwt-label-text span {
  color: var(--bwt-muted);
  font-size: 10px;
  text-transform: none;
  letter-spacing: 0.04em;
}

@media (max-width: 980px) {
  .bwt-offices-inner {
    grid-template-columns: 1fr;
  }
  .bwt-globe-wrap {
    margin: 0 auto;
  }
  .bwt-offices-copy {
    text-align: center;
    margin: 0 auto;
  }
  .bwt-cards-grid {
    grid-template-columns: 1fr;
  }
  .bwt-card {
    padding: 26px 22px;
  }
}

/* ── STACK LAYERS SECTION ── */

.bwt-stack-section {
  background: var(--bwt-bg);
  padding: 120px 6vw;
  color: var(--bwt-ink);
}

.bwt-stack-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
}

.bwt-stack-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bwt-stack-item {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.bwt-stack-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bwt-stack-item h3 {
  margin: 0 0 10px 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bwt-ink);
  transition: color 0.3s ease;
}

.bwt-stack-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--bwt-muted);
}

.bwt-stack-copy:hover .bwt-stack-item {
  opacity: 0.3;
}

.bwt-stack-copy:hover .bwt-stack-item:hover {
  opacity: 1;
}

/* ── 3D VISUAL ── */

.bwt-stack-visual {
  perspective: 900px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bwt-stack-scene {
  position: relative;
  width: 380px;
  height: 420px;
  transform-style: preserve-3d;
  transform: rotateX(55deg) rotateZ(-45deg);
}

.bwt-stack-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.bwt-layer-face {
  position: absolute;
  backface-visibility: hidden;
}

.bwt-layer-top {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.bwt-layer-front {
  width: 100%;
  height: 30px;
  bottom: 0;
  left: 0;
  transform-origin: bottom center;
  transform: rotateX(-90deg);
  position: absolute;
}

.bwt-layer-right {
  width: 30px;
  height: 100%;
  top: 0;
  right: 0;
  transform-origin: center right;
  transform: rotateY(90deg);
  position: absolute;
}

.bwt-layer-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.bwt-layer-data {
  transform: translateZ(0px);
}
.bwt-layer-data .bwt-layer-top {
  background: linear-gradient(135deg, #1a1a1a, #252525);
}
.bwt-layer-data .bwt-layer-front {
  background: #151515;
}
.bwt-layer-data .bwt-layer-right {
  background: #1e1e1e;
}

.bwt-layer-models {
  transform: translateZ(40px);
}
.bwt-layer-models .bwt-layer-top {
  background: linear-gradient(135deg, #222, #2e2e2e);
}
.bwt-layer-models .bwt-layer-front {
  background: #1a1a1a;
}
.bwt-layer-models .bwt-layer-right {
  background: #242424;
}

.bwt-layer-rlhf {
  transform: translateZ(80px);
}
.bwt-layer-rlhf .bwt-layer-top {
  background: linear-gradient(135deg, #2a2a2a, #363636);
}
.bwt-layer-rlhf .bwt-layer-front {
  background: #222;
}
.bwt-layer-rlhf .bwt-layer-right {
  background: #2c2c2c;
}

/* ── BARS ── */

.bwt-stack-bars {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: translateZ(110px);
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 30px 20px 30px;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.bwt-bar {
  width: 36px;
  height: var(--h);
  position: relative;
  transform-style: preserve-3d;
}

.bwt-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #8a8a8a 0%, #3a3a3a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bwt-bar::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 100%;
  top: 0;
  right: 0;
  transform-origin: right center;
  transform: rotateY(90deg);
  background: linear-gradient(180deg, #6a6a6a 0%, #2a2a2a 100%);
}

.bwt-bar span {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) rotateZ(90deg);
  transform-origin: bottom center;
  white-space: nowrap;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding-bottom: 8px;
  font-weight: 500;
}

/* ── HOVER LAYER ISOLATION ── */

.bwt-stack-section[data-active] .bwt-stack-layer,
.bwt-stack-section[data-active] .bwt-stack-bars {
  opacity: 0.12;
  filter: blur(1px);
}

.bwt-stack-section[data-active="rlhf"] .bwt-stack-layer.bwt-layer-rlhf,
.bwt-stack-section[data-active="rlhf"] .bwt-stack-bars {
  opacity: 1;
  filter: none;
}

.bwt-stack-section[data-active="models"] .bwt-stack-layer.bwt-layer-models {
  opacity: 1;
  filter: none;
}

.bwt-stack-section[data-active="data"] .bwt-stack-layer.bwt-layer-data {
  opacity: 1;
  filter: none;
}

@media (max-width: 980px) {
  .bwt-stack-inner {
    grid-template-columns: 1fr;
  }
  .bwt-stack-visual {
    order: -1;
  }
  .bwt-stack-scene {
    width: 300px;
    height: 340px;
  }
}

/* ── BWT SOFTWARE TABS (C3-style drawers) ── */

.bwt-sw-tabs {
  position: relative;
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 64px;
}

.bwt-sw-tab {
  flex: 1;
  padding: 20px 0 16px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
}

.bwt-sw-tab:hover,
.bwt-sw-tab.active {
  color: #ffffff;
}

.bwt-sw-tab-line {
  position: absolute;
  top: -2px;
  left: 0;
  height: 3px;
  width: 33.333%;
  background: #ffffff;
  transition: left 0.45s cubic-bezier(0.4, 0, 0.2, 1), width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* Content area: stack left + text right */
.bwt-sw-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
  min-height: 420px;
}

/* ── Isometric drawer stack ── */
.bwt-sw-stack {
  perspective: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bwt-sw-scene {
  position: relative;
  width: 340px;
  height: 300px;
  transform-style: preserve-3d;
  transform: rotateX(55deg) rotateZ(-45deg);
}

.bwt-sw-drawer {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, filter 0.4s ease;
}

.bwt-sw-drawer-top {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backface-visibility: hidden;
}

.bwt-sw-drawer-front {
  position: absolute;
  width: 100%;
  height: 36px;
  bottom: 0;
  left: 0;
  transform-origin: bottom center;
  transform: rotateX(-90deg);
  backface-visibility: hidden;
}

.bwt-sw-drawer-right {
  position: absolute;
  width: 36px;
  height: 100%;
  top: 0;
  right: 0;
  transform-origin: center right;
  transform: rotateY(90deg);
  backface-visibility: hidden;
}

.bwt-sw-drawer-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Drawer positions (bottom to top) */
.bwt-sw-drawer[data-drawer="2"] { transform: translateZ(0px); }
.bwt-sw-drawer[data-drawer="1"] { transform: translateZ(46px); }
.bwt-sw-drawer[data-drawer="0"] { transform: translateZ(92px); }

/* Drawer colors (bottom = darkest, top = lightest) */
.bwt-sw-drawer[data-drawer="2"] .bwt-sw-drawer-top { background: linear-gradient(135deg, #1a1a1a, #252525); }
.bwt-sw-drawer[data-drawer="2"] .bwt-sw-drawer-front { background: #151515; }
.bwt-sw-drawer[data-drawer="2"] .bwt-sw-drawer-right { background: #1e1e1e; }

.bwt-sw-drawer[data-drawer="1"] .bwt-sw-drawer-top { background: linear-gradient(135deg, #222, #2e2e2e); }
.bwt-sw-drawer[data-drawer="1"] .bwt-sw-drawer-front { background: #1a1a1a; }
.bwt-sw-drawer[data-drawer="1"] .bwt-sw-drawer-right { background: #242424; }

.bwt-sw-drawer[data-drawer="0"] .bwt-sw-drawer-top { background: linear-gradient(135deg, #2a2a2a, #383838); }
.bwt-sw-drawer[data-drawer="0"] .bwt-sw-drawer-front { background: #222; }
.bwt-sw-drawer[data-drawer="0"] .bwt-sw-drawer-right { background: #2c2c2c; }

/* Hover: dim all, highlight + extract active */
.bwt-software-section[data-active] .bwt-sw-drawer {
  opacity: 0.2;
  filter: blur(1px);
}

.bwt-software-section[data-active="0"] .bwt-sw-drawer[data-drawer="0"],
.bwt-software-section[data-active="1"] .bwt-sw-drawer[data-drawer="1"],
.bwt-software-section[data-active="2"] .bwt-sw-drawer[data-drawer="2"] {
  opacity: 1;
  filter: none;
}

/* Extract drawer outward on hover */
.bwt-software-section[data-active="0"] .bwt-sw-drawer[data-drawer="0"] {
  transform: translateZ(92px) translateX(30px) translateY(-30px);
}
.bwt-software-section[data-active="1"] .bwt-sw-drawer[data-drawer="1"] {
  transform: translateZ(46px) translateX(30px) translateY(-30px);
}
.bwt-software-section[data-active="2"] .bwt-sw-drawer[data-drawer="2"] {
  transform: translateZ(0px) translateX(30px) translateY(-30px);
}

/* Active drawer label brighter */
.bwt-software-section[data-active] .bwt-sw-drawer .bwt-sw-drawer-label {
  color: rgba(255, 255, 255, 0.25);
}
.bwt-software-section[data-active="0"] .bwt-sw-drawer[data-drawer="0"] .bwt-sw-drawer-label,
.bwt-software-section[data-active="1"] .bwt-sw-drawer[data-drawer="1"] .bwt-sw-drawer-label,
.bwt-software-section[data-active="2"] .bwt-sw-drawer[data-drawer="2"] .bwt-sw-drawer-label {
  color: rgba(255, 255, 255, 0.85);
}

/* ── Text panels (right side) ── */
.bwt-sw-panels {
  position: relative;
  min-height: 320px;
}

.bwt-sw-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.bwt-sw-panel.active {
  display: block;
  opacity: 1;
}

.bwt-sw-panel h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
}

.bwt-sw-panel p.bwt-sw-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 24px 0;
}

.bwt-sw-panel ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0 0 32px 0;
}

.bwt-sw-panel ul li {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.8;
}

.bwt-sw-panel .bwt-sw-cta {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease;
}

.bwt-sw-panel .bwt-sw-cta:hover {
  gap: 14px;
}

@media (max-width: 991px) {
  .bwt-sw-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .bwt-sw-stack {
    order: -1;
  }
  .bwt-sw-scene {
    width: 260px;
    height: 240px;
  }
  .bwt-sw-tab {
    font-size: 0.9rem;
    padding: 16px 0 12px;
  }
  .bwt-sw-panels {
    min-height: auto;
  }
}
