/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #000000;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: #000000;
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 0rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 800;
    color: #ff1493;
    text-decoration: none;
    text-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Form Container */
.form-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 40px;
    min-height: 100vh;
    animation: fadeInUp 0.5s ease-out;
}

/* Progress Bar */
.progress-container {
    margin-bottom: -0.9rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 20, 147, 0.2);
    border-radius: 3px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
    border-radius: 3px;
    width: 33.33%;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 20, 147, 0.2);
    border: 2px solid rgba(255, 20, 147, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ff1493;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
    border-color: #ff1493;
    color: white;
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}

.step span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #cccccc;
}

.step.active span {
    color: #ff1493;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Usunięcie tła i obramowania dla kroków 1 i 2 */
#step1 .step-content,
#step2 .step-content {
    background: transparent;
    border: none;
    padding: 0rem;
    backdrop-filter: none;
}


.step-content {
    background: rgba(255, 20, 147, 0.05);
    border: 1px solid rgba(255, 20, 147, 0.2);
    border-radius: 25px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.step-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    -webkit-text-fill-color: #D1DAE0;
}

.step-subtitle {
    text-align: center;
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.step-subtitle-large {
    text-align: center;
    color: #d1dae0;
    font-size: 1.60rem;
    margin-bottom: 2rem;
    margin-top: -0.6rem;
    font-weight: 800;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.option-card {
    background: rgba(255, 20, 147, 0.03);
    border: 2px solid rgba(255, 20, 147, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.option-card:hover::before {
    opacity: 1;
}

.option-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 20, 147, 0.4);
    box-shadow: 0 15px 35px rgba(255, 20, 147, 0.2);
}

.option-card.selected {
    border-color: #ff1493;
    background: rgba(255, 20, 147, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 20, 147, 0.3);
}

.option-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.option-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #ffffff;
}

.option-card p {
    color: #cccccc;
    font-size: 0.85rem;
    line-height: 1.4;
}

.option-check {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 20, 147, 0.2);
    border: 2px solid rgba(255, 20, 147, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Ukrycie kółka przed zaznaczeniem */
.option-check i {
    opacity: 0; 
}

/* Wyświetlenie kółka po zaznaczeniu */
.option-card.selected .option-check i {
    opacity: 1;
}

.option-card.selected .option-check {
    background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
    border-color: #ff1493;
    color: white;
    transform: scale(1.1);
}

/* Contact Form */
.contact-form {
    margin-bottom: 2rem;
}

/* Zaktualizowane style dla pól, ikon, błędów i nowych funkcji */
.form-group {
    position: relative;
    margin-bottom: 1.3rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.5rem;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    color: #000000;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    width: 100%;
    min-height: 60px;
}

.form-group textarea {
    min-height: auto;
    padding-top: 20px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff1493;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888888;
}

/* --- Ikony --- */
.form-group.with-icon .input-icon {
    position: absolute;
    left: 20px;
    top: 30px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #888888;
    pointer-events: none;
    z-index: 2;
}

.form-group.with-icon input {
    padding-left: 55px;
}

.form-group.with-icon .textarea-icon {
    top: 25px;
    transform: none;
}

/* --- Pole do przesyłania plików --- */
.file-upload {
    position: relative;
    border: 2px dashed #cccccc;
    border-radius: 15px;
    background: #ffffff;
    padding: 1rem 1.5rem;
    transition: border-color 0.3s ease;
    cursor: pointer;
    min-height: 90px;
    display: flex;
    align-items: center;
}

.file-upload:hover {
    border-color: #cccccc;
    background: #ffffff;
}

.file-upload-layout {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    margin-left: -0.5rem;
}

.file-upload-icon {
    font-size: 1.2rem;
}

.file-upload-maintext {
    color: #000000;
    font-weight: 500;
    display: block;
}

.file-upload-hint {
    color: #aaaaaa;
    font-size: 0.8rem;
}

/* Ukrycie domyślnej zawartości, gdy jest podgląd zdjęcia */
.file-upload.has-file .file-upload-layout {
    display: none;
}
/* --- Pola opcjonalne --- */
.form-group.optional::after {
    content: '(opcjonalnie)';
    position: absolute;
    right: 20px;
    top: 30px;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #aaaaaa;
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 1;
}

/* Ukrywanie napisu "(opcjonalnie)" */
.form-group.optional.is-filled::after {
    opacity: 0;
}


/* --- Style dla błędów --- */
.form-group.with-error input,
.form-group.with-error textarea {
    border-color: #f44336;
    padding-bottom: 35px;
}

.form-group.with-error .file-upload {
    border-color: #f44336;
}

.form-group.with-error::after {
    content: '!';
    position: absolute;
    right: 20px;
    top: 30px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #f44336;
    color: white;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.form-group.optional.with-error::after {
    display: none;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.form-group .error-message {
    position: absolute;
    left: 55px;
    bottom: 12px;
    color: #f44336;
    font-size: 0.85rem;
    font-weight: 500;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.form-group.with-error .error-message {
    opacity: 1;
    transform: translateY(0);
}

.form-group.with-error .error-message {
    opacity: 1;
}

/* File Upload */
.file-upload {
    position: relative;
    border: 2px dashed #cccccc;
    border-radius: 15px;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.file-upload:hover {
    border-color: #cccccc;
    background: #ffffff;
}

.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content i {
    font-size: 1.2rem;
    color: #ff1493;
    margin-bottom: 0.5rem;
    display: block;
}

.file-upload-content span {
    display: block;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.file-upload-content small {
    color: #cccccc;
    font-size: 0.85rem;
}

.file-preview {
    margin-top: 1rem;
    display: none;
}

.file-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 10px;
    border: 2px solid rgba(255, 20, 147, 0.3);
}

.file-preview .file-info {
    margin-top: 0.5rem;
    color: #ff1493;
    font-weight: 600;
}

/* Checkbox */
.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 20, 147, 0.3);
    border-radius: 6px;
    background: rgba(255, 20, 147, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
    border-color: #ff1493;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-text {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Step Actions */
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-back,
.btn-next,
.btn-submit,
.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
}

.btn-back {
    background: transparent;
    color: #cccccc;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 10px 25px rgba(255, 20, 147, 0.3);
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 20, 147, 0.4);
}

.btn-next:disabled,
.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-home {
    background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 10px 25px rgba(255, 20, 147, 0.3);
}

.btn-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 20, 147, 0.4);
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    animation: fadeInUp 0.5s ease-out;
}

.success-message.show {
    display: block;
}

.success-content {
    background: rgba(255, 20, 147, 0.05);
    border: 1px solid rgba(255, 20, 147, 0.2);
    border-radius: 25px;
    padding: 4rem 3rem;
    backdrop-filter: blur(10px);
}

.success-icon {
    font-size: 5rem;
    color: #ff1493;
    margin-bottom: 2rem;
    animation: bounce 1s ease-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.success-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #ff1493 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.success-content p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 20, 147, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

.logo-image {
    height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}


/* Responsive Design */
@media (max-width: 768px) {


.logo-image {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}


    #step2 .option-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 0.8rem;
        gap: 1rem;
    }
    
    #step2 .option-card .option-icon {
        font-size: 1.5rem;
        min-width: auto;
        grid-row: auto;
    }

    #step2 .option-card h3 {
        font-size: 0.85rem;
        margin-bottom: 0;
    }
    
    
}

    .form-container {
        padding: 10px 15px 40px;
    }
    
    .step-content {
        background: rgba(25, 25, 25, 0.5);
        border: 2px solid rgba(60, 60, 60, 0.4);
        border-radius: 25px;
        padding: 2rem;
        backdrop-filter: blur(10px);
    }

    
    .step-title {
        font-size: 1.9rem;
        margin-bottom: 0.3rem;
    }
    
    .step-subtitle {
        font-size: 0.8rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-bottom: 0rem;
    }
    
    .option-card {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 1rem;
        padding: 0.8rem;
        min-height: auto;
        text-align: left;
    }

    .option-card .option-icon {
        font-size: 1.5rem;
        min-width: 2.5rem;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        grid-row: span 2;
    }

    .option-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0rem;
    }

    .option-card p {
        font-size: 0.75rem;
        margin-top: -0.7rem;
        color: #b0b0b0;
    }

    
    .option-check {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background-color: transparent;
        border: 2px solid rgba(255, 20, 147, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 1;
        transition: all 0.3s ease;
    }

    .option-check i {
        font-size: 0.6rem;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .option-card.selected .option-check {
        background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
        border-color: #ff1493;
        box-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
    }

    .option-card.selected .option-check i {
        opacity: 1;
        color: white;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .step-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-back,
    .btn-next,
    .btn-submit,
    .btn-home {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .progress-steps {
        gap: 1rem;
    }
    
    .step span {
        font-size: 0.8rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .success-content {
        padding: 3rem 2rem;
    }
    
    .success-content h2 {
        font-size: 2rem;
    }
    
    .success-icon {
        font-size: 4rem;
    }





.form-group.with-icon {
    position: relative;
}


.form-group.with-icon input,
.form-group.with-icon textarea {
    padding-left: 55px;
}

.form-group.with-icon .textarea-icon {
    top: 18px;
    transform: none;
}



#step3 .step-content {
    background: transparent;
    border: none;
    padding-left: 0;
    padding-right: 0;
    backdrop-filter: none;
}



.form-group.is-valid::after {
    content: '✔';
    position: absolute;
    right: 20px;
    top: 30px;
    transform: translateY(-50%);
    color: #28a745;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 5;
}




/* Nowa reguła CSS */
#step3 .step-title {
    margin-top: -2rem;
}