@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Clean Brand Palette */
  --palette-crimson: #D92143;
  --palette-crimson-hover: #BF1A37;
  --palette-orange: #F69D39;
  --palette-gold: #E0C375;
  --palette-cream: #FEF5E4;
  --palette-bg: #FCFAF6;
  --palette-dark: #0F172A;
  --palette-stone: #334155;

  --font-bangla: 'Noto Sans Bengali', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-latin: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-bangla);
  background-color: var(--palette-bg);
  color: var(--palette-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.font-latin {
  font-family: var(--font-latin);
}

/* Prevent mobile iOS zoom on input focus */
input, select, textarea {
  font-size: 16px !important;
  font-family: inherit;
}

/* Subtle Live Dot Pulse */
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

.live-dot {
  animation: pulseDot 1.4s infinite ease-in-out;
}

/* 100% Solid Polygons Crimson Button - High Specificity */
.btn-primary,
button.btn-primary,
a.btn-primary {
  background-color: #D92143 !important;
  color: #FFFFFF !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  touch-action: manipulation;
}

.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover {
  background-color: #BF1A37 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -3px rgba(217, 33, 67, 0.35) !important;
}

.btn-primary:active,
button.btn-primary:active,
a.btn-primary:active {
  transform: translateY(0px) scale(0.98);
}

/* ==========================================
   BULLETPROOF DELIVERY ZONE CARDS
   ========================================== */
.zone-card {
  border: 2px solid #E2E8F0 !important;
  background-color: #FFFFFF !important;
  transition: all 0.18s ease-in-out;
  cursor: pointer;
  touch-action: manipulation;
}

.zone-card.selected {
  border-color: #D92143 !important;
  background-color: #FEF5E4 !important;
  box-shadow: 0 4px 14px -2px rgba(217, 33, 67, 0.12) !important;
}

.zone-card .zone-radio-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #CBD5E1 !important;
  background-color: #FFFFFF !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease-in-out;
  flex-shrink: 0;
}

.zone-card.selected .zone-radio-circle {
  border-color: #D92143 !important;
  background-color: #D92143 !important;
}

.zone-card .zone-radio-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #FFFFFF !important;
  display: none !important;
}

.zone-card.selected .zone-radio-dot {
  display: block !important;
}

.zone-card .zone-price {
  color: #334155 !important;
  font-weight: 800;
  transition: color 0.18s ease-in-out;
}

.zone-card.selected .zone-price {
  color: #D92143 !important;
}

/* ==========================================
   BULLETPROOF BUNDLE CARDS
   ========================================== */
.bundle-card {
  border: 2px solid #E2E8F0 !important;
  background-color: #FFFFFF !important;
  transition: all 0.18s ease-in-out;
  cursor: pointer;
  touch-action: manipulation;
}

.bundle-card.selected {
  border-color: #D92143 !important;
  background-color: #FEF5E4 !important;
  box-shadow: 0 8px 24px -4px rgba(217, 33, 67, 0.16) !important;
}

.bundle-card .bundle-radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #CBD5E1 !important;
  background-color: #FFFFFF !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease-in-out;
  flex-shrink: 0;
}

.bundle-card.selected .bundle-radio-circle {
  border-color: #D92143 !important;
  background-color: #D92143 !important;
}

.bundle-card .bundle-radio-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #FFFFFF !important;
  display: none !important;
}

.bundle-card.selected .bundle-radio-dot {
  display: block !important;
}

/* Payment Badges Container */
.payment-logo-card {
  height: 32px;
  max-height: 32px;
  background-color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.payment-logo-card img {
  height: 18px !important;
  max-height: 18px !important;
  width: auto !important;
  max-width: 60px !important;
  object-fit: contain !important;
  display: inline-block !important;
}

/* Split-Flap Style Authentic Timer Tile */
.timer-tile {
  background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
  border: 1px solid rgba(224, 195, 117, 0.35);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 4px 10px rgba(0, 0, 0, 0.25);
  position: relative;
}

.timer-tile::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Accordion Smooth Toggle */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out, padding 0.25s ease-out;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 0.75rem;
  padding-bottom: 1.25rem;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

/* Mobile Sticky Bar Safe Area */
.pb-safe {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)) !important;
}

@media (min-width: 640px) {
  .pb-safe {
    padding-bottom: 3rem !important;
  }
}

/* Minimalist Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F1ECE6;
}
::-webkit-scrollbar-thumb {
  background: var(--palette-gold);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--palette-orange);
}
