/* ================================================
   SUFRAH — UI Components
   Buttons, Cards, Toggle, FAQ, Pricing
   ================================================ */

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-8);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
  border: none;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn--primary {
  background: linear-gradient(135deg, #7c3aed, #9333ea, #a855f7);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 
    0 4px 15px rgba(124, 58, 237, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  transition: none;
  animation: btn-shimmer 3s ease-in-out infinite;
}

@keyframes btn-shimmer {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

.btn--primary:hover {
  box-shadow: 
    0 12px 40px rgba(124, 58, 237, 0.5),
    0 4px 15px rgba(124, 58, 237, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transform: translateY(-4px) scale(1.02);
  background-position: 100% 0;
}

.btn--primary:active {
  transform: translateY(-1px) scale(0.99);
}

.btn--secondary {
  background: var(--color-bg-card);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  border-color: var(--color-border-brand);
  background: var(--color-bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn--outline-secondary {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  color: var(--color-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn--outline-secondary:hover {
  border-color: rgba(124, 58, 237, 0.5);
  color: #a78bfa;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(124, 58, 237, 0.15);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(124, 58, 237, 0.03));
}

[data-theme="light"] .btn--outline-secondary:hover {
  color: var(--color-brand-600);
  border-color: var(--color-brand-500);
}

.btn--ghost {
  background: transparent;
  color: var(--color-brand-300);
  padding: var(--space-3) var(--space-4);
}

[data-theme="light"] .btn--ghost {
  color: var(--color-brand-600);
}

.btn--ghost:hover {
  background: rgba(124, 58, 237, 0.08);
}

.btn--lg {
  padding: 16px 36px;
  font-size: var(--fs-md);
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
}

.btn--whatsapp:hover {
  background: #20bd5a;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  transform: translateY(-3px);
}

/* === Store Buttons === */
.btn--store {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    rgba(13, 13, 26, 0.88);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    background 0.3s ease;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.btn--store svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn--store::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.1) 48%, transparent 100%);
  transform: translateX(100%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.btn--store__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, background 0.3s ease;
}

.btn--store__text {
  display: flex;
  flex-direction: column;
  text-align: right;
  direction: rtl;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.btn--store small {
  font-size: 11px;
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.03em;
}

.btn--store span {
  font-size: 1.02rem;
  font-weight: var(--fw-bold);
  color: #fff;
  letter-spacing: -0.015em;
}

.btn--store:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, 0.22);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.24), 0 8px 22px rgba(124, 58, 237, 0.12);
}

.btn--store:hover::before {
  transform: translateX(-100%);
}

.btn--store:hover .btn--store__icon {
  transform: scale(1.4);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn--store--google .btn--store__icon {
  background:
    linear-gradient(135deg, rgba(52, 211, 153, 0.18), rgba(96, 165, 250, 0.08)),
    rgba(255, 255, 255, 0.04);
}

.btn--store--google svg {
  color: #eafcf6;
}

.btn--store--apple .btn--store__icon {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(148, 163, 184, 0.08)),
    rgba(255, 255, 255, 0.04);
}

.btn--store--apple svg {
  color: #ffffff;
}

.btn--store__icon svg {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}

.btn--store:hover .btn--store__icon svg {
  transform: scale(1.06);
}

[data-theme="light"] .btn--store {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 255, 0.94));
  color: var(--color-text-primary);
  border-color: rgba(124, 58, 237, 0.12);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .btn--store__icon {
  background: rgba(124, 58, 237, 0.04);
  border-color: rgba(124, 58, 237, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .btn--store small {
  color: var(--color-text-tertiary);
}

[data-theme="light"] .btn--store span {
  color: var(--color-text-primary);
}

[data-theme="light"] .btn--store:hover {
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08), 0 8px 18px rgba(124, 58, 237, 0.08);
}

[data-theme="light"] .btn--store--google .btn--store__icon {
  background:
    linear-gradient(135deg, rgba(52, 211, 153, 0.14), rgba(96, 165, 250, 0.08)),
    rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .btn--store--google svg {
  color: #166534;
}

[data-theme="light"] .btn--store--apple .btn--store__icon {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(100, 116, 139, 0.04)),
    rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .btn--store--apple svg {
  color: #0f172a;
}

/* === Cards === */
.card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  backdrop-filter: blur(12px);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--color-border-brand);
  background: var(--color-bg-card-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--gradient-brand);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-brand);
}

.card__icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.card__icon--danger {
  background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
  box-shadow: 0 4px 20px rgba(248, 113, 113, 0.3);
}

.card__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-3);
  color: var(--color-text-primary);
}

.card__text {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

/* === Glass Card === */
.glass-card {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* === Theme Toggle === */
.theme-toggle {
  position: relative;
  width: 74px;
  height: 42px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(124, 58, 237, 0.28);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background var(--transition-base);
  display: flex;
  align-items: center;
  padding: 4px;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 12px 28px rgba(4, 8, 20, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.theme-toggle::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(96, 165, 250, 0.12));
  z-index: 0;
}

.theme-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 14px;
  right: 14px;
  height: 10px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.4), rgba(124, 58, 237, 0.45), rgba(251, 191, 36, 0.35));
  opacity: 0.7;
  filter: blur(8px);
  transform: translateY(-50%);
  z-index: 0;
}

