/**
 * ============================================================================
 * SMSINDIAHUB — Universal Pricing Pages Stylesheet (css/pricing.css)
 * Version: 1.0.0
 * Architecture: Clean, modular, responsive CPaaS & SMS pricing styling system.
 * ============================================================================
 */

/* 1. Global Font Enforcement & Reset for Pricing Components */
.price-pane,
.price-card,
.price-tab-btn,
.price-awareness-card,
.price-comparison-table,
.price-aeo-card,
.faq-container,
.faq-item,
.faq-btn,
.faq-answer {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* 2. Keyframe Animations */
@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-tab-fade-in {
  animation: tabFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes priceGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(37, 145, 225, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(37, 145, 225, 0.4);
  }
}

.animate-price-glow {
  animation: priceGlow 3s infinite ease-in-out;
}

/* 3. Hero Brand Elements */
.price-gradient-text {
  background: linear-gradient(135deg, #2591E1 0%, #1E40AF 55%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-badge-glow {
  box-shadow: 0 2px 8px -1px rgba(37, 145, 225, 0.2);
}

/* 4. Sticky Channel Navigation Tabs */
.price-tab-bar {
  position: sticky;
  top: 68px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.75rem 0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.03);
}

.price-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #334155;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.price-tab-btn:hover {
  color: #2563eb;
  background-color: rgba(239, 246, 255, 0.8);
}

.price-tab-btn.active {
  color: #ffffff !important;
  font-weight: 700 !important;
  background: linear-gradient(to right, #2563eb, #0891b2) !important;
  box-shadow: 0 4px 14px -2px rgba(37, 99, 235, 0.35) !important;
}

/* 5. Pricing Cards Design System */
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: #3b82f6;
  box-shadow: 0 20px 35px -10px rgba(37, 99, 235, 0.15), 0 10px 20px -5px rgba(15, 23, 42, 0.04);
}

.price-card.featured {
  border: 2px solid #2563eb;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.2);
}

.price-card.featured:hover {
  border-color: #1d4ed8;
  box-shadow: 0 25px 45px -12px rgba(37, 99, 235, 0.25);
}

/* Card Featured Top Ribbon */
.price-card-ribbon {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, #2563eb, #0891b2);
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.125rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

/* Card Action Buttons */
.price-btn-primary {
  display: block;
  width: 100%;
  padding: 0.625rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  background-color: #2563eb;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.price-btn-primary:hover {
  background-color: #1d4ed8;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.price-btn-primary:active {
  transform: scale(0.98);
}

.price-btn-secondary {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  color: #334155;
  background-color: transparent;
  border: 1px solid #e2e8f0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.price-btn-secondary:hover {
  color: #2563eb;
  border-color: #93c5fd;
  background-color: rgba(239, 246, 255, 0.6);
  transform: scale(1.02);
}

.price-btn-secondary:active {
  transform: scale(0.98);
}

/* 6. Security & Fraud Awareness Notice Card */
.price-awareness-card {
  background-color: #ffffff;
  border-radius: 1rem;
  border: 2px dashed #cbd5e1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.price-awareness-card:hover {
  border-color: #94a3b8;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
}

/* 7. Comparison Table */
.price-table-wrap {
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.price-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 640px;
}

.price-table-wrap thead th {
  padding: 1rem 1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  color: #334155;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.price-table-wrap tbody td {
  padding: 1rem 1.5rem;
  font-size: 0.8125rem;
  border-bottom: 1px solid #f1f5f9;
}

.price-table-wrap tbody tr:hover {
  background-color: rgba(248, 250, 252, 0.7);
}

.price-table-highlight-col {
  background-color: rgba(239, 246, 255, 0.35);
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  color: #1d4ed8;
  font-weight: 700;
}

/* 8. FAQ Accordions */
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.08);
}

