/* ═══════════════════════════════════════════════════════════════════════
   INDIAGRAM.IN — Cialdini Conversion Layer
   Principles: Social Proof · Scarcity · Urgency · Authority · Reciprocity
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Trust Strip ──────────────────────────────────────────────────────── */
.ig-trust-strip {
  background: linear-gradient(90deg, #0d0d1a 0%, #1a1a2e 50%, #0f3460 100%);
  border-bottom: 1px solid rgba(255, 103, 31, 0.3);
  padding: 8px 0;
  font-size: 13px;
  color: #ccc;
  position: relative;
  z-index: 10;
}
.ig-trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px 18px;
}
.ig-trust-item {
  color: #ddd;
  font-weight: 500;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ig-trust-item i { color: #ff671f; font-size: 13px; }
.ig-trust-sep { color: rgba(255, 255, 255, 0.15); font-size: 16px; }

/* ─── Activity Bar ─────────────────────────────────────────────────────── */
#ig-activity-bar {
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 103, 31, 0.15);
  padding: 7px 0;
  font-size: 12.5px;
  color: #999;
  text-align: center;
  overflow: hidden;
  position: relative;
  z-index: 9;
}
#ig-activity-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
}
#ig-activity-bar strong { color: #ff671f; }
#ig-orders-today {
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: inline-block;
  transition: color 0.3s;
}

/* ─── Live Dot ─────────────────────────────────────────────────────────── */
.ig-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b3b;
  animation: igDotPulse 1.5s ease-in-out infinite;
  vertical-align: middle;
  flex-shrink: 0;
}
@keyframes igDotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,59,59,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(255,59,59,0); }
}

/* ─── Live Badge ───────────────────────────────────────────────────────── */
.ig-live-badge {
  background: #ff3b3b;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 2px 7px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  text-transform: uppercase;
}

/* ─── Counter Pulse ────────────────────────────────────────────────────── */
@keyframes igCountPulse {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.25); color: #ff671f; }
}
.ig-counter-pulse { animation: igCountPulse 0.55s ease; }

/* ─── FOMO Notification Popup ──────────────────────────────────────────── */
#ig-fomo {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999999;
  max-width: 310px;
  width: calc(100vw - 48px);
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s cubic-bezier(0.22,1,0.36,1),
              transform 0.38s cubic-bezier(0.22,1,0.36,1);
  border-radius: 12px 12px 0 0;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.55));
}
#ig-fomo.ig-fomo--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#ig-fomo-inner {
  background: #1a1a2e;
  border: 1px solid rgba(255, 103, 31, 0.3);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 36px 13px 14px;
  position: relative;
}
#ig-fomo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: #fff;
}
#ig-fomo-text { flex: 1; min-width: 0; }
#ig-fomo-name {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#ig-fomo-action {
  display: block;
  font-size: 11px;
  color: #aaa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
#ig-fomo-pkg {
  display: block;
  font-size: 12px;
  color: #e0e0e0;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#ig-fomo-time {
  display: block;
  font-size: 10.5px;
  color: rgba(255, 103, 31, 0.75);
  margin-top: 3px;
}
#ig-fomo-close {
  position: absolute;
  top: 7px;
  right: 9px;
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}
#ig-fomo-close:hover { color: #ccc; }
#ig-fomo-bar {
  height: 3px;
  background: linear-gradient(90deg, #ff671f, #ff3b3b);
  border-radius: 0 0 4px 4px;
  border: 1px solid rgba(255,103,31,0.3);
  border-top: none;
}

