/* ========================================================== */
/* Plik: main.css - WERSJA FINALNA (Pionowa Lista + Duże Logo + Wyraźna Mapa) */
/* ========================================================== */

/* 0. ZMIENNE I KOLORY */
/* ========================================================== */
:root {
    /* Paleta Terralyst */
    --color-dark-graphite: #1a1a2e; /* Tło Dark Mode */
    --color-turkus: #00bcd4; /* Główny Akcent */
    --color-turkus-glow: rgba(0, 188, 212, 0.6); /* Poświata dla logo */
    --color-light-gray: #f4f4f9; /* Tło Light Mode */
    --color-white: #ffffff;
    --color-text-light: #e0e0eb;
    --color-text-dark: #333333;
    --color-cta-text: #121221; /* Ciemny tekst na przyciskach */
    
    --font-primary: 'Inter', sans-serif;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    background-color: var(--color-light-gray);
    color: var(--color-text-dark);
}

a { text-decoration: none; color: var(--color-turkus); transition: 0.3s; }

/* ========================================================== */
/* 1. LAYOUT I TYPOGRAFIA */
/* ========================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 80px 0; }

/* Motywy */
.dark-theme {
    background: linear-gradient(145deg, var(--color-dark-graphite) 0%, #0f0f20 100%);
    color: var(--color-text-light);
}

.light-theme {
    background-color: var(--color-light-gray);
    color: var(--color-text-dark);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.dark-theme .section-title { color: var(--color-white); }

.section-subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 60px;
    color: rgba(51, 51, 51, 0.7);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.dark-theme .section-subtitle { color: rgba(224, 224, 235, 0.7); }

/* ========================================================== */
/* 2. PRZYCISKI (CTA) */
/* ========================================================== */
.cta-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
}

.primary-cta {
    background-color: var(--color-turkus);
    color: var(--color-cta-text);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
}

.primary-cta:hover {
    background-color: #00acc1;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 188, 212, 0.6);
}

.secondary-cta {
    background-color: transparent;
    border: 2px solid var(--color-turkus);
    color: var(--color-turkus);
    margin-right: 15px;
}

.secondary-cta:hover {
    background-color: var(--color-turkus);
    color: var(--color-cta-text);
}

/* ========================================================== */
/* 3. HERO SECTION - POPRAWKI (Logo, Lista, Mapa) */
/* ========================================================== */
#hero-section {
    padding-top: 20px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

/* --- LOGO "STATEMENT" --- */
.logo {
    display: flex;
    align-items: center;
    z-index: 10;
}

.logo img {
    height: 280px; 
    width: auto;
    filter: drop-shadow(0 0 30px var(--color-turkus-glow));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo img:hover {
    transform: scale(1.05);
}

/* --- NOWY KONTENER DLA JĘZYKA I LINKÓW --- */
.navbar-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* --- LANGUAGE SELECTOR --- */
.language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 400;
    color: var(--color-text-light);
    flex-wrap: wrap; /* Pozwala na przenoszenie do nowej linii */
    justify-content: flex-end; /* Wyrównuje do prawej */
    min-width: 120px; /* Opcjonalne: minimalna szerokość */
}
.language-selector .lang-option {
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.15s ease;
    opacity: 0.8;
}

.language-selector .lang-option:hover,
.language-selector .lang-option.active {
    opacity: 1;
    font-weight: 600;
    color: var(--color-turkus);
}

.language-selector .lang-separator {
    color: rgba(255, 255, 255, 0.4);
}

/* Linki nawigacji */
.nav-links {
    display: flex;
    align-items: center;
    z-index: 10;
}

.nav-links a {
    color: var(--color-text-light);
    margin-left: 30px;
    font-weight: 500;
    font-size: 15px;
}

.nav-links a:hover { color: var(--color-turkus); }

/* --- TREŚĆ HERO I LISTA PIONOWA --- */
.hero-content {
    max-width: 600px;
    margin-top: 20px;
    z-index: 5;
    position: relative;
}

.hero-headline {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--color-white);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.feature-item {
    font-weight: 600;
    color: var(--color-turkus);
    background: rgba(0, 188, 212, 0.08);
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid rgba(0, 188, 212, 0.3);
    width: fit-content;
    font-size: 15px;
}

.large-cta {
    padding: 18px 40px;
    font-size: 18px;
}

.hero-graphic {
    position: absolute;
    top: 55%;
    right: -20px;
    transform: translateY(-50%);
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
}

.hero-graphic img {
    width: 850px;
    filter: drop-shadow(0 0 20px rgba(0, 188, 212, 0.2)); 
}

/* ========================================================== */
/* 4. PROBLEM I ROZWIĄZANIE */
/* ========================================================== */
.comparison-grid {
    display: flex;
    gap: 40px;
}

.problem-block, .solution-block {
    flex: 1;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background: var(--color-white);
}

.problem-block { border-top: 6px solid #ff4757; }
.solution-block { border-top: 6px solid var(--color-turkus); }

.problem-block h3 { color: #ff4757; margin-bottom: 20px; font-size: 24px;}
.solution-block h3 { color: var(--color-turkus); margin-bottom: 20px; font-size: 24px;}

.problem-block ul, .solution-block ul { list-style: none; }
.problem-block li, .solution-block li {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
}

.icon-danger { color: #ff4757; margin-right: 12px; font-weight: bold; }
.icon-success { color: var(--color-turkus); margin-right: 12px; font-weight: bold; }

/* ========================================================== */
/* 5. POZOSTAŁE SEKCJE */
/* ========================================================== */

.analysis-steps {
    display: flex;
    align-items: center;
    gap: 50px;
}
.analysis-description { flex: 1; }
.analysis-graphic { flex: 1; text-align: center; }
.analysis-graphic img { max-width: 100%; filter: hue-rotate(-15deg); }

.key-value-prop {
    font-size: 22px;
    color: var(--color-turkus);
    font-weight: 600;
    margin-bottom: 30px;
    border-left: 4px solid var(--color-turkus);
    padding-left: 20px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.process-step {
    background: var(--color-white);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.process-step:hover { transform: translateY(-5px); }
.process-step img { height: 60px; margin-bottom: 15px; }
.process-step h4 { color: var(--color-dark-graphite); margin-bottom: 10px; font-weight: 700; }

.security-blocks {
    display: flex;
    align-items: center;
    gap: 50px;
}
.security-graphic { flex: 1; text-align: center;}
.security-graphic img { width: 80%; }
.security-features { flex: 1; }
.feature-block h4 { color: var(--color-turkus); font-size: 20px; margin-bottom: 5px; }
.feature-block p { margin-bottom: 30px; color: #ccc; }

.pricing-grid { display: flex; justify-content: center; gap: 30px; margin-bottom: 50px;}
.pricing-card {
    flex: 1; max-width: 350px; padding: 40px; background: white;
    border-radius: 12px; text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}
.featured-card { border: 3px solid var(--color-turkus); transform: scale(1.05); }
.price-tag { font-size: 40px; font-weight: 900; color: var(--color-dark-graphite); margin: 10px 0; }

/* ========================================================== */
/* 6. STOPKA I RWD (Responsywność) */
/* ========================================================== */
footer {
    background: #0b0b12;
    padding: 30px 0;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* MOBILE */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .logo img {
        height: 120px; 
        margin-bottom: 20px;
    }
    
    .navbar-controls {
        align-items: center;
    }
    
    .nav-links { 
        display: none; 
    }
    
    .language-selector {
        display: none;
    }
    
    .hero-headline { font-size: 38px; text-align: center; }
    .hero-subtitle { text-align: center; }
    .hero-content { text-align: center; margin-top: 10px;}
    .hero-features { align-items: center; }
    
    .comparison-grid, .analysis-steps, .security-blocks, .pricing-grid {
        flex-direction: column;
    }
    
    .hero-graphic { opacity: 0.15; right: -200px; }
}