/* =====================================================
   GLASSMORPHIC PRICING PAGE - FIXED & REFINED
   Compact Cards, Proper Font Hierarchy, Text-Only Toggle
   ===================================================== */

/* Pricing Grid - 3 Cards Per Row */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
  align-items: start;

}

/* ========================================
   Section Header Font Size Adjustment
   ======================================== */
.section-header h2 {
  font-size: 1.5rem !important; 
  line-height: 1.3;
}

.section-header p.section-subtitle {
  font-size: 1rem; 

  margin-top: 0.5rem;
}



/* =====================================================
   FIXED PRICING CARD HEIGHT & SPACING
   ===================================================== */
.pricing-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 5px;
  padding: 2rem 1.5rem 1.75rem;
  box-shadow: 0 8px 32px rgba(26, 26, 46, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  text-align: center;
  display: block; /* ✅ remove flex to prevent stretching */
  height: auto; /* ✅ natural height only */
}

/* Optional subtle polish */
.pricing-card:not(.expanded) .pricing-features,
.pricing-card:not(.expanded) .timeline-section,
.pricing-card:not(.expanded) .tech-section,
.pricing-card:not(.expanded) .details-cta {
  display: none; /* ✅ hide long details until expanded */
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.2);
  border-color: rgba(255, 107, 53, 0.6);
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(247, 147, 30, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 20px;
  pointer-events: none;
}

.pricing-card:hover::before {
  opacity: 1;
}


/* Featured Card */
.pricing-card-featured {
  background: linear-gradient(135deg, rgba(255, 245, 240, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(255, 107, 53, 0.6);
  box-shadow: 0 12px 48px rgba(255, 107, 53, 0.2);
}

/* Popular Badge - Fixed */
.pricing-badge {
  position: absolute;
  top: 4px;
  right: 18px;
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
  color: #FFFFFF;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.7125rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  z-index: 10;
  letter-spacing: 0.5px;
}

/* =====================================================
   PRICING CARD HEADER - FIXED SIZES (60px icon, 1.45rem title)
   ===================================================== */
.pricing-header {
  margin-bottom: 0.75rem;
}

/* Glass Icon Circle - 60px FIXED */
.pricing-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 0.65rem;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(247, 147, 30, 0.15) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #FF6B35;
  border: 2px solid rgba(255, 107, 53, 0.3);
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.15);
}

.pricing-card:hover .pricing-icon {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 28px rgba(255, 107, 53, 0.25);
}

.pricing-card-featured .pricing-icon {
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.5);
}

