/* ==========================================================================
   NETIVLY PROJECT - ABOUT PAGE MASTER STYLES V4.1
   ========================================================================== */

/* --- 1. ANIMACJE WEJŚCIA --- */
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.animate-on-load {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* --- 2. MODER HERO SECTION --- */
.about-hero-modern {
    position: relative;
    padding: 160px 0 120px;
    text-align: center;
    background: var(--bg-body);
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

/* Niebieski blask pod tytułem */
.hero-blur-bg {
    position: absolute;
    top: -10%; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 1;
    pointer-events: none;
}

.hero-content-box {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.about-hero-modern h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.05;
    margin: 25px 0;
}

/* --- 3. SEKCJA WSTĘPU (O INICJATYWIE) --- */
.about-intro-box {
    margin: -60px auto 80px;
    padding: 60px;
    background: var(--bg-card);
    border-radius: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-premium);
    position: relative;
    z-index: 10;
}

.about-intro-box p {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--text-muted);
}

/* --- 4. TARGET GRID (DLA KOGO) --- */
.target-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 120px;
}

.target-card {
    background: var(--bg-card);
    padding: 60px 45px;
    border-radius: 45px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.target-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: var(--shadow-premium);
}

.target-icon-box {
    width: 70px; height: 70px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin-bottom: 35px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

/* --- 5. SEKCJA ZAUFANIA (DLACZEGO MY) --- */
.trust-wrapper { 
    padding-bottom: 120px; 
}

.trust-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.value-icon {
    width: 60px; height: 60px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.value-text h4 { 
    font-size: 1.4rem; 
    font-weight: 800; 
    margin-bottom: 15px; 
    letter-spacing: -0.5px;
}

/* --- 6. TIMELINE (ROADMAPA) --- */
.roadmap-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 80px 10%;
    margin-bottom: 120px;
    box-shadow: var(--shadow-lg);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding-left: 50px;
    border-left: 3px solid var(--border);
}

.timeline-item { 
    position: relative; 
    margin-bottom: 80px; 
}

/* Kółka na osi czasu */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -64px; top: 10px;
    width: 25px; height: 25px;
    background: var(--bg-body);
    border: 5px solid var(--border);
    border-radius: 50%;
    z-index: 2;
    transition: 0.3s;
}

.timeline-item.active::before {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

/* Karty na osi czasu */
.timeline-content {
    background: var(--bg-body);
    padding: 40px;
    border-radius: 35px;
    border: 1px solid var(--border);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-content:hover {
    transform: translateX(15px);
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: var(--shadow-premium);
}

.status-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 15px;
}

/* Paski postępu wewnątrz timeline */
.progress-container {
    height: 10px; 
    background: var(--border);
    border-radius: 20px; 
    margin-top: 30px;
    overflow: hidden;
}

.progress-bar {
    height: 100%; 
    background: var(--primary);
    border-radius: 20px;
}

/* --- 7. RESPONSYWNOŚĆ --- */
@media (max-width: 1100px) {
    .target-grid { grid-template-columns: 1fr; }
    .trust-values-grid { grid-template-columns: 1fr; }
    .about-hero-modern h1 { font-size: 3rem; }
    .about-intro-box { padding: 40px; margin-top: 20px; }
}

@media (max-width: 768px) {
    .about-hero-modern { padding: 100px 20px 60px; }
    .timeline { padding-left: 30px; }
    .timeline-item::before { left: -44px; }
    .timeline-content { padding: 30px 20px; }
    .about-intro-box { padding: 30px 20px; border-radius: 24px; }
}