:root {
    --primary-color: #82baf2; /* Jaśniejszy błękit */
    --primary-hover: #a5cbf5;
    --accent-color: #e6a322; /* Ciepła, afrykańska żółć / ochra */
    --accent-hover: #f5ba4c;
    --bg-color: #0b132b; /* Ciemny granatowy */
    --text-color: #fdfbf7; /* Ciepła biel/krem */
    --text-light: #dcd5cc; /* Przygaszony krem */
    --light-gray: #1c2541; /* Jasny granatowy dla sekcji */
    --border-color: rgba(0, 180, 216, 0.25);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-color);
}

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

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-cta {
    background-color: #d62828;
    color: #ffffff;
    font-size: 1.2rem;
    padding: 18px 40px;
    border-radius: 10px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(214, 40, 40, 0.35);
}

.btn-cta:hover {
    background-color: #b21e1e;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(214, 40, 40, 0.45);
}

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

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

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--footer-bg, #070d19);
    color: #dcd5cc;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-banner a {
    color: var(--primary-color);
}

/* Navigation */
.navbar {
    padding: 20px 0;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo-muzo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--primary-color);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.85rem;
    color: var(--accent-color);
    letter-spacing: 1px;
    font-weight: 700;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--light-gray);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    text-align: justify;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

/* Content Section */
.content-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--light-gray);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.08);
    border-color: var(--primary-color);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s, transform 0.2s;
    z-index: 50;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.close-modal:hover {
    color: var(--accent-color);
    transform: scale(1.15);
}

.modal-content h2 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    background-color: var(--light-gray);
    color: var(--text-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    margin-top: 5px;
    cursor: pointer;
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: var(--footer-bg, #070d19);
    color: #dcd5cc;
    padding: 50px 0;
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-info h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-info p {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #cccccc;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

/* Roadmap/Ścieżka Rozwoju */
.roadmap-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.roadmap__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.roadmap-step {
    padding: 35px 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--light-gray);
}

.roadmap-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.roadmap-step__circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.roadmap-step__label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.roadmap-step h4 {
    font-size: 1.25rem;
    color: var(--roadmap-h4, #ffffff);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.roadmap-step p {
    font-size: 0.95rem;
    color: var(--roadmap-p, #dcd5cc);
    line-height: 1.5;
    font-family: var(--font-body);
}

/* Roadmap step colors */
.roadmap-step-1 { background-color: rgba(242,122,125,0.06); border-color: rgba(242,122,125,0.25); }
.roadmap-step-1 .roadmap-step__label { background-color: rgba(242,122,125,0.15); color: #f27a7d; }

.roadmap-step-2 { background-color: rgba(245,166,35,0.06); border-color: rgba(245,166,35,0.25); }
.roadmap-step-2 .roadmap-step__label { background-color: rgba(245,166,35,0.15); color: #f5a623; }

.roadmap-step-3 { background-color: rgba(162,117,227,0.06); border-color: rgba(162,117,227,0.25); }
.roadmap-step-3 .roadmap-step__label { background-color: rgba(162,117,227,0.15); color: #a275e3; }

.roadmap-step-4 { background-color: rgba(0,180,216,0.06); border-color: rgba(0,180,216,0.25); }
.roadmap-step-4 .roadmap-step__label { background-color: rgba(0,180,216,0.15); color: #00b4d8; }

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-image {
        order: -1;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.grid-2col {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .grid-2col {
        grid-template-columns: 1fr !important;
        gap: 40px;
        text-align: center;
    }
}

/* Theme Switcher Widget */
.theme-switcher-widget {
    position: fixed;
    left: 20px;
    bottom: 30px;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    gap: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    width: 220px;
}
.theme-switcher-widget h5 {
    margin: 0 0 5px 0;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
}
.theme-switcher-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: left;
    transition: all 0.2s ease;
    width: 100%;
}
.theme-switcher-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}
.theme-switcher-btn.active {
    background: #00b4d8;
    color: #0b132b;
    border-color: #00b4d8;
}
.theme-dot-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.theme-dot-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
@media (max-width: 768px) {
    .theme-switcher-widget {
        left: 10px;
        bottom: 75px;
        width: 170px;
        padding: 10px;
    }
    .theme-switcher-widget h5 {
        font-size: 0.65rem;
    }
    .theme-switcher-btn {
        padding: 6px 8px;
        font-size: 0.72rem;
        gap: 8px;
    }
}

/* About Grid layout helper */
.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
    align-items: center;
}
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 30px !important;
    }
}

/* Responsive Hero Grid */
.responsive-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 900px) {
    .responsive-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .responsive-hero-grid > div:last-child {
        order: -1; /* Zdjęcie nad tekstem na telefonie */
    }
    .responsive-hero-grid .logo-badge {
        margin: 0 auto 14px auto;
    }
    .responsive-hero-grid h1 {
        font-size: 1.8rem !important;
    }
    .responsive-hero-grid p {
        text-align: center;
    }
    .responsive-hero-grid > div > div[style*="display: flex"] {
        justify-content: center !important;
    }
}

/* WERSJA MOBILNA - POPRAWKI (odstępy, justowanie, nawigacja) */
@media (max-width: 768px) {
    /* Nawigacja mobilna */
    .navbar > div {
        flex-direction: column;
        padding: 15px !important;
        gap: 15px;
    }
    .navbar .logo {
        margin-right: 0 !important;
    }
    .navbar ul {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px 15px !important;
        width: 100%;
        margin-top: 10px !important;
    }
    .navbar ul li {
        text-align: center;
    }
    .navbar ul li:last-child {
        width: 100%;
        margin-top: 5px;
    }
    .navbar ul li a {
        display: inline-block;
        padding: 5px;
        font-size: 0.9rem !important;
    }
    
    /* Wyrównanie tekstów do lewej (aby zlikwidować luki po justowaniu) */
    p {
        text-align: left !important;
    }
    
    /* Zmniejszenie wielkości "białych pudełek" (feature-card itp.) */
    .feature-card {
        padding: 25px 20px !important;
    }
    .feature-card h3 {
        font-size: 1.25rem !important;
    }
    
    /* Zmniejszenie pudełek "Dla kogo" (mają inline padding) */
    #dla-kogo > div > div > div[style*="background: var(--light-gray)"] {
        padding: 20px 15px !important;
        gap: 15px !important;
        flex-direction: column;
    }
    
    /* Scieżka rozwoju pudełka */
    .roadmap-step {
        padding: 20px !important;
    }
    
    /* Zmniejszenie dużych białych/pogrubionych napisów na mobilkach */
    h1, h2, .section-title, h1[style*="font-size: 2.1rem"] {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
    }
    span[style*="font-size: 3.4rem"] {
        font-size: 2.2rem !important;
    }
    span[style*="font-size: 1.1rem"] {
        font-size: 0.95rem !important;
    }
    
    /* Zmniejszenie pustych przestrzeni (marginesów) między sekcjami */
    section[style*="padding: 80px 0"], .hero {
        padding: 40px 0 !important;
    }

    /* Zdjęcie Aleksandry z dzieckiem oraz pudełko O Mnie - estetyczny rozmiar na telefonie */
    .about-image {
        max-width: 220px !important;
        margin: 0 auto 15px auto !important;
        display: block !important;
    }
    .about-grid {
        padding: 25px 20px !important;
    }
}
