:root {
  --accent-orange: #f97316;
  --midnight-blue: #0f172a;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --border-gray: #e5e7eb;
  --white: #ffffff;
}

/* SECTION */
.benefits {
  padding: 6rem 0; /* py-24 */
  background: var(--white);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* CONTAINER */
.benefits__container {
  max-width: 1280px; /* max-w-7xl */
  margin: 0 auto;
  padding: 0 2rem; /* px-8 */
}

/* HEADER */
.benefits__header {
  text-align: center;
  margin-bottom: 4rem; /* mb-16 */
}

.benefits__badge {
  display: inline-block;
  background: rgba(249, 115, 22, 0.1); /* bg-accent-orange/10 */
  color: var(--accent-orange);
  padding: 0.5rem 1rem; /* px-4 py-2 */
  border-radius: 9999px;
  margin-bottom: 1rem; /* mb-4 */
}

.benefits__badge-text {
  font-size: 0.875rem; /* text-sm */
  font-weight: 600; /* font-semibold */
  text-transform: uppercase;
  letter-spacing: 0.06em; /* tracking-wide */
}

.benefits__title {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700; /* font-bold */
  color: var(--midnight-blue);
  margin: 0 0 1rem 0; /* mb-4 */
}

.benefits__subtitle {
  font-size: 1.25rem; /* text-xl */
  color: var(--gray-600);
  max-width: 768px; /* max-w-3xl */
  margin: 0 auto;
  line-height: 1.6;
}

/* GRID */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* grid-cols-3 */
  gap: 2rem; /* gap-8 */
  margin-bottom: 3rem; /* mb-12 */
}

/* CARD */
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 0.75rem; /* rounded-xl */
  padding: 2rem; /* p-8 */
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  will-change: transform;
}

.benefit-card:hover {
  box-shadow: 0 20px 30px rgba(15, 23, 42, 0.10); /* hover:shadow-xl */
  transform: translateY(-4px); /* hover:-translate-y-1 (przybliżone) */
}

/* ICON BOX */
.benefit-card__icon-box {
  width: 4rem; /* w-16 */
  height: 4rem; /* h-16 */
  background: rgba(249, 115, 22, 0.1); /* bg-accent-orange/10 */
  border-radius: 0.75rem; /* rounded-xl */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem; /* mb-6 */
}

/* ICON (SVG uses currentColor) */
.benefit-card__icon {
  display: inline-flex;
  color: var(--accent-orange); /* text-accent-orange */
}

.benefit-card__svg {
  width: 1.5rem; /* text-2xl (przybliżenie) */
  height: 1.5rem;
  display: block;
}

/* TITLE + TEXT */
.benefit-card__title {
  font-size: 1.25rem; /* text-xl */
  font-weight: 700; /* font-bold */
  color: var(--midnight-blue);
  margin: 0 0 0.75rem 0; /* mb-3 */
}

.benefit-card__text {
  color: var(--gray-600);
  line-height: 1.7; /* leading-relaxed */
  margin: 0 0 1rem 0; /* mb-4 */
}

/* META ROW */
.benefit-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* space-x-2 */
  font-size: 0.875rem; /* text-sm */
  font-weight: 500; /* font-medium */
  color: var(--accent-orange);
}

.benefit-card__meta-text {
  display: inline-block;
}

.benefit-card__meta-icon {
  display: inline-flex;
  color: currentColor;
}

.benefit-card__meta-svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

/* CTA */
.benefits__cta {
  text-align: center;
  margin-top: 3rem; /* mt-12 */
}

.benefits__button {
  background: var(--accent-orange);
  color: var(--white);
  font-weight: 600; /* font-semibold */
  padding: 1rem 2.5rem; /* px-10 py-4 */
  border-radius: 0.5rem; /* rounded-lg */
  border: none;
  cursor: pointer;
  font-size: 1.125rem; /* text-lg */
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.30); /* shadow-lg */
  transition: background 0.25s ease, transform 0.25s ease;
}

.benefits__button:hover {
  background: #ea580c; /* hover:bg-orange-600 */
}

.benefits__cta-note {
  color: var(--gray-500);
  font-size: 0.875rem; /* text-sm */
  margin-top: 1rem; /* mt-4 */
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .benefits__grid {
    grid-template-columns: 1fr;
  }

  .benefits__title {
    font-size: 1.75rem;
  }

  .benefits__subtitle {
    font-size: 1.1rem;
  }

  .benefit-card {
    padding: 1.5rem;
  }
}

/* Membership plans on home: keep cards side-by-side on desktop */
.membership-plans-home .price-box-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  float: none;
  width: 100%;
}

.membership-plans-home .price-box {
  flex: initial;
  margin: 0;
  padding: 32px 24px;
  width: 100%;
  min-width: 0;
  display: flex;
}

.membership-plans-home .price-box-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.membership-plan-period {
  display: inline-block;
  margin-top: 6px;
}

.membership-plans-home .price-features {
  min-height: 160px;
}

.membership-plans-home .btn-plan-pricing-container {
  margin-top: auto;
}

.membership-plans-home .membership-plan-switch {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 6px;
  margin: 0 auto 24px;
  padding: 5px;
  background: #ffffff;
  border: 1px solid #dfe3e8;
  border-radius: 999px;
}

.membership-plans-home .membership-plan-switch__btn {
  border: 0;
  background: transparent;
  color: #4a4d57;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 9px 14px;
  border-radius: 999px;
  transition: all .2s ease;
}

.membership-plans-home .membership-plan-switch__btn:hover {
  color: #20232a;
}

.membership-plans-home .membership-plan-switch__btn.active {
  background: #00bfa5;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 191, 165, 0.24);
}

.membership-plans-home .membership-plan-hidden {
  display: none !important;
}

@media (max-width: 1200px) {
  .membership-plans-home .price-box-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .membership-plans-home .price-box-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .membership-plans-home .price-box-container {
    grid-template-columns: 1fr;
  }
}

/* Membership select page */
.membership-plans-select .price-box-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  float: none;
  width: 100%;
}

.membership-plans-select .price-box {
  margin: 0;
  width: 100%;
  min-width: 0;
}

.membership-plans-select .membership-plan-switch {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 6px;
  margin: 0 auto 24px;
  padding: 5px;
  background: #ffffff;
  border: 1px solid #dfe3e8;
  border-radius: 999px;
}

.membership-plans-select .membership-plan-switch__btn {
  border: 0;
  background: transparent;
  color: #4a4d57;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 9px 14px;
  border-radius: 999px;
  transition: all .2s ease;
}

.membership-plans-select .membership-plan-switch__btn:hover {
  color: #20232a;
}

.membership-plans-select .membership-plan-switch__btn.active {
  background: #00bfa5;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 191, 165, 0.24);
}

.membership-plans-select .membership-plan-hidden {
  display: none !important;
}

.membership-coupon-panel {
  background: linear-gradient(180deg, #fcfefe 0%, #f7fbfb 100%);
  border: 1px solid #d8ece9;
  border-radius: 10px;
  padding: 18px 20px;
}

.membership-coupon-panel__title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 10px;
}

.membership-coupon-panel__input-wrap {
  position: relative;
}

.membership-coupon-panel__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #00a896;
  font-size: 16px;
  z-index: 2;
}

.membership-coupon-panel .membership-coupon-input {
  padding-left: 42px;
  border-color: #c7dfe0;
}

.membership-coupon-panel .membership-coupon-input:focus {
  border-color: #00bfa5;
  box-shadow: 0 0 0 0.2rem rgba(0, 191, 165, 0.12);
}

@media (max-width: 1200px) {
  .membership-plans-select .price-box-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .membership-plans-select .price-box-container {
    grid-template-columns: 1fr;
  }
  .membership-plans-select .membership-plan-switch {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }
}
