:root {
    --primary: #6BBF99; /* Przyjazna zieleń/mięta */
    --primary-dark: #52a37f;
    --secondary: #F294A6; /* Ciepły pudrowy róż */
    --accent: #F9C846; /* Słoneczny żółty */
    --text-dark: #2C3E50;
    --text-light: #5A6A7A;
    --bg-main: #FAFBFC;
    --bg-white: #FFFFFF;
    --border: #E1E8ED;
    --shadow: 0 10px 30px rgba(107, 191, 153, 0.1);
    --shadow-hover: 0 15px 40px rgba(107, 191, 153, 0.2);
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

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

main {
    flex: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white !important;
    box-shadow: 0 4px 15px rgba(107, 191, 153, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 191, 153, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white !important;
    box-shadow: 0 4px 15px rgba(242, 148, 166, 0.3);
}

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

/* Header & Nav - Modern Full-Width Glassmorphism */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: rgba(255, 255, 255, 0.95); /* Prawie pełny kolor, brak mocnych przebić */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark) !important;
    line-height: 1;
}

.logo-accent {
    color: var(--primary);
}

.logo-sub {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-light);
    margin-top: 4px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 14px;
    border-radius: 50px;
    position: relative;
    transition: color 0.3s ease;
    z-index: 1;
    white-space: nowrap; /* Zapobiega przełamywaniu długich nazw na dwie linie */
}

.main-nav a::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(107, 191, 153, 0.15);
    border-radius: 50px;
    z-index: -1;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.main-nav a:hover::before {
    transform: scale(1);
    opacity: 1;
}

.main-nav a:hover {
    color: var(--primary-dark);
}

.btn-nav {
    background-color: var(--accent);
    color: var(--text-dark) !important;
    border-radius: 50px !important;
    padding: 12px 28px !important;
    box-shadow: 0 4px 15px rgba(249, 200, 70, 0.3);
}

.btn-nav:hover {
    background-color: #e5b63b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 200, 70, 0.4);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin-bottom: 5px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f9f4 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(107, 191, 153, 0.1);
    color: var(--primary-dark);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

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

.bg-light {
    background-color: #f8fafc;
}

/* Card */
.card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

/* Split Layout (Text + Image) */
.split-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.split-text {
    flex: 1;
}

.split-image {
    flex: 1;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.split-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* Feature List (Dla kogo) */
.feature-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.feature-list li {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    transition: var(--transition);
    width: calc(25% - 15px); /* Maksymalnie 4 w rzędzie z uwzględnieniem gap */
    min-width: 260px;
    max-width: 300px;
}

.feature-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(107, 191, 153, 0.15);
}

.feature-icon {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    border-top: 4px solid var(--secondary);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    color: rgba(242, 148, 166, 0.2);
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* Footer */
.main-footer {
    background-color: var(--text-dark);
    color: white;
    padding-top: 60px;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column p {
    color: #a0aec0;
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #a0aec0;
}

.footer-column a:hover {
    color: var(--primary);
}

.phone-number a {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: bold;
}

.small-text {
    font-size: 0.8rem;
    margin-top: 5px;
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 90px;
        left: 5%;
        width: 90%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        padding: 30px;
        border-radius: 24px;
        border: 1px solid rgba(255,255,255,0.8);
    }

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

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
}

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

    h2 {
        font-size: 1.8rem;
    }

    .section {
        padding: 40px 0;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .card {
        padding: 25px;
    }

    .split-layout {
        flex-direction: column;
        text-align: center;
    }
    
    .split-layout h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-column h3 {
        margin-bottom: 15px;
    }
}

/* =========================================
   Floating Shapes & Modern Animations 
   ========================================= */
.floating-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
    pointer-events: none;
}

.shape-1 {
    width: 350px;
    height: 350px;
    background: var(--primary);
    top: 150px; /* Przesunięte w dół, aby nie wchodziło na header */
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 450px;
    height: 450px;
    background: var(--secondary);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
    animation-duration: 25s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    top: 40%;
    left: 60%;
    animation-delay: -10s;
    animation-duration: 18s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Enhancements for interactivity */
.card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::after {
    width: 300%;
    height: 300%;
}

