/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Górne menu */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-weight: 600;
    font-size: 1.1rem;
    color: #555;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

nav a:hover {
    color: #e74c3c;
    background: #f8f8f8;
}

/* Przyciski CTA */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* Sekcje grid */
.grid-2, .grid-3, .grid-4, .grid-6, .grid-8 {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-6 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-8 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.card img {
    width: 80px;
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.card p {
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Stopka */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
}

footer a {
    color: #ecf0f1;
    transition: color 0.3s;
}

footer a:hover {
    color: #e74c3c;
}

/* Responsywność */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .container {
        width: 95%;
        padding: 1rem 0;
    }

    .grid-8 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    .grid-6 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
    .grid-4 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
}

/* Sekcja kontaktu */
.contact-box {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 3rem auto;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #ecf0f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #2c3e50;
    transition: background 0.3s, transform 0.3s;
}

.social-icons a:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-3px);
}

/* Tabela porównawcza */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background: #ecf0f1;
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Lista kroków */
.steps-list {
    counter-reset: step-counter;
    padding-left: 2rem;
    margin: 1.5rem 0;
}

.steps-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.steps-list li:before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: -1.5rem;
    top: 0;
    background: #e74c3c;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Ikony w sekcjach */
.icon-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.icon-section img {
    width: 50px;
}