.theme-toggle:hover {
  border-color: rgba(167, 139, 250, 0.65);
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 18px 38px rgba(124, 58, 237, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.theme-toggle:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(124, 58, 237, 0.22),
    0 18px 38px rgba(124, 58, 237, 0.18);
}

.theme-toggle__knob {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  transition:
    transform var(--transition-spring),
    box-shadow var(--transition-base),
    background var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 26px rgba(124, 58, 237, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  position: relative;
  z-index: 1;
}

.theme-toggle__knob::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.32), transparent 65%);
}

.theme-toggle__knob svg {
  width: 16px;
  height: 16px;
  color: #fff;
  position: relative;
  z-index: 1;
}

[data-theme="light"] .theme-toggle__knob {
  transform: translateX(-32px);
  background: linear-gradient(135deg, #f59e0b 0%, #fde68a 100%);
  box-shadow:
    0 10px 26px rgba(245, 158, 11, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

[data-theme="light"] .theme-toggle {
  border-color: rgba(245, 158, 11, 0.24);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.86));
}

[data-theme="light"] .theme-toggle::before {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(59, 130, 246, 0.08));
}

/* === FAQ Accordion === */
.faq-item {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.22);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.16),
    0 8px 18px rgba(124, 58, 237, 0.08);
}

.faq-item:hover::before,
.faq-item.active::before {
  opacity: 1;
}

[data-theme="light"] .faq-item {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(124, 58, 237, 0.08);
  box-shadow:
    0 12px 26px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .faq-item:hover {
  border-color: rgba(124, 58, 237, 0.16);
  box-shadow:
    0 20px 40px rgba(15, 23, 42, 0.08),
    0 10px 20px rgba(124, 58, 237, 0.08);
}

.faq-item.active {
  border-color: rgba(167, 139, 250, 0.28);
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.08), rgba(255, 255, 255, 0)),
    var(--color-bg-card);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.18),
    0 8px 20px rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .faq-item.active {
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.06), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.96);
  border-color: rgba(124, 58, 237, 0.18);
  box-shadow:
    0 16px 30px rgba(15, 23, 42, 0.06),
    0 8px 18px rgba(124, 58, 237, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: clamp(1.2rem, 2vw, 1.45rem) clamp(1.2rem, 2vw, 1.5rem);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  cursor: pointer;
  transition: color var(--transition-fast);
  text-align: right;
  background: none;
  border: none;
}

.faq-question__text {
  flex: 1;
  min-width: 0;
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  font-weight: var(--fw-semibold);
  line-height: 1.7;
  color: inherit;
  text-align: right;
}

.faq-question:hover {
  color: var(--color-text-primary);
}

[data-theme="light"] .faq-question:hover {
  color: var(--color-text-primary);
}

.faq-question__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 18px rgba(0, 0, 0, 0.08);
  color: #c4b5fd;
  transition:
    transform 0.24s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease,
    color 0.28s ease;
}

[data-theme="light"] .faq-question__icon-wrap {
  background: rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.1);
  color: var(--color-brand-600);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 6px 14px rgba(15, 23, 42, 0.04);
}

.faq-question__icon {
  width: 22px;
  height: 22px;
  transition: transform 0.28s ease;
  color: currentColor;
}

