/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #401664 0%, #6A2DA6 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: rgba(64, 22, 100, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(60, 249, 216, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 32px;
    font-weight: bold;
    color: #3CF9D8;
    text-decoration: none;
    text-shadow: 0 0 20px rgba(60, 249, 216, 0.8), 0 0 40px rgba(60, 249, 216, 0.5);
    transition: all 0.3s ease;
}

.logo a:hover {
    color: #F5E663;
    text-shadow: 0 0 30px rgba(245, 230, 99, 0.9);
}

/* Menu mobilne - checkbox hack */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-icon span {
    width: 30px;
    height: 3px;
    background: #3CF9D8;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3CF9D8;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #3CF9D8;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(rgba(64, 22, 100, 0.7), rgba(106, 45, 166, 0.7)), url('./img/08FNPL.jpg') center/cover no-repeat;
    text-align: center;
    padding: 100px 20px;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(60, 249, 216, 0.8);
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.5rem;
    color: #F5E663;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease;
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #3CF9D8, #F5E663);
    color: #401664;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(60, 249, 216, 0.5);
    animation: fadeInUp 1.4s ease;
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(60, 249, 216, 0.7);
}

/* Sekcje */
.section {
    padding: 80px 20px;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 50px;
    text-shadow: 0 0 20px rgba(60, 249, 216, 0.6);
}

