/* ===== ANIMACJE SCROLL REVEAL (jak na index) ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; will-change: opacity, transform; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.slide-in-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.6s ease, transform 0.6s ease; will-change: opacity, transform; }
.slide-in-left.visible { opacity: 1; transform: translateX(0); }
.scale-in { opacity: 0; transform: scale(0.8); transition: opacity 0.6s ease, transform 0.6s ease; will-change: opacity, transform; }
.scale-in.visible { opacity: 1; transform: scale(1); }
.fade-in.visible, .slide-in-left.visible, .scale-in.visible { will-change: auto; }

/* Cieniutka zielona linia nad sekcjami – pełna szerokość (jak w index) */
main > section { position: relative; z-index: 1; }
main > section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    height: 1px;
    width: 100vw;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
}
/* ===== ZMIENNE KOLORYSTYCZNE ===== */
:root {
    --primary: #064F3D;
    --primary-dark: #0B1A17;
    --primary-light: #3a9b85;
    --secondary: #ffffff;
    --secondary-light: #f8f9fa;
    --accent: #f8f9fa;
    --accent-dark: #e9ecef;
    --text-dark: #0B1A17;
    --text-light: #ffffff;
    --text-muted: #4a5568;
    --text-accent: #2d3748;
    --gray-light: #f8f9fa;
    --gray: #e9ecef;
    --gray-dark: #495057;
    --success: #267764;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #064F3D 0%, #1a3d35 100%);
    --gradient-secondary: linear-gradient(135deg, #1a3d35 0%, #2d4a42 100%);
    --gradient-black: linear-gradient(180deg, #0B1A17 0%, #1a2f2a 100%);
}

/* Brak własnych styli HERO – sekcja korzysta z layoutu z index.css + hero-unified.css */

/* ===== SEKCJA POLITYKI PRYWATNOŚCI ===== */
.privacy-policy-section {
    padding: 80px 0;
    background: var(--background);
    position: relative;
    z-index: 2;
}

.privacy-policy-section h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--background);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.policy-section p, .policy-section ul {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
}

.policy-section ul {
    margin-left: 20px;
}

.policy-section ul li {
    margin-bottom: 8px;
}

.last-updated {
    font-style: italic;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

/* ===== CTA SEKCJA ===== */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-section h3 {
    color: var(--text-light);
    font-size: 2rem;
    margin-bottom: 20px;
}

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer styles removed — unified in css/footer-unified.css */

/* ===== PRZYCISKI ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(38, 119, 100, 0.3);
}

.btn-outline {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: 2px solid transparent;
}

.btn-outline:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(38, 119, 100, 0.3);
}

/* ===== ANIMACJE ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 768px) {
    /* Responsywność tylko dla treści polityki i CTA – header/footer/nav jak na index */
    .policy-content {
        padding: 30px 20px;
    }
    
    .policy-section h3 {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    body::after {
        background: 
            radial-gradient(circle at 50% 50%, rgba(6, 79, 61, 0.05) 0%, transparent 30%);
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .policy-content {
        padding: 20px 15px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}