.faq-question:hover .faq-question__icon-wrap {
  transform: translateY(-1px);
  border-color: rgba(167, 139, 250, 0.24);
  box-shadow:
    0 10px 18px rgba(124, 58, 237, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .faq-question:hover .faq-question__icon-wrap {
  border-color: rgba(124, 58, 237, 0.16);
  box-shadow:
    0 8px 16px rgba(124, 58, 237, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.faq-item.active .faq-question__icon-wrap {
  background: rgba(124, 58, 237, 0.14);
  border-color: rgba(167, 139, 250, 0.28);
  color: #ede9fe;
  box-shadow:
    0 12px 22px rgba(124, 58, 237, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .faq-item.active .faq-question__icon-wrap {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.16);
  color: var(--color-brand-700);
}

.faq-item.active .faq-question__icon {
  transform: rotate(135deg) scale(1.05);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding-inline: clamp(1.2rem, 2vw, 1.5rem);
  opacity: 0;
  transition:
    max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease,
    padding-bottom 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
  max-height: 240px;
  padding-bottom: clamp(1.15rem, 2vw, 1.45rem);
  opacity: 1;
}

.faq-answer p {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: clamp(0.96rem, 1.05vw, 1rem);
  color: var(--color-text-secondary);
  line-height: 1.95;
  max-width: 62ch;
}

[data-theme="light"] .faq-answer p {
  border-top-color: rgba(124, 58, 237, 0.08);
}

@media (max-width: 640px) {
  .faq-question {
    align-items: flex-start;
    padding: 1rem;
  }

  .faq-question__icon-wrap {
    width: 42px;
    height: 42px;
  }

  .faq-answer {
    padding-inline: 1rem;
  }
}

/* === Pricing Card === */
.pricing-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-top: 1px solid rgba(255, 255, 255, 0.08); /* Premium glass highlight */
  border-radius: var(--radius-2xl);
  padding: 32px 28px; /* Tighter padding for a sleeker look */
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

[data-theme="light"] .pricing-card {
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--popular {
  border-color: var(--color-brand-500);
  background: var(--gradient-card);
  box-shadow: 0 0 0 1px var(--color-brand-500), 0 8px 40px rgba(124, 58, 237, 0.25);
  transform: scale(1.03); /* Subtle pop-out instead of huge 1.06 */
}

.pricing-card--popular:hover {
  box-shadow: 0 0 0 1px var(--color-brand-400), 0 12px 50px rgba(124, 58, 237, 0.35);
  transform: scale(1.03) translateY(-6px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #fff;
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  white-space: nowrap;
  box-shadow: var(--shadow-brand);
}

.pricing-card__name {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.pricing-card__price {
  font-size: clamp(2rem, 4vw, 2.75rem); /* Scaled down numerical size */
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
  direction: ltr;
  letter-spacing: -0.03em;
}

.pricing-card__price span {
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--color-text-secondary);
}

.pricing-card__description {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6); /* Condense spacing */
  line-height: var(--lh-relaxed);
}

.pricing-card__features {
  text-align: right;
  margin-bottom: var(--space-8); /* Condense from space-10 */
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0; /* Reduced padding between list items */
  font-size: var(--fs-sm); /* Condensed font size for features */
  color: var(--color-text-secondary);
}

.pricing-card__contact {
  display: block;
  text-align: center;
  margin-top: var(--space-4);
  font-size: var(--fs-sm);
  color: var(--color-text-tertiary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.pricing-card__contact:hover {
  color: var(--color-brand-300);
}

[data-theme="light"] .pricing-card__contact:hover {
  color: var(--color-brand-600);
}

.pricing-card__features li svg {
  width: 18px; /* Tighter icon matching font-size */
  height: 18px;
  color: var(--color-success);
  flex-shrink: 0;
}

/* === Status Badge (Dashboard) === */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
}

.status-badge--new {
  background: var(--color-info);
  background: rgba(96, 165, 250, 0.15);
  color: #60a5fa;
}

.status-badge--preparing {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.status-badge--delivered {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
}

/* === Flow Step === */
.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px 64px;
  align-items: start;
  column-gap: 0.95rem;
  row-gap: var(--space-3);
  min-height: 186px;
  padding: 1.5rem 1.35rem 1.4rem;
  text-align: right;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 46%),
    rgba(9, 14, 24, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.22);
  backdrop-filter: blur(14px);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  overflow: hidden;
}

.flow-step::after {
  content: '';
  position: absolute;
  inset: auto -36px -42px auto;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.14), transparent 72%);
  pointer-events: none;
}

.flow-step::before {
  content: '';
  position: absolute;
  top: 52px;
  right: 100%;
  width: calc(var(--space-4) + 4px);
  height: 1px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.22), transparent);
}

.flow-step:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 24px 42px rgba(2, 6, 23, 0.28);
}

.flow-step:first-child::before {
  display: none;
}

.flow-step__icon {
  position: relative;
  z-index: 1;
  grid-column: 3;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.16), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(124, 58, 237, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  animation: flow-step-icon-float 4.2s ease-in-out infinite;
  transition: all var(--transition-base);
}

.flow-step:hover .flow-step__icon {
  border-color: rgba(124, 58, 237, 0.405);
  box-shadow: 0 12px 24px rgba(124, 58, 237, 0.349);
}

.flow-step__icon svg {
  width: 30px;
  height: 30px;
  color: #ddd6fe;
  animation: flow-step-icon-breathe 4.2s ease-in-out infinite;
}

[data-theme="light"] .flow-step__icon svg {
  color: var(--color-brand-600);
}

.flow-step__number {
  position: relative;
  z-index: 1;
  grid-column: 2;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  justify-self: start;
  transition: all var(--transition-base);
  animation: flow-step-icon-float 4.2s ease-in-out infinite;
  margin-right:  -40px ;
}


.flow-step__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-column: 1 / -1;
  gap: 0.4rem;
}

