:root {
    /* PALETA: Cyberpunk Agro (Wersja z pomarańczem) */
    --bg-dark: #050a0e;       /* Głęboka czerń (Baza) */
    --bg-panel: rgba(20, 30, 25, 0.7); /* Półprzezroczyste szkło */
    
    /* Naturalna zieleń (Crop Green) */
    --primary: #22c55e;       
    --primary-glow: rgba(34, 197, 94, 0.4);
    
    /* Pomarańczowy akcent */
    --accent: #e86c35;        
    
    --text-main: #ecfdf5;     /* Złamana biel */
    --text-muted: #9ca3af;    /* Szary techniczny */
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --radius: 12px;           /* Zaokrąglenia */
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow: hidden;
    /* TŁO: Mapa topograficzna */
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(34, 197, 94, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(232, 108, 53, 0.08), transparent 25%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2322c55e' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* LISTY */
ul { 
    margin-top: 1vh; 
    list-style: none; /* <--- TO DODAJ (usuwa domyślną kropkę) */
    padding: 0;       /* <--- TO TEŻ WARTO DODAĆ (usuwa domyślne wcięcie) */
}

li { 
    margin: 1.5vh 0; 
    padding-left: 30px; 
    position: relative; 
}

li::before {
    content: "●";
    position: absolute; left: 0; 
    color: var(--accent);
    font-size: 0.8em; top: 0.1em;
}
/* --- LOGO W NAROŻNIKU --- */
.logo_corner {
    position: fixed;
    top: 25px;
    left: 30px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo_corner img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
    transition: transform 0.3s ease;
}
.logo_corner img:hover { transform: scale(1.05); }

/* --- UKŁAD PREZENTACJI --- */
.presentation {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    width: 100%;
    height: 100vh;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* ZMIANA: Zwiększony górny padding do 15vh (było 12vh) */
    padding: 16vh 5vw 8vh 5vw; 
    overflow: hidden;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active { display: flex; }

/* CENTROWANIE TYTUŁOWEJ */
.title-slide {
    text-align: center;
}
.title-slide .meta-info {
    margin-left: auto;
    margin-right: auto;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- TREŚĆ --- */
.content {
    width: 100%;
    max-width: 1400px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- TYPOGRAFIA --- */
h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vh, 4.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2vh;
    text-align: center;
    text-shadow: 0 10px 30px rgba(34, 197, 94, 0.2);
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 4vh, 3rem);
    color: var(--text-main);
    margin-bottom: 3vh;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    background: var(--accent);
    margin-top: 8px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(232, 108, 53, 0.4);
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.2rem, 2.5vh, 1.8rem);
    color: var(--primary);
    margin-bottom: 2vh;
    margin-top: 2vh;
    font-weight: 600;
}

h4 {
    color: var(--primary);
    font-size: clamp(1rem, 2vh, 1.3rem);
    margin-bottom: 1vh;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

p, li, .tech-value {
    font-size: clamp(0.9rem, 2vh, 1.15rem);
    line-height: 1.6;
    color: #d1d5db;
}

.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2.2vh, 1.5rem);
    color: var(--accent);
    margin-bottom: 4vh;
    text-align: center;
    letter-spacing: 1px;
    font-weight: 500;
}

/* LISTY */
ul { margin-top: 1vh; }
li { margin: 1.5vh 0; padding-left: 30px; position: relative; }
li::before {
    content: "●";
    position: absolute; left: 0; 
    color: var(--accent);
    font-size: 0.8em; top: 0.1em;
}

/* --- UKŁADY I KARTY --- */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4vw;
    width: 100%;
    margin-top: 2vh;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5vh;
    width: 100%;
    margin-top: 2vh;
}

.feature-card, .stat-box, .tech-item {
    background: var(--bg-panel);
    border: var(--glass-border);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius);
    padding: 2.5vh 2vw;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover, .stat-box:hover {
    transform: translateY(-5px);
    border-left-color: var(--accent);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vh, 3.5rem);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* TECH STACK */
.tech-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5vh;
    margin-top: 2vh;
}
.tech-value {
    color: #fff;
    font-weight: 600;
    font-size: 1.3rem;
}

/* --- ELEMENTY DODATKOWE --- */
.meta-info {
    font-size: 1rem;
    background: rgba(255,255,255,0.03);
    padding: 2vh 4vw;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.05);
    margin-top: 5vh;
    display: inline-block;
}
.meta-info p { margin: 5px 0; color: #cbd5e1; }
.meta-info strong { color: var(--primary); }

/* TERMINAL / KOD */
pre {
    background: #090f14;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Courier New', monospace;
    width: 100%;
    margin-top: 20px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}
code { color: var(--primary); }
.keyword { color: var(--accent); } 

/* OBRAZKI */
/* Zaktualizowana klasa .image-placeholder (bez ramki i tła) */
.image-placeholder {
    width: 100%;
    height: auto;
    min-height: 200px; /* Minimalna wysokość, żeby nie zniknęło */
    background: transparent; /* Przezroczyste tło */
    border: none; /* Brak ramki */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2vh 0;
    position: relative;
}


/* LOGO GŁÓWNE */
.main-title-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 3vh;
}
.main-title-logo img {
    max-width: 80vw;
    max-height: 35vh;
    filter: drop-shadow(0 0 30px rgba(34, 197, 94, 0.2));
    animation: fadeIn 1s ease-out;
}

/* --- NAWIGACJA --- */
.controls {
    position: fixed;
    bottom: 25px;
    right: 30px;
    display: flex;
    gap: 12px;
    z-index: 1000;
}

button {
    background: rgba(0,0,0,0.3);
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

button:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary-glow);
}

.slide-counter {
    position: fixed;
    bottom: 30px;
    left: 30px;
    color: var(--text-muted);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--accent);
    box-shadow: 0 -2px 10px rgba(232, 108, 53, 0.5);
    transition: width 0.3s;
    z-index: 999;
}

.logo, .logo:after, .title-slide h1 { display: none; }

/* --- MOBILE --- */
@media (max-width: 768px) {
    body { overflow: auto; }
    .slide { height: auto; min-height: 100vh; overflow-y: visible; padding: 80px 20px 60px 20px; justify-content: flex-start; }
    .content { max-height: none; }
    .two-column, .feature-grid, .tech-stack { grid-template-columns: 1fr; gap: 20px; }
    .controls { background: rgba(0,0,0,0.8); padding: 8px; border-radius: 20px; }
    .logo_corner img { height: 35px; }
}