/* Modern Pricing Page Styles with Dark/Light Mode Support */

/* Import Inter font for consistency with landing page */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Pricing Page Container */
.pricing-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'SF Pro Display', Roboto, 'Helvetica Neue', Arial, sans-serif;
  min-height: 100vh;
  background: var(--bg-color);
  color: var(--text-color);
  padding: 2rem 2rem 3rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, color 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Background Gradient Orbs */
.pricing-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

html.light .pricing-background {
  opacity: 0.3;
}

.pricing-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
  filter: blur(60px);
}

.pricing-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

html.light .pricing-orb-1 {
  background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
}

.pricing-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.12) 0%, transparent 70%);
  bottom: -10%;
  left: -5%;
  animation-delay: 2s;
}

html.light .pricing-orb-2 {
  background: radial-gradient(circle, rgba(118, 75, 162, 0.06) 0%, transparent 70%);
}

.pricing-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(240, 147, 251, 0.1) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 4s;
}

html.light .pricing-orb-3 {
  background: radial-gradient(circle, rgba(240, 147, 251, 0.05) 0%, transparent 70%);
}

/* Access Message */
.access-message {
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.access-message-warning {
  background: rgba(220, 53, 69, 0.1);
  border-color: rgba(220, 53, 69, 0.3);
  color: #dc3545;
}

html.light .access-message-warning {
  background: rgba(220, 53, 69, 0.08);
  border-color: rgba(220, 53, 69, 0.25);
  color: #c82333;
}

.access-message-info {
  background: rgba(23, 162, 184, 0.1);
  border-color: rgba(23, 162, 184, 0.3);
  color: #17a2b8;
}

html.light .access-message-info {
  background: rgba(23, 162, 184, 0.08);
  border-color: rgba(23, 162, 184, 0.25);
  color: #138496;
}

.access-message h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.access-message p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

/* Pricing Header */
.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.pricing-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pricing-subtitle {
  font-size: 1.125rem;
  color: var(--secondary-text);
  margin-bottom: 1rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary-gradient);
  color: --var(--text-color);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
  }
}

html.light .pricing-badge {
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

@keyframes pulse-glow-light {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
  }
  50% {
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  }
}

html.light .pricing-badge {
  animation: pulse-glow-light 2s ease-in-out infinite;
}

/* Pricing Card Container */
.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
  flex: 1;
}

/* Pricing Card */
.pricing-card {
  flex: 1;
  min-width: 320px;
  max-width: 450px;
  background: var(--card-bg);
  border: 1px solid var(--secondary-border-color);
  border-radius: 24px;
  padding: 2rem 2.25rem;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px var(--shadow-color);
  display: flex;
  flex-direction: column;
  height: fit-content;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  box-shadow: 0 12px 24px var(--shadow-color);
}

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

html.light .pricing-card {
  background: var(--card-bg);
  border-color: var(--secondary-border-color);
}

html.light .pricing-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Premium Badge */
.pricing-card-badge {
  display: inline-block;
  padding: 0.4rem 0.875rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Limited Time Offer Badge - Orange highlight */
.pricing-card-badge:has-text("LIMITED TIME OFFER"),
.pricing-card:has(.pricing-card-badge:contains("LIMITED")) .pricing-card-badge {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
  animation: pulse-orange 2s ease-in-out infinite;
}

@keyframes pulse-orange {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
  }
  50% {
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.6);
  }
}

/* Plan Name */
.pricing-plan-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.875rem;
  transition: color 0.3s ease;
}

/* Pricing Section */
.pricing-amount-section {
  margin-bottom: 1.5rem;
}

.pricing-old-price {
  font-size: 1.25rem;
  color: #dc3545;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

html.light .pricing-old-price {
  color: #c82333;
}

.pricing-current-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.625rem;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.pricing-period {
  font-size: 1.125rem;
  color: var(--secondary-text);
  font-weight: 500;
  transition: color 0.3s ease;
}

.pricing-savings {
  display: inline-block;
  padding: 0.4rem 0.875rem;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 12px;
  color: #667eea;
  font-weight: 600;
  font-size: 0.8125rem;
  margin-bottom: 0.625rem;
  transition: all 0.3s ease;
}

html.light .pricing-savings {
  background: rgba(102, 126, 234, 0.08);
  border-color: rgba(102, 126, 234, 0.25);
  color: #5a6fd8;
}

.pricing-trial-notice {
  color: #ffc107;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

/* Features Section */
.pricing-features-section {
  margin: 1.5rem 0;
}

.pricing-features-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
  text-align: center;
  transition: color 0.3s ease;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--secondary-text);
  transition: color 0.3s ease;
}