.flow-step__meta {
  color: var(--color-brand-300);
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
}

.flow-step__title {
  margin: 0;
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  line-height: 1.5;
}

.flow-step__desc {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

.flow-step__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.flow-step__chips span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 34px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: var(--color-text-primary);
  font-size: 0.78rem;
  font-weight: var(--fw-medium);
  line-height: 1;
}

.flow-step__chips span::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #38bdf8);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
  flex: 0 0 auto;
}

[data-theme="light"] .flow-step {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 247, 255, 0.86));
  border-color: rgba(124, 58, 237, 0.1);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .flow-step__number {
  background: rgba(124, 58, 237, 0.05);
  border-color: rgba(124, 58, 237, 0.1);
  color: var(--color-brand-700);
}

[data-theme="light"] .flow-step__chips span {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 245, 255, 0.88));
  border-color: rgba(124, 58, 237, 0.1);
  color: var(--color-brand-700);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@keyframes flow-step-icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes flow-step-icon-breathe {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.06);
    filter: brightness(1.08);
  }
}

@media (max-width: 768px) {
  .flow-step {
    grid-template-columns: minmax(0, 1fr) 42px 58px;
    min-height: auto;
    padding: 1.1rem;
  }

  .flow-step::before {
    display: none;
  }

  .flow-step__icon {
    grid-column: 3;
    width: 58px;
    height: 58px;
  }

  .flow-step__number {
    grid-column: 2;
  }

}

/* === Partner Logo === */
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: var(--space-4) var(--space-6);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  opacity: 0.6;
  transition: all var(--transition-base);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-text-tertiary);
}

.partner-logo:hover {
  opacity: 1;
  border-color: var(--color-border-brand);
}

.partner-logo--img {
  background: #fff;
  padding: var(--space-2) var(--space-5);
}

.partner-logo--img img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* === Social Proof Stats Bar === */
.social-proof__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-12);
}

.sp-stat {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: stretch;
  gap: 0.9rem;
  min-width: 0;
  min-height: 214px;
  padding: 1.4rem 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.sp-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 48%);
  pointer-events: none;
}

.sp-stat::after {
  content: '';
  position: absolute;
  inset: -35% auto auto -20%;
  width: 58%;
  height: 180%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
  opacity: 0;
  transform: rotate(18deg) translateY(-12%);
  transition: opacity 0.35s ease, transform 0.65s ease;
  pointer-events: none;
}

.sp-stat:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(124, 58, 237, 0.24);
  box-shadow: 0 30px 62px rgba(15, 23, 42, 0.28);
}

.sp-stat:hover::after {
  opacity: 1;
  transform: rotate(18deg) translate(58%, -4%);
}

[data-theme="light"] .sp-stat {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 244, 255, 0.92));
  border-color: rgba(124, 58, 237, 0.1);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.sp-stat--featured {
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(59, 130, 246, 0.05)),
    var(--color-bg-card);
  border-color: rgba(124, 58, 237, 0.24);
}

