
/* Header Section */
.subscription-header-wrapper {
    margin-bottom: 15px;
    text-align: left;
    display: flex;
    justify-content: space-between;
}

.subscription-title {
  font-family: 'Inter', ui-sans-serif, system-ui ;
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.subscription-subtitle {
  font-family: 'Inter', ui-sans-serif, system-ui ;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}

/* Pricing Toggle */
.pricing-toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px;
  gap: 6px;
  position: relative;
}

.pricing-toggle-btn {
  padding: 10px 28px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Inter', ui-sans-serif, system-ui ;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.pricing-toggle-btn:hover {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-toggle-btn.active {
  background: #2d2d2d;
  color: #ffffff;
}

.pricing-savings {
  position: absolute;
  right: -140px;
  font-family: 'Inter', ui-sans-serif, system-ui ;
  font-size: 12px;
  font-weight: 600;
  color: #4169ff;
  background: rgba(65, 105, 255, 0.15);
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid rgba(65, 105, 255, 0.3);
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .pricing-savings {
    display: none;
  }
}

/* Pricing Cards */
.pricing-cards-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 24px;
  position: relative;
}

.pricing-cards-wrapper > *:first-child::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.pricing-cards-wrapper > *:first-child {
  position: relative;
}

.pricing-plan {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.pricing-plan-trial {
  border-color: rgba(255, 255, 255, 0.08);
}

.pricing-plan-featured {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-plan-featured:hover .plan-glow {
  opacity: 1;
}

/* Plan Badge */
.plan-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-family: 'Inter', ui-sans-serif, system-ui ;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.plan-badge-trial {
  background: rgba(255, 193, 7, 0.2);
  border: 1px solid rgba(255, 193, 7, 0.4);
  color: #ffc107;
}

.plan-badge-premium {
  background: rgba(5, 114, 255, 0.2);
  border: 1px solid rgba(5, 114, 255, 0.4);
  color: #ffffff;
}

.plan-badge-featured i {
  font-size: 10px;
}

/* Plan Header */
.plan-header {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-title-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.plan-name {
  font-family: 'Inter', ui-sans-serif, system-ui ;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  align-items: end;
}

.price-value {
  font-family: 'Inter', ui-sans-serif, system-ui ;
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-label {
  font-family: 'Inter', ui-sans-serif, system-ui ;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

.price-savings-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-family: 'Inter', ui-sans-serif, system-ui;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  border-color: #0350b5;
  border: 1px solid;
  background-color: #3854fe1a;
}

.price-savings-badge[data-year-savings] {
  display: none;
}

.pricing-toggle-btn[data-period="year"].active ~ .pricing-savings + * .price-savings-badge[data-year-savings],
.pricing-toggle-btn.active[data-period="year"] ~ .pricing-savings + * .price-savings-badge[data-year-savings] {
  display: inline-flex;
}

/* Plan Features */
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* margin-bottom: 32px; */
  min-height: 220px;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s ease;
}

.feature-icon-box {
  width: 35px;
  height: 35px;
  min-width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.feature-icon-premium {
  border-color: rgba(65, 105, 255, 0.3);
  color: #4169ff;
}

.feature-info {
  flex: 1;
  padding-top: 4px;
}

.feature-info h4 {
  font-family: 'Inter', ui-sans-serif, system-ui ;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.feature-info p {
  font-family: 'Inter', ui-sans-serif, system-ui ;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.5;
}

/* Plan CTA */
.plan-cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 8px;
  font-family: 'Inter', ui-sans-serif, system-ui ;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 0px solid;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  background: rgba(61, 61, 61, 0.05);
  color: #ffffff;
}

.plan-cta:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.plan-cta:disabled {
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.03);
}

.plan-cta-trial {
  background: #2a8142;
  border-color: rgba(65, 105, 255, 0.3);
  color: #ffffff;
}

.plan-cta-trial:hover:not(:disabled) {
  background: #2e8b48;
  border-color: rgba(65, 105, 255, 0.3);
  color: #ffffff;
}

.plan-cta-primary {
  background: linear-gradient(135deg, #0572FF 0%, #034499 100%);
  border-color: rgba(65, 105, 255, 0.5);
  color: #ffffff;
}

.plan-cta-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #0d7fff 0%, #0444aa 100%);
  border-color: rgba(65, 105, 255, 0.7);
}

.plan-cta i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.plan-cta:hover:not(:disabled) i {
  transform: translateX(4px);
}

/* Benefits Section */
.subscription-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(65, 105, 255, 0.1);
  border: 1px solid rgba(65, 105, 255, 0.2);
  color: #4169ff;
  font-size: 20px;
}

.benefit-content h4 {
  font-family: 'Inter', ui-sans-serif, system-ui ;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.benefit-content p {
  font-family: 'Inter', ui-sans-serif, system-ui ;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}


/* Profile Card Styles (from profile.css) */
.profile-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.profile-card-body {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Статистика */
.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  width: 100%;
  flex-direction: row;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon i {
  font-size: 35px;
  color: #0572FF;
}

.stat-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.stat-value {
  font-size: 16px;
  color: #ffffff;
  font-weight: 600;
}

.status-active {
  background: rgba(40, 167, 69, 0.15);
  color: #28a745;
  border-color: rgba(40, 167, 69, 0.3);
}

.status-trial {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
  border-color: rgba(255, 193, 7, 0.3);
}

.status-expired {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
  border-color: rgba(220, 53, 69, 0.3);
}

.stat-card-subscription.status-active .stat-icon i {
  color: #28a745;
}

.stat-card-subscription.status-trial .stat-icon i {
  color: #ffc107;
}

.stat-card-subscription.status-expired .stat-icon i {
  color: #dc3545;
}

.stat-card-subscription.status-inactive .stat-icon i {
  color: #6c757d;
}

.subscription-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.subscription-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12.5px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Inter", ui-sans-serif, system-ui;
  text-decoration: none;
  width: 100%;
}

.subscription-btn i {
  font-size: 14px;
}

.btn-activate {
  background: linear-gradient(135deg, #0572FF 0%, #034499 100%);
  color: #ffffff;
}

.btn-renew {
  background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
  color: #ffffff;
}

.btn-renew:hover {
  background: linear-gradient(135deg, #2cb94d 0%, #1e7e34 100%);
}


@media (max-width: 910px) {
  .plan-features {
    gap: 5px;
    min-height: 198px;
  }

  .pricing-toggle-btn{
    font-size: 10px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .subscription-main-container {
    padding: 30px 20px;
  }
  
  .pricing-plan {
    padding: 24px;
  }
  
  .plan-features {
    min-height: 0;
  }
  
  .subscription-benefits {
    grid-template-columns: 1fr;
  }
  
  .price-value {
    font-size: 36px;
  }
}