:root {
    --bg-color: #0d0e12;
    --card-bg: rgba(25, 26, 35, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.3);
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --accent-glow: rgba(120, 100, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Tło z efektem rozmycia */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--gold-glow);
}

.glow-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-glow);
}

/* Typografia i layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mt-50 {
    margin-top: 50px;
}

.mt-100 {
    margin-top: 100px;
}

.text-gold {
    color: var(--gold);
}

/* Header */
.header {
    text-align: center;
    padding: 80px 20px 60px;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.logo span {
    color: var(--gold);
    font-weight: 400;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Sekcje cennika (Joomla i Standalone) */
.pricing-section {
    padding: 80px 20px;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-header {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-title, .section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-subtitle {
    color: var(--gold);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px;
    font-weight: 500;
}

.pricing-category-title {
    font-family: 'Outfit', sans-serif;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.pricing-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-bottom: 30px; /* Zapobiega nachodzeniu powiększonej karty na element poniżej */
}

.pricing-grid.grid-2, .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

/* Karty */
.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.package-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

.package-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    min-height: 45px;
}

.price, .package-price {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--gold);
    text-align: center;
}

.price-strike {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: -10px;
    text-align: center;
}

.features, .package-features {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 35px;
}

.features li, .package-features li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

.features li span:first-child, .package-features li::before {
    color: var(--gold);
    margin-right: 12px;
    font-weight: bold;
}

.package-features li::before {
    content: '✓';
    position: relative;
    left: auto;
    top: auto;
    margin-right: 12px;
}

.highlight, .package-features li strong {
    color: var(--gold);
    font-weight: 600;
}

/* Wyróżniona karta (Najczęściej wybierany) */
.pricing-card.popular, .pricing-card.featured {
    border: 1px solid var(--gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
    transform: scale(1.05);
    z-index: 2;
    background: linear-gradient(180deg, rgba(30, 32, 43, 0.8) 0%, rgba(20, 21, 28, 0.8) 100%);
}

.pricing-card.popular:hover, .pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #000;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    white-space: nowrap;
}

/* Combo / Pakiety łączone */
.combo-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-top: -30px;
    margin-bottom: 50px;
}

.combo-card {
    text-align: center;
    align-items: center;
}

.save-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* CTA */
.cta-section {
    text-align: center;
    margin: 100px 0;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(25, 26, 35, 0.8) 0%, rgba(13, 14, 18, 0.9) 100%);
    border-radius: 30px;
    border: 1px solid var(--card-border);
}

.cta-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.cta-button, .zadatek-btn {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    text-transform: uppercase;
    display: inline-block;
}

.cta-button:hover, .zadatek-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
    background: #e6c245;
}

.pricing-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.pricing-footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Responsywność */
@media (max-width: 1024px) {
    .pricing-grid, .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card.popular, .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover, .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

    .pricing-card.featured {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .pricing-grid, .pricing-grid.grid-2, .video-grid, .photo-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        grid-column: auto;
    }

    .header {
        padding: 60px 20px 40px;
    }
    
    .logo {
        font-size: 2.5rem;
    }
    
    .section-title, .pricing-title {
        font-size: 1.8rem;
    }
}

/* Nawigacja Cennika */
.pricing-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.nav-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 24px;
    border-radius: 30px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-pill:hover, .nav-pill.active {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Usługi Dodatkowe */
.extras-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.extra-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 20px 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.extra-name {
    font-weight: 500;
    font-size: 1.05rem;
}

.extra-price {
    font-family: 'Outfit', sans-serif;
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 700;
}

