/* AQUARIWA POLSKA - Skonsolidowany plik CSS */
/* Zawiera wszystkie style: critical-mobile.css, styles.css, advanced-styles.css */

/* ========================================
   RESET I ZMIENNE CSS
   ======================================== */

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

:root {
    /* Kolory: premium, mocne, stabilne */
    --primary-color: #1B263B;
    --primary-light: #415A77;
    --accent-color: #C0392B;
    --accent-light: #E74C3C;
    --accent-glow: #E74C3C;
    --background-light: #FFFFFF;
    --background-gray: #EDEDED;
    --background-dark: #1B263B;
    --text-dark: #1F2335;
    --text-secondary: #4C4C6F;
    --text-light: #FFFFFF;
    --text-muted: rgba(31, 35, 53, 0.6);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --element-spacing: 2rem;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(26, 35, 126, 0.1);
    --shadow-medium: 0 4px 20px rgba(26, 35, 126, 0.15);
    --shadow-heavy: 0 8px 30px rgba(26, 35, 126, 0.2);

    --vh: 1vh; /* Będzie aktualizowane przez JavaScript */
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.no-scroll {
    overflow: hidden;
}

/* ========================================
   KONTENER I TYPOGRAFIA
   ======================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section__title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section__subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section__header {
    margin-bottom: 4rem;
    position: relative;
}

/* ========================================
   PRZYCISKI
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    min-height: 48px;
    touch-action: manipulation;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent-color), #ffb300);
    color: var(--text-light);
    box-shadow: var(--shadow-medium);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn--secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn--secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn--large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ========================================
   HEADER I NAWIGACJA
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
}

.nav {
    padding: 1rem 0;
    height: 80px;
    display: flex;
    align-items: center;
}

.nav__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 100%;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.logo-text:hover {
    color: var(--accent-color);
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav__menu li {
    margin-bottom: 0;
}

.nav__link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    white-space: nowrap;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.nav__link:hover {
    color: var(--accent-color);
}

.nav__link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-color);
    transition: var(--transition-smooth);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav__actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-smooth);
    margin: 2px 0;
    will-change: transform, opacity;
}

/* Burger → X transformation */
.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.98), rgba(44, 62, 80, 0.98));
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 9999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-menu li {
    margin: 1rem 0;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
    white-space: nowrap;
}

.mobile-menu a:hover {
    background: rgba(255, 143, 0, 0.3);
    transform: translateY(-2px);
}

