/* ─────────────────────────────────────────────
   components.css  —  reusable UI pieces
───────────────────────────────────────────── */

/* ── HERO BLOB BACKGROUND ── */
.blob-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.18;
  z-index: 0;
}

/* ── ICON WRAPPER ── */
.icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.icon-wrap-blue { background: var(--blue-50); color: var(--blue-500); }
.icon-wrap-amber { background: var(--accent-light); color: var(--accent); }
.icon-wrap-green { background: #f0fdf4; color: #16a34a; }

/* ── TESTIMONIAL CARD ── */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testimonial-card .stars { color: var(--accent); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card .text { font-size: 0.95rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 18px; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue-500);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.9rem;
}
.testimonial-card .author-info .name { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--gray-900); }
.testimonial-card .author-info .role { font-size: 0.8rem; color: var(--gray-400); }

/* ── PRICING CARD ── */
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-blue);
  transform: scale(1.03);
}
.pricing-card .popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-500);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.pricing-card .price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue-500);
  line-height: 1;
  margin: 16px 0 4px;
}
.pricing-card .price sup { font-size: 1.4rem; vertical-align: top; margin-top: 10px; }
.pricing-card .features { text-align: left; margin: 24px 0; list-style: none; }
.pricing-card .features li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 0.9rem; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); }
.pricing-card .features li:last-child { border-bottom: none; }
.pricing-card .features li .check { color: var(--blue-500); font-size: 1rem; flex-shrink: 0; }

/* ── STEP NUMBER ── */
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-500);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ── STICKY SIDEBAR CARD ── */
.sticky-card {
  position: sticky;
  top: 90px;
  background: var(--white);
  border: 2px solid var(--blue-100);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

/* ── TAG CHIP ── */
.chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-display);
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid var(--blue-100);
}

/* ── DIVIDER ── */
.divider {
  width: 48px; height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
  border-radius: 2px;
  margin: 16px 0 24px;
}
.divider-center { margin: 16px auto 24px; }

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
  background: var(--blue-500);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
}
.announcement-bar a { color: var(--accent); text-decoration: underline; margin-left: 8px; }

body.has-announcement .navbar { top: 40px; }
body.has-announcement .page-hero { padding-top: 170px; }

/* ── LOADING SPINNER ── */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--gray-400);
}
.empty-state svg { margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { font-size: 1.1rem; color: var(--gray-700); margin-bottom: 8px; }

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  background: var(--blue-500);
  color: var(--white);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-blue);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); background: var(--blue-600); }

/* ── WHATSAPP FLOAT BUTTON ── */
.wa-float {
  position: fixed;
  bottom: 80px;
  right: 28px;
  width: 48px; height: 48px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  font-size: 1.4rem;
  z-index: 998;
  transition: transform var(--transition);
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); }

/* ══ SOCIAL SIDE RAIL ══ */
.social-rail {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 997;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--blue-500);
  box-shadow: 4px 8px 28px rgba(37,99,235,0.12);
  border-radius: 0 14px 14px 0;
  box-shadow: 4px 4px 24px rgba(0,0,0,0.18);
}

.rail-item {
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  overflow: hidden;
  width: 44px;
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
  border-radius: 0 10px 10px 0;
  text-decoration: none;
  padding: 10px 12px;
}
.rail-item:hover { width: 140px; }

.rail-item:hover.rail-li   { background: #0077b5; }
.rail-item:hover.rail-ig   { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); }
.rail-item:hover.rail-yt   { background: #ff0000; }
.rail-item:hover.rail-wa   { background: #25d366; }

.rail-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  /* Default icon colors — brand tints */
  .rail-li .rail-icon { fill: #0077b5; }
  .rail-ig .rail-icon { fill: #dd2a7b; }
  .rail-yt .rail-icon { fill: #ff0000; }
  .rail-wa .rail-icon { fill: #25d366; }

/* On hover — stays same color, just container changes */
.rail-item:hover .rail-icon { fill: #fff; }
  transition: fill 0.2s;
}
.rail-item:hover .rail-icon { fill: #fff; }

.rail-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  margin-left: 10px;
  transition: opacity 0.2s ease 0.1s;
}
.rail-item:hover .rail-label { opacity: 1; }

/* Mobile: hide rail, show fan toggle */
.social-fab-wrap {
  display: none;
  position: fixed;
  left: 16px;
  bottom: 90px;
  z-index: 997;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
}
.social-fab-wrap.open .social-fan-item { opacity: 1; transform: translateY(0); pointer-events: auto; }

.social-fab-toggle {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue-500);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,99,235,0.4);
  transition: all 0.25s ease;
  z-index: 2;
}
.social-fab-toggle:hover { background: var(--blue-600); transform: scale(1.08); }
.social-fab-toggle svg { width: 20px; height: 20px; fill: #fff; transition: transform 0.3s ease; }
.social-fab-wrap.open .social-fab-toggle svg { transform: rotate(45deg); }

.social-fan-item {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.social-fan-item:nth-child(2) { transition-delay: 0.04s; }
.social-fan-item:nth-child(3) { transition-delay: 0.08s; }
.social-fan-item:nth-child(4) { transition-delay: 0.12s; }
.social-fan-item:nth-child(5) { transition-delay: 0.16s; }
.social-fan-item svg { width: 18px; height: 18px; fill: #fff; }
.social-fan-item.sfi-li { background: #0077b5; }
.social-fan-item.sfi-ig { background: linear-gradient(135deg,#f58529,#dd2a7b); }
.social-fan-item.sfi-yt { background: #ff0000; }
.social-fan-item.sfi-wa { background: #25d366; }

/* ══ FOOTER SOCIAL ROW ══ */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.footer-soc-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  transition: all 0.25s ease;
}
.footer-soc-btn svg { width: 17px; height: 17px; fill: rgba(255,255,255,0.55); transition: fill 0.2s; }
.footer-soc-btn:hover svg { fill: #fff; }
.footer-soc-btn.fsb-li:hover  { background: #0077b5; border-color: #0077b5; }
.footer-soc-btn.fsb-ig:hover  { background: linear-gradient(135deg,#f58529,#dd2a7b); border-color: #dd2a7b; }
.footer-soc-btn.fsb-yt:hover  { background: #ff0000; border-color: #ff0000; }
.footer-soc-btn.fsb-wa:hover  { background: #25d366; border-color: #25d366; }

@media (max-width: 768px) {
  .social-rail { display: none; }
  .social-fab-wrap { display: flex; }
}

