/* ========================================
   PRICING SECTION
   ======================================== */

.pricing {
  position: relative;
  padding: 120px 0;
  background: #0A0E27;
  overflow: hidden;
}

.pricing__inner {
  position: relative;
  z-index: 2;
}

/* Header */
.pricing__header {
  text-align: center;
  margin-bottom: 80px;
}

.pricing__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 16px 0 24px;
  line-height: 1;
}

.pricing__subtitle {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* Grid */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Cards */
.pricing__card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing__card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

/* Accent Card (Pro) */
.pricing__card--accent {
  background: rgba(77, 101, 255, 0.08);
  border: 2px solid #4d65ff;
  box-shadow: 0 0 40px rgba(77, 101, 255, 0.3);
}

.pricing__card--accent:hover {
  background: rgba(77, 101, 255, 0.12);
  box-shadow: 0 0 60px rgba(77, 101, 255, 0.4);
  transform: translateY(-8px);
}

/* Badge */
.pricing__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #4d65ff, #6b82ff);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Card Header */
.pricing__card-header {
  margin-bottom: 32px;
}

.pricing__tier {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing__amount {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.pricing__period {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Features */
.pricing__features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  flex-grow: 1;
}

.pricing__feature {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  padding-left: 28px;
}

.pricing__feature::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #4d65ff;
  font-weight: 700;
}

.pricing__feature:last-child {
  border-bottom: none;
}

/* CTA Button */
.pricing__cta {
  display: block;
  width: 100%;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pricing__cta:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.pricing__cta--accent {
  background: linear-gradient(135deg, #4d65ff, #6b82ff);
  border: none;
  box-shadow: 0 4px 20px rgba(77, 101, 255, 0.4);
}

.pricing__cta--accent:hover {
  background: linear-gradient(135deg, #6b82ff, #4d65ff);
  box-shadow: 0 6px 30px rgba(77, 101, 255, 0.6);
  transform: translateY(-2px);
}

/* Footer */
.pricing__footer {
  text-align: center;
  margin-top: 60px;
}

.pricing__note {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

/* Decorative Art */
.pricing__art {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(77, 101, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.pricing__art::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(77, 101, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing {
    padding: 80px 0;
  }

  .pricing__header {
    margin-bottom: 60px;
  }

  .pricing__title {
    font-size: 2.5rem;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing__amount {
    font-size: 3rem;
  }

  .pricing__card {
    padding: 32px 24px;
  }

  .pricing__art {
    width: 600px;
    height: 600px;
  }

  .pricing__art::before {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 480px) {
  .pricing__title {
    font-size: 2rem;
  }

  .pricing__subtitle {
    font-size: 1rem;
  }

  .pricing__amount {
    font-size: 2.5rem;
  }

  .pricing__card {
    padding: 24px 20px;
  }
}

/* Background Image */
.pricing__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  filter: brightness(0.7);
}

.pricing::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 14, 26, 0.65);
  pointer-events: none;
}

/* Boosted card contrast for bg image readability */
.pricing__card {
  background: rgba(10, 14, 39, 0.75) !important;
  border: 1px solid rgba(77, 101, 255, 0.25) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pricing__card:hover {
  background: rgba(10, 14, 39, 0.85) !important;
  border-color: rgba(77, 101, 255, 0.5) !important;
}

.pricing__card--featured {
  background: rgba(77, 101, 255, 0.2) !important;
  border-color: rgba(77, 101, 255, 0.6) !important;
}