[data-theme="light"] .sp-stat--featured {
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(255, 255, 255, 0.96)),
    #fff;
}

.sp-stat--accent {
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(6, 182, 212, 0.05)),
    var(--color-bg-card);
  border-color: rgba(16, 185, 129, 0.2);
}

[data-theme="light"] .sp-stat--accent {
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(255, 255, 255, 0.96)),
    #fff;
  border-color: rgba(16, 185, 129, 0.14);
}

.sp-stat__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.sp-stat__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ddd6fe;
  font-size: 0.74rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
}

.sp-stat--accent .sp-stat__eyebrow {
  color: #a7f3d0;
}

[data-theme="light"] .sp-stat__eyebrow {
  background: rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.08);
  color: var(--color-brand-700);
}

[data-theme="light"] .sp-stat--accent .sp-stat__eyebrow {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.1);
  color: #047857;
}

.sp-stat__icon {
  position: relative;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), transparent 48%),
    linear-gradient(135deg, rgba(124, 58, 237, 0.34), rgba(59, 130, 246, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 18px 34px rgba(91, 33, 182, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform-origin: center;
  animation: sp-stat-icon-float 5.4s ease-in-out infinite;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s ease, filter 0.38s ease;
}

.sp-stat__icon::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 28px;
  border: 1px solid rgba(196, 181, 253, 0.18);
  opacity: 0.6;
  animation: sp-stat-icon-ring 3.8s ease-in-out infinite;
}

.sp-stat__icon::after {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), transparent 54%);
  pointer-events: none;
}

.sp-stat__icon svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  color: #ede9fe;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), filter 0.38s ease;
}

.sp-stat--accent .sp-stat__icon {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), transparent 48%),
    linear-gradient(135deg, rgba(16, 185, 129, 0.34), rgba(6, 182, 212, 0.2));
  box-shadow:
    0 18px 34px rgba(6, 182, 212, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sp-stat--accent .sp-stat__icon svg {
  color: #d1fae5;
}

[data-theme="light"] .sp-stat__icon {
  border-color: rgba(124, 58, 237, 0.08);
}

[data-theme="light"] .sp-stat__icon svg {
  color: var(--color-brand-700);
}

[data-theme="light"] .sp-stat--accent .sp-stat__icon {
  border-color: rgba(16, 185, 129, 0.08);
}

[data-theme="light"] .sp-stat--accent .sp-stat__icon svg {
  color: #047857;
}

.sp-stat__body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 0.7rem;
  min-height: 86px;
  width: 100%;
}

.sp-stat__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.sp-stat__row {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: var(--space-1);
  text-align: start;
}

.sp-stat__number {
  font-size: clamp(2.5rem, 4.8vw, 3.5rem);
  font-weight: 800;
  color: var(--color-brand-300);
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 8px 24px rgba(124, 58, 237, 0.18);
}

[data-theme="light"] .sp-stat__number {
  color: var(--color-brand-600);
}

.sp-stat__plus {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-brand-400);
}

.sp-stat__label {
  max-width: 20ch;
  font-size: 0.98rem;
  color: var(--color-text-secondary);
  font-weight: var(--fw-semibold);
  line-height: 1.7;
  text-align: right;
  margin-inline: 0;
}

.sp-stat__footer {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .sp-stat__footer {
  border-top-color: rgba(124, 58, 237, 0.08);
}

.sp-stat:hover .sp-stat__icon {
  transform: translateY(-6px) scale(1.08) rotate(-4deg);
  box-shadow:
    0 24px 42px rgba(91, 33, 182, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  filter: saturate(1.08) brightness(1.06);
}

.sp-stat--accent:hover .sp-stat__icon {
  box-shadow:
    0 24px 42px rgba(6, 182, 212, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sp-stat:hover .sp-stat__icon svg {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 14px rgba(255, 255, 255, 0.12));
}

@keyframes sp-stat-icon-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.02);
  }
}

@keyframes sp-stat-icon-ring {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.sp-stat__sub {
  display: none;
}

@media (max-width: 900px) {
  .social-proof__stats {
    grid-template-columns: 1fr;
  }

  .sp-stat {
    min-height: auto;
    padding: 1.35rem 1.15rem;
  }

  .sp-stat__icon {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }

  .sp-stat__icon svg {
    width: 28px;
    height: 28px;
  }

  .sp-stat__number {
    font-size: clamp(2.3rem, 8vw, 3rem);
  }
}

@media (max-width: 640px) {
  .sp-stat {
    gap: 0.8rem;
    border-radius: 24px;
    padding: 1.2rem 1rem;
  }

  .sp-stat__eyebrow {
    font-size: 0.7rem;
    padding: 0.42rem 0.72rem;
  }

  .sp-stat__hero {
    gap: 0.85rem;
  }

  .sp-stat__icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-radius: 20px;
  }

  .sp-stat__icon::before {
    inset: -6px;
  }

  .sp-stat__icon svg {
    width: 26px;
    height: 26px;
  }

  .sp-stat__label {
    font-size: 0.94rem;
    max-width: 18ch;
    line-height: 1.65;
  }
}

@media (hover: none) {
  .sp-stat:hover {
    transform: none;
  }

  .sp-stat:hover::after {
    opacity: 0;
    transform: rotate(18deg) translateY(-12%);
  }

  .sp-stat:hover .sp-stat__icon {
    transform: none;
    filter: none;
  }

  .sp-stat:hover .sp-stat__icon svg {
    transform: none;
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-stat,
  .sp-stat::after,
  .sp-stat__icon,
  .sp-stat__icon::before,
  .sp-stat__icon svg {
    animation: none !important;
    transition: none !important;
  }
}

/* === Testimonial Card === */
.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  padding: 1.75rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.14), transparent 36%);
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.24);
  box-shadow: 0 26px 52px rgba(15, 23, 42, 0.22);
}

[data-theme="light"] .testimonial-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 243, 255, 0.9));
  border-color: rgba(124, 58, 237, 0.1);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
}

.testimonial-card__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.testimonial-card__stars {
  display: flex;
  gap: var(--space-1);
}

.testimonial-card__stars svg {
  width: 18px;
  height: 18px;
  color: #fbbf24;
}

.testimonial-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: var(--color-brand-200);
  background: rgba(124, 58, 237, 0.12);
  white-space: nowrap;
}

[data-theme="light"] .testimonial-card__tag {
  color: var(--color-brand-700);
  background: rgba(124, 58, 237, 0.08);
}

.testimonial-card__text {
  position: relative;
  z-index: 1;
  font-size: var(--fs-base);
  color: var(--color-text-primary);
  line-height: var(--lh-relaxed);
}

.testimonial-card__result {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.12);
  color: #86efac;
  font-size: 13px;
  font-weight: var(--fw-semibold);
}

[data-theme="light"] .testimonial-card__result {
  background: rgba(5, 150, 105, 0.08);
  color: #047857;
}

.testimonial-card__author {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
}

.testimonial-card__name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
}

.testimonial-card__role {
  font-size: var(--fs-xs);
  color: var(--color-text-tertiary);
}

/* === Whatsapp Float === */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-8);
  left: var(--space-8);
  z-index: var(--z-overlay);
  width: 48px; /* Smaller, neater size */
  height: 48px;
  background: linear-gradient(135deg, #25d366 0%, #17b652 100%); /* Richer depth */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  /* Ultra-smooth macro-interactive Apple spring */
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, filter 0.4s ease;
  /* Modern expanding heartbeat pulse */
  animation: pulse-whatsapp 2.5s infinite cubic-bezier(0.66, 0, 0, 1);
  will-change: transform, box-shadow;
  isolation: isolate;
}

.whatsapp-float:hover {
  animation: none; /* Let hover physics take over completely */
  transform: scale(1.15) translateY(-5px) rotate(-6deg); /* Float and tilt */
  /* Double ring glowing emphasis */
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5), 0 0 0 6px rgba(37, 211, 102, 0.15);
  filter: brightness(1.1);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  color: #fff;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-float:hover svg {
  /* Give the icon a joyful physical reactiveness when hovered */
  animation: whatsapp-wiggle 0.6s ease-in-out both;
}

.whatsapp-float__tooltip {
  position: absolute;
  left: calc(100% + 16px);
  bottom: 50%;
  transform: translateY(50%) translateX(-10px) scale(0.96);
  width: max-content;
  max-width: 250px;
  padding: 14px 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(10, 18, 14, 0.96);
  border: 1px solid rgba(37, 211, 102, 0.18);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    0 8px 20px rgba(37, 211, 102, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.28s ease;
  direction: rtl;
  text-align: right;
}

.whatsapp-float__tooltip::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: rgba(10, 18, 14, 0.96);
  border-bottom: 1px solid rgba(37, 211, 102, 0.18);
  border-right: 1px solid rgba(37, 211, 102, 0.18);
  rotate: 135deg;
}

.whatsapp-float__tooltip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: var(--fw-bold);
  color: #f0fdf4;
  letter-spacing: -0.01em;
}

.whatsapp-float__tooltip span {
  display: block;
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(240, 253, 244, 0.78);
}

.whatsapp-float:hover .whatsapp-float__tooltip,
.whatsapp-float:focus-visible .whatsapp-float__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(50%) translateX(0) scale(1);
}

.whatsapp-float:focus-visible {
  outline: none;
  box-shadow:
    0 10px 25px rgba(37, 211, 102, 0.5),
    0 0 0 6px rgba(37, 211, 102, 0.15),
    0 0 0 2px rgba(255, 255, 255, 0.45);
}

[data-theme="light"] .whatsapp-float__tooltip {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 253, 244, 0.92));
  border-color: rgba(34, 197, 94, 0.16);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.1),
    0 8px 18px rgba(34, 197, 94, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .whatsapp-float__tooltip::before {
  background: rgba(246, 255, 249, 0.96);
  border-bottom-color: rgba(34, 197, 94, 0.16);
  border-right-color: rgba(34, 197, 94, 0.16);
}

[data-theme="light"] .whatsapp-float__tooltip strong {
  color: #14532d;
}

[data-theme="light"] .whatsapp-float__tooltip span {
  color: rgba(20, 83, 45, 0.8);
}

@media (max-width: 768px) {
  .whatsapp-float__tooltip {
    display: none;
  }
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  60% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes whatsapp-wiggle {
  0% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-15deg) scale(1.15); }
  50% { transform: rotate(10deg) scale(1.15); }
  75% { transform: rotate(-5deg) scale(1.15); }
  100% { transform: rotate(0deg) scale(1); }
}

/* === Global Site Notice (Modal) === */
.site-notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--space-4);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.site-notice-overlay.is-visible {
  opacity: 1;
}

.site-notice-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 2.5rem 2rem 2rem;
  border-radius: 24px;
  text-align: center;
  direction: rtl;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    var(--color-bg-elevated, #16162a);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  opacity: 0;
}

.site-notice-overlay.is-visible .site-notice-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

[data-theme="light"] .site-notice-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 255, 0.96));
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.site-notice-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-5);
  border-radius: 50%;
  animation: notice-icon-pulse 2s ease-in-out infinite;
}

.site-notice-card__title {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  line-height: var(--lh-tight);
}

.site-notice-card__message {
  margin: 0;
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: 1.85;
  max-width: 42ch;
  margin-inline: auto;
}

/* — Danger variant — */
.site-notice-card--danger .site-notice-card__icon {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.2);
  color: #f87171;
}
[data-theme="light"] .site-notice-card--danger .site-notice-card__icon {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.15);
  color: #dc2626;
}
.site-notice-card--danger .site-notice-card__title {
  color: #fca5a5;
}
[data-theme="light"] .site-notice-card--danger .site-notice-card__title {
  color: #b91c1c;
}

/* — Warning variant — */
.site-notice-card--warning .site-notice-card__icon {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}
[data-theme="light"] .site-notice-card--warning .site-notice-card__icon {
  background: rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.15);
  color: #d97706;
}
.site-notice-card--warning .site-notice-card__title {
  color: #fde68a;
}
[data-theme="light"] .site-notice-card--warning .site-notice-card__title {
  color: #92400e;
}

/* — Info variant — */
.site-notice-card--info .site-notice-card__icon {
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.2);
  color: #60a5fa;
}
[data-theme="light"] .site-notice-card--info .site-notice-card__icon {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.15);
  color: #2563eb;
}
.site-notice-card--info .site-notice-card__title {
  color: #93c5fd;
}
[data-theme="light"] .site-notice-card--info .site-notice-card__title {
  color: #1e40af;
}

@keyframes notice-icon-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.2); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(248, 113, 113, 0); }
}
