/* ── Section wrapper ── */
.pricing-section {
    background: linear-gradient(165deg, #0c1d2c 0%, #0f2234 100%);
    padding-bottom: 5rem;
}

/* ── Header ── */
.pricing-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5rem 2rem 3rem;
    color: #fff;
}

.pricing-header span {
    position: relative;
    display: inline-block;
    padding: 0 12px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.pricing-header span::before,
.pricing-header span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.55);
    opacity: 0.6;
    transform: translateY(-50%);
}

.pricing-header span::before { right: 100%; }
.pricing-header span::after  { left: 100%; }

.pricing-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #fff;
}

/* ── Grid ── */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 1.5rem 4rem 2rem;
    gap: 20px;
}

/* ── Base card ── */
.pricing-table {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.pricing-table:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

/* ── Featured card ── */
.pricing-table.best,
.pricing-table.best:hover {
    background: linear-gradient(145deg, #0d3a54 0%, #0a2d42 100%);
    border: 1.5px solid var(--blue-color);
    box-shadow: 0 0 0 1px rgba(0, 163, 224, 0.15), 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: none;
}

/* "Najlepszy wybór" badge */
.pricing-best-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 50px;
    white-space: nowrap;
}

/* ── Promo label (pill) ── */
.pricing-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-table.best .pricing-label {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ── Title & zone ── */
.pricing-table h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.pricing-table h5 {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.78rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing-table h5.vip {
    color: var(--green-color);
}

/* ── Features ── */
.pricing-features {
    margin: 1.1rem 0 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.75rem 0;
}

.pricing-table.best .pricing-features {
    border-color: rgba(255, 255, 255, 0.2);
}

.feature {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    padding: 0.25rem 0;
    color: rgba(255, 255, 255, 0.45);
    float: none;
}

.feature span {
    color: #fff;
    font-weight: 600;
    float: none;
}

/* ── Price ── */
.price-tag {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 1.25rem;
    color: #fff;
    margin-top: auto;
}

.price-tag .symbol {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.65;
    margin-right: 4px;
}

.price-tag .amount {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -1px;
}

.price-tag .after {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.6;
    margin-left: 4px;
}

/* ── Button ── */
.price-button {
    margin-top: 0;
    align-self: center;
    min-width: 140px;
}


/* ── Footer ── */
.pricing-footer {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0 1rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
}


/* ── Breakpointy ── */

@media (max-width: 1600px) {
    .pricing-container { grid-template-columns: repeat(2, 1fr); padding: 1.5rem 3rem 2rem; }
}

@media (max-width: 800px) {
    .pricing-container { grid-template-columns: 1fr; padding: 1.5rem 2rem 2rem; }
}

@media (max-width: 660px) {
    .pricing-container { padding: 1rem 0 2rem; }
    .pricing-header    { padding: 3rem 0.75rem 2rem; }
}
