/* ================================================================
   PHAROS 8K — Payment Methods Stylesheet
   Payment Cards, Steps, Benefits & Security
   ================================================================ */


/* ----------------------------------------------------------------
   1. PAYMENT GRID & CARDS
   ---------------------------------------------------------------- */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.payment-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease),
              box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease);
}

.payment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), 0 0 20px var(--gold-glow);
  border-color: var(--border-hover);
}

/* Icon container — different colour per method */
.pay-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.pay-icon.icon-gold {
  background: linear-gradient(135deg, rgba(245, 200, 66, 0.15) 0%, rgba(212, 160, 23, 0.08) 100%);
  color: var(--gold);
  box-shadow: 0 2px 12px rgba(245, 200, 66, 0.12);
}

.pay-icon.icon-blue {
  background: linear-gradient(135deg, rgba(76, 201, 240, 0.15) 0%, rgba(59, 130, 246, 0.08) 100%);
  color: var(--blue);
  box-shadow: 0 2px 12px rgba(76, 201, 240, 0.12);
}

.pay-icon.icon-purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(139, 92, 246, 0.08) 100%);
  color: var(--purple);
  box-shadow: 0 2px 12px rgba(168, 85, 247, 0.12);
}

.pay-icon.icon-green {
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%);
  color: var(--green);
  box-shadow: 0 2px 12px rgba(6, 214, 160, 0.12);
}

.pay-icon.icon-orange {
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.15) 0%, rgba(249, 115, 22, 0.08) 100%);
  color: var(--orange);
  box-shadow: 0 2px 12px rgba(255, 159, 67, 0.12);
}

.pay-icon svg,
.pay-icon img {
  width: 28px;
  height: 28px;
}

/* Card text */
.payment-card h3 {
  font-family: 'Tajawal', 'Cairo', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.payment-card > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Features list with green checkmarks */
.pay-features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pay-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pay-features li::before {
  content: '✓';
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--bg-dark);
  background: var(--green);
  border-radius: 50%;
  margin-top: 2px;
}


/* ----------------------------------------------------------------
   2. ACTIVATION BOX — Highlighted Success Box
   ---------------------------------------------------------------- */
.activation-box {
  padding: 1.75rem;
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.08) 0%, rgba(9, 12, 20, 0.95) 100%);
  border: 1px solid rgba(6, 214, 160, 0.25);
  border-radius: var(--radius);
  margin: 2.5rem 0;
}

.activation-box h4 {
  font-family: 'Tajawal', 'Cairo', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.activation-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.activation-box .activation-icon {
  font-size: 1.15rem;
}


/* ----------------------------------------------------------------
   3. PAYPAL STEPS — Numbered Step Cards
   ---------------------------------------------------------------- */
.paypal-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}

.step-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.step-card .step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-family: 'Tajawal', 'Cairo', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bg-dark);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(245, 200, 66, 0.2);
}

.step-card h4 {
  font-family: 'Tajawal', 'Cairo', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ----------------------------------------------------------------
   4. BENEFITS GRID
   ---------------------------------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: border-color 0.3s var(--ease),
              transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}

.benefit-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 1.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-glow) 0%, rgba(245, 200, 66, 0.05) 100%);
  border: 1px solid var(--border);
}

.benefit-item h4 {
  font-family: 'Tajawal', 'Cairo', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.benefit-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}


/* ----------------------------------------------------------------
   5. REFUND SECTION — Guarantee / Policy
   ---------------------------------------------------------------- */
.refund-section {
  position: relative;
  padding: 2.5rem;
  margin: 3rem 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  overflow: hidden;
}

.refund-section::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(245, 200, 66, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.refund-section .shield-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  font-size: 1.8rem;
  background: var(--gold-glow);
  border: 1px solid var(--border);
  border-radius: 50%;
}

.refund-section h3 {
  font-family: 'Tajawal', 'Cairo', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.refund-section p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
  margin-inline: auto;
}

.refund-section .refund-details {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.refund-section .refund-details li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  margin: 0.3rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
}


/* ----------------------------------------------------------------
   6. SECURITY BADGES
   ---------------------------------------------------------------- */
.security-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0;
}

.security-badges .sec-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.3s var(--ease);
}

.security-badges .sec-badge:hover {
  border-color: var(--border-hover);
}

.security-badges .sec-badge svg,
.security-badges .sec-badge img {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.security-badges .sec-badge span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}


/* ----------------------------------------------------------------
   7. MINI PRICING CARDS
   ---------------------------------------------------------------- */
.pricing-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
  max-width: 860px;
  margin-inline: auto;
}

.pricing-mini .mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.35s var(--ease),
              transform 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}

.pricing-mini .mini-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-mini .mini-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(245, 200, 66, 0.06) 0%, var(--bg-card) 100%);
  box-shadow: var(--shadow-gold);
}

.pricing-mini .mini-label {
  font-family: 'Tajawal', 'Cairo', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}

.pricing-mini .mini-price {
  font-family: 'Tajawal', 'Cairo', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.pricing-mini .mini-price .currency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 0.2rem;
}