/* ─── Product Badges ───────────────────────────────────────────────────── */
.block-products__item-header { position: relative; overflow: visible !important; }
.ig-product-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0,0,0,0.4);
  z-index: 5;
  text-transform: uppercase;
  pointer-events: none;
}
.ig-badge--popular  { background: #e63946; color: #fff; }
.ig-badge--top      { background: #f4a261; color: #1a1a1a; }
.ig-badge--instant  { background: #00b4d8; color: #fff; }
.ig-badge--free     { background: #2dc653; color: #fff; }
.ig-badge--best     { background: #7b2d8b; color: #fff; }
.ig-badge--power    { background: #0d0d1a; border: 1px solid #ff671f; color: #ff671f; }
.ig-badge--monthly  { background: #1a4080; color: #fff; }
.ig-badge--hot      { background: linear-gradient(135deg, #ff671f, #e63946); color: #fff; }

/* ─── Viewing Now Indicator ────────────────────────────────────────────── */
.ig-viewing {
  font-size: 11px;
  color: #777;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.ig-viewing .ig-live-dot {
  width: 6px;
  height: 6px;
  background: #2dc653;
  flex-shrink: 0;
}
.ig-viewing-count { color: #999; font-weight: 600; }

/* ─── Social Proof Stats ───────────────────────────────────────────────── */
.ig-social-proof {
  background: linear-gradient(135deg, #0d0d1a 0%, #16213e 100%);
  border-top: 1px solid rgba(255, 103, 31, 0.12);
  border-bottom: 1px solid rgba(255, 103, 31, 0.12);
  padding: 36px 0;
}
.ig-social-proof .ig-sp-title {
  text-align: center;
  color: #aaa;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  font-weight: 600;
}
.ig-stats-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.ig-stat-item {
  text-align: center;
  flex: 1;
  min-width: 140px;
  padding: 12px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}
.ig-stat-item:last-child { border-right: none; }
.ig-stat-num {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: #ff671f;
  line-height: 1.1;
  font-family: 'Lato', sans-serif;
}
.ig-stat-icon {
  font-size: 22px;
  margin-bottom: 6px;
  display: block;
}
.ig-stat-label {
  display: block;
  font-size: 11.5px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 5px;
}

/* ─── Testimonials ─────────────────────────────────────────────────────── */
.ig-testimonials {
  background: #111;
  padding: 44px 0;
  border-bottom: 1px solid rgba(255,103,31,0.1);
}
.ig-testimonials .ig-sec-title {
  text-align: center;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.ig-testimonials .ig-sec-sub {
  text-align: center;
  color: #777;
  font-size: 13px;
  margin-bottom: 30px;
}
.ig-reviews-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 8px;
}
.ig-review-card {
  background: #1a1a2e;
  border: 1px solid rgba(255, 103, 31, 0.15);
  border-radius: 12px;
  padding: 20px;
  max-width: 260px;
  min-width: 220px;
  flex: 1;
  transition: border-color 0.3s, transform 0.3s;
}
.ig-review-card:hover {
  border-color: rgba(255, 103, 31, 0.4);
  transform: translateY(-3px);
}
.ig-review-stars { color: #f4a261; font-size: 13px; margin-bottom: 10px; letter-spacing: 2px; }
.ig-review-text  { color: #bbb; font-size: 13px; line-height: 1.65; margin-bottom: 12px; }
.ig-review-author { font-size: 11.5px; color: #666; }
.ig-review-author strong { color: #999; display: block; font-size: 12.5px; margin-bottom: 1px; }
.ig-review-service { font-size: 11px; color: #ff671f; margin-top: 4px; display: block; }

/* ─── Urgency Banner ───────────────────────────────────────────────────── */
#ig-urgency-bar {
  background: linear-gradient(90deg, #1a0a00, #2a1200, #1a0a00);
  border-bottom: 1px solid rgba(255,103,31,0.4);
  padding: 9px 0;
  text-align: center;
  font-size: 13px;
  color: #ffcf77;
  position: relative;
  display: none;
}
#ig-urgency-bar.ig-show { display: block; }
#ig-urgency-bar strong { color: #ff671f; }
#ig-urgency-dismiss {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 16px;
}
.ig-countdown { font-weight: 700; color: #ff671f; letter-spacing: 1px; }

/* ─── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  #ig-fomo { left: 10px; right: 10px; width: auto; max-width: 100%; bottom: 12px; }
  .ig-stat-item { min-width: 110px; padding: 8px 12px; }
  .ig-stat-num  { font-size: 26px; }
  .ig-trust-items { gap: 4px 10px; font-size: 12px; }
  .ig-review-card { max-width: 100%; min-width: 0; }
  .ig-reviews-grid { flex-direction: column; align-items: stretch; padding: 0 16px; }
  #ig-urgency-bar { font-size: 12px; padding: 8px 40px 8px 10px; }
}
@media (max-width: 480px) {
  .ig-stats-grid { gap: 0; }
  .ig-stat-item { min-width: 50%; flex-basis: 50%; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .ig-stat-item:nth-child(even) { border-right: none; }
}