/* Card Title - 1.45rem */
.pricing-name {
  font-size: 1rem;
  color: #1a1a2e;
  margin-bottom: 0.4rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* Description - 1rem */
.pricing-description {
  font-size: 0.85rem;
  color: #5a5a5a;
  line-height: 1.5;
  margin: 0 0 0.75rem 0;
  min-height: 2rem;
}

/* =====================================================
   PRICING PRICE SECTION - FIXED (1.7rem max)
   ===================================================== */
.pricing-price {
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
}

.price-currency {
  font-size: 0.875rem;
  color: #5a5a5a;
  vertical-align: top;
  font-weight: 400;
}

/* Price Amount - 1.7rem FIXED (was 3rem - too big!) */
.price-amount {
  font-size: 1.2rem;
  font-weight: 400;
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.price-period {
  display: block;
  font-size: 0.6125rem;
  color: #5a5a5a;
  margin-top: 0.2rem;
  font-weight: 400;
}

.price-custom {
  font-size: 1.2rem;
  font-weight: 400;
  color: #FF6B35;
}

/* =====================================================
   BEST FOR SECTION - COMPELLING COPY, FILLS CARD BODY
   ===================================================== */
.pricing-best-for {
  margin: 0 0 0.75rem 0;
  padding: 0.625rem 0.875rem;
  background: rgba(255, 245, 240, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  font-size: 0.875rem;
  color: #5a5a5a;
  border: 2px solid rgba(255, 107, 53, 0.2);
  transition: all 0.3s ease;
  text-align: left;
  line-height: 1.5;
  flex-grow: 1;
}

.pricing-best-for:hover {
  background: rgba(255, 245, 240, 1);
  border-color: rgba(255, 107, 53, 0.4);
}

.pricing-best-for strong {
  color: #FF6B35;
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 400;
  font-size: 0.8375rem;
}

/* =====================================================
   LEARN MORE - TEXT ONLY, BOTTOM RIGHT (NOT A BUTTON!)
   ===================================================== */
.pricing-toggle {
  background: none;
  border: none;
  color: #FF6B35;
  font-size: 0.875rem;
  font-weight: 400;
  cursor: pointer;
  padding: 0.4rem 0;
  margin-top: auto;
  align-self: flex-end;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.pricing-toggle::after {
  content: '→';
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

.pricing-toggle:hover {
  color: #F7931E;
  transform: translateX(3px);
}

.pricing-card.expanded .pricing-toggle::after {
  content: '↑';
}

.pricing-toggle span {
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* =====================================================
   EXPANDABLE SECTIONS - ALL HIDDEN BY DEFAULT
   ===================================================== */
.pricing-features,
.timeline-section,
.tech-section,
.details-cta {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Show all expandable sections when card is expanded */
.pricing-card.expanded .pricing-features {
  max-height: 3000px;
  opacity: 1;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.pricing-card.expanded .timeline-section,
.pricing-card.expanded .tech-section,
.pricing-card.expanded .details-cta {
  max-height: 1000px;
  opacity: 1;
}

/* =====================================================
   PRICING TIERS - GLASS CARDS INSIDE
   ===================================================== */
.pricing-tier-section {
  margin-bottom: 1rem;
}

.pricing-tier-heading {
  font-size: 0.95rem;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-align: left;
}

.pricing-tier-heading i {
  color: #FF6B35;
  font-size: 0.775rem;
}

.pricing-features li {
  padding: 0.525rem 0.775rem;
  font-size: 0.775rem;
  color: #1a1a2e;
  display: flex;
  align-items: flex-start;
  gap: 0.525rem;
  margin-bottom: 0.4rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 8px;
  border-left: 3px solid #FF6B35;
  transition: all 0.3s ease;
  text-align: left;
  line-height: 1.4;
}

.pricing-features li:hover {
  background: rgba(255, 107, 53, 0.08);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.1);
}

.pricing-features i {
  color: #10B981;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.pricing-features strong {
  color: #FF6B35;
  font-weight: 400;
}

/* =====================================================
   TIMELINE SECTION - FANCY GRADIENT BORDER STYLING
   ===================================================== */
.timeline-section {
  margin: 1rem 0;
  padding: 0.875rem 1rem;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(247, 147, 30, 0.05) 100%);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 2px solid rgba(255, 107, 53, 0.3);
  border-left: 4px solid #FF6B35;
  position: relative;
  overflow: hidden;
}

.timeline-section h4 {
  font-size: 0.95rem;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
}

.timeline-section h4 i {
  color: #FF6B35;
  font-size: 0.875rem;
}

.timeline-section p {
  font-size: 0.9375rem;
  color: #5a5a5a;
  margin: 0;
  font-weight: 500;
  text-align: left;
}

.timeline-section strong {
  color: #FF6B35;
  font-weight: 700;
}

/* =====================================================
   TECH STACK SECTION - SPECIAL BADGE PILLS
   ===================================================== */
.tech-section {
  margin: 1rem 0;
  padding: 0.675rem 0.85rem;
  background: rgba(26, 26, 46, 0.04);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 2px solid rgba(26, 26, 46, 0.1);
}

.tech-section h4 {
  font-size: 0.85rem;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
}

.tech-section h4 i {
  color: #FF6B35;
  font-size: 0.675rem;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-badge {
  padding: 0.275rem 0.55rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  color: #FF6B35;
  border: 2px solid rgba(255, 107, 53, 0.3);
  border-radius: 16px;
  font-size: 0.6125rem;
  font-weight: 400;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.1);
}

.tech-badge:hover {
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* =====================================================
   CTA BUTTONS - SUPER SMALL INSIDE EXPANDABLE SECTION
   ===================================================== */
.details-cta {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.details-cta .btn {
  flex: 1;
  min-width: 120px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
}

.details-cta .btn-primary {
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
  border: none;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.details-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.details-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 107, 53, 0.3);
  color: #FF6B35;
  backdrop-filter: blur(10px);
}

.details-cta .btn-secondary:hover {
  background: rgba(255, 107, 53, 0.1);
  border-color: #FF6B35;
  transform: translateY(-2px);
}

/* =====================================================
   ADD-ONS SECTION - GLASSMORPHIC
   ===================================================== */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.addon-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(26, 26, 46, 0.1);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top: 4px solid #FF6B35;
}

.addon-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(255, 107, 53, 0.2);
  border-top-color: #F7931E;
}

.addon-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(247, 147, 30, 0.15) 100%);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #FF6B35;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 107, 53, 0.2);
}

.addon-card:hover .addon-icon {
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
  color: #FFFFFF;
  transform: scale(1.1);
}

.addon-card h4 {
  font-size: 1rem;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.addon-price {
  font-size: 0.85rem;
  font-weight: 400;
  color: #FF6B35;
  margin-bottom: 1rem;
}

.addon-card p:last-child {
  font-size: 0.8375rem;
  color: #5a5a5a;
  line-height: 1.6;
  margin: 0;
}

/* =====================================================
   PAYMENT OPTIONS - GLASSMORPHIC
   ===================================================== */
.payment-options {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 12px 48px rgba(26, 26, 46, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.payment-content h2 {
  font-size: 1.3rem;
  color: #1a1a2e;
  margin-bottom: 1rem;
  font-weight: 500;
}

.payment-content > p {
  font-size: 0.95rem;
  color: #5a5a5a;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.payment-plans {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.payment-plan {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 245, 240, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  border-left: 4px solid #FF6B35;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 107, 53, 0.2);
  border-left: 4px solid #FF6B35;
}

.payment-plan:hover {
  background: rgba(255, 245, 240, 1);
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.15);
}

.payment-plan i {
  font-size: 1.2rem;
  color: #10B981;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.payment-plan strong {
  font-size: 1.125rem;
  color: #1a1a2e;
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.payment-plan p {
  font-size: 0.95rem;
  color: #5a5a5a;
  margin: 0;
  line-height: 1.5;
}

.payment-note {
  text-align: center;
  font-size: 0.85rem;
  color: #5a5a5a;
  padding: 1rem;
  background: rgba(255, 245, 240, 0.5);
  border-radius: 12px;
}

/* =====================================================
   FAQ SECTION - GLASSMORPHIC WITH WORKING TOGGLE
   ===================================================== */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 24px rgba(26, 26, 46, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-left: 4px solid #FF6B35;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 32px rgba(26, 26, 46, 0.15);
  border-color: rgba(255, 107, 53, 0.4);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 400;
  color: #1a1a2e;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  gap: 1rem;
}

.faq-question:hover {
  color: #FF6B35;
}

.faq-question span {
  flex: 1;
}

.faq-question i {
  color: #FF6B35;
  font-size: 0.95rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 2rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 2rem 1.5rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: #5a5a5a;
  line-height: 1.75;
  margin: 0;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 30px) scale(1.05); }
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================
   BUTTON UTILITIES
   ===================================================== */
.btn-block {
  width: 100%;
  display: block;
}

/* =====================================================
   RESPONSIVE - TABLET (992px and below)
   ===================================================== */
@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

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

  .payment-options {
    padding: 2rem;
  }

  .cta-title {
    font-size: 2rem;
  }
}

/* =====================================================
   RESPONSIVE - MOBILE (768px and below)
   ===================================================== */
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-card {
    padding: 1.5rem 1.25rem 1rem;
  }

  .pricing-name {
    font-size: 1.35rem;
  }

  .price-amount {
    font-size: 1.5rem;
  }

  .addons-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .payment-options {
    padding: 1.5rem;
  }

  .payment-plan {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 1.5rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.5rem 1.25rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .cta-subtitle {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .details-cta {
    flex-direction: column;
  }

  .details-cta .btn {
    width: 100%;
  }
}

/* =====================================================
   ACCESSIBILITY
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
