:root {
    --blue: #004aad;
    --cyan: #00d4ff;
    --dark: #0f172a;
    --text: #334155;
    --bg-light: #f8fafc;
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; color: var(--text); background: #fff; line-height: 1.8; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; color: var(--dark); font-weight: 700; }

/* Navigation Base */
header { 
    background: #fff; 
    border-bottom: 1px solid #e2e8f0; 
    padding: 20px 0; 
    position: fixed; top: 0; width: 100%; z-index: 1000; 
    transition: 0.3s;
}
header.scrolled { padding: 12px 0; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }

.logo img { height: 45px; width: auto; display: block; }
.logo-eset-desktop img { height: 25px; width: auto; }

/* Desktop Navigation Items */
nav ul { display: flex; list-style: none; gap: 25px; }
nav a { text-decoration: none; color: var(--dark); font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
nav a:hover { color: var(--blue); }

/* Hamburger Menu Hide on Desktop */
.menu-toggle { display: none; font-size: 1.5rem; color: var(--blue); cursor: pointer; }

/* Hero Section */
.hero { 
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(0, 74, 173, 0.8) 100%), 
                url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1920&q=80');
    background-size: cover; background-attachment: fixed; background-position: center;
    color: #fff; padding: 180px 0 120px; text-align: center; 
}
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; color: #fff; }
.hero p { font-size: 1.3rem; opacity: 0.9; max-width: 850px; margin: 0 auto 40px; }

/* Section Titles & Cards */
.section { padding: 80px 0; }
.section-title { font-size: 2.2rem; margin-bottom: 40px; border-left: 5px solid var(--cyan); padding-left: 20px; width: 100%; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card-icon { background: #fff; padding: 40px; border-radius: 15px; border: 1px solid #e2e8f0; text-align: center; transition: 0.4s; }
.card-icon:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: var(--blue); }
.icon-circle { width: 80px; height: 80px; background: rgba(0, 74, 173, 0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; transition: 0.4s; }
.card-icon:hover .icon-circle { background: var(--blue); }
.card-icon:hover .icon-circle i { color: #fff; }
.card-icon i { font-size: 2rem; color: var(--blue); }

/* Flex Layouts */
.flex-container { display: flex; align-items: center; gap: 50px; }
.flex-container.reverse { flex-direction: row-reverse; }
.side-content { flex: 1.2; }
.side-image { flex: 1; display: flex; justify-content: center; }
.side-image img { max-width: 100%; height: auto; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); object-fit: contain; }

/* SEO & Content */
.seo-content h3 { font-size: 1.6rem; margin: 30px 0 15px; color: var(--blue); }
.seo-content p { margin-bottom: 20px; text-align: justify; }

/* FAQ & Testimonials */
.faq { background: var(--dark); color: #fff; padding: 100px 0; }
.faq h2 { color: #fff; text-align: center; margin-bottom: 50px; }
.faq-item { background: rgba(255,255,255,0.05); padding: 30px; border-radius: 12px; margin-bottom: 20px; }
.faq-item h4 { color: var(--cyan); margin-bottom: 10px; }

.testimonials { background: var(--bg-light); padding: 80px 0; overflow: hidden; }
.testimonials h2 { text-align: center; margin-bottom: 40px; }
.slider-container { position: relative; max-width: 800px; margin: 0 auto; min-height: 250px; }
.testimonial-slide { position: absolute; width: 100%; opacity: 0; transition: 0.8s ease; text-align: center; padding: 20px; }
.testimonial-slide.active { opacity: 1; position: relative; }
.testimonial-card { background: #fff; padding: 30px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-bottom: 4px solid var(--blue); }
.stars { color: #ffc107; margin-bottom: 15px; }

/* Footer */
footer { background: #020617; color: #cbd5e1; padding: 80px 0 30px; }
.contact-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.contact-form { background: #fff; padding: 40px; border-radius: 15px; color: var(--dark); }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #e2e8f0; border-radius: 8px; font-family: inherit; }
.btn-submit { width: 100%; background: var(--blue); color: #fff; border: none; padding: 15px; border-radius: 8px; font-weight: 700; cursor: pointer; }

.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; }
.btn { display: inline-block; padding: 15px 35px; background: var(--cyan); color: var(--dark); font-weight: 700; text-decoration: none; border-radius: 50px; transition: 0.3s; }

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* MOBILE RESPONSIVENESS */
@media (max-width: 992px) {
    /* Ukrywamy logo ESET partnera na Mobile */
    .logo-eset-desktop { display: none; }
    
    /* Pokazujemy Hamburgera */
    .menu-toggle { display: block; }
    
    /* Stylizacja menu mobilnego */
    nav {
        position: fixed;
        top: 86px; /* Wysokość headera */
        right: -100%;
        width: 80%;
        height: calc(100vh - 86px);
        background: #fff;
        box-shadow: -10px 10px 20px rgba(0,0,0,0.1);
        transition: 0.4s ease;
        z-index: 999;
    }
    nav.active { right: 0; }
    nav ul {
        flex-direction: column;
        padding: 40px;
        gap: 30px;
    }
    nav a { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .contact-flex { grid-template-columns: 1fr; }
    .flex-container { flex-direction: column !important; text-align: center; }
    .side-image img { max-height: 250px; }
    .section-title { font-size: 1.8rem; text-align: center; border-left: none; padding-left: 0; }
}