/* --- Zmienne i Globalne Style --- */
:root {
    --primary-color: #a6cabc;
    --secondary-accent-color: #8cb9c8;
    --dark-bg: #000000; 
    --light-bg: #FFFFFF;
    --secondary-light-bg: #f5f5f7;
    --dark-text: #1d1d1f;
    --light-text: #f5f5f7;
    --light-text-secondary: #a1a1a6;
    --border-color: #e5e5e5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--dark-text); background-color: var(--light-bg); -webkit-font-smoothing: antialiased; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Pasek Odliczania --- */
#countdown-banner {
    display: none;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-accent-color));
    color: var(--dark-text);
    padding: 12px 0;
    text-align: center;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 1001;
}
#countdown-banner .container { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.countdown-timer { display: flex; gap: 15px; }
.timer-block { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.timer-block span { font-size: 1.8rem; font-weight: 700; }
.timer-block .label { font-size: 0.7rem; font-weight: 500; opacity: 0.8; text-transform: uppercase; }
#countdown-text { font-size: 1.1rem; }

/* --- Nagłówek --- */
#main-header { position: sticky; top: 0; width: 100%; z-index: 1000; padding: 15px 0; background: transparent; transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-bottom 0.4s ease; }
#main-header.scrolled { background-color: rgba(255, 255, 255, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); }
#main-header.with-banner { top: 57px; } /* Dostosowanie pozycji, gdy banner jest widoczny */
#main-header nav { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 40px; }
#main-header nav ul { list-style: none; display: flex; gap: 40px; margin-right: auto; margin-left: 50px;}
#main-header nav ul li a { color: var(--dark-text); font-weight: 500; text-decoration: none; transition: color 0.3s ease; }
#main-header nav ul li a:hover { color: var(--primary-color); }
.nav-controls { display: flex; align-items: center; gap: 20px; }
.language-switcher { display: flex; gap: 8px; background-color: var(--secondary-light-bg); padding: 6px; border-radius: 50px; border: 1px solid var(--border-color); }
.lang-option { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; text-decoration: none; font-size: 1.5rem; cursor: pointer; transition: all 0.3s ease; opacity: 0.6; }
.lang-option.active { background-color: var(--light-bg); box-shadow: 0 2px 5px rgba(0,0,0,0.1); opacity: 1; }
.lang-option:not(.active):hover { transform: scale(1.1); opacity: 1; }

/* --- Przyciski --- */
.cta-button { background-image: linear-gradient(45deg, var(--primary-color), var(--secondary-accent-color)); color: var(--dark-text); padding: 12px 28px; border-radius: 50px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; display: inline-block; border: none; }
.cta-button:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 20px rgba(166, 202, 188, 0.4), 0 0 25px rgba(140, 185, 200, 0.3); }
.cta-button-secondary { background: rgba(0,0,0,0.05); color: var(--dark-text); padding: 12px 28px; border-radius: 50px; font-weight: 500; text-decoration: none; transition: background-color 0.3s ease; }
.cta-button-secondary:hover { background-color: rgba(0,0,0,0.08); }
.cta-button-secondary i { margin-left: 8px; transition: transform 0.3s ease; }
.cta-button-secondary:hover i { transform: translateY(3px); }

