/* ==========================================================================
   cenik.css — Pricing Page Specific Styles
   Pricing toggle, pricing cards grid, FAQ accordion (used on cenik page),
   and page-specific responsive overrides.
   ========================================================================== */

/* ===== PRICING TOGGLE ===== */
.pricing-toggle {
  display: flex; align-items: center; justify-content: center; gap: .8rem;
  margin-bottom: 3rem; animation: fadeSlideUp .7s var(--ease-out-expo) .3s both;
}

.pricing-toggle-label {
  font-family: var(--font-head); font-size: .88rem; font-weight: 600;
  color: var(--gray-500); cursor: pointer; transition: color .2s;
}
.pricing-toggle-label.active { color: var(--gray-900); }

.pricing-toggle-switch {
  position: relative; width: 48px; height: 26px; background: var(--gray-200);
  border-radius: 13px; cursor: pointer; transition: background .3s; border: none; padding: 0;
}
.pricing-toggle-switch.active { background: var(--primary); }
.pricing-toggle-switch::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: var(--white);
  transition: transform .3s var(--ease-spring); box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}
.pricing-toggle-switch.active::after { transform: translateX(22px); }

.pricing-save {
  font-family: var(--font-head); font-size: .7rem; font-weight: 700;
  background: #DCFCE7; color: #16A34A; padding: .2rem .6rem; border-radius: var(--radius-pill);
}

/* ===== PRICING CARDS ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; align-items: start; }

.price-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 2.5rem 2rem; transition: all .35s var(--ease-out-expo); position: relative;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .04), 0 24px 64px rgba(0, 0, 0, .07);
  border-color: transparent;
}
.price-card--featured {
  border: 2px solid var(--primary);
  box-shadow: 0 4px 16px rgba(17, 66, 174, .08), 0 12px 40px rgba(17, 66, 174, .06);
}
.price-card--featured:hover { border-color: var(--primary); }

.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-head); font-size: .7rem; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--white);
  padding: .3rem 1rem; border-radius: var(--radius-pill); white-space: nowrap;
}

.price-card-name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: var(--gray-900); margin-bottom: .4rem; }
.price-card-desc { font-size: .88rem; color: var(--gray-500); margin-bottom: 1.5rem; line-height: 1.5; }

.price-amount {
  font-family: var(--font-head); font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 900;
  color: var(--gray-900); margin-bottom: .3rem; letter-spacing: -1px;
}
.price-amount .period { font-size: .88rem; font-weight: 500; color: var(--gray-400); letter-spacing: 0; }
.price-subtext { font-size: .78rem; color: var(--gray-400); margin-bottom: 1.8rem; }

.price-cta {
  display: block; width: 100%; text-align: center;
  padding: .85rem 0; border-radius: var(--radius); font-size: .95rem; font-weight: 700;
  font-family: var(--font-head); cursor: pointer; text-decoration: none;
  transition: transform .3s var(--ease-out-expo), box-shadow .3s var(--ease-out-expo);
  border: none; line-height: 1; margin-bottom: 1.8rem;
}
.price-cta--primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--white);
  box-shadow: 0 2px 8px rgba(17, 66, 174, .15);
}
.price-cta--primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(17, 66, 174, .2); }
.price-cta--outline {
  background: var(--white); color: var(--gray-700);
  border: 2px solid var(--gray-200);
}
.price-cta--outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.price-features { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.price-features li {
  display: flex; align-items: flex-start; gap: .5rem; font-size: .85rem; color: var(--gray-700); line-height: 1.5;
}
.price-features li .pf-check {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
}
.pf-check--green { background: #DCFCE7; color: #16A34A; }
.pf-check--blue { background: #EEF4FF; color: var(--primary); }
.pf-check--purple { background: #F3E8FF; color: #7C3AED; }
.price-divider {
  font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray-400);
  margin: 1rem 0 .6rem;
}

/* ===== FAQ (on pricing page) ===== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: .6rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  overflow: hidden; transition: all .3s var(--ease-out-expo);
}
.faq-item:hover { border-color: var(--gray-300); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.5rem; cursor: pointer;
  font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--gray-900);
}
.faq-q svg { flex-shrink: 0; transition: transform .3s var(--ease-out-expo); color: var(--gray-400); }
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--primary); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease-out-expo), padding .4s var(--ease-out-expo);
  padding: 0 1.5rem;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; padding: 0 1.5rem 1.3rem; }
.faq-a-inner { overflow: hidden; }
.faq-a p { font-size: .9rem; color: var(--gray-500); line-height: 1.7; }

/* ===== RESPONSIVE — CENIK ===== */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
