/* Pricing */
.pricing {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
    line-height: 1 !important;
}

.pricing-toggle-container {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.toggle-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.toggle-label.active {
    color: var(--primary-color);
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 24px;
    background: #E5E7EB;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-switch.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.toggle-slider {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.toggle-switch.active .toggle-slider {
    transform: translateX(26px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.discount-badge-monthly{
    background: linear-gradient(135deg, var(--accent-color) 0%, #2DD4BF 100%);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}
/* subtle glowing shine */
.discount-badge-monthly::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  transform: skewX(-25deg);
}

.discount-badge-monthly:hover::before {
  animation: shine 1.2s ease-out;
}
.discount-badge-yearly{
     background: linear-gradient(135deg, var(--accent-color) 0%, #2DD4BF 100%);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}

.hidden {
    display: none !important;
}

.yearly-savings {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: var(--spacing-xs);
}

.original-price {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.savings-text {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 600;
}

.pricing-bg-decoration {
    position: absolute;
    top: 20%;
    left: 5%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(68, 215, 182, 0.08) 0%, rgba(31, 58, 101, 0.08) 100%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
}

.pricing-bg-decoration::after {
    content: '';
    position: absolute;
    top: 200px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(31, 58, 101, 0.05) 0%, rgba(68, 215, 182, 0.05) 100%);
    border-radius: 50%;
    filter: blur(50px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    padding: var(--spacing-md);
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(31, 58, 101, 0.12), 0 10px 20px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border: 2px solid var(--accent-color);
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(68, 215, 182, 0.15), 0 8px 16px rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, var(--white) 0%, rgba(68, 215, 182, 0.02) 100%);
}

.pricing-card.featured::before {
    opacity: 1;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 30px 60px rgba(68, 215, 182, 0.2), 0 12px 24px rgba(0, 0, 0, 0.08);
}

.popular-badge {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-color);
    padding: var(--spacing-xs);
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.price {
    margin-bottom: var(--spacing-md);
}

.currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.amount {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}
.amount-original {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}
.discount-badge {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 999px; /* pill shape */
  background: linear-gradient(135deg, #44D7B6, #2ABBA0 40%, #1F9D8C 100%);
  box-shadow: 0 4px 12px rgba(68, 215, 182, 0.3), 
              inset 0 1px 2px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

/* subtle glowing shine */
.discount-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  transform: skewX(-25deg);
}

.discount-badge:hover::before {
  animation: shine 1.2s ease-out;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.period {
    color: var(--text-secondary);
    font-size: 1rem;
}

.pricing-features {
    margin-bottom: var(--spacing-xl);
    text-align: left;
}

.pricing-features .feature {
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.5;
}

.pricing-features .feature:last-child {
    border-bottom: none;
}