.pricing-feature-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.125rem;
  box-shadow: 0 2px 4px rgba(79, 172, 254, 0.3);
}

.pricing-feature-text strong {
  color: var(--text-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

/* CTA Button */
.pricing-cta-section {
  margin-top: 1.5rem;
}

.pricing-cta-button {
  width: 100%;
  padding: 1rem 1.75rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: inherit;
}

.pricing-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.pricing-cta-button:active {
  transform: translateY(0);
}

.pricing-cta-button.secondary {
  background: var(--card-bg);
  color: var(--text-color);
  border: 2px solid var(--secondary-border-color);
  box-shadow: 0 4px 12px var(--shadow-color);
}

.pricing-cta-button.secondary:hover {
  background: var(--secondary-bg);
  border-color: var(--accent-color);
  box-shadow: 0 8px 20px var(--shadow-color);
}

html.light .pricing-cta-button.secondary {
  background: var(--card-bg);
  border-color: var(--secondary-border-color);
}

html.light .pricing-cta-button.secondary:hover {
  background: var(--secondary-bg);
  border-color: var(--accent-color);
}

.pricing-cta-note {
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  color: var(--secondary-text);
  text-align: center;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.pricing-cta-note strong {
  color: #667eea;
  font-weight: 600;
}

html.light .pricing-cta-note strong {
  color: #5a6fd8;
}

/* Trial Highlight Box */
.pricing-trial-box {
  margin-top: 1.25rem;
  padding: 1rem;
  background: rgba(102, 126, 234, 0.08);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

html.light .pricing-trial-box {
  background: rgba(102, 126, 234, 0.06);
  border-color: rgba(102, 126, 234, 0.2);
}

.pricing-trial-box-title {
  color: #667eea;
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

html.light .pricing-trial-box-title {
  color: #5a6fd8;
}

.pricing-trial-box-text {
  font-size: 0.8125rem;
  color: var(--secondary-text);
  line-height: 1.4;
  transition: color 0.3s ease;
}

/* Trust Signals Section */
.pricing-trust-section {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem 2rem 1rem;
  position: relative;
  z-index: 1;
}

.pricing-trust-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.pricing-trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-trust-item {
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--secondary-border-color);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px var(--shadow-color);
  flex: 0 1 calc(33.333% - 1.5rem);
  min-width: 240px;
  max-width: 280px;
}

.pricing-trust-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px var(--shadow-color);
  border-color: var(--accent-color);
}

html.light .pricing-trust-item {
  background: var(--card-bg);
  border-color: var(--secondary-border-color);
}

html.light .pricing-trust-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.pricing-trust-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.pricing-trust-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 0.375rem;
  transition: color 0.3s ease;
}

.pricing-trust-description {
  font-size: 0.8125rem;
  color: var(--secondary-text);
  line-height: 1.4;
  transition: color 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .pricing-page {
    padding: 1.5rem 1rem 2rem;
  }

  .pricing-header {
    margin-bottom: 1.5rem;
  }

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

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

  .pricing-badge {
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
  }

  .pricing-container {
    gap: 1.5rem;
  }

  .pricing-card {
    min-width: 100%;
    padding: 1.75rem 1.5rem;
  }

  .pricing-amount {
    font-size: 2.5rem;
  }

  .pricing-trust-section {
    margin-top: 2rem;
    padding: 1.5rem 1rem 0.5rem;
  }

  .pricing-trust-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .pricing-trust-grid {
    gap: 1.25rem;
  }

  .pricing-trust-item {
    padding: 1.25rem 1rem;
    flex: 0 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .pricing-page {
    padding: 1rem 0.75rem 1.5rem;
  }

  .pricing-title {
    font-size: 1.5rem;
  }

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

  .pricing-amount {
    font-size: 2.25rem;
  }

  .pricing-feature-item {
    font-size: 0.8125rem;
    gap: 0.5rem;
  }

  .pricing-cta-button {
    font-size: 0.9375rem;
    padding: 0.875rem 1.5rem;
  }

  .pricing-trust-icon {
    font-size: 2rem;
  }
}

/* Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(120deg);
  }
  66% {
    transform: translateY(10px) rotate(240deg);
  }
}
