/* ═══════════════════════════════════════════════════════════
   CHAPELLIA — Homepage (index.css)
   Font rules:
   · LibreBaskerville  → NEVER here (only .nav-logo-name in global)
   · Montserrat        → Headings, prices, labels, buttons
   · Inter             → Body text, descriptions
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   HERO SLIDER
   ═══════════════════════════════════════════════════════════ */
.hero-slider {
  position: relative;
  height: calc(100vh - 64px);
  min-height: 560px;
  overflow: hidden;
  background: var(--black);
  margin-top: 64px;
}

/* Slides */
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1),
              transform .7s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Arrow buttons */
.hero-arrow {
  position: absolute; top: 50%; z-index: 10;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.45);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .25s;
  backdrop-filter: blur(8px);
  border-radius: 50%;
}
.hero-arrow:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

/* Dots */
.hero-dots {
  position: absolute; bottom: 48px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none; cursor: pointer;
  transition: all .3s ease; padding: 0;
}
.hero-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ── FIX BUG 8: progress bar AKTIF (bukan display:none) ── */
.hero-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.08);
  z-index: 10;
}
.hero-progress-bar {
  height: 100%;
  width: 0%;                  /* JS mengisi ini via requestAnimationFrame */
  background: var(--accent);
  transition: none;           /* NO CSS transition — JS yang kontrol sepenuhnya */
  will-change: width;
}

/* Cover image mode (slide 4 & 5 dengan foto produk nyata) */
.hero-bg-img--cover {
  padding-right: 0;
  justify-content: center;
}
.hero-product-cover {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 1 !important;
  filter: none !important;
}

/* ═══════════════════════════════════════════════════════════
   HERO CONTENT (shared antara .hero dan .hero-slider)
   ═══════════════════════════════════════════════════════════ */

/* FIX BUG 10: .hero lama dihapus — hanya pakai .hero-slider */
.hero-bg            { position: absolute; inset: 0; z-index: 0; }
.hero-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(0,0,0,0.92) 35%, rgba(0,0,0,0.3) 100%);
}
.hero-bg-img {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 5%;
}
.hero-product-placeholder {
  width: 42%; max-width: 520px; opacity: .1; filter: grayscale(1);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 80px 64px; max-width: 640px;
  color: var(--white);
}
.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 10px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: clamp(52px, 7vw, 88px);
  line-height: .95; letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero-desc {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 400;
  line-height: 2; color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}
.hero-stock-badge {
  display: flex; align-items: center;
  gap: 14px; margin-bottom: 28px;
}
.hero-stock-line { width: 40px; height: 1px; background: var(--accent); }
.hero-stock-text {
  font-family: var(--font-heading);
  font-size: 10px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent);
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn-primary {
  padding: 14px 36px;
  background: var(--white); color: var(--black);
  font-family: var(--font-heading); font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  display: inline-block; transition: all .25s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--accent); color: var(--white); }

.btn-outline-light {
  padding: 14px 32px;
  background: transparent; color: var(--white);
  font-family: var(--font-heading); font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-block; transition: all .25s;
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.04); }

.btn-outline-dark {
  padding: 12px 28px;
  background: transparent; color: var(--white);
  font-family: var(--font-heading); font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-block; transition: all .25s;
}
.btn-outline-dark:hover { border-color: var(--white); background: rgba(255,255,255,0.04); }

/* ═══════════════════════════════════════════════════════════
   COLOR SECTION
   ═══════════════════════════════════════════════════════════ */
.color-section {
  background: #0d0d0d;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.color-section-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 32px 64px;
  display: flex; align-items: center; gap: 48px;
}
.color-label {
  font-family: var(--font-heading);
  font-size: 10px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  white-space: nowrap; min-width: 180px;
}
.color-swatches  { display: flex; gap: 40px; align-items: center; }
.color-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  cursor: pointer; opacity: .4; transition: opacity .25s;
  -webkit-user-select: none; user-select: none;
}
.color-item.active { opacity: 1; }
.color-item:hover  { opacity: .75; }
.color-dot         { width: 44px; height: 44px; border-radius: 50%; }
.color-item span {
  font-family: var(--font-heading);
  font-size: 9px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.color-item.active span { color: var(--white); }

/* ═══════════════════════════════════════════════════════════
   SYSTEM SECTION
   ═══════════════════════════════════════════════════════════ */
.system-section {
  display: grid; grid-template-columns: 1fr 380px;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.system-features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-right: 1px solid rgba(255,255,255,0.05);
}
.system-feature {
  padding: 56px 40px;
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column; gap: 20px;
}
.system-feature:last-child { border-right: none; }
.system-icon {
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4); flex-shrink: 0;
}
.system-feature-title {
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--white); line-height: 1.6;
}
.system-feature-desc {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 400;
  color: rgba(255,255,255,0.3); line-height: 1.9;
}
.system-info {
  padding: 56px 48px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 24px; color: var(--white);
}
.system-info-label {
  font-family: var(--font-heading);
  font-size: 10px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent);
}
.system-info-title {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: 2px; line-height: 1;
}

