:root {
    --primary: #2d5a7b;
    --primary-dark: #1e3d52;
    --secondary: #e8a849;
    --accent: #3d8b6e;
    --text: #2c3e50;
    --text-light: #5a6c7d;
    --bg-light: #f8f9fa;
    --bg-warm: #fdf6e9;
    --bg-cool: #e9f2f8;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 6px;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

p { margin-bottom: 1rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 16px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

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

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

.btn-secondary:hover {
    background: #d69a3a;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--bg-cool) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%232d5a7b" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 60px;
    transform: rotate(15deg);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--text);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

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

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(45,90,123,0.15);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

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

.section-warm {
    background: var(--bg-warm);
}

.section-cool {
    background: var(--bg-cool);
}

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

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255,255,255,0.85);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.problem-card {
    flex: 1;
    min-width: 280px;
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary);
}

.problem-card h3 {
    margin-bottom: 16px;
    color: var(--primary-dark);
}

/* Story Section */
.story-block {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

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

.story-text {
    flex: 1;
}

.story-image {
    flex: 1;
}

.story-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.story-quote {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--primary);
    padding: 24px 32px;
    border-left: 4px solid var(--secondary);
    background: rgba(232,168,73,0.1);
    margin: 24px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* Benefits */
.benefits-flow {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-cool);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
}

.benefit-content h3 {
    margin-bottom: 8px;
}

/* Services/Pricing */
.services-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.service-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-card.featured {
    border: 2px solid var(--secondary);
    position: relative;
}

.service-card.featured::before {
    content: 'Najpopularniejszy';
    position: absolute;
    top: 16px;
    right: -32px;
    background: var(--secondary);
    color: var(--text);
    padding: 6px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.service-header {
    padding: 32px;
    background: var(--bg-cool);
    text-align: center;
}

.service-header h3 {
    margin-bottom: 8px;
}

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

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

.service-body {
    padding: 32px;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

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

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

.testimonial-card {
    min-width: 350px;
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    scroll-snap-align: start;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
    padding-left: 24px;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--secondary);
    line-height: 1;
}

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

.testimonial-avatar {
    width: 56px;
    height: 56px;
    background: var(--bg-cool);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
}

.testimonial-info strong {
    display: block;
    color: var(--primary-dark);
}

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

/* Trust Elements */
.trust-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    width: 72px;
    height: 72px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.trust-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--primary);
}

/* Form Styles */
.form-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 100px 0;
}

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

.form-info {
    flex: 1;
    color: var(--white);
}

.form-info h2 {
    color: var(--white);
    margin-bottom: 24px;
}

.form-info p {
    opacity: 0.9;
    margin-bottom: 16px;
}

.form-container {
    flex: 1;
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px 32px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 32px 24px;
    max-height: 500px;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 16px 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 999;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

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

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255,255,255,0.8);
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 500px;
    background: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius);
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
    z-index: 10000;
    display: none;
}

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

.cookie-banner p {
    margin-bottom: 16px;
    font-size: 0.95rem;
}

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

.cookie-buttons .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Thanks Page */
.thanks-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px;
    background: linear-gradient(135deg, var(--bg-cool) 0%, var(--white) 100%);
}

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

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

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

.thanks-content h1 {
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.thanks-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

/* Page Headers */
.page-header {
    padding: 140px 0 60px;
    background: var(--bg-cool);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 16px;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Content Pages */
.content-page {
    padding: 60px 0;
}

.content-page h2 {
    margin: 40px 0 20px;
    color: var(--primary-dark);
}

.content-page h3 {
    margin: 30px 0 16px;
}

.content-page ul,
.content-page ol {
    margin: 16px 0 16px 24px;
}

.content-page li {
    margin-bottom: 8px;
}

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

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

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

.contact-item-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.contact-item h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

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

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

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

.about-hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
}

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

.value-card {
    flex: 1;
    min-width: 250px;
    padding: 36px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.value-card h3 {
    margin: 16px 0 12px;
}

/* Urgency Elements */
.urgency-banner {
    background: var(--secondary);
    padding: 16px;
    text-align: center;
}

.urgency-banner p {
    margin: 0;
    font-weight: 600;
    color: var(--text);
}

/* Inline CTA */
.inline-cta {
    background: var(--bg-warm);
    padding: 48px;
    border-radius: var(--radius);
    text-align: center;
    margin: 40px 0;
}

.inline-cta h3 {
    margin-bottom: 16px;
}

.inline-cta p {
    margin-bottom: 24px;
    color: var(--text-light);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .hamburger {
        display: flex;
    }

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .story-block,
    .story-block:nth-child(even) {
        flex-direction: column;
    }

    .form-wrapper {
        flex-direction: column;
    }

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

    .contact-grid {
        flex-direction: column;
    }

    .footer-grid {
        flex-direction: column;
        gap: 40px;
    }

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

    .cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .testimonials-slider {
        flex-direction: column;
    }

    .testimonial-card {
        min-width: 100%;
    }
}

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

    .form-container {
        padding: 32px 24px;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 1rem;
    }
}
