/**
 * Pricing Page Styles
 * MarketMate Pricing page specific styles
 */

/* Header */
.header {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
  animation: fadeInDown 0.8s ease;
}

.header h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 0%, #f0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header .subtitle {
  font-size: 20px;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* Pricing Cards */
.pricing-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 50px 40px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.pricing-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* Premium Card */
.pricing-card.premium {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.2) 0%, rgba(102, 126, 234, 0.2) 100%);
  border: 2px solid rgba(255, 215, 0, 0.5);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.2), 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.2), 0 8px 32px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.4), 0 8px 32px rgba(0, 0, 0, 0.3);
  }
}

.premium-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #5a3e9c;
  padding: 8px 45px;
  font-size: 13px;
  font-weight: 700;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Tier Name */
.tier-name {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Price Container */
.price-container {
  margin-bottom: 30px;
  min-height: 80px;
}

.price {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.price-old {
  font-size: 36px;
  font-weight: 700;
  text-decoration: line-through;
  opacity: 0.5;
  margin-bottom: 10px;
  position: relative;
}

/* Beta Badge */
.beta-badge {
  display: inline-block;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 700;
  margin-top: 10px;
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Features List */
.features-list {
  list-style: none;
  margin-top: 30px;
}

.features-list li {
  padding: 12px 0;
  font-size: 16px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  opacity: 0.95;
}

.features-list li::before {
  content: "✓";
  color: #4ade80;
  font-weight: bold;
  font-size: 20px;
  margin-right: 12px;
  flex-shrink: 0;
}

.feature-highlight {
  font-weight: 600;
  color: white;
}

/* Divider */
.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 30px 0;
}

/* Note */
.note {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(34, 197, 94, 0.1) 100%);
  border: 2px solid rgba(74, 222, 128, 0.3);
  padding: 25px;
  border-radius: 16px;
  margin-top: 40px;
  font-size: 15px;
  opacity: 0.95;
  line-height: 1.8;
  box-shadow: 0 8px 32px rgba(74, 222, 128, 0.1);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.note strong {
  font-size: 17px;
  display: block;
  margin-bottom: 10px;
}

/* Responsive - Pricing Page */
@media (max-width: 968px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .header h1 {
    font-size: 42px;
  }

  .header .subtitle {
    font-size: 18px;
  }

  .pricing-card {
    padding: 40px 30px;
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 36px;
  }

  .tier-name {
    font-size: 28px;
  }

  .price {
    font-size: 40px;
  }

  .price-old {
    font-size: 32px;
  }
}