.faq-item.active {
  border-color: #60a5fa;
  box-shadow: 0 4px 14px -2px rgba(37, 99, 235, 0.12);
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-btn:hover {
  background-color: rgba(248, 250, 252, 0.8);
}

.faq-chevron {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-chevron-pill {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-btn:hover .faq-chevron-pill {
  background-color: #eff6ff;
  border-color: #bfdbfe;
}

.faq-item.active .faq-chevron-pill {
  background-color: #eff6ff;
  border-color: #93c5fd;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: #2563eb !important;
}

.faq-answer {
  padding: 0 1.5rem;
  color: #475569;
  font-size: 0.8125rem;
  line-height: 1.65;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease,
              padding 0.35s ease;
}

/* 9. City & Industry Quick Links Pill Buttons (Light Theme) */
.quick-pill-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #334155;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.quick-pill-btn:hover {
  background: linear-gradient(135deg, #2591E1 0%, #0284C7 100%);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 4px 12px -2px rgba(37, 145, 225, 0.35);
  transform: translateY(-1.5px);
}


/* 9. Hero Small Metric Cards & Interactive Hovers */
.hero-metric-card {
  padding: 0.875rem 0.75rem;
  border-radius: 1rem;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-metric-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 12px 24px -6px rgba(37, 145, 225, 0.16);
}

.hero-metric-val {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 800;
  display: block;
  white-space: nowrap;
  letter-spacing: -0.02em;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 640px) {
  .hero-metric-val {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-metric-val {
    font-size: 1.75rem;
  }
}

@media (max-width: 400px) {
  .hero-metric-card {
    padding: 0.75rem 0.5rem;
  }
  .hero-metric-val {
    font-size: 1.125rem;
  }
  .hero-metric-label {
    font-size: 0.6875rem;
  }
}

.hero-metric-card:hover .hero-metric-val {
  transform: scale(1.06);
}

.hero-metric-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  margin-top: 0.25rem;
  display: block;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.hero-metric-card:hover .hero-metric-label {
  color: #0f172a;
}

/* 10. Color Themes for Buttons & Ribbons */
.price-btn-emerald {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%) !important;
  color: #ffffff !important;
}
.price-btn-emerald:hover {
  background: linear-gradient(135deg, #047857 0%, #0f766e 100%) !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3) !important;
}

.price-btn-purple {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%) !important;
  color: #ffffff !important;
}
.price-btn-purple:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #4f46e5 100%) !important;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3) !important;
}

.price-btn-amber {
  background: linear-gradient(135deg, #d97706 0%, #ea580c 100%) !important;
  color: #ffffff !important;
}
.price-btn-amber:hover {
  background: linear-gradient(135deg, #b45309 0%, #c2410c 100%) !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3) !important;
}

.price-btn-cyan {
  background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%) !important;
  color: #ffffff !important;
}
.price-btn-cyan:hover {
  background: linear-gradient(135deg, #0e7490 0%, #0369a1 100%) !important;
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.3) !important;
}

.price-btn-red {
  background: linear-gradient(135deg, #dc2626 0%, #e11d48 100%) !important;
  color: #ffffff !important;
}
.price-btn-red:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #be123c 100%) !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35) !important;
}

/* 11. Hot Offers Impact Stat Cards (Fluid Responsive & Zero Overflow) */
.offer-stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  text-align: center;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.offer-stat-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 12px 24px -6px rgba(37, 145, 225, 0.18);
}

.offer-stat-num {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.15;
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: center;
  word-break: normal;
  overflow-wrap: normal;
  font-size: clamp(1.0625rem, 1.25vw, 1.45rem);
}

@media (min-width: 1280px) {
  .offer-stat-card {
    padding: 1.25rem 0.75rem;
  }
  .offer-stat-num {
    font-size: 1.35rem;
  }
}

@media (max-width: 1023px) and (min-width: 640px) {
  .offer-stat-card {
    padding: 1.35rem 0.875rem;
  }
  .offer-stat-num {
    font-size: 1.5rem;
  }
}

@media (max-width: 639px) {
  .offer-stat-card {
    padding: 1rem 0.375rem;
  }
  .offer-stat-num {
    font-size: 1.15rem;
  }
}

@media (max-width: 360px) {
  .offer-stat-num {
    font-size: 1rem;
  }
}

/* 12. Banking Details & QR Code Components */
.bank-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
.bank-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 16px 32px -8px rgba(37, 145, 225, 0.15);
}

.bank-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2563eb;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.bank-copy-btn:hover {
  background-color: #dbeafe;
  color: #1d4ed8;
  transform: translateY(-1px);
}
.bank-copy-btn:active {
  transform: translateY(0);
}

.qr-code-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  height: 100%;
}
.qr-code-card:hover {
  transform: translateY(-4px);
  border-color: #3b82f6;
  box-shadow: 0 20px 40px -10px rgba(37, 145, 225, 0.22);
}

.qr-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 2px dashed #cbd5e1;
  padding: 0.75rem;
  background: #f8fafc;
  transition: all 0.3s ease;
  cursor: pointer;
}
.qr-code-card:hover .qr-img-wrap {
  border-color: #3b82f6;
  background: #eff6ff;
}

.qr-zoom-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border: 1px solid #e2e8f0;
  color: #2563eb;
  padding: 4px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}
.qr-code-card:hover .qr-zoom-badge {
  background: #2563eb;
  color: #ffffff;
}

.qr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.qr-lightbox.flex {
  display: flex !important;
}

.qr-lightbox-content {
  position: relative;
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem 1.75rem 1.75rem;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border: 1px solid #e2e8f0;
  text-align: center;
  animation: tabFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-height: 90vh;
  overflow-y: auto;
}

.qr-close-btn {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}
.qr-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
  transform: rotate(90deg);
}

.payment-rail-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}
.payment-rail-pill:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -2px rgba(37, 145, 225, 0.2);
}