/* Blok O nas */
.about-section {
    background: linear-gradient(135deg, rgba(60, 249, 216, 0.1), rgba(245, 230, 99, 0.1));
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(60, 249, 216, 0.3);
    border: 3px solid;
    border-image: linear-gradient(135deg, #3CF9D8, #F5E663) 1;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

/* Blok usług - 3 karty */
.services-section {
    background: linear-gradient(135deg, #6A2DA6 0%, #401664 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s ease;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    padding: 3px;
    background: linear-gradient(135deg, #3CF9D8, #F5E663);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 60px rgba(60, 249, 216, 0.5);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.8rem;
    color: #401664;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* Sekcja korzyści */
.benefits-section {
    background: linear-gradient(135deg, rgba(245, 230, 99, 0.2), rgba(60, 249, 216, 0.2));
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #3CF9D8;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: linear-gradient(135deg, #3CF9D8, #F5E663);
    color: #401664;
    transform: scale(1.1);
}

.benefit-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #401664;
}

.benefit-item:hover h4 {
    color: #401664;
}

/* Opinie */
.testimonials-section {
    background: linear-gradient(135deg, #401664 0%, #6A2DA6 100%);
}

.testimonials-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 30px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #3CF9D8 #401664;
}

.testimonial-card {
    min-width: 350px;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 25px;
    scroll-snap-align: start;
    border: 3px solid #3CF9D8;
    box-shadow: 0 15px 40px rgba(60, 249, 216, 0.3);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #3CF9D8;
}

.testimonial-card p {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.7;
}

.testimonial-card .author {
    font-weight: bold;
    color: #401664;
}

/* Proces */
.process-section {
    background: linear-gradient(135deg, rgba(60, 249, 216, 0.15), rgba(245, 230, 99, 0.15));
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 25px;
    position: relative;
    border: 3px solid #F5E663;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(245, 230, 99, 0.5);
}

.process-step .step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3CF9D8, #F5E663);
    color: #401664;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h4 {
    font-size: 1.5rem;
    color: #401664;
    margin-bottom: 15px;
}

.process-step p {
    color: #666;
    line-height: 1.7;
}

/* FAQ */
.faq-section {
    background: linear-gradient(135deg, #6A2DA6 0%, #401664 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #3CF9D8;
}

.faq-item details {
    padding: 0;
}

.faq-item summary {
    padding: 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #401664;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: all 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 25px;
    font-size: 2rem;
    color: #3CF9D8;
    transition: transform 0.3s ease;
}

.faq-item details[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    background: rgba(60, 249, 216, 0.1);
}

.faq-item .faq-answer {
    padding: 0 25px 25px 25px;
    color: #666;
    line-height: 1.7;
}

/* Formularz */
.form-section {
    background: linear-gradient(135deg, rgba(245, 230, 99, 0.2), rgba(60, 249, 216, 0.2));
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 25px 70px rgba(60, 249, 216, 0.4);
    border: 4px solid;
    border-image: linear-gradient(135deg, #3CF9D8, #F5E663, #6A2DA6) 1;
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(60, 249, 216, 0.1), transparent);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-group {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #401664;
    font-weight: bold;
    font-size: 1.1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #3CF9D8;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    color: #333;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #F5E663;
    box-shadow: 0 0 20px rgba(245, 230, 99, 0.5);
}

.form-group select option {
    color: black;
    background-color: white;
}

.checkbox-group {
    margin: 25px 0;
    position: relative;
    z-index: 1;
}

.checkbox-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
    cursor: pointer;
}

.checkbox-item label {
    font-weight: normal;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #000;
}

.checkbox-item a {
    color: #000;
    text-decoration: underline;
}

.checkbox-item a:hover {
    color: #333;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #3CF9D8, #F5E663);
    color: #401664;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(60, 249, 216, 0.5);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(60, 249, 216, 0.7);
}

/* Kontakt */
.contact-section {
    background: linear-gradient(135deg, #401664 0%, #6A2DA6 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.contact-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 25px;
    border: 3px solid #3CF9D8;
}

.contact-info h3 {
    color: #401664;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-info p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.contact-info a {
    color: #000;
    text-decoration: none;
}

.contact-info a:hover {
    color: #333;
    text-decoration: underline;
}

.contact-map {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 25px;
    border: 3px solid #F5E663;
    overflow: hidden;
}

.contact-map img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

/* Footer */
.main-footer {
    background: #1a0a2e;
    color: #fff;
    padding: 60px 20px 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #3CF9D8;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3CF9D8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(60, 249, 216, 0.3);
    color: rgba(255, 255, 255, 0.7);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #401664, #6A2DA6);
    padding: 20px;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: bottom 0.5s ease;
    border-top: 3px solid #3CF9D8;
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    color: #fff;
    flex: 1;
    min-width: 250px;
}

.cookie-content a {
    color: #fff;
    text-decoration: underline;
}

.cookie-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #3CF9D8, #F5E663);
    color: #401664;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(60, 249, 216, 0.5);
}

/* Strony polityk */
.policy-page {
    min-height: 80vh;
    padding: 100px 20px;
    background: linear-gradient(135deg, #401664 0%, #6A2DA6 100%);
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 25px 70px rgba(60, 249, 216, 0.4);
    border: 4px solid;
    border-image: linear-gradient(135deg, #3CF9D8, #F5E663) 1;
}

.policy-container h1 {
    color: #401664;
    margin-bottom: 30px;
    font-size: 2.5rem;
    text-align: center;
}

.policy-container h2 {
    color: #6A2DA6;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.policy-container p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-container ul {
    margin-left: 30px;
    margin-bottom: 20px;
    color: #666;
}

.policy-container li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.policy-container a {
    color: #000;
    text-decoration: underline;
}

.policy-container a:hover {
    color: #333;
}

/* Strony dodatkowe */
.content-page {
    min-height: 80vh;
    padding: 100px 20px;
    background: linear-gradient(135deg, #401664 0%, #6A2DA6 100%);
}

.content-block {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 25px 70px rgba(60, 249, 216, 0.4);
    border: 4px solid;
    border-image: linear-gradient(135deg, #3CF9D8, #F5E663) 1;
}

.content-block h1 {
    color: #401664;
    margin-bottom: 30px;
    font-size: 2.5rem;
    text-align: center;
}

.content-block p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Strona podziękowania */
.thanks-page {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #401664 0%, #6A2DA6 100%);
    padding: 20px;
}

.thanks-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 25px 70px rgba(60, 249, 216, 0.4);
    border: 4px solid;
    border-image: linear-gradient(135deg, #3CF9D8, #F5E663) 1;
    max-width: 600px;
}

.thanks-content h1 {
    color: #401664;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.thanks-content p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.thanks-content a {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #3CF9D8, #F5E663);
    color: #401664;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.thanks-content a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(60, 249, 216, 0.5);
}

/* Animacje */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsywność */
@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(64, 22, 100, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .menu-toggle:checked ~ .nav-menu {
        transform: translateX(0);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 30px 20px;
    }

    .policy-container,
    .content-block {
        padding: 30px 20px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-btn {
        width: 100%;
    }

    .testimonial-card {
        min-width: 280px;
        padding: 30px 20px;
    }

    .testimonials-container {
        padding: 20px 0;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section {
        padding: 50px 20px;
    }

    .about-content,
    .form-container {
        padding: 25px 15px;
    }
}

