/* Subscription Page Styles */
.subscription-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.subscription-hero {
  padding: 2rem 0;
  margin-bottom: 3rem !important;
}

.subscription-hero h1 {
  color: var(--bs-dark);
  margin-bottom: 1rem;
}

.subscription-hero .lead {
  font-size: 1.25rem;
  color: var(--bs-secondary);
}

/* Pricing Cards */
.subscription-card {
  border-radius: 1rem;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
}

.subscription-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

.subscription-card--featured {
  border-color: var(--bs-primary);
  border-width: 3px;
  background: linear-gradient(to bottom, rgba(13, 110, 253, 0.02) 0%, white 40%);
}

.subscription-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--traq-gradient-primary);
  color: var(--traq-text-white);
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-weight: bold;
  font-size: 0.875rem;
  box-shadow: var(--traq-shadow-primary);
  z-index: 10;
}

.subscription-plan-header {
  padding: 1rem 0;
}

.subscription-plan-name {
  font-size: 1.75rem;
  color: var(--bs-dark);
  margin-bottom: 1rem;
}

.subscription-discount-badge {
  display: inline-block;
  background: #ff5630;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 1.5rem;
  font-weight: bold;
  font-size: 0.875rem;
}

.subscription-price {
  margin: 1.5rem 0;
}

.subscription-price-amount {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--bs-primary);
  line-height: 1;
}

.subscription-price-period {
  font-size: 1.25rem;
  color: var(--bs-secondary);
  font-weight: normal;
}

.subscription-total-price {
  font-size: 1rem;
  color: var(--bs-secondary);
}

/* Feature List */
.subscription-features {
  padding: 1rem 0;
}

.subscription-feature-item {
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--bs-dark);
  display: flex;
  align-items: center;
}

.subscription-feature-item i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* CTA Button */
.subscription-cta {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: bold;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.subscription-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
}

/* Details Section */
.subscription-details-section {
  margin-top: 4rem;
  padding: 2rem 0;
}

.subscription-details-section h2 {
  color: var(--bs-dark);
  margin-bottom: 2rem;
}

.subscription-details-section .card {
  border-radius: 1rem;
  border: none;
}

.subscription-details-section h5 {
  font-size: 1.125rem;
  color: var(--bs-dark);
}

.subscription-details-section p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.subscription-details-section i {
  font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .subscription-price-amount {
    font-size: 2.5rem;
  }
  
  .subscription-hero h1 {
    font-size: 2rem;
  }
  
  .subscription-card:hover {
    transform: none;
  }
}

/* Legacy styles for backward compatibility - kept minimal */
.subscriptions-comparison-separator {
  height: 100%;
  width: 1px;
  background-color: #d6d6d6ff;
  position: absolute;
  left: 50%;
  top: 0;
}

.subscriptions-comparison-card {
  position: relative;
}

.subscription-comparison-list {
  padding-inline-start: 20px;
}

.nav-billing-cycle {
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #f3f3f3;
  .nav-link {
    color: var(--bs-dark);
    font-size: 14px;
    margin-block-end: 0em;
  }
  .nav-link.active {
    font-weight: bold;
    background-color: #eeeeee;
  }
}

.subscription-monthly-price {
  font-size: 2.5rem;
  font-weight: bold;
}

.subscriptions-comparison-left,
.subscriptions-comparison-right {
  position: relative;
}


.subscription-comparison-list-icon {
  position: absolute;
  left: 10px;
  top: 0;
}

.subscription-comparison-title {
  font-weight: bold;
}
.subscription-pill {
  position: relative;
  .subscription-pill-discount {
    position:absolute;
    top:-17px;
    right:0;
    background:#FF5630;
    color:white;
    padding:4px 8px;
    border-radius:12px;
    font-size:12px;
    font-weight:bold;
  }

  .subscription-pill-discount--small {
    font-size: 11px;
  }
}

/* Subscription Modal Styles */
.subscription-modal-header {
  background: var(--traq-gradient-primary);
  position: relative;
}

.subscription-modal-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, var(--traq-white-alpha-10) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, var(--traq-white-alpha-10) 0%, transparent 50%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.subscription-modal-plan {
  transition: all 0.3s ease;
  border-radius: 0.75rem;
}

.subscription-modal-plan:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
}

.subscription-modal-plan .card-body {
  position: relative;
}

#subscriptionModal .modal-dialog {
  max-width: 650px;
}

#subscriptionModal .modal-content {
  border-radius: 1rem;
  overflow: hidden;
}

#subscriptionModal .z-1 {
  z-index: 1;
}