/* ═══════════════════════════════════════════════════════════
   AUTH / CERTIFICATE SECTION
   ═══════════════════════════════════════════════════════════ */
.auth-section {
  display: grid; grid-template-columns: 1fr 1fr;
  background: #080808; min-height: 520px;
}
.auth-card-wrap {
  padding: 72px 64px;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.05);
}
.auth-card {
  background: linear-gradient(145deg, #181818, #111);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 40px; width: 100%; max-width: 320px; position: relative;
}
.auth-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), rgba(255,59,59,0.15));
}
.auth-card-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 32px;
}
.auth-card-logo { width: 20px; opacity: .5; }
.auth-card-header span {
  font-family: var(--font-brand);
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; color: rgba(255,255,255,0.35);
}
.auth-card-title {
  font-family: var(--font-heading);
  font-size: 16px; font-weight: 700;
  letter-spacing: 2px; color: var(--white);
  line-height: 1.4; margin-bottom: 8px;
}
.auth-card-series {
  font-family: var(--font-heading);
  font-size: 10px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.2); margin-bottom: 32px;
}
.auth-card-code-label {
  font-family: var(--font-heading);
  font-size: 9px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.2); margin-bottom: 8px;
}
.auth-card-code {
  font-family: var(--font-heading);
  font-size: 14px; font-weight: 700;
  letter-spacing: 2px; color: var(--white);
  background: rgba(255,255,255,0.03);
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 16px;
}
.auth-card-verified {
  font-family: var(--font-heading);
  font-size: 9px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(34,197,94,0.5); margin-bottom: 10px;
}
.auth-card-desc {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 400;
  color: rgba(255,255,255,0.15); line-height: 1.8; font-style: italic;
}
.auth-info {
  padding: 72px 64px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 24px; color: var(--white);
}
.auth-info-label {
  font-family: var(--font-heading);
  font-size: 10px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent);
}
.auth-info-title {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 2px; line-height: 1;
}
.auth-info-line { width: 40px; height: 2px; background: var(--accent); }
.auth-info-desc {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,0.35); line-height: 2; max-width: 380px;
}

/* ═══════════════════════════════════════════════════════════
   COLLECTION
   ═══════════════════════════════════════════════════════════ */
.collection-section {
  display: grid; grid-template-columns: 300px 1fr;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.collection-info {
  padding: 56px 44px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 20px; color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.05);
}
.collection-label {
  font-family: var(--font-heading);
  font-size: 10px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent);
}
.collection-title {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 2px; line-height: 1;
}
.collection-desc {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 400;
  color: rgba(255,255,255,0.3); line-height: 2;
}
.collection-price {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 22px; letter-spacing: -.5px;
  color: var(--white);
}
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.collection-item {
  position: relative; aspect-ratio: 3/4;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border-left: 1px solid rgba(255,255,255,0.05);
  /* FIX BUG 9: min-height agar tidak kempes saat gambar gagal load */
  min-height: 260px;
}
.collection-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
  position: relative; z-index: 0;
}
.collection-item:hover img { transform: scale(1.04); }

/* FIX BUG 9: placeholder dengan min-height eksplisit */
.collection-item-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  min-height: 260px;
}

