/* ==========================================================================
   STYLE DEDYKOWANE: STREFA WIEDZY (SHARP BRAND EDITION)
   ========================================================================== */

/* --- 1. HERO --- */
.knowledge-hero {
    padding: 160px 20px 80px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(106, 13, 173, 0.05) 0%, transparent 70%);
}
.hero-title { 
    font-size: clamp(2.2rem, 4vw, 3.5rem); 
    margin-bottom: 20px; 
    line-height: 1.2; 
    color: var(--color-dark); 
    font-family: var(--font-head);
    font-weight: 700;
}
.hero-desc {
    font-size: 1.1rem;
    color: var(--color-dark);
    font-family: var(--font-body);
    max-width: 700px;
    margin: 0 auto;
}

.section-title { 
    font-size: 2.2rem; 
    color: var(--color-accent-1); 
    margin-bottom: 25px; 
    font-family: var(--font-head); 
    font-weight: 700; 
}

/* --- 2. BANNER MUZYCZNY --- */
.music-banner {
    /* Zastosowano firmowy gradient marki */
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-accent-2) 100%);
    border-radius: 0; /* ZMIANA NA OSTRE KĄTY */
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    color: #fff;
    box-shadow: 0 20px 50px -10px rgba(15, 18, 25, 0.2);
    margin-top: -30px; 
    position: relative;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mb-icon {
    width: 80px; height: 80px; background: rgba(255, 255, 255, 0.1);
    border-radius: 0; /* ZMIANA NA OSTRE KĄTY */ display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: var(--color-gold); flex-shrink: 0;
}

.mb-content { flex-grow: 1; }
.mb-content h3 { font-size: 1.8rem; margin-bottom: 10px; color: #fff; font-family: var(--font-head); font-weight: 700; }
.mb-content p { font-size: 1rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 0; line-height: 1.5; max-width: 600px; font-family: var(--font-body); }
.mb-action { flex-shrink: 0; }

.btn-gold-style {
    background: var(--color-gold);
    color: var(--color-dark);
    border-radius: 0; /* ZMIANA NA OSTRE KĄTY */
    border: none;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-transform: uppercase;
    font-family: var(--font-head);
    transition: 0.3s;
}

.btn-gold-style:hover {
    transform: translateY(-3px);
    background: #e6b300;
}

/* --- 3. GRID NARZĘDZI PDF --- */
.tools-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}

.tool-card {
    background: #fff; 
    border-radius: 0; /* ZMIANA NA OSTRE KĄTY */ 
    padding: 35px 25px;
    border: 1px solid rgba(15, 18, 25, 0.05);
    display: flex; flex-direction: column; align-items: center; text-align: center;
    transition: 0.4s; height: 100%;
    box-shadow: 0 10px 30px -10px rgba(15, 18, 25, 0.05);
}
.tool-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 50px -10px rgba(15, 18, 25, 0.15); 
    border-color: rgba(106, 13, 173, 0.2);
}

.tool-icon-wrapper {
    width: 60px; height: 60px; 
    background: rgba(0, 71, 171, 0.05); 
    border-radius: 0; /* ZMIANA NA OSTRE KĄTY */
    display: flex; align-items: center; justify-content: center; margin-bottom: 25px;
    font-size: 1.5rem; color: var(--color-accent-2);
}
.tool-card.disabled .tool-icon-wrapper { background: rgba(15, 18, 25, 0.05); color: #94a3b8; }

.tool-card h3 { font-size: 1.2rem; margin-bottom: 15px; color: var(--color-dark); font-weight: 700; font-family: var(--font-head); }
.tool-card p { font-size: 0.95rem; color: var(--color-dark); margin-bottom: 30px; line-height: 1.5; flex-grow: 1; font-family: var(--font-body); }
.tool-footer { width: 100%; }
.status-text { font-size: 0.85rem; color: var(--color-accent-1); font-style: italic; font-weight: 700; }
.btn-sm { padding: 12px 20px; font-size: 0.8rem; border-radius: 0; /* ZMIANA NA OSTRE KĄTY */ }

/* --- 4. E-BOOK BANNER (NOWOŚĆ) --- */
.ebook-banner {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-accent-2) 100%);
    border-radius: 0; /* ZMIANA NA OSTRE KĄTY */
    padding: 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    color: #fff;
    box-shadow: 0 25px 60px -15px rgba(15, 18, 25, 0.25);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ebook-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 6px 15px;
    border-radius: 0; /* ZMIANA NA OSTRE KĄTY */
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.1);
    font-family: var(--font-head);
}

.ebook-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.1;
    font-family: var(--font-head);
    font-weight: 700;
}

.ebook-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 500px;
    font-family: var(--font-body);
}

/* Formularz wewnątrz bannera */
.ebook-form {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05); /* Lekkie tło pod inputy */
    padding: 10px;
    border-radius: 0; /* ZMIANA NA OSTRE KĄTY */
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 550px;
}

.ebook-form input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    outline: none;
    font-family: var(--font-body);
}

.ebook-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.ebook-form button {
    border-radius: 0; /* ZMIANA NA OSTRE KĄTY */
    padding: 12px 30px;
    font-size: 0.9rem;
    white-space: nowrap;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
}

.ebook-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-top: 15px !important;
    margin-bottom: 0 !important;
}

/* Zdjęcie po prawej */
.ebook-image-wrapper img {
    width: 100%;
    max-width: 400px;
    border-radius: 0; /* ZMIANA NA OSTRE KĄTY */
    box-shadow: 20px 20px 50px rgba(0,0,0,0.3); /* Głęboki cień pod książką */
    transform: rotate(3deg); /* Lekki obrót dla dynamiki */
    transition: 0.5s;
    display: block;
    margin: 0 auto;
}

.ebook-banner:hover .ebook-image-wrapper img {
    transform: rotate(0deg) scale(1.02);
}

/* RWD */
@media (max-width: 1200px) {
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .music-banner { flex-direction: column; text-align: center; padding: 40px 30px; }
    .mb-content p { margin: 0 auto; }
    
    .ebook-banner { grid-template-columns: 1fr; text-align: center; padding: 50px 30px; }
    .ebook-content p { margin: 0 auto 30px auto; }
    .ebook-form { flex-direction: column; background: transparent; border: none; padding: 0; }
    .ebook-form input { background: #fff; color: var(--color-dark); padding: 15px 25px; border-radius: 0; /* ZMIANA NA OSTRE KĄTY */ margin-bottom: 10px; width: 100%; border: 1px solid rgba(15,18,25,0.1); }
    .ebook-form button { width: 100%; }
    .ebook-image-wrapper { margin-top: 40px; }
}

@media (max-width: 600px) {
    .tools-grid { grid-template-columns: 1fr; }
}