:root {
    /* DEEP BLUE */
    --primary: #0056b3; 
    --primary-dark: #004494;
    --dark: #222;
    --light: #f8f9fa;
    --border: #e9ecef;
    --text: #333;
    --white: #ffffff;
    --success: #28a745;
    --error: #dc3545;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; display: block; }

/* UTILITY */
.text-white { color: var(--white); }
.dark-text { color: var(--text); }
.bg-light { background-color: var(--light); }
.bg-primary { background-color: var(--primary); }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-10 { margin-top: 10px; }
.block { display: block; }
.shadow { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.rounded { border-radius: 8px; }
.full-width { width: 100%; }
.hidden { display: none; }

/* NAV */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}
.main-logo { height: 45px; }

#language-selector {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    padding: 80px 0;
}
.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
.hero-text { flex: 1; }
.hero-media { flex: 1; }
.hero-video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border: 4px solid var(--white);
}

.hero h1 { font-size: 2.8rem; margin-bottom: 20px; color: var(--dark); line-height: 1.2; }
.subtitle { font-size: 1.2rem; color: #555; margin-bottom: 30px; }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }

/* SECTIONS */
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 50px; position: relative; }
.section-title.white { color: var(--white); }
.section-subtitle { text-align: center; color: #777; margin-top: -40px; margin-bottom: 50px; }

/* PROBLEM & SOLUTION */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.align-center { align-items: center; }
.card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border-left: 5px solid var(--primary);
}
.card h2, .card h3 { margin-bottom: 15px; color: var(--primary); }

/* COMPARISON - CHECKMARKS */
.comparison-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.comp-card {
    flex: 1;
    padding: 30px 20px;
    text-align: center;
    background: #f8fbff;
    border-radius: 8px;
    border: 1px solid #e1e8ed;
}
.comp-card h3 { color: var(--primary); margin-top: 15px; }
.comp-image { flex: 1; max-width: 400px; text-align: center; }

/* Ikona Techniczna CSS */
.tech-icon-check {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3);
}
.tech-icon-check::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 12px;
    width: 14px;
    height: 28px;
    border: solid white;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
}

/* PROCESS */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}
.step { text-align: center; }
.step-img-container {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 200px;
}
.step-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.step:hover img { transform: scale(1.05); }

.step-num {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--primary);
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    line-height: 35px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* SPECS */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.spec-item {
    background: var(--white);
    padding: 15px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

/* BENEFITS LIST */
.benefits-list ul { list-style: none; padding-left: 0; }
.benefits-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}
.benefits-list li::before {
    content: "✓";
    color: var(--white);
    background: var(--primary);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    position: absolute;
    left: 0;
    top: 3px;
}

/* FORM - POPRAWKI */
.contact-form-wrapper {
    max-width: 650px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border-radius: 12px;
}
.form-row { display: flex; gap: 20px; }
.half { flex: 1; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; color: #555; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

/* CHECKBOX GROUP */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}
.checkbox-group input[type="checkbox"] {
    margin-top: 5px; /* Wyrównanie do góry tekstu */
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.checkbox-group label {
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
    line-height: 1.4;
}
/* --- ANTISPAM (HONEYPOT) --- */
.antispam-hidden {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: -9999px;
}
/* FORM MESSAGES */
.form-message { margin-top: 15px; text-align: center; font-weight: bold; }
.form-message.success { color: var(--success); }
.form-message.error { color: var(--error); }

/* FOOTER */
footer { background: #1a1a1a; color: #888; padding: 50px 0; border-top: 5px solid var(--primary); }
.footer-flex { display: flex; justify-content: space-between; align-items: center; }
.footer-logo img { height: 40px; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content, .grid-2, .comparison-grid, .form-row { flex-direction: column; }
    .hero-media { order: -1; margin-bottom: 30px; }
    .hero-text { text-align: center; }
    .comp-card { width: 100%; }
    .footer-flex { flex-direction: column; gap: 30px; text-align: center; }
}