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

:root {
    --primary: #2d5a7b;
    --primary-dark: #1e3d52;
    --secondary: #e8a849;
    --accent: #7fb069;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Navigation */
.nav-floating {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.nav-toggle {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: none;
    min-width: 220px;
}

.nav-menu.active {
    display: block;
}

.nav-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--dark);
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 500;
}

.nav-menu a:hover {
    background: var(--gray-light);
    color: var(--primary);
}

/* Hero Section */
.hero-funnel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero-funnel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800'%3E%3Ccircle cx='400' cy='400' r='300' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='2'/%3E%3Ccircle cx='400' cy='400' r='200' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='2'/%3E%3Ccircle cx='400' cy='400' r='100' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 60px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--secondary);
    color: var(--dark);
}

.btn-primary:hover {
    background: #d4962f;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 168, 73, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-dark {
    background: var(--primary);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background: #6a9a57;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--light);
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-gradient {
    background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
}

/* Problem Section */
.problem-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.problem-card {
    flex: 1 1 280px;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    border-left: 4px solid var(--secondary);
}

.problem-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), #f4c67a);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.problem-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--white);
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.problem-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Story Section */
.story-flow {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.story-block {
    display: flex;
    align-items: center;
    gap: 60px;
}

.story-block:nth-child(even) {
    flex-direction: row-reverse;
}

.story-image {
    flex: 1;
    position: relative;
}

.story-image img {
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.story-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: var(--secondary);
    border-radius: 24px;
    z-index: -1;
    opacity: 0.3;
}

.story-text {
    flex: 1;
}

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

.story-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--gray);
}

/* Benefits Section */
.benefits-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 60px;
}

.benefit-item {
    flex: 1 1 350px;
    display: flex;
    gap: 25px;
    padding: 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.benefit-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.benefit-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.benefit-content p {
    opacity: 0.8;
    line-height: 1.7;
}

/* Testimonials */
.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    flex: 0 0 400px;
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    scroll-snap-align: start;
}

.testimonial-quote {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-info h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.testimonial-info span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Services/Pricing */
.pricing-reveal {
    margin-top: 60px;
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.pricing-card {
    flex: 1 1 320px;
    max-width: 380px;
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 3px solid var(--secondary);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Najpopularniejszy';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--secondary);
    color: var(--dark);
    padding: 8px 50px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-tier {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.pricing-desc {
    color: var(--gray);
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--gray-light);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
}

.pricing-card .btn {
    width: 100%;
}

/* Form Section */
.form-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
}

.form-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
}

.form-content {
    flex: 1;
}

.form-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.form-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.form-benefits {
    list-style: none;
}

.form-benefits li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.form-benefits li::before {
    content: '→';
    color: var(--secondary);
    font-weight: 700;
}

.form-box {
    flex: 1;
    background: var(--white);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.form-box h3 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(45, 90, 123, 0.1);
}

.form-box .btn {
    width: 100%;
    padding: 18px;
    font-size: 18px;
    margin-top: 10px;
}

/* Urgency Banner */
.urgency-banner {
    background: var(--secondary);
    color: var(--dark);
    padding: 20px;
    text-align: center;
}

.urgency-banner p {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 15px 20px;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.15);
    z-index: 999;
    display: none;
}

.sticky-cta.visible {
    display: block;
}

.sticky-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.sticky-cta p {
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand {
    flex: 1 1 300px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand p {
    opacity: 0.7;
    line-height: 1.8;
}

.footer-links {
    flex: 1 1 200px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    padding: 8px 0;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 25px;
    z-index: 10000;
    display: none;
}

.cookie-banner.visible {
    display: block;
}

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-inner p {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.cookie-accept {
    background: var(--secondary);
    color: var(--dark);
}

.cookie-reject {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

/* Thanks Page */
.thanks-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
}

.thanks-content {
    max-width: 600px;
}

.thanks-icon {
    width: 120px;
    height: 120px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
}

.thanks-icon svg {
    width: 60px;
    height: 60px;
    fill: var(--white);
}

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

.thanks-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Inner Pages */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 140px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.page-content {
    padding: 80px 0;
}

.page-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--primary);
}

.page-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.9;
    color: var(--gray);
}

.page-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.page-content li {
    margin-bottom: 12px;
    line-height: 1.8;
    color: var(--gray);
}

/* About Page */
.about-hero {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-hero-image {
    flex: 1;
}

.about-hero-image img {
    border-radius: 24px;
}

.about-hero-text {
    flex: 1;
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    flex: 1 1 280px;
    padding: 40px;
    background: var(--light);
    border-radius: 20px;
    text-align: center;
}

.value-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Services Page */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-row {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.service-row:nth-child(even) {
    flex-direction: row-reverse;
}

.service-info {
    flex: 2;
}

.service-info h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-info p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-price-box {
    flex: 1;
    text-align: center;
    padding: 30px;
    background: var(--light);
    border-radius: 16px;
}

.service-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.service-price span {
    font-size: 1rem;
    color: var(--gray);
}

/* Contact Page */
.contact-grid {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--gray);
}

.contact-form-box {
    flex: 1;
    background: var(--light);
    padding: 50px;
    border-radius: 24px;
}

/* Responsive */
@media (max-width: 992px) {
    .story-block,
    .story-block:nth-child(even),
    .about-hero,
    .service-row,
    .service-row:nth-child(even),
    .form-wrapper,
    .contact-grid {
        flex-direction: column;
    }

    .pricing-card.featured {
        transform: none;
    }

    .testimonial-card {
        flex: 0 0 320px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .sticky-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .form-box {
        padding: 30px;
    }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-floating {
        top: 10px;
        right: 10px;
    }

    .hero-content {
        padding: 40px 0;
    }
}
