/* ============================================
   MODERN CONTENT STYLES - RK-Technology
   Nowoczesne style dla sekcji treści i oferty
   ============================================ */

/* Modern Content Header */
.content-header {
    text-align: center;
    margin-bottom: 60px;
}

.content-header h2 {
    font-size: 42px !important;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2 !important;
    background: linear-gradient(135deg, #1428A0 0%, #0f1d7a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-header p {
    font-size: 19px !important;
    color: var(--text-secondary, #666);
    line-height: 1.8 !important;
    font-weight: 400;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.content-header .highlight {
    color: #1428A0;
    font-weight: 600;
    -webkit-text-fill-color: #1428A0;
}

/* Modern Content Block */
.content-block {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1428A0 0%, #0f1d7a 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.content-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(20, 40, 160, 0.15);
}

.content-block:hover::before {
    transform: scaleX(1);
}

.content-block h3 {
    font-size: 24px !important;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin-bottom: 18px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.content-block h3::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #1428A0;
    border-radius: 50%;
    flex-shrink: 0;
}

.content-block p {
    font-size: 16px !important;
    color: var(--text-secondary, #666);
    line-height: 1.8 !important;
    margin-bottom: 15px;
}

/* Badge Style */
.badge {
    display: inline-block;
    background: linear-gradient(135deg, #1428A0 0%, #0f1d7a 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Modern Feature Card */
.feature-card {
    background-color: #fff;
    padding: 35px 28px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1428A0 0%, #0f1d7a 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(20, 40, 160, 0.15);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1428A0 0%, #0f1d7a 100%) !important;
    border-radius: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(20, 40, 160, 0.25);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(20, 40, 160, 0.35);
}

.feature-icon i {
    font-size: 36px;
    color: #fff !important;
}

.feature-card h4 {
    font-size: 20px !important;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px !important;
    color: var(--text-secondary, #666);
    line-height: 1.7 !important;
    margin: 0;
}

/* Modern CTA Section */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1428A0 0%, #0f1d7a 100%) !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 42px !important;
    font-weight: 700;
    color: #fff !important;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-section p {
    font-size: 19px !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 35px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7 !important;
}

.cta-btn-white {
    display: inline-block;
    background-color: #fff;
    color: #1428A0;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
    background-color: #f0f0f0;
    color: #1428A0;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .content-header h2 {
        font-size: 32px !important;
    }
    
    .content-header p {
        font-size: 17px !important;
    }
    
    .content-block {
        padding: 30px 20px;
    }
    
    .content-block h3 {
        font-size: 22px !important;
    }
    
    .cta-section h2 {
        font-size: 32px !important;
    }
    
    .cta-section p {
        font-size: 17px !important;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .content-header h2 {
        font-size: 28px !important;
    }
    
    .content-block h3 {
        font-size: 20px !important;
    }
    
    .cta-section h2 {
        font-size: 28px !important;
    }
}