/* FIX BUG 13: z-index pada info agar tidak tertutup img saat hover scale */
.collection-item-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  z-index: 1;                 /* di atas img yang scale */
}
.collection-item-label {
  font-family: var(--font-heading);
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); margin-bottom: 4px;
}
.collection-item-price {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 400;
  color: rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════════════════════════
   COUNTER
   ═══════════════════════════════════════════════════════════ */
/* FIX BUG 12: hapus margin-bottom:0 yang redundant */
.counter-section {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.counter-left {
  padding: 72px 56px;
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column;
  justify-content: center; gap: 16px; color: var(--white);
}
.counter-eyebrow {
  font-family: var(--font-heading);
  font-size: 10px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent);
}
.counter-title {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: 1px; line-height: 1.1;
}
.counter-mid {
  padding: 72px 56px;
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column;
  justify-content: center; gap: 28px; color: var(--white);
}
.counter-tagline {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 400;
  color: rgba(255,255,255,0.4); line-height: 1.9; font-style: italic;
}
.counter-right {
  padding: 72px 56px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 12px;
}
.counter-label {
  font-family: var(--font-heading);
  font-size: 10px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}
.counter-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 76px);
  color: var(--accent); line-height: 1;
}
.counter-total {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 36px);
  color: rgba(255,255,255,0.12);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

