/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50;
    background-color: #f8f9fa;
    line-height: 1.6;
    font-size: 16px;
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a252f;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.125rem;
    color: #546e7a;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== BUTTONS ===== */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #3498db;
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2980b9;
}

/* ===== SEKCJA 1: HERO ===== */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero .container {
    max-width: 800px;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #546e7a;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.125rem;
    color: #546e7a;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-visual {
    margin-top: 3rem;
    max-width: 800px;
    width: 100%;
}

.hero-visual svg {
    width: 100%;
    height: auto;
}

/* ===== SEKCJA 2: DLACZEGO ===== */
.why {
    padding: 6rem 0;
    background-color: #ffffff;
}

.why h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: #3498db;
}

.feature .icon svg {
    width: 100%;
    height: 100%;
}

.feature h3 {
    font-size: 1.125rem;
    line-height: 1.6;
}

/* ===== SEKCJA 3: JAK TO DZIAŁA ===== */
.how {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.how h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
}

.step {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 4px;
    border-left: 4px solid #3498db;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #3498db;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.step p {
    font-size: 1rem;
    color: #546e7a;
    line-height: 1.6;
}

/* ===== SEKCJA 4: DLA KOGO ===== */
.for-who {
    padding: 6rem 0;
    background-color: #ffffff;
}

.for-who h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.target-list {
    max-width: 600px;
    margin: 0 auto;
    list-style: none;
}

.target-list li {
    font-size: 1.25rem;
    color: #2c3e50;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #3498db;
}

/* ===== SEKCJA 5: FORMULARZ ===== */
.signup {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
}

.signup h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 1rem;
}

.signup-description {
    text-align: center;
    font-size: 1.125rem;
    color: #ecf0f1;
    margin-bottom: 2.5rem;
}

.signup-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.signup-form input[type="email"] {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid #ecf0f1;
    border-radius: 4px;
    background-color: #ffffff;
    color: #2c3e50;
}

.signup-form input[type="email"]:focus {
    outline: none;
    border-color: #3498db;
}

.signup-form .cta-button {
    width: 100%;
}

.form-message {
    max-width: 500px;
    margin: 1rem auto 0;
    padding: 1rem;
    text-align: center;
    border-radius: 4px;
    font-size: 1rem;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #27ae60;
    color: #ffffff;
}

.form-message.error {
    display: block;
    background-color: #e74c3c;
    color: #ffffff;
}

/* ===== SEKCJA 6: STOPKA ===== */
.footer {
    padding: 3rem 0;
    background-color: #1a252f;
    color: #ecf0f1;
    text-align: center;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-status {
    font-size: 0.95rem;
    color: #95a5a6;
    margin-bottom: 1rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #7f8c8d;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        min-height: auto;
        padding: 3rem 0;
    }

    .hero h2 {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .features,
    .steps {
        grid-template-columns: 1fr;
    }

    .signup-form {
        width: 100%;
    }

    .container {
        padding: 0 1.5rem;
    }
}

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

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .target-list li {
        font-size: 1.125rem;
        padding: 1rem;
    }
}