.mobile-menu .cta-btn {
    background: linear-gradient(135deg, var(--accent-color), #ffb300);
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(255, 143, 0, 0.3);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #000;
    color: white;
    text-align: center;
    padding-top: 80px;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #000;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background: #000;
}

.hero__slide.active {
    opacity: 1;
}

.hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero__title {
    font-size: 3.5rem;
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero__title .accent {
    color: var(--accent-color);
}

.hero__subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.5;
}

.hero__actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero__stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.stat {
    text-align: center;
    color: var(--text-light);
}

.stat__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat__label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* ========================================
   WHY SHELTERS SECTION
   ======================================== */

.why-shelters {
    padding: var(--section-padding);
    background: var(--background-gray);
    position: relative;
}

.threats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.threat-card {
    background: var(--background-light);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    border-top: 4px solid var(--accent-color);
    opacity: 1 !important;
    transform: none !important;
}

.threat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.threat-card__icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.threat-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.threat-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Ensure threat cards are visible even if AOS fails */
.threat-card[data-aos] {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

.threat-card.aos-animate {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow-x: hidden;
}

.about__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.about__subtitle {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.about h2, .about h3, .about h4 {
    color: var(--primary-color);
}

.about p {
    color: var(--text-dark);
}

.about__text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about__text {
    background: var(--background-light);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.company-data {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: var(--shadow-medium);
}

.data-item {
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.about__achievements {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(26, 35, 126, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(26, 35, 126, 0.1);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.achievement-item {
    text-align: center;
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(255, 143, 0, 0.3);
    display: block;
    animation: number-count 1s ease-out;
}

.achievement-item span {
    font-size: 0.9rem;
    color: var(--text-dark);
    opacity: 0.8;
    display: block;
    line-height: 1.4;
}

.about__story {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
}

.about__story h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.value-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 143, 0, 0.15);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.value-item:hover h4 {
    color: var(--accent-color);
}

.value-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.experience-badge {
    position: absolute;
    top: 200px;
    right: 0;
    transform: none;
    background: linear-gradient(135deg, var(--accent-color), #ff6b00);
    color: var(--text-light);
    padding: 2.5rem;
    border-radius: 15px 0 0 15px;
    text-align: center;
    box-shadow: -5px 15px 60px rgba(255, 143, 0, 0.5);
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-right: none;
    overflow: hidden;
}

.experience-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.5) 50%,
        transparent 70%
    );
    animation: badge-shine 3s infinite;
}

@keyframes badge-shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.badge__number {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.badge__text {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.3;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
    padding: 0 0.5rem;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */

.products {
    padding: var(--section-padding);
    background: var(--background-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

/* Fix dla animacji AOS w products grid */
.products-grid .product-card {
    transform: none !important;
    translate: none !important;
    rotate: none !important;
    scale: none !important;
}

.products-grid .product-card[data-aos] {
    transform: none !important;
    translate: none !important;
    rotate: none !important; 
    scale: none !important;
    transition: opacity 0.6s ease, box-shadow 0.3s ease !important;
}

.products-grid .product-card.aos-animate {
    transform: none !important;
    translate: none !important;
    rotate: none !important;
    scale: none !important;
}

/* Zachowaj tylko efekt fade dla kart */
.products-grid .product-card[data-aos="fade-up"] {
    opacity: 0;
}

.products-grid .product-card[data-aos="fade-up"].aos-animate {
    opacity: 1;
}

/* Nadpisz style inline z AOS */
.products-grid .product-card[style] {
    transform: none !important;
    translate: none !important;
    rotate: none !important;
    scale: none !important;
}

/* Zapewnij równe wyrównanie */
.products-grid {
    align-items: flex-start !important;
}

.products-grid > * {
    margin-top: 0 !important;
    vertical-align: top !important;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: var(--background-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    border: 3px solid transparent;
    transform: translateY(0) !important;
    top: 0 !important;
}

.product-card:hover:not(.product-card--active) {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.product-card--featured {
    position: relative;
}

.product-card__badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--text-light);
    padding: 0.5rem 2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(255, 143, 0, 0.3);
}

.product-card__header {
    background: linear-gradient(135deg, var(--primary-color), #303f9f);
    color: var(--text-light);
    padding: 2rem;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.product-card__header h3 {
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.2;
    min-height: 1.8rem;
}

.product-card__price {
    font-family: var(--font-heading);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-color);
    white-space: nowrap;
    line-height: 1;
}

.currency {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    line-height: 1;
}

.product-card__content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-spec {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--background-gray);
    border-radius: 8px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.spec-label {
    color: var(--text-secondary);
}

.spec-value {
    font-weight: 600;
    color: var(--primary-color);
}

.product-features {
    list-style: none;
    flex-grow: 1;
}

.product-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.product-card__action {
    padding: 2rem;
    text-align: center;
}

/* ========================================
   CONFIGURATOR SECTION
   ======================================== */

.configurator-section {
    padding: var(--section-padding);
    background: var(--background-gray);
}

.configurator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--background-light);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-medium);
}

.configurator__3d {
    position: relative;
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#bunker3D {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.bunker-3d-model {
    width: 80%;
    height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    perspective: 1000px;
}

.bunker-floor {
    width: 100%;
    height: 100%;
    background: #8b7355;
    border-radius: 10px;
    position: absolute;
    transform: rotateX(60deg) translateZ(-20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bunker-walls {
    position: absolute;
    width: 100%;
    height: 100%;
}

.wall {
    position: absolute;
    background: #a0a0a0;
    border: 2px solid #888;
}

.wall-front {
    width: 100%;
    height: 60%;
    bottom: 0;
    left: 0;
    transform: rotateX(-30deg) translateZ(20px);
}

.wall-back {
    width: 100%;
    height: 60%;
    bottom: 0;
    left: 0;
    transform: rotateX(-30deg) translateZ(-20px);
    opacity: 0.7;
}

.wall-left {
    width: 60%;
    height: 60%;
    bottom: 0;
    left: 0;
    transform: rotateY(30deg) translateZ(20px);
    opacity: 0.8;
}

.wall-right {
    width: 60%;
    height: 60%;
    bottom: 0;
    right: 0;
    transform: rotateY(-30deg) translateZ(20px);
    opacity: 0.8;
}

.configurator__controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.rotate-btn,
.zoom-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.rotate-btn:hover,
.zoom-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

.configurator__options {
    padding: 2rem;
}

.configurator__options h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.option-group {
    margin-bottom: 2rem;
}

.option-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.option-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.option-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.option-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.option-card.active {
    border-color: var(--accent-color);
    background: rgba(255, 143, 0, 0.05);
}

.option-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.option-card p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.option-card span {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
}

.depth-slider {
    width: 100%;
    height: 10px;
    background: #d0d0d0;
    border-radius: 10px;
    outline: none;
    margin-bottom: 1rem;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #c0c0c0;
}

.depth-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
    transition: all 0.2s ease;
}

.depth-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(255, 143, 0, 0.4);
}

.depth-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.depth-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(255, 143, 0, 0.4);
}

/* Track dla różnych przeglądarek */
.depth-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 10px;
    cursor: pointer;
    background: #d0d0d0;
    border-radius: 10px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.depth-slider::-moz-range-track {
    width: 100%;
    height: 10px;
    cursor: pointer;
    background: #d0d0d0;
    border-radius: 10px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.depth-value {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: var(--transition-smooth);
}

.feature-item:hover {
    background: rgba(255, 143, 0, 0.05);
}

.feature-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-color);
}

.feature-item span {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.configurator__summary {
    background: rgba(26, 35, 126, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

.configurator__summary h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.summary-items {
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.summary-item:last-child {
    border-bottom: none;
}

.total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 2px solid var(--accent-color);
    margin-bottom: 1.5rem;
}

.total-price span {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.total-price strong {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* ========================================
   VIRTUAL TOUR SECTION
   ======================================== */

.virtual-tour-section {
    padding: var(--section-padding);
    background: var(--background-light);
}

/* Virtual Tour */
.virtual-tour {
    background: #263238;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.tour-viewer {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.tour-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: grab;
}

.tour-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
}

.tour-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.tour-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.tour-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.tour-navigation {
    background: rgba(0, 0, 0, 0.8);
    padding: 1.5rem;
    color: white;
}

.room-selector {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.room-btn {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.room-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.room-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.tour-info {
    padding: 1.5rem;
    background: white;
    text-align: center;
}

/* ========================================
   PROCESS SECTION (TIMELINE)
   ======================================== */

.process {
    padding: var(--section-padding);
    background: var(--background-gray);
}

/* Interactive Timeline */
.interactive-timeline {
    padding: 2rem;
}

.timeline-progress {
    margin-bottom: 3rem;
}

.progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #ffb300);
    transition: width 0.6s ease;
    box-shadow: 0 0 20px rgba(255, 143, 0, 0.5);
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.timeline-step {
    text-align: center;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.step-marker {
    width: 60px;
    height: 60px;
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.timeline-step.active .step-marker {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: scale(1.2);
    box-shadow: 0 5px 20px rgba(255, 143, 0, 0.5);
}

.timeline-step.completed .step-marker {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.step-content h4 {
    margin: 0 0 0.5rem;
    color: var(--primary-color);
}

.step-duration {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.timeline-details {
    background: linear-gradient(135deg, #f5f5f5, #f8f9fa);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.timeline-navigation {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.nav-prev, .nav-next {
    padding: 0.8rem 2rem;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-prev:hover:not(:disabled), .nav-next:hover:not(:disabled) {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.nav-prev:disabled, .nav-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Process Steps Alternative Layout */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--background-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    position: relative;
}

.process-step::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2px;
    background: var(--accent-color);
}

.process-step:first-child::before {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   SYSTEMS SECTION - PROFESSIONAL
   ======================================== */

.systems-section {
    padding: var(--section-padding);
    background: var(--background-gray);
    position: relative;
    overflow: hidden;
}

.systems-category {
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.category-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

@media (max-width: 1200px) {
    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .systems-grid {
        grid-template-columns: 1fr;
    }
}

.system-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #e0e0e0;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #ffb300);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.system-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 143, 0, 0.3);
    border-color: var(--accent-color);
}

.system-card:hover::before {
    opacity: 1;
}

.premium-card {
    grid-column: span 1;
    background: rgba(255, 143, 0, 0.05);
    border: 2px solid rgba(255, 143, 0, 0.3);
}

.system-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #000;
}

.system-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.system-card:hover .system-image img {
    transform: scale(1.1);
}

.system-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 143, 0, 0.5);
}

.system-badge.new {
    background: linear-gradient(135deg, #00ff88, #00cc66);
    animation: pulse-glow 2s infinite;
}

.system-content {
    padding: 2.5rem;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.system-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.system-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.system-features {
    list-style: none;
    margin-bottom: 2rem;
}

.system-features li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid #e0e0e0;
}

.feature-icon {
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.system-tech-specs {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.system-tech-specs h5 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.specs-grid {
    display: grid;
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-label {
    color: var(--text-secondary);
}

.spec-value {
    color: var(--primary-color);
    font-weight: 600;
}

.system-components {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--background-gray);
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.system-components h5 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.system-components ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.system-components li {
    display: flex;
    align-items: center;
    padding: 0.4rem 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    border-bottom: 1px solid #e0e0e0;
}

.system-components li::before {
    content: '→';
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.8rem;
    font-size: 1rem;
}

.system-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 143, 0, 0.1), rgba(255, 179, 0, 0.1));
    border-radius: 15px;
    border: 1px solid rgba(255, 143, 0, 0.3);
    margin-top: auto;
    height: 80px;
    min-height: 80px;
}

.price-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    min-width: 60px;
    flex-shrink: 0;
}

.price-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(255, 143, 0, 0.5);
    text-align: right;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Equipment Grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.equipment-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.equipment-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.equipment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.equipment-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.equipment-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.equipment-price {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: white;
    border-radius: 20px;
    font-weight: 600;
}

/* ========================================
   CERTIFICATIONS SECTION - PROFESSIONAL
   ======================================== */

.certifications {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f5f5f5 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.certifications::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 143, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.certifications::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 35, 126, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.certifications-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.cert-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), #ffb300);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cert-card:hover::before {
    transform: scaleX(1);
}

.cert-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    color: var(--accent-color);
    filter: drop-shadow(0 5px 10px rgba(255, 143, 0, 0.2));
    transition: all 0.3s ease;
}

.cert-card:hover .cert-icon {
    transform: scale(1.1) rotate(5deg);
}

.cert-card:nth-child(2n) .cert-icon {
    color: #2196f3;
}

.cert-card:nth-child(3n) .cert-icon {
    color: #4caf50;
}

.cert-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.cert-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.cert-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 143, 0, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Partners Section */
.partners-section {
    text-align: center;
}

.partners-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
    padding: var(--section-padding);
    background: var(--background-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background-light);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    box-shadow: var(--shadow-light);
    border-color: var(--accent-color);
}

.faq-question {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-left: 30px;
}

.faq-question::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-left: 30px;
}

/* ========================================
   THREAT ASSESSMENT SECTION
   ======================================== */

.threat-section {
    padding: var(--section-padding);
    background: var(--background-gray);
}

/* Threat Assessment Tool */
.threat-assessment {
    padding: 3rem;
    background: linear-gradient(135deg, #263238 0%, #37474f 100%);
    border-radius: 20px;
    color: white;
}

.location-input {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.location-input input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

.location-input input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.location-input input:focus {
    background: rgba(255, 255, 255, 0.2);
    outline: 2px solid var(--accent-color);
}

/* Threat Meters */
.threat-meters {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.threat-meter {
    display: grid;
    grid-template-columns: 150px 1fr 100px;
    align-items: center;
    gap: 1rem;
}

.threat-meter label {
    font-weight: 500;
}

.meter-bar {
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    transition: width 1s ease;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.meter-fill.analyzing::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1s infinite;
}

@keyframes shimmer {
    to {
        left: 100%;
    }
}

.threat-level {
    text-align: right;
    font-weight: 600;
}

.threat-recommendation {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery {
    padding: var(--section-padding);
    background: var(--background-gray);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 1rem 2rem;
    border: none;
    background: var(--background-light);
    color: var(--text-secondary);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 600;
    min-height: 48px;
    touch-action: manipulation;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-heavy);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 35, 126, 0.9));
    color: var(--text-light);
    padding: 2rem;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    padding: var(--section-padding);
    background: var(--background-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: var(--background-gray);
    padding: 3rem;
    border-radius: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
    font-size: 16px;
    min-height: 48px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 143, 0, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc !important;
    border-radius: 4px;
    position: relative;
    transition: var(--transition-smooth);
    flex-shrink: 0;
    display: inline-block !important;
    background: #f5f5f5 !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15) !important;
    pointer-events: none;
}

.checkbox-label:hover .checkmark {
    border-color: var(--accent-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-light);
    font-weight: bold;
    font-size: 14px;
}

.checkbox-label span:last-child {
    flex: 1;
    margin: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card,
.company-data-card {
    background: var(--background-gray);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.placeholder-text {
    color: var(--accent-color);
    font-style: italic;
    opacity: 0.8;
}

.company-data-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.company-data-card p {
    margin-bottom: 0.5rem;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #000428 100%);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: footer-line 3s ease-in-out infinite;
}

@keyframes footer-line {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer__section ul {
    list-style: none;
}

.footer__section ul li {
    margin-bottom: 0.5rem;
}

.footer__section ul li a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.footer__section ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__links {
    display: flex;
    gap: 2rem;
}

.footer__links a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.footer__links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ========================================
   RESPONSYWNOŚĆ MOBILNA
   ======================================== */

/* Tablet - 1024px i mniej */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .section__title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero__title {
        font-size: 3rem;
        line-height: 1.2;
    }
    
    .threats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* KONFIGURATOR TABLET */
    .configurator {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .configurator__3d {
        min-height: 350px;
    }
    
    .option-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* VIRTUAL TOUR TABLET */
    .tour-viewer {
        height: 350px;
    }
    
    .room-selector {
        gap: 0.8rem;
    }
    
    .room-btn {
        padding: 0.8rem 1.5rem;
    }
    
    /* SYSTEMS TABLET */
    .system-image {
        height: 200px;
    }
    
    /* CERTIFICATIONS TABLET */
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-logos {
        gap: 2rem;
    }
    
    /* FAQ TABLET */
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    /* THREAT ASSESSMENT TABLET */
    .threat-meters {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location-input {
        flex-direction: column;
        gap: 1rem;
    }
    
    .location-input input {
        width: 100%;
        max-width: 400px;
    }
}

/* Mobile Large - 768px i mniej */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* HEADER MOBILNY */
    .header {
        height: 60px;
    }
    
    .nav {
        height: 60px;
        padding: 0.5rem 0;
    }
    
    .nav__wrapper {
        gap: 0.5rem;
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 1rem;
        white-space: nowrap;
    }
    
    /* UKRYJ DESKTOP MENU */
    .nav__menu {
        display: none;
    }
    
    .nav__actions .btn {
        display: none;
    }
    
    /* POKAŻ HAMBURGER */
    .nav__toggle {
        display: flex !important;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 10001;
        width: 30px;
        height: 30px;
    }
    
    .nav__toggle.active span {
        background: var(--text-light);
    }
    
    /* HERO MOBILNY */
    .hero {
        min-height: calc(100vh - 60px);
        margin-top: 60px;
        padding: 1rem 0;
        text-align: center;
    }
    
    .hero__content {
        padding: 1rem 15px;
    }
    
    .hero__title {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
        padding: 0 10px;
    }
    
    .hero__subtitle {
        font-size: 1rem;
        padding: 0 15px;
        margin-bottom: 2rem;
        line-height: 1.4;
    }
    
    .hero__actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        padding: 0 15px;
    }
    
    .hero__actions .btn {
        width: 100%;
        max-width: 260px;
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero__stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin-top: 1.5rem;
        padding: 0 10px;
    }
    
    .stat {
        padding: 0.8rem 0.3rem;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
        backdrop-filter: blur(10px);
        color: var(--text-dark);
        min-width: 0;
    }
    
    .stat__number {
        font-size: 1.5rem;
        margin-bottom: 0.2rem;
        display: block;
    }
    
    .stat__label {
        font-size: 0.75rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    /* SEKCJE MOBILNE */
    section {
        scroll-margin-top: 60px;
        padding: 40px 0;
    }
    
    .section__header {
        padding: 0 15px;
    }
    
    .section__title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .section__subtitle {
        font-size: 0.95rem;
        padding: 0 15px;
        margin-bottom: 2rem;
        line-height: 1.4;
    }
    
    /* THREATS GRID MOBILNY */
    .threats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .threat-card {
        padding: 2rem 1.5rem;
    }
    
    .threat-card__icon {
        font-size: 2.5rem;
    }
    
    .threat-card h3 {
        font-size: 1.3rem;
    }
    
    /* ABOUT MOBILNY */
    .experience-badge {
        position: relative;
        top: auto;
        right: auto;
        margin: 2rem auto;
        width: 120px;
        height: 120px;
    }
    
    .badge__number {
        font-size: 2rem;
    }
    
    .badge__text {
        font-size: 0.7rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .achievement-number {
        font-size: 1.8rem;
    }
    
    /* PRODUCTS MOBILNY */
    .product-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .product-card__header {
        padding: 1.5rem;
    }
    
    .product-card__content {
        padding: 1.5rem;
    }
    
    .product-card__action {
        padding: 1.5rem;
    }
    
    /* GALLERY MOBILNY */
    .gallery-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* CONTACT MOBILNY */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Zapobiega zoom na iOS */
        padding: 1rem;
        border-radius: 8px;
    }
    
    /* FOOTER MOBILNY */
    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* BACK TO TOP MOBILNY */
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    /* KONFIGURATOR MOBILNY */
    .configurator {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
        margin: 0 -20px;
    }
    
    .configurator__3d {
        min-height: 300px;
    }
    
    .option-cards {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .option-card {
        padding: 1rem;
        text-align: left;
    }
    
    /* SYSTEMS MOBILNY */
    .system-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .system-image {
        height: 200px;
    }
    
    .system-content {
        padding: 1.5rem;
    }
    
    .system-components ul {
        grid-template-columns: 1fr;
    }
    
    /* CERTIFICATIONS MOBILNY /
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-logos {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .partner-logo {
        width: 100%;
        max-width: 250px;
    }
    
    /* FAQ MOBILNY */
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        font-size: 1.1rem;
        padding-left: 25px;
    }
    
    .faq-question::before {
        width: 18px;
        height: 18px;
        font-size: 0.75rem;
    }
    
    /* TIMELINE MOBILNY */
    .timeline-steps {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .timeline-steps::before {
        top: 0;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: auto;
    }
    
    .step-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* VIRTUAL TOUR MOBILNY */
    .tour-viewer {
        height: 250px;
    }
    
    .room-selector {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .room-btn {
        width: 100%;
        padding: 1rem;
    }
    
    /* VIRTUAL TOUR MOBILNY */
    .tour-viewer {
        height: 250px;
    }
    
    .room-selector {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .room-btn {
        width: 100%;
        padding: 1rem;
    }
    
    /* PROCESS MOBILNY */
    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .process-step::before {
        display: none;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .timeline-steps {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .timeline-steps::before {
        top: 0;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: auto;
    }
    
    .step-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* SYSTEMS MOBILNY - duplikat usunięty */
    .system-image {
        height: 200px;
    }
    
    .system-content {
        padding: 1.5rem;
    }
    
    .system-components ul {
        grid-template-columns: 1fr;
    }
    
    /* CERTIFICATIONS MOBILNY */
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-logos {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .partner-logo {
        width: 100%;
        max-width: 250px;
    }
    
    /* FAQ MOBILNY */
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        font-size: 1.1rem;
        padding-left: 25px;
    }
    
    .faq-question::before {
        width: 18px;
        height: 18px;
        font-size: 0.75rem;
    }
    
    /* THREAT ASSESSMENT MOBILNY */
    .threat-meters {
        grid-template-columns: 1fr;
    }
    
    .threat-meter {
        padding: 1rem;
        text-align: center;
    }
    
    .threat-meter label {
        margin-bottom: 0.8rem;
        display: block;
    }
    
    .meter-bar {
        margin: 0.8rem 0;
    }
    
    .location-input {
        flex-direction: column;
        gap: 1rem;
    }
    
    .location-input input {
        width: 100%;
    }
    
    .threat-assessment {
        padding: 2rem 1.5rem;
    }
}

/* Mobile Small - 480px i mniej */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero__title {
        font-size: 1.75rem;
        padding: 0 5px;
    }
    
    .hero__subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    .hero__actions .btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
        max-width: 240px;
    }
    
    .hero__stats {
        gap: 0.3rem;
        padding: 0 5px;
    }
    
    .stat {
        padding: 0.6rem 0.2rem;
    }
    
    .stat__number {
        font-size: 1.3rem;
    }
    
    .stat__label {
        font-size: 0.7rem;
    }
    
    .hero__stats {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 2rem auto 0;
    }
    
    .section__title {
        font-size: 1.8rem;
    }
    
    .section__subtitle {
        font-size: 0.95rem;
        padding: 0;
    }
    
    .btn--large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .configurator {
        margin: 0 -15px;
        padding: 0.8rem;
    }
    
    .configurator__3d {
        min-height: 250px;
    }
    
    .system-image {
        height: 150px;
    }
    
    .tour-viewer {
        height: 200px;
    }
    
    .threat-assessment {
        padding: 1.5rem 1rem;
    }
    
    .threat-meter {
        padding: 0.8rem;
    }
    
    .system-content {
        padding: 1rem;
    }
    
    .nav__toggle {
        width: 35px;
        height: 35px;
    }
    
    .nav__toggle span {
        width: 22px;
        height: 2px;
    }
}

/* Mobile Extra Small - 375px i mniej */
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 0.5rem 0;
    }
    
    .hero__content {
        padding: 0.5rem 10px;
    }
    
    .hero__title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .hero__subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        padding: 0 5px;
    }
    
    .hero__actions {
        gap: 0.8rem;
    }
    
    .hero__actions .btn {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
        max-width: 220px;
    }
    
    .hero__stats {
        margin-top: 1rem;
        gap: 0.2rem;
    }
    
    .stat {
        padding: 0.5rem 0.15rem;
        border-radius: 6px;
    }
    
    .stat__number {
        font-size: 1.1rem;
        margin-bottom: 0.1rem;
    }
    
    .stat__label {
        font-size: 0.65rem;
        letter-spacing: 0;
    }
    
    .hero__title .accent {
        display: block;
        margin-top: 0.5rem;
    }
    
    .section__title {
        font-size: 1.5rem;
        padding: 0 10px;
    }
    
    .section__subtitle {
        font-size: 0.85rem;
        padding: 0 10px;
    }
    
    .configurator {
        margin: 0 -10px;
        padding: 0.5rem;
    }
    
    .configurator__3d {
        min-height: 220px;
    }
    
    .tour-viewer {
        height: 180px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
}

/* Mobile Extra Extra Small - 320px i mniej */
@media (max-width: 320px) {
    .hero__title {
        font-size: 1.3rem;
    }
    
    .hero__subtitle {
        font-size: 0.8rem;
    }
    
    .hero__actions .btn {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
        max-width: 200px;
    }
    
    .hero__stats {
        gap: 0.15rem;
    }
    
    .stat {
        padding: 0.4rem 0.1rem;
    }
    
    .stat__number {
        font-size: 1rem;
    }
    
    .stat__label {
        font-size: 0.6rem;
    }
}

/* Landscape Orientation dla telefonów */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 90vh;
        padding-top: 70px;
    }
    
    .hero__title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero__actions {
        flex-direction: row;
        gap: 1rem;
    }
    
    .hero__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    section {
        padding: 40px 0;
    }
}

/* Safe Area Support dla iPhone X+ */
@supports(padding: max(0px)) {
    .header {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .mobile-menu {
        padding-left: max(2rem, env(safe-area-inset-left));
        padding-right: max(2rem, env(safe-area-inset-right));
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }
    
    .footer {
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }
}

/* Performance Optimizations */
.mobile-device * {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero__slide {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn--primary {
        background: #000;
        color: #fff;
        border: 2px solid #fff;
    }
    
    .nav__link {
        border: 1px solid transparent;
    }
    
    .nav__link:hover,
    .nav__link:focus {
        border-color: var(--accent-color);
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
    }
}

/* Focus Indicators dla Keyboard Navigation */
.btn:focus-visible,
.nav__link:focus-visible,
.tab-btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 143, 0, 0.2);
}

.nav__toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Custom Scrollbar dla Webkit */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 6px;
    }
    
    ::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
    }
    
    ::-webkit-scrollbar-thumb {
        background: var(--accent-color);
        border-radius: 3px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: var(--accent-light);
    }
}

/* Print Styles */
@media print {
    .nav__toggle,
    .back-to-top,
    .hero__video-bg {
        display: none !important;
    }
    
    .header {
        position: static;
        background: white;
        box-shadow: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .product-card,
    .threat-card,
    .value-item {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}

/* ========================================
   SMOOTH SCROLLING & VIEWPORT FIX
   ======================================== */

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Zapobiegaj poziomemu scrollowaniu */
body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Globalne poprawki dla małych ekranów */
* {
    max-width: 100vw;
}

img {
    max-width: 100%;
    height: auto;
}

/* Fix dla viewport height na mobilnych przeglądarkach */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* ========================================
   ADVANCED ANIMATIONS & EFFECTS
   ======================================== */

/* Glow Effects */
.glow-effect {
    box-shadow: 0 0 20px rgba(255, 143, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

.glow-effect:hover {
    box-shadow: 0 0 30px rgba(255, 143, 0, 0.5);
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Float Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Slide In Animations */
@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.slide-in-left { animation: slideInLeft 0.8s ease-out; }
.slide-in-right { animation: slideInRight 0.8s ease-out; }
.slide-in-up { animation: slideInUp 0.8s ease-out; }
.slide-in-down { animation: slideInDown 0.8s ease-out; }

/* Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in { animation: fadeIn 1s ease-in; }

/* Scale Animation */
@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.scale-in { animation: scaleIn 0.6s ease-out; }

/* Number Count Animation */
@keyframes number-count {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Glassmorphism */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

/* Neumorphism */
.neumorphic {
    background: #f0f0f0;
    border-radius: 20px;
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.1),
        -8px -8px 16px rgba(255, 255, 255, 0.8);
}

.neumorphic:hover {
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.15),
        -12px -12px 24px rgba(255, 255, 255, 0.9);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Interactive Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-rotate {
    transition: transform 0.3s ease;
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

/* Card Shine Effect */
.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: transform 0.6s;
    opacity: 0;
}

.card-shine:hover::before {
    transform: rotate(45deg) translate(100%, 100%);
    opacity: 1;
}

/* 3D Transform Effects */
.card-3d {
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.card-3d:hover {
    transform: rotateY(10deg) rotateX(10deg);
}

/* Typing Animation */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent-color); }
}

.typing-animation {
    overflow: hidden;
    border-right: 3px solid var(--accent-color);
    white-space: nowrap;
    animation: 
        typing 3.5s steps(40, end),
        blink-caret .75s step-end infinite;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    border-radius: 4px;
    transition: width 0.8s ease;
}

/* Tooltip */
.tooltip {
    position: relative;
    cursor: pointer;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 4px 8px;
    background: var(--accent-color);
    color: white;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge--success { background: var(--success-color); }
.badge--danger { background: var(--danger-color); }
.badge--secondary { background: var(--text-secondary); }

/* Divider */
.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 2rem 0;
}

.divider--vertical {
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--accent-color), transparent);
    margin: 0 2rem;
}

/* Icon Animations */
.icon-bounce {
    animation: iconBounce 2s infinite;
}

@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.icon-spin {
    animation: iconSpin 2s linear infinite;
}

@keyframes iconSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Text Effects */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.text-glow {
    text-shadow: 0 0 10px rgba(255, 143, 0, 0.5);
}

.text-outline {
    -webkit-text-stroke: 1px var(--primary-color);
    text-stroke: 1px var(--primary-color);
}

/* Background Patterns */
.bg-pattern-dots {
    background-image: radial-gradient(circle, rgba(255, 143, 0, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.bg-pattern-grid {
    background-image: 
        linear-gradient(rgba(255, 143, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 143, 0, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Intersection Observer Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile-specific animations */
@media (max-width: 768px) {
    .card-3d:hover {
        transform: none;
    }
    
    .hover-lift:hover {
        transform: translateY(-4px);
    }
    
    .parallax {
        background-attachment: scroll;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   FIX DLA ANIMACJI AOS - NAJWYŻSZY PRIORYTET
   ======================================== */

/* Wymuś równe wyrównanie kart produktów */
.products .products-grid .product-card,
.products .products-grid .product-card[data-aos],
.products .products-grid .product-card.aos-init,
.products .products-grid .product-card.aos-animate {
    transform: none !important;
    translate: none !important;
    rotate: none !important;
    scale: none !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

/* Nadpisz wszystkie style inline */
.products-grid .product-card[style*="transform"],
.products-grid .product-card[style*="translate"] {
    transform: translateY(0) translateX(0) translateZ(0) !important;
    translate: 0 0 0 !important;
}

/* Custom mobile full-width adjustments */
@media (max-width: 768px) {
  html, body {
    width: 100% !important;
  }
  .container {
    padding: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}

/* Hide tour controls inside tour viewer */
.tour-viewer .tour-controls {
  display: none !important;
}

/* ========================================
   LANGUAGE SWITCHER
   ======================================== */
.language-switcher {
    position: relative;
    font-family: var(--font-heading);
}
.language-current {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
    padding: 8px 10px;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: var(--transition-smooth);
}
.language-current:hover {
    border-color: var(--accent-color);
}
.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    min-width: 140px;
    z-index: 10002;
}
.language-dropdown.active {
    display: flex;
}
.language-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.language-option:hover {
    background: var(--background-gray);
}
.language-option.active {
    background: rgba(255,143,0,0.1);
}
.language-option .flag {
    font-size: 1.2em;
    line-height: 1;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .language-switcher {
        display: none !important;
    }
}

/* ========================================
   WINDOWS COMPATIBILITY - FORCE VISIBILITY
   ======================================== */
@media screen {
    /* Override any inline styles that may hide critical elements */
    .hero__subtitle {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        display: block !important;
    }
    
    .hero__stats .stat {
        opacity: 1 !important;
        visibility: visible !important;
        transform: scale(1) translateY(0) !important;
        display: flex !important;
    }
    
    /* Ensure data-i18n elements are visible */
    [data-i18n] {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Force visibility for hero content */
    .hero__content * {
        opacity: 1 !important;
        visibility: visible !important;
    }
}