/* --- Reszta stylów bez zmian... --- */
#hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; background-color: var(--secondary-light-bg); }
.aurora-background { position: absolute; top: 0; left: 0; right: 0; bottom: 0; filter: blur(120px) saturate(150%); transform: scale(1.5); }
.aurora-shape { position: absolute; border-radius: 50%; opacity: 0.3; mix-blend-mode: screen; }
.aurora-shape.shape1 { width: 600px; height: 600px; background-color: var(--primary-color); top: -20%; left: -10%; animation: aurora-move 20s infinite alternate ease-in-out; }
.aurora-shape.shape2 { width: 500px; height: 500px; background-color: var(--secondary-accent-color); bottom: -15%; right: -10%; animation: aurora-move 25s infinite alternate ease-in-out reverse; }
.aurora-shape.shape3 { width: 400px; height: 400px; background-color: #c9bde4; top: 20%; right: 20%; animation: aurora-move 18s infinite alternate ease-in-out; }
@keyframes aurora-move { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(100px, 50px) rotate(45deg); } }
.hero-content-wrapper { perspective: 1000px; }
.hero-content { position: relative; z-index: 2; transition: transform 0.1s ease-out; background: rgba(255,255,255,0.4); padding: 50px; border-radius: 20px; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.5); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.hero-content h1 { font-size: 4.5rem; font-weight: 700; margin-bottom: 20px; line-height: 1.1; }
.gradient-text { background-image: linear-gradient(45deg, var(--dark-text), #5f7488); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-content p { font-size: 1.25rem; max-width: 650px; margin: 0 auto 40px; color: #333; line-height: 1.7; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
#pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 100px 0; }
.pillar-card { text-align: center; }
.pillar-card i { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.pillar-card h4 { font-size: 1.5rem; margin-bottom: 10px; }
.pillar-card p { font-size: 1.1rem; color: #555; }
#features { padding-top: 120px; padding-bottom: 60px; background-color: var(--dark-bg); color: var(--light-text); }
.features-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-start; }
.features-sticky-visual { position: sticky; top: 120px; height: 80vh; perspective: 1500px; }
.image-container { width: 100%; height: 100%; position: relative; }
#sticky-image { width: 100%; height: auto; max-height: 100%; object-fit: contain; position: absolute; top: 50%; left: 50%; border-radius: 24px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 40px rgba(166, 202, 188, 0.2); border: 1px solid #333; transition: opacity 0.6s ease, transform 0.6s ease; transform: translate(-50%, -50%) scale(0.95) rotateY(0deg); }
.features-scroll-content { padding-bottom: 50vh; }
.feature-point { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; }
.feature-point h3 { font-size: 3rem; font-weight: 600; color: var(--light-text); line-height: 1.2; margin-bottom: 15px; }
.feature-point h3::before { content: ''; display: block; width: 50px; height: 4px; background: linear-gradient(90deg, var(--primary-color), var(--secondary-accent-color)); margin-bottom: 20px; border-radius: 2px;}
.feature-point p { font-size: 1.2rem; color: var(--light-text-secondary); line-height: 1.8; }
#advantage { padding: 120px 0; background-color: #111; color: var(--light-text); }
.section-title { text-align: center; font-size: 3rem; margin-bottom: 20px; }
.section-subtitle { text-align: center; font-size: 1.2rem; max-width: 600px; margin: 0 auto 60px; color: var(--light-text-secondary); }
.comparison-table { background: #161b22; border: 1px solid #30363d; border-radius: 15px; overflow: hidden; }
.table-header, .table-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; padding: 20px; align-items: center; text-align: center; }
.table-header { background: #1f242c; font-weight: 600; font-size: 1.1rem; }
.table-row { border-top: 1px solid #30363d; }
.feature-name { text-align: left; font-weight: 500; }
.check { color: #23d183; }
.neutral { color: #666; }
.cross { color: #ff6b6b; }
.table-row i { margin-right: 8px; }
#gallery { padding: 120px 0; background-color: var(--secondary-light-bg); }
.section-title-dark { text-align: center; font-size: 3rem; margin-bottom: 60px; color: var(--dark-text); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; grid-auto-flow: dense; }
.gallery-item { border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.gallery-item:hover { transform: scale(1.03); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
#cta { padding: 100px 0; }
.cta-content { position: relative; text-align: center; padding: 80px 40px; border-radius: 20px; background-color: var(--dark-bg); color: var(--light-text); overflow: hidden; }
.cta-content .cta-image { max-width: 150px; margin-bottom: 30px; }
.cta-content h2 { font-size: 2.8rem; margin-bottom: 15px; color: var(--light-bg); }
.cta-content p { max-width: 600px; margin: 0 auto 30px; line-height: 1.7; color: var(--light-text-secondary);}
#main-footer { background: var(--secondary-light-bg); color: #555; padding: 60px 0; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-col .logo img { height: 35px; margin-bottom: 15px; }
.footer-col h4 { color: var(--dark-text); margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #555; text-decoration: none; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--primary-color); }
.social-links a { display: inline-block; color: #555; font-size: 1.5rem; margin-right: 15px; transition: color 0.3s, transform 0.3s; }
.social-links a:hover { color: var(--dark-text); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 20px; margin-top: 40px; text-align: center; font-size: 0.9rem; }
.lightbox { display: none; position: fixed; z-index: 2000; padding-top: 60px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.95); }
.lightbox-content { margin: auto; display: block; max-width: 85%; max-height: 85vh; animation: lightbox-zoom 0.4s ease;}
@keyframes lightbox-zoom { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox-close { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; }
.lightbox-close:hover, .lightbox-close:focus { color: #bbb; text-decoration: none; cursor: pointer; }
.lightbox-prev, .lightbox-next { cursor: pointer; position: absolute; top: 50%; width: auto; padding: 16px; margin-top: -22px; color: white; font-weight: bold; font-size: 20px; transition: 0.3s; border-radius: 0 3px 3px 0; user-select: none; }
.lightbox-next { right: 0; border-radius: 3px 0 0 3px; }
.lightbox-prev:hover, .lightbox-next:hover { background-color: rgba(255,255,255,0.1); }
@media (max-width: 992px) { .features-wrapper { grid-template-columns: 1fr; } .features-sticky-visual { position: static; margin-bottom: 60px; height: auto; } .features-scroll-content { padding: 0; } .feature-point { min-height: auto; margin-bottom: 60px; } .gallery-grid, #personas .personas-grid { grid-template-columns: 1fr 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { #main-header nav ul, .nav-controls .cta-button { display: none; } .hero-content h1 { font-size: 3rem; } #pillars, #personas .personas-grid, #testimonials .testimonials-grid { grid-template-columns: 1fr; } #pillars { gap: 60px; } .gallery-grid { grid-template-columns: 1fr; } .gallery-item.tall, .gallery-item.wide { grid-row: span 1; grid-column: span 1; } .table-header { display: none; } .table-row { grid-template-columns: 1fr; text-align: left; padding: 15px; } .table-row div:first-child { font-weight: bold; margin-bottom: 15px; } .table-row div { padding: 8px 0; } }