/* GLOBALNE USTAWIENIA I ZMIENNE */
:root {
    --primary-color: #a0134a;
    --primary-color-darker: #800f3b;
    --secondary-color: #4a4a4a;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --text-color: #333333;
    --text-light: #555555;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    line-height: 1.3;
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
    color: var(--text-light);
}

/* NAGŁÓWEK I NAWIGACJA */
header {
    background: var(--background-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color); /* <-- ZMIANA TUTAJ */
    font-size: 1.5rem;
    font-weight: 700;
}

.logo .logo-wingman {
    color: var(--primary-color);
}

.logo img {
    height: 40px; /* Ustawia wysokość ikony na 40 pikseli */
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background-color: var(--primary-color);
    color: var(--background-white);
    padding: 10px 20px;
    border-radius: 5px;
}
.nav-cta:hover {
    background-color: var(--primary-color-darker);
    color: var(--background-white);
}


/* SEKCJA HERO */
#hero {
    background-color: var(--background-light);
    text-align: center;
    padding: 80px 0;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
}

.cta-button {
    background: var(--primary-color);
    color: var(--background-white);
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-color-darker);
}

/* POZOSTAŁE SEKCJE */
section {
    padding: 60px 0;
}

#features, #how-it-works {
    background-color: var(--background-light);
}

/* SEKCJA FUNKCJI */
#features {
    background-color: var(--background-white);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-row-reverse {
    grid-template-columns: 1fr 1fr;
}

/* Na desktopie zamieniamy kolejność dla co drugiego wiersza */
@media(min-width: 769px) {
    .feature-row-reverse .feature-text {
        order: 2;
    }
    .feature-row-reverse .feature-visual {
        order: 1;
    }
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-text p {
    margin-bottom: 20px;
}

.feature-text ul {
    list-style: none;
    padding-left: 0;
}

.feature-text ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.feature-text ul li::before {
    content: '✔';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

.feature-visual video,
.feature-visual img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Style dla urządzeń mobilnych - układamy wszystko jedno pod drugim */
@media(max-width: 768px) {
    .feature-row {
        grid-template-columns: 1fr;
        margin-bottom: 60px;
    }
}

/* SEKCJA "JAK ZACZĄĆ" */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
    text-align: center;
}
.step span {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--background-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.step h3 {
    margin-bottom: 10px;
}

/* SEKCJA REJESTRACJI */
.register-form {
    max-width: 500px;
    margin: 30px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.register-form input {
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.register-form button {
    padding: 15px;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    background-color: var(--primary-color);
    color: var(--background-white);
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.register-form button:hover {
    background-color: var(--primary-color-darker);
}

/* STOPKA */
footer {
    background-color: var(--secondary-color);
    color: #f4f4f4;
    text-align: center;
    padding: 20px 0;
}


/* RESPONSIVE DESIGN */
@media(max-width: 768px) {
    h2 { font-size: 2rem; }
    .features-grid, .steps-grid {
        grid-template-columns: 1fr;
    }
    nav ul {
        display: none; /* Uproszczenie na start - ukrywamy menu na mobile */
    }
}

/* === STYLE DLA STRONY PODZIĘKOWANIA === */

.verification-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    background-color: var(--background-light);
}

.verification-box {
    background: var(--background-white);
    padding: 40px 50px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 500px;
}

.verification-icon {
    font-size: 4rem;
    color: #28a745; /* Zielony kolor sukcesu */
    line-height: 1;
    margin-bottom: 20px;
}

.verification-box h1 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.verification-box p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.verification-box .cta-button {
    font-size: 1rem;
    padding: 12px 30px;
}