/* =============================================
   Pricing Tiers - Custom styles
   Separate from notiscan.webflow.css to survive Webflow re-exports
   ============================================= */

/* === Section Header === */
.pricing-section-header {
  text-align: center;
  margin-bottom: 2rem;
}

/* === Period Toggle === */
.pricing-toggle-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.pricing-toggle {
  display: flex;
  gap: 0;
  background: #e8e5da;
  border-radius: 2rem;
  padding: 4px;
  border: 2px solid #000;
}

.pricing-toggle-btn {
  padding: 0.5rem 1.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 2rem;
  transition: background-color 0.2s, color 0.2s;
  color: #666;
}

.pricing-toggle-btn.active {
  background: #000;
  color: #fff;
}

.pricing-toggle-btn:hover:not(.active) {
  color: #333;
}

/* === Pricing Grid === */
.pricing-grid {
  grid-column-gap: 1.5rem;
  grid-row-gap: 1.5rem;
  align-items: stretch;
}

/* === Highlighted Tier Card (Standard) === */
.pricing-card-highlighted {
  border-width: 3px;
  border-color: #000;
  position: relative;
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* === Pricing Badge ("Populärast") === */
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 4px 16px;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  font-family: 'Instrument Sans', sans-serif;
  z-index: 1;
}

/* === Override red price color (heading-4 uses --discount red by default) === */
.pricing-card .heading-4 {
  color: #000;
}

/* === Per-month breakdown for annual === */
.pricing-annual-note {
  font-size: 0.85rem;
  color: #888;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

/* === Responsive: Mobile (< 768px) === */
@media screen and (max-width: 767px) {
  .pricing-grid.grid_3-col {
    grid-template-columns: 1fr !important;
  }

  .pricing-card-highlighted {
    transform: none;
  }

  .pricing-toggle-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* === Responsive: Tablet (768px - 991px) === */
@media screen and (max-width: 991px) and (min-width: 768px) {
  .pricing-grid.grid_3-col {
    grid-column-gap: 1rem;
  }

  .pricing-card-highlighted {
    transform: scale(1.02);
  }
}
