/* =================================== */
/*         NOWA STRONA OFERTY          */
/* =================================== */

/* HERO SECTION */
.oferta-hero {
  background: transparent;
  padding: 5rem 1.5rem;
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.oferta-hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.oferta-hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  background: linear-gradient(135deg, #fff 0%, #60a5fa 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.oferta-hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  max-width: 750px;
  margin: 1rem auto 0;
}

/* PRICING TABLE */
.pricing-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .pricing-table {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }
}

.pricing-plan {
  background: var(--glass-bg, var(--panel));
  backdrop-filter: blur(var(--glass-blur, 12px));
  -webkit-backdrop-filter: blur(var(--glass-blur, 12px));
  border: 1px solid var(--glass-border, var(--border));
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
}

.pricing-plan::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 50%);
  pointer-events: none;
  border-radius: inherit;
}

.pricing-plan:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 32px rgba(0,0,0,0.4), 0 0 20px rgba(59,130,246,0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

.plan-header {
  text-align: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-description {
  color: var(--muted);
  font-size: 0.9rem;
  min-height: 40px; /* Ensures alignment */
}

.plan-price {
  font-size: clamp(2.5rem, 5vw, 3rem);
  font-weight: 800;
  margin-top: 1rem;
  color: var(--text);
}

.plan-price-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.25rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.plan-footer {
  margin-top: auto;
}

/* RECOMMENDED PLAN — gradient border glow */
.pricing-plan.recommended {
  border: none;
  transform: scale(1.05);
  position: relative;
  background: var(--glass-bg, var(--panel));
  z-index: 1;
}
/* Gradient border via pseudo-element */
.pricing-plan.recommended::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  padding: 1px;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 40%, #8b5cf6 70%, #ec4899 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}
.pricing-plan.recommended {
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.2), 0 0 60px rgba(99, 102, 241, 0.08);
}
.pricing-plan.recommended:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.35), 0 0 80px rgba(99, 102, 241, 0.15);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #3b82f6, #6366f1, #8b5cf6);
  color: #fff;
  padding: 0.35rem 1.2rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.5px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  z-index: 2;
}

/* ICONS */
.icon-ok::before, .icon-cancel::before, .icon-user::before, .icon-users::before {
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.plan-features .icon-ok::before, .plan-features .icon-cancel::before {
  font-size: 1.1em;
  line-height: 1;
}

.icon-ok::before {
  content: '✓';
  color: var(--success);
}

.icon-cancel::before {
  content: '✕';
  color: var(--danger);
}

/* SECTION DIVIDER */
.section-divider {
  text-align: center;
  margin: 4rem auto;
  max-width: 600px;
}
.section-divider h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-divider p {
  color: var(--muted);
  font-size: 1.1rem;
}

/* OTHER OFFERS GRID */
.other-offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .other-offers-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.offer-card-alt {
  background: var(--glass-bg, var(--panel));
  backdrop-filter: blur(var(--glass-blur, 12px));
  -webkit-backdrop-filter: blur(var(--glass-blur, 12px));
  border: 1px solid var(--glass-border, var(--border));
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}
.offer-card-alt:hover {
  border-color: rgba(148, 163, 184, 0.2);
  transform: translateY(-3px);
}

.offer-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.icon-user::before { content: '👤'; }
.icon-users::before { content: '👥'; }


.offer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.offer-description {
  color: var(--muted);
  margin-bottom: 1.5rem;
  min-height: 70px; /* alignment */
}

.offer-price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.offer-price-unit {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.btn.btn-block {
    width: 100%;
}

/* FAQ SECTION */
.faq-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1rem;
}

.faq-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.faq-item {
  /* No special styling needed, uses text styles */
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.faq-answer {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* OFFER BUTTONS */
.offer-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.offer-buttons .btn {
  flex: 1;
}