/* ── Tablet 1024 ── */
@media(max-width:1024px) {
  .hero-content { padding: 60px 48px; }

  .system-section { grid-template-columns: 1fr; }
  .system-features {
    grid-template-columns: repeat(3, 1fr);
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .system-info { padding: 44px 48px; }

  .auth-section { grid-template-columns: 1fr; }
  .auth-card-wrap {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 56px 48px;
  }
  .auth-info { padding: 56px 48px; }

  .collection-section { grid-template-columns: 1fr; }
  .collection-info {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .collection-grid { grid-template-columns: repeat(3, 1fr); }

  .counter-section { grid-template-columns: 1fr 1fr; }
  /* FIX BUG 14: span 2 di 1024 hanya berlaku jika grid punya 2 col */
  .counter-right {
    grid-column: span 2;
    border-top: 1px solid rgba(255,255,255,0.05);
  }
}

/* ── Mobile 768 ── */
@media(max-width:768px) {
  /* Hero */
  .hero-slider { height: auto; min-height: 0; }
  /* FIX BUG 11: min-height lebih masuk akal di mobile */
  .hero-slide { position: relative; min-height: 460px; }
  .hero-slide:not(.active) { display: none; }
  .hero-arrow  { display: none; }
  .hero-dots   { bottom: 24px; }
  .hero-dot    { width: 7px; height: 7px; }
  .hero-dot.active { width: 7px; transform: scale(1.4); }

  .hero-content { padding: 36px 24px 44px; max-width: 100%; width: 100%; }
  .hero-eyebrow { font-size: 9px; letter-spacing: 3px; margin-bottom: 14px; }
  .hero-title   { font-size: 36px; letter-spacing: -1px; line-height: 1; margin-bottom: 16px; }
  .hero-desc    { font-size: 13px; line-height: 1.8; margin-bottom: 16px; }
  .hero-stock-badge { margin-bottom: 20px; }
  .hero-stock-text  { font-size: 9px; letter-spacing: 2px; }
  .hero-stock-line  { width: 28px; }
  .hero-btns  { flex-direction: column; gap: 10px; width: 100%; }
  .btn-primary      { padding: 14px 20px; font-size: 10px; text-align: center; width: 100%; display: block; }
  .btn-outline-light{ padding: 13px 20px; font-size: 10px; text-align: center; width: 100%; display: block; }

  /* Color */
  .color-section-inner { padding: 24px; flex-direction: column; gap: 14px; max-width: 100%; }
  .color-label  { font-size: 9px; letter-spacing: 2px; }
  .color-swatches { width: 100%; display: flex; justify-content: space-between; padding: 0; }
  .color-item   { gap: 8px; flex: 1; align-items: center; }
  .color-dot    { width: 36px; height: 36px; }
  .color-item span { font-size: 8px; letter-spacing: 1px; }

  /* System */
  .system-features { grid-template-columns: 1fr; }
  .system-feature {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 28px 24px;
  }
  .system-feature:last-child { border-bottom: none; }
  .system-icon          { width: 40px; height: 40px; }
  .system-feature-title { font-size: 11px; }
  .system-feature-desc  { font-size: 12px; line-height: 1.8; }
  .system-info          { padding: 28px 24px; gap: 14px; }
  .system-info-title    { font-size: 30px; letter-spacing: 1px; }

  /* Auth */
  .auth-card-wrap { padding: 36px 24px; }
  .auth-card      { max-width: 100%; padding: 28px; }
  .auth-card-title{ font-size: 15px; }
  .auth-info      { padding: 36px 24px; gap: 14px; }
  .auth-info-title{ font-size: 28px; letter-spacing: 1px; }
  .auth-info-desc { font-size: 12px; line-height: 1.8; }

  /* Collection */
  .collection-info  { padding: 32px 24px; gap: 14px; }
  .collection-title { font-size: 28px; letter-spacing: 1px; }
  .collection-desc  { font-size: 12px; line-height: 1.9; }
  .collection-price { font-size: 18px; }
  .collection-grid  { grid-template-columns: 1fr 1fr; }
  .collection-item  { aspect-ratio: 1/1; min-height: 180px; }
  .collection-item-info  { padding: 16px 18px; }
  .collection-item-label { font-size: 10px; }
  .collection-item-price { font-size: 10px; }
  .collection-item-placeholder { min-height: 180px; }

  /* Counter */
  /* FIX BUG 14: reset grid-column ke auto saat 1 kolom */
  .counter-section { grid-template-columns: 1fr; }
  .counter-left  { padding: 36px 24px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .counter-mid   { padding: 36px 24px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .counter-right { padding: 36px 24px; grid-column: auto; border-top: none; }
  .counter-eyebrow { font-size: 9px; letter-spacing: 2px; }
  .counter-title   { font-size: 26px; letter-spacing: .5px; }
  .counter-tagline { font-size: 13px; line-height: 1.8; }
  .counter-label   { font-size: 9px; letter-spacing: 2px; }
  .counter-number  { font-size: 48px; }
  .counter-total   { font-size: 24px; }
}

/* ── Small mobile 480 ── */
@media(max-width:480px) {
  .hero-content    { padding: 28px 20px 36px; }
  .hero-title      { font-size: 30px; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-item { aspect-ratio: 4/3; min-height: 200px; }
  .collection-item-placeholder { min-height: 200px; }
  .color-dot       { width: 32px; height: 32px; }
}

/* ════════════════════════════════════════════════════════════
   NON-LATIN SCRIPT FIX — index.css
   Override letter-spacing untuk elemen homepage spesifik.
   Rule utama ada di chapellia.css, ini sebagai reinforce.
   ════════════════════════════════════════════════════════════ */

/* ── letter-spacing reset — ditulis individual agar fully compatible ── */
html[lang="bn"] .hero-eyebrow, html[lang="bn"] .hero-title, html[lang="bn"] .hero-desc,
html[lang="bn"] .hero-stock-text, html[lang="bn"] .color-label, html[lang="bn"] .color-item span,
html[lang="bn"] .system-info-label, html[lang="bn"] .system-info-title,
html[lang="bn"] .system-feature-title, html[lang="bn"] .system-feature-desc,
html[lang="bn"] .auth-info-label, html[lang="bn"] .auth-info-title, html[lang="bn"] .auth-info-desc,
html[lang="bn"] .auth-card-title, html[lang="bn"] .auth-card-series,
html[lang="bn"] .auth-card-code-label, html[lang="bn"] .auth-card-code,
html[lang="bn"] .auth-card-verified, html[lang="bn"] .auth-card-desc,
html[lang="bn"] .collection-label, html[lang="bn"] .collection-title,
html[lang="bn"] .collection-desc, html[lang="bn"] .collection-item-label,
html[lang="bn"] .counter-eyebrow, html[lang="bn"] .counter-title,
html[lang="bn"] .counter-tagline, html[lang="bn"] .counter-label,
html[lang="bn"] .footer-brand-tagline, html[lang="bn"] .footer-col-title,
html[lang="bn"] .footer-col a, html[lang="bn"] .footer-bottom,
html[lang="hi"] .hero-eyebrow, html[lang="hi"] .hero-title, html[lang="hi"] .hero-desc,
html[lang="hi"] .hero-stock-text, html[lang="hi"] .color-label, html[lang="hi"] .color-item span,
html[lang="hi"] .system-info-label, html[lang="hi"] .system-info-title,
html[lang="hi"] .system-feature-title, html[lang="hi"] .system-feature-desc,
html[lang="hi"] .auth-info-label, html[lang="hi"] .auth-info-title, html[lang="hi"] .auth-info-desc,
html[lang="hi"] .auth-card-title, html[lang="hi"] .auth-card-series,
html[lang="hi"] .auth-card-code-label, html[lang="hi"] .auth-card-code,
html[lang="hi"] .auth-card-verified, html[lang="hi"] .auth-card-desc,
html[lang="hi"] .collection-label, html[lang="hi"] .collection-title,
html[lang="hi"] .collection-desc, html[lang="hi"] .collection-item-label,
html[lang="hi"] .counter-eyebrow, html[lang="hi"] .counter-title,
html[lang="hi"] .counter-tagline, html[lang="hi"] .counter-label,
html[lang="hi"] .footer-brand-tagline, html[lang="hi"] .footer-col-title,
html[lang="hi"] .footer-col a, html[lang="hi"] .footer-bottom,
html[lang="ar"] .hero-eyebrow, html[lang="ar"] .hero-title, html[lang="ar"] .hero-desc,
html[lang="ar"] .hero-stock-text, html[lang="ar"] .color-label, html[lang="ar"] .color-item span,
html[lang="ar"] .system-info-label, html[lang="ar"] .system-info-title,
html[lang="ar"] .system-feature-title, html[lang="ar"] .system-feature-desc,
html[lang="ar"] .auth-info-label, html[lang="ar"] .auth-info-title, html[lang="ar"] .auth-info-desc,
html[lang="ar"] .collection-label, html[lang="ar"] .collection-title,
html[lang="ar"] .collection-desc, html[lang="ar"] .collection-item-label,
html[lang="ar"] .counter-eyebrow, html[lang="ar"] .counter-title,
html[lang="ar"] .counter-tagline, html[lang="ar"] .counter-label,
html[lang="ar"] .footer-brand-tagline, html[lang="ar"] .footer-col-title,
html[lang="ar"] .footer-col a, html[lang="ar"] .footer-bottom,
html[lang="ur"] .hero-eyebrow, html[lang="ur"] .hero-title, html[lang="ur"] .hero-desc,
html[lang="ur"] .hero-stock-text, html[lang="ur"] .color-label, html[lang="ur"] .color-item span,
html[lang="ur"] .system-info-label, html[lang="ur"] .system-info-title,
html[lang="ur"] .system-feature-title, html[lang="ur"] .system-feature-desc,
html[lang="ur"] .auth-info-label, html[lang="ur"] .auth-info-title, html[lang="ur"] .auth-info-desc,
html[lang="ur"] .collection-label, html[lang="ur"] .collection-title,
html[lang="ur"] .collection-desc, html[lang="ur"] .collection-item-label,
html[lang="ur"] .counter-eyebrow, html[lang="ur"] .counter-title,
html[lang="ur"] .counter-tagline, html[lang="ur"] .counter-label,
html[lang="ur"] .footer-brand-tagline, html[lang="ur"] .footer-col-title,
html[lang="ur"] .footer-col a, html[lang="ur"] .footer-bottom,
html[lang="arz"] .hero-eyebrow, html[lang="arz"] .hero-title, html[lang="arz"] .hero-desc,
html[lang="arz"] .hero-stock-text, html[lang="arz"] .color-label, html[lang="arz"] .color-item span,
html[lang="arz"] .system-info-label, html[lang="arz"] .system-info-title,
html[lang="arz"] .system-feature-title, html[lang="arz"] .system-feature-desc,
html[lang="arz"] .auth-info-label, html[lang="arz"] .auth-info-title, html[lang="arz"] .auth-info-desc,
html[lang="arz"] .collection-label, html[lang="arz"] .collection-title,
html[lang="arz"] .collection-desc, html[lang="arz"] .collection-item-label,
html[lang="arz"] .counter-eyebrow, html[lang="arz"] .counter-title,
html[lang="arz"] .counter-tagline, html[lang="arz"] .counter-label,
html[lang="arz"] .footer-brand-tagline, html[lang="arz"] .footer-col-title,
html[lang="arz"] .footer-col a, html[lang="arz"] .footer-bottom,
html[lang="ja"] .hero-eyebrow, html[lang="ja"] .hero-title, html[lang="ja"] .hero-desc,
html[lang="ja"] .hero-stock-text, html[lang="ja"] .color-label, html[lang="ja"] .color-item span,
html[lang="ja"] .system-info-label, html[lang="ja"] .system-info-title,
html[lang="ja"] .system-feature-title, html[lang="ja"] .system-feature-desc,
html[lang="ja"] .auth-info-label, html[lang="ja"] .auth-info-title, html[lang="ja"] .auth-info-desc,
html[lang="ja"] .collection-label, html[lang="ja"] .collection-title,
html[lang="ja"] .collection-desc, html[lang="ja"] .collection-item-label,
html[lang="ja"] .counter-eyebrow, html[lang="ja"] .counter-title,
html[lang="ja"] .counter-tagline, html[lang="ja"] .counter-label,
html[lang="ja"] .footer-brand-tagline, html[lang="ja"] .footer-col-title,
html[lang="ja"] .footer-col a, html[lang="ja"] .footer-bottom,
html[lang="ko"] .hero-eyebrow, html[lang="ko"] .hero-title, html[lang="ko"] .hero-desc,
html[lang="ko"] .hero-stock-text, html[lang="ko"] .color-label, html[lang="ko"] .color-item span,
html[lang="ko"] .system-info-label, html[lang="ko"] .system-info-title,
html[lang="ko"] .system-feature-title, html[lang="ko"] .system-feature-desc,
html[lang="ko"] .auth-info-label, html[lang="ko"] .auth-info-title, html[lang="ko"] .auth-info-desc,
html[lang="ko"] .collection-label, html[lang="ko"] .collection-title,
html[lang="ko"] .collection-desc, html[lang="ko"] .collection-item-label,
html[lang="ko"] .counter-eyebrow, html[lang="ko"] .counter-title,
html[lang="ko"] .counter-tagline, html[lang="ko"] .counter-label,
html[lang="ko"] .footer-brand-tagline, html[lang="ko"] .footer-col-title,
html[lang="ko"] .footer-col a, html[lang="ko"] .footer-bottom,
html[lang="zh"] .hero-eyebrow, html[lang="zh"] .hero-title, html[lang="zh"] .hero-desc,
html[lang="zh"] .hero-stock-text, html[lang="zh"] .color-label, html[lang="zh"] .color-item span,
html[lang="zh"] .system-info-label, html[lang="zh"] .system-info-title,
html[lang="zh"] .system-feature-title, html[lang="zh"] .system-feature-desc,
html[lang="zh"] .auth-info-label, html[lang="zh"] .auth-info-title, html[lang="zh"] .auth-info-desc,
html[lang="zh"] .collection-label, html[lang="zh"] .collection-title,
html[lang="zh"] .collection-desc, html[lang="zh"] .collection-item-label,
html[lang="zh"] .counter-eyebrow, html[lang="zh"] .counter-title,
html[lang="zh"] .counter-tagline, html[lang="zh"] .counter-label,
html[lang="zh"] .footer-brand-tagline, html[lang="zh"] .footer-col-title,
html[lang="zh"] .footer-col a, html[lang="zh"] .footer-bottom,
html[lang="yue"] .hero-eyebrow, html[lang="yue"] .hero-title, html[lang="yue"] .hero-desc,
html[lang="yue"] .hero-stock-text, html[lang="yue"] .color-label, html[lang="yue"] .color-item span,
html[lang="yue"] .system-info-label, html[lang="yue"] .system-info-title,
html[lang="yue"] .system-feature-title, html[lang="yue"] .system-feature-desc,
html[lang="yue"] .auth-info-label, html[lang="yue"] .auth-info-title, html[lang="yue"] .auth-info-desc,
html[lang="yue"] .collection-label, html[lang="yue"] .collection-title,
html[lang="yue"] .collection-desc, html[lang="yue"] .collection-item-label,
html[lang="yue"] .counter-eyebrow, html[lang="yue"] .counter-title,
html[lang="yue"] .counter-tagline, html[lang="yue"] .counter-label,
html[lang="yue"] .footer-brand-tagline, html[lang="yue"] .footer-col-title,
html[lang="yue"] .footer-col a, html[lang="yue"] .footer-bottom,
html[lang="th"] .hero-eyebrow, html[lang="th"] .hero-title, html[lang="th"] .hero-desc,
html[lang="th"] .hero-stock-text, html[lang="th"] .color-label, html[lang="th"] .color-item span,
html[lang="th"] .system-info-label, html[lang="th"] .system-info-title,
html[lang="th"] .system-feature-title, html[lang="th"] .system-feature-desc,
html[lang="th"] .auth-info-label, html[lang="th"] .auth-info-title, html[lang="th"] .auth-info-desc,
html[lang="th"] .collection-label, html[lang="th"] .collection-title,
html[lang="th"] .collection-desc, html[lang="th"] .collection-item-label,
html[lang="th"] .counter-eyebrow, html[lang="th"] .counter-title,
html[lang="th"] .counter-tagline, html[lang="th"] .counter-label,
html[lang="th"] .footer-brand-tagline, html[lang="th"] .footer-col-title,
html[lang="th"] .footer-col a, html[lang="th"] .footer-bottom {
  letter-spacing: 0 !important;
}

/* Tamil (sg) — non-Latin letter-spacing reset */
html[lang="ta"] .hero-eyebrow, html[lang="ta"] .hero-title, html[lang="ta"] .hero-desc,
html[lang="ta"] .hero-stock-text, html[lang="ta"] .color-label, html[lang="ta"] .color-item span,
html[lang="ta"] .system-info-label, html[lang="ta"] .system-info-title,
html[lang="ta"] .system-feature-title, html[lang="ta"] .system-feature-desc,
html[lang="ta"] .auth-info-label, html[lang="ta"] .auth-info-title, html[lang="ta"] .auth-info-desc,
html[lang="ta"] .auth-card-title, html[lang="ta"] .auth-card-series,
html[lang="ta"] .auth-card-code-label, html[lang="ta"] .auth-card-code,
html[lang="ta"] .auth-card-verified, html[lang="ta"] .auth-card-desc,
html[lang="ta"] .collection-label, html[lang="ta"] .collection-title,
html[lang="ta"] .collection-desc, html[lang="ta"] .collection-item-label,
html[lang="ta"] .counter-eyebrow, html[lang="ta"] .counter-title,
html[lang="ta"] .counter-tagline, html[lang="ta"] .counter-label,
html[lang="ta"] .footer-brand-tagline, html[lang="ta"] .footer-col-title,
html[lang="ta"] .footer-col a, html[lang="ta"] .footer-bottom {
  letter-spacing: 0 !important;
}

html[lang="ta"] .hero-title { font-size: clamp(36px, 5vw, 68px) !important; line-height: 1.2 !important; }
html[lang="ta"] .counter-title { font-size: clamp(22px, 3vw, 36px) !important; line-height: 1.3 !important; }
html[lang="ta"] .system-info-title { font-size: clamp(28px, 3.5vw, 46px) !important; line-height: 1.2 !important; }
html[lang="ta"] .auth-info-title { font-size: clamp(24px, 3.5vw, 40px) !important; line-height: 1.2 !important; }
html[lang="ta"] .collection-title { font-size: clamp(26px, 3.5vw, 40px) !important; line-height: 1.2 !important; }

/* ── Hero title: font-size adaptif untuk non-Latin ── */
html[lang="bn"] .hero-title,
html[lang="hi"] .hero-title { font-size: clamp(36px, 5vw, 68px) !important; line-height: 1.1 !important; }

html[lang="ar"] .hero-title,
html[lang="ur"] .hero-title,
html[lang="arz"] .hero-title { font-size: clamp(40px, 5.5vw, 72px) !important; line-height: 1.2 !important; }

html[lang="th"] .hero-title { font-size: clamp(38px, 5vw, 70px) !important; line-height: 1.3 !important; }

/* ── Counter title ── */
html[lang="bn"] .counter-title, html[lang="hi"] .counter-title,
html[lang="ar"] .counter-title, html[lang="ur"] .counter-title,
html[lang="arz"] .counter-title, html[lang="th"] .counter-title {
  font-size: clamp(22px, 3vw, 36px) !important;
  line-height: 1.3 !important;
}

/* ── System info title ── */
html[lang="bn"] .system-info-title, html[lang="hi"] .system-info-title,
html[lang="ar"] .system-info-title, html[lang="ur"] .system-info-title,
html[lang="arz"] .system-info-title, html[lang="th"] .system-info-title {
  font-size: clamp(28px, 3.5vw, 46px) !important;
  line-height: 1.2 !important;
}

/* ── Auth info title ── */
html[lang="bn"] .auth-info-title, html[lang="hi"] .auth-info-title,
html[lang="ar"] .auth-info-title, html[lang="ur"] .auth-info-title,
html[lang="arz"] .auth-info-title, html[lang="th"] .auth-info-title {
  font-size: clamp(24px, 3.5vw, 40px) !important;
  line-height: 1.2 !important;
}

/* ── Collection title ── */
html[lang="bn"] .collection-title, html[lang="hi"] .collection-title,
html[lang="ar"] .collection-title, html[lang="ur"] .collection-title,
html[lang="arz"] .collection-title, html[lang="th"] .collection-title {
  font-size: clamp(26px, 3.5vw, 40px) !important;
  line-height: 1.2 !important;
}