/* Reset i podstawowe style */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background-color: #fff;
    padding: 20px 0;
}

.logo {
    max-height: 40px;
    display: block;
}

/* Hero Section */
.hero-section {
    background-image: linear-gradient(-4deg, #003a6a, #408abc);
    /* Charakterystyczny łuk na dole */
    border-radius: 0 0% 0 360px;
    padding: 50px 0 20px 0;
    position: relative;
    overflow: visible;
    color: #fff;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 550px;
    z-index: 2;
    padding-bottom: 40px;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.3;
    margin-bottom: 24px;
    font-weight: 800;
}

/* Żółte tło dla pierwszej linii */
.hero-text .highlight-yellow {
    background-color: #ffcc00; /* Blaupunkt Yellow */
    color: #000;
    padding: 4px 10px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    font-style: italic;
    font-weight: 800;
    display: inline-block;
    transform: skewX(-5deg); /* Lekkie pochylenie boksu */
}

/* Druga linia - biała, normalne litery */
.hero-text .highlight-sub {
    color: #fff;
    font-style: italic;
    font-weight: 700;
    font-size: 42px;
    text-transform: none; /* Wyłączenie wielkich liter */
    display: inline-block;
    margin-top: 10px;
}

.hero-description {
    font-size: 16px;
    max-width: 480px;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative; /* Ważne dla pozycjonowania napisu Buy&GET */
    z-index: 1;
}

.hero-image img {
    max-width: 125%;
    height: auto;
    margin-right: -80px;
    margin-top: -40px;
}

/* Stylizacja napisu Buy&GET */
.hero-floating-text {
    position: absolute;
    bottom: 100px;
    right: 62px;
    font-size: 85px;
    font-weight: 800;
    color: #fff;
    font-style: italic;
    transform: rotate(-10deg); /* Obrót zgodny z projektem */
    text-shadow: 0 10px 20px rgba(0,0,0,0.15); /* Cień dla lepszej czytelności */
    z-index: 10;
    pointer-events: none; /* Żeby nie przeszkadzał w klikaniu */
    line-height: 1;
}

/* Steps Section */
.steps-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-header {
    margin-bottom: 60px;
}

.sub-title {
    color: #0f4c86; /* Ciemniejszy niebieski dla małych nagłówków */
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: #000;
    line-height: 1.2;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 80px;
}

.step-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #e0e0e0;
}

.step-icon {
    flex-shrink: 0;
    margin-right: 35px;
}

.step-icon img {
    width: 85px;
    height: 85px;
    display: block;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
}

.step-content p {
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: #0f4c86;
    color: #fff;
    border: 1px solid #0f4c86;
}

.btn-primary:hover {
    background-color: #083b6b;
    border-color: #083b6b;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background-color: #f7f7f7;
    border-color: #ccc;
    transform: translateY(-1px);
}

/* Responsywność (Mobile & Tablet) */
@media (max-width: 991px) {
    .hero-container {
        flex-direction: column-reverse; /* Obrazek nad tekstem */
        text-align: center;
        gap: 20px;
    }

    .hero-section {
        border-bottom-left-radius: 0; /* Reset łuku na mobile lub mniejszy */
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .hero-text {
        max-width: 100%;
        padding-bottom: 0;
    }

    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-text .highlight-sub {
        font-size: 28px;
    }
    
    .hero-description {
        margin: 20px auto 0;
    }

    .hero-image {
        justify-content: center;
    }
    
    .hero-image img {
        max-width: 100%;
        margin: 0;
    }

    /* Dostosowanie napisu Buy&GET na mobile */
    .hero-floating-text {
        font-size: 50px;
        right: 50%;
        bottom: 30px;
        transform: translateX(50%) rotate(-10deg); /* Wycentrowanie i obrót */
    }

    .step-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .step-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 320px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
}