.pricing-mini .mini-period {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pricing-mini .mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bg-dark);
  background: var(--gold);
  border-radius: 999px;
  transition: background 0.3s var(--ease),
              transform 0.25s var(--ease-bounce),
              box-shadow 0.3s var(--ease);
}

.pricing-mini .mini-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}


/* ----------------------------------------------------------------
   8. PAYMENT CTA — WhatsApp Contact
   ---------------------------------------------------------------- */
.pay-cta {
  text-align: center;
  padding: 3rem 1.5rem;
  margin-top: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pay-cta h3 {
  font-family: 'Tajawal', 'Cairo', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.pay-cta p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-inline: auto;
  line-height: 1.7;
}

.pay-cta .wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: #25d366;
  border-radius: 999px;
  transition: background 0.3s var(--ease),
              transform 0.25s var(--ease-bounce),
              box-shadow 0.3s var(--ease);
}

.pay-cta .wa-btn:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.pay-cta .wa-btn svg {
  width: 20px;
  height: 20px;
}


/* ----------------------------------------------------------------
   9. PAYMENT FAQ (native <details>/<summary>)
   ---------------------------------------------------------------- */
.pay-faq {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 2rem 0 3rem;
}

.pay-faq .faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}

.pay-faq .faq-item:hover {
  border-color: var(--border-hover);
}

.pay-faq .faq-item[open] {
  border-color: rgba(245, 200, 66, 0.3);
  box-shadow: 0 2px 12px rgba(245, 200, 66, 0.06);
}

.pay-faq .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.2rem;
  font-family: 'Tajawal', 'Cairo', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  border-right: 3px solid transparent;
  transition: color 0.3s var(--ease),
              border-color 0.3s var(--ease),
              background 0.3s var(--ease);
}

.pay-faq .faq-question::-webkit-details-marker {
  display: none;
}

.pay-faq .faq-question:hover {
  border-right-color: var(--gold);
  background: rgba(255, 255, 255, 0.02);
}

.pay-faq .faq-item[open] .faq-question {
  color: var(--gold);
  border-right-color: var(--gold);
}

.pay-faq .faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.pay-faq .faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--gold);
}

.pay-faq .faq-answer {
  padding: 0 1.2rem 1.2rem;
}

.pay-faq .faq-answer p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

[dir="ltr"] .pay-faq .faq-question {
  border-right: none;
  border-left: 3px solid transparent;
}

[dir="ltr"] .pay-faq .faq-question:hover {
  border-left-color: var(--gold);
}

[dir="ltr"] .pay-faq .faq-item[open] .faq-question {
  border-left-color: var(--gold);
}


/* ----------------------------------------------------------------
   10. HIGHLIGHT TEXT
   ---------------------------------------------------------------- */
.highlight {
  color: var(--gold);
}


/* ----------------------------------------------------------------
   11. RESPONSIVE — Mobile & Tablet
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .pricing-mini {
    max-width: none;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .payment-card {
    padding: 1.5rem;
  }

  .paypal-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .pricing-mini {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .refund-section {
    padding: 2rem 1.5rem;
  }

  .security-badges {
    gap: 0.6rem;
  }

  .security-badges .sec-badge {
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
  }

  .pay-cta {
    padding: 2rem 1.25rem;
    margin-top: 2rem;
  }

  .pay-cta h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .paypal-steps {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-item {
    flex-direction: row;
    text-align: right;
    padding: 1rem 1.25rem;
    gap: 1rem;
  }

  .benefit-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .pricing-mini .mini-price {
    font-size: 1.6rem;
  }

  .activation-box {
    padding: 1.25rem;
  }
}

/* ============================================
   Premium 2026 Enhancements
   ============================================ */

/* Payment card 3D tilt ready */
.payment-card {
  transform-style: preserve-3d;
  perspective: 800px;
  position: relative;
  overflow: hidden;
}

/* Card shine overlay */
.payment-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(245,200,66,0.06), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.payment-card:hover::after { opacity: 1; }

/* Icon container pulse on hover */
.pay-icon {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.payment-card:hover .pay-icon {
  transform: scale(1.05) rotate(-3deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Step card timeline connector */
.paypal-steps {
  position: relative;
}

/* Step number glow */
.step-card:hover .step-number {
  box-shadow: 0 8px 25px rgba(245,200,66,0.4);
  transform: scale(1.08);
}

/* Benefit icon bounce on hover */
.benefit-item {
  transition: transform 0.3s ease;
}
.benefit-item:hover {
  transform: translateY(-6px);
}
.benefit-item:hover .benefit-icon {
  animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
  60% { transform: translateY(-3px); }
}

/* Mini pricing card featured glow */
.pricing-mini .featured {
  box-shadow: 0 0 40px rgba(245,200,66,0.12);
}

/* Security badge hover */
.security-badges span {
  transition: transform 0.2s ease, background 0.2s ease;
}
.security-badges span:hover {
  transform: translateY(-2px);
  background: rgba(245,200,66,0.15);
}

/* Refund shield glow */
.refund-section svg {
  filter: drop-shadow(0 0 10px rgba(6,214,160,0.3));
}
