* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Nexa Book';
    src: url('scc/light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Nexa Book', Arial, sans-serif;
    color: #fff;
    text-align: center;
    background: linear-gradient(185deg, #4ba9f6 0%, #1d35d1 100%);
}

/* HERO pełny ekran */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    max-width: 900px;
    padding: 20px;
}

.hero-content h1:first-child {
    font-size: 10rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-shadow:
        0 0 15px rgba(255, 255, 255, 0.9),
        0 0 10px rgba(255, 255, 255, 0.6);
    /* delikatniejsze świecenie */
    margin-bottom: 10px;
}

.hero-content h1:nth-child(2) {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 25px rgba(255, 255, 255, 0.7);
    /* mocniejsze niż wcześniej */
    margin-bottom: 120px;
}


.hero-content p {
    font-size: 1.9rem;
    /* było 1.2rem → +40% */
    line-height: 1.6;
    margin-bottom: 140px;
}

.btn-main {
    display: inline-block;
    padding: 18px 55px;
    /* większy przycisk */
    background: #4fc3f7;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 45px;
    transition: 0.3s ease;
    font-size: 1.4rem;
    /* powiększony */
}

.btn-main:hover {
    background: #29b6f6;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* @media (max-width: 768px) {
    .hero-content h1:first-child {
        font-size: 4rem;
    }

    .hero-content h1:nth-child(2) {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 50px;
    }

    .btn-main {
        font-size: 1rem;
        padding: 12px 35px;
    }
} */

@media (max-width: 768px) {
    .hero-content h1:first-child {
        font-size: 5rem;
    }

    .hero-content h1:nth-child(2) {
        font-size: 1.6rem;
        margin-bottom: 60px;
    }

    .hero-content p {
        font-size: 1.3rem;
        margin-bottom: 60px;
        line-height: 1.5;
    }

    .btn-main {
        font-size: 1.2rem;
        padding: 16px 40px;
    }
}

.benefits {
    padding: 80px 20px;
    text-align: center;
    background: #fff;
}

.benefits h2 {
    font-size: 3rem;
    margin-bottom: 120px;
    font-weight: 700;
    color: black;
}

/* .benefits-grid {
    display: grid;
  grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .benefit-box {
    background: #5170ff;
    color: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  } */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    /* większe odstępy */
    max-width: 1400px;
    /* cała siatka szersza */
    margin: 0 auto;
}

.benefit-box {
    background: #4a6eff;
    color: #fff;
    padding: 40px 35px;
    /* większa wysokość */
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    min-height: 250px;
    /* minimalna wysokość */
}

.benefit-box:hover {
    transform: translateY(-8px);
}

.benefit-box h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.benefit-box p {
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 kolumny na tabletach */
    }
}

@media (max-width: 600px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        /* 1 kolumna na telefonach */
    }
}

.benefit-box h3 {
    font-size: 1.4rem;
    /* było 1.1rem → większy nagłówek */
    margin-bottom: 20px;
    font-weight: 700;
}

.benefit-box p {
    font-size: 1.05rem;
    /* było 0.95rem → większy tekst */
    line-height: 1.7;
    /* luźniejszy odstęp między liniami */
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    background: #eee;
    color: black;
}

.benefits+footer {
    margin-top: 0;
}
@media (max-width: 768px) {
    .container h2 {
        font-size: 1.8rem;
        /* mniejszy tekst na telefonie */
        margin-bottom: 100px;
        /* mniejszy odstęp */
    }
}

@media (max-width: 480px) {
    .container h2 {
        font-size: 1.5rem;
        /* jeszcze mniejszy na bardzo małych ekranach */
        margin-bottom: 100px;
    }
}

