/* Kolory marki z PDF [cite: 95-100] */
:root {
    --c-red: #F08482;
    --c-orange: #F7AC6F;
    --c-yellow: #FEE17E;
    --c-green: #AAD29A;
    --c-blue: #63C3D1;
    --c-gray: #485156;
    --c-text: #485156;
}

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

body {
    font-family: 'Nunito', sans-serif;
    color: var(--c-text);
    background-color: #f9f9f9;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
    /* Ukrywa elementy wychodzące poza ekran */
}

/* Tło - latające kształty  */
.bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 15%;
    /* Proporcjonalne zaokrąglenie - mniejsze kwadraty = mniejszy radius */
    opacity: 0.6;
    /* Lekka przezroczystość, żeby nie dominowały */
}

/* Animacja pływania */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-25px) rotate(5deg);
    }
}

/* --- DEFINICJA 8 KWADRATÓW --- */
/* Stare (s1-s4) */
.s1 {
    width: 80px;
    height: 80px;
    background: var(--c-red);
    top: 10%;
    left: 5%;
    animation: float 6s infinite ease-in-out;
}

.s2 {
    width: 120px;
    height: 120px;
    background: var(--c-blue);
    bottom: 15%;
    right: 5%;
    animation: float 8s infinite ease-in-out;
    animation-delay: 1s;
}

.s3 {
    width: 50px;
    height: 50px;
    background: var(--c-yellow);
    top: 20%;
    right: 15%;
    animation: float 5s infinite ease-in-out;
}

.s4 {
    width: 90px;
    height: 90px;
    background: var(--c-green);
    bottom: 10%;
    left: 20%;
    animation: float 7s infinite ease-in-out;
    animation-delay: 0.5s;
}

/* Nowe (s5-s8) - dodane dla większej dynamiki */
.s5 {
    width: 60px;
    height: 60px;
    background: var(--c-orange);
    top: 45%;
    left: 8%;
    animation: float 9s infinite ease-in-out;
    animation-delay: 2s;
}

.s6 {
    width: 110px;
    height: 110px;
    background: var(--c-green);
    top: 8%;
    left: 45%;
    animation: float 7.5s infinite ease-in-out;
    animation-delay: 1.5s;
    opacity: 0.4;
}

.s7 {
    width: 45px;
    height: 45px;
    background: var(--c-red);
    bottom: 35%;
    right: 12%;
    animation: float 6.5s infinite ease-in-out;
    animation-delay: 3s;
}

.s8 {
    width: 75px;
    height: 75px;
    background: var(--c-blue);
    top: 60%;
    right: 35%;
    animation: float 8.5s infinite ease-in-out;
    animation-delay: 0.2s;
    opacity: 0.3;
}


/* Kontener główny */
.card {
    background: white;
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 550px;
    width: 100%;
    border-bottom: 6px solid var(--c-yellow);
    z-index: 10;
    /* Zawsze nad kwadratami */
}

/* STYL LOGO SVG */
.logo-wrapper {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.logo-wrapper svg {
    max-width: 300px;
    width: 100%;
    height: auto;
}

h1 {
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 5px;
    color: var(--c-gray);
}

.slogan {
    color: var(--c-orange);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.desc {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Formularz */
.form-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-family: inherit;
    outline-color: var(--c-blue);
}

button {
    background: var(--c-green);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #96c285;
    transform: translateY(-2px);
}

.consent-text {
    width: 100%;
    font-size: 0.75rem;
    color: #999;
    margin-top: 10px;
    line-height: 1.4;
}

.consent-text a {
    color: var(--c-blue);
    text-decoration: none;
}

.consent-text a:hover {
    text-decoration: underline;
}

/* Marki */
.brands {
    margin-top: 30px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.brands p {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 8px;
}

.brands-list {
    font-weight: 700;
    color: var(--c-gray);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Link FB */
.fb-link {
    display: block;
    margin-top: 20px;
    color: var(--c-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.fb-link:hover {
    text-decoration: underline;
}

/* Polityka prywatności */
.policy-card {
    max-width: 700px;
    text-align: left;
}

.policy-card h1 {
    text-align: center;
    margin-bottom: 25px;
}

.policy-content section {
    margin-bottom: 20px;
}

.policy-content h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-gray);
    margin-bottom: 8px;
}

.policy-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.policy-content ul {
    margin: 10px 0;
    padding-left: 25px;
}

.policy-content li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 5px;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    color: var(--c-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.back-link:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .card {
        padding: 30px 20px;
    }

    button {
        width: 100%;
    }

    /* Na mobilkach możemy ukryć niektóre kwadraty, żeby nie było bałaganu */
    .s2,
    .s6 {
        opacity: 0.2;
    }

    .policy-card h1 {
        font-size: 1.5rem;
    }

    .policy-content h2 {
        font-size: 1rem;
    }
}
