@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');
/* ==========================================================================
   Fertone IT Premium Minimalist Stylesheet
   Theme: Obsidian Matte & Swiss Tech
   Accent Colors: Fertone Red (#1070e6) & Crisp Silver (#8E929E)
   Style: Highly professional, high-end, clean, no-neon, no-AI-generated feel
   ========================================================================== */

/* 1. Global Variables & Base Reset */
:root {
    --bg-dark: #FFFFFF;             /* Czyste, śnieżnobiałe tło jak w UI.com (ui.com/eu/en) */
    --bg-card: #FFFFFF;             /* Czysta, biała karta */
    --bg-card-hover: #F8FAFC;       /* Minimalny szary podton na hover */
    --border-color: #E2E8F0;        /* Bardzo cienkie, profesjonalne szare obramowanie (UI.com style) */
    --border-hover: #1070e6;        /* Niebieski akcent na hover */
    
    --primary: #1070e6;             /* Nowoczesny błękit technologiczny (zamiast czerwieni) */
    --primary-glow: rgba(16, 112, 230, 0.04);
    --secondary: #0B0E14;           /* Głęboki, miękki antracyt */
    --secondary-glow: rgba(11, 14, 20, 0.04);
    --accent: #1070e6;
    
    --text-white: #0B0E14;          /* Główny, ciemny kolor dla nagłówków */
    --text-muted: #4B5563;          /* Miękka, profesjonalna grafitowa szarość dla opisów */
    --text-dark: #FAF9F6;           /* Odwrócone jasne tło */
    --text-green: #059669;          /* Nasycona zieleń dla jasnego tła */
    --text-red: #1070e6;            /* Przekierowanie czerwonego tekstu na niebieski */
    
    --font-heading: 'Outfit', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 6px;               /* Zaokrąglenie małych elementów */
    --radius-md: 30px;              /* Bardzo mocno zaokrąglone przyciski (pill buttons, Tailscale style) */
    --radius-lg: 12px;              /* Organiczne, nowoczesne zaokrąglenie kart */
    --container-width: 1400px;      /* Szerokość kontenera (Tailscale style) */
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-muted);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.1px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* 2. Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.text-gradient {
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: var(--primary) !important; /* Automatyczny kolor niebieski marki */
    display: inline-block;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: var(--primary);
    z-index: 1000;
    transition: width 0.1s ease-out;
}

/* Section Common Styling */
section {
    padding: 50px 0; /* Zmniejszony globalny odstęp pomiędzy sekcjami (było 90px) */
    position: relative;
    border-bottom: 1px solid var(--border-color); /* Razor thin dividers between sections */
}

.section-header {
    margin-bottom: 30px; /* Zmniejszony margines pod tytułem sekcji (było 50px) */
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    background: var(--primary-glow);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(16, 112, 230, 0.1);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.8px;
    color: var(--text-white);
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.5;
}

/* Button Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 28px;
    border-radius: var(--radius-md); /* Idealne zaokrąglenie 8px (styl Tailscale) */
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    outline: none;
}

.btn-primary {
    background: #0B0E14;
    color: #FFFFFF !important;
    border: 1px solid #0B0E14;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.1), 0 1px 2px rgba(16, 24, 40, 0.06);
}

.btn-primary:hover {
    background: #1070e6;
    border-color: #1070e6;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 112, 230, 0.15);
}

/* Przycisk Kolejny Krok - Domyślnie Niebieski (#1070e6) */
.btn-primary.btn-next,
.btn-next {
    background: #1070e6;
    border-color: #1070e6;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(16, 112, 230, 0.2);
}

.btn-primary.btn-next:hover,
.btn-next:hover {
    background: #0284c7;
    border-color: #0284c7;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3);
}

.btn-secondary {
    background: #FFFFFF;
    color: #374151 !important;
    border: 1px solid #D0D5DD;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.btn-secondary:hover {
    background: #FAF9F6;
    border-color: #9CA3AF;
    color: #0B0E14 !important;
    transform: translateY(-1px);
}

/* 3. Header & Navigation (UI.com Glass & Blur Effect) */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    transition: var(--transition-normal);
}

.main-header.scrolled {
    height: 70px;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* UI.com Glass Overlay Backdrop */
.ui-overlay-backdrop {
    pointer-events: none;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    z-index: 8998;
    inset: 0px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 250ms ease-out 80ms, visibility 250ms step-end 80ms;
}

.ui-overlay-backdrop.active {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition-fast);
}

.logo-img:hover {
    opacity: 0.9;
}

.footer-logo-img {
    height: 38px;
    width: auto;
    display: block;
    margin-bottom: 16px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #1070e6; /* Wyrazisty, jasnoniebieski kolor technologiczny */
}

.logo-dot {
    color: #1070e6; /* Kropka logo również w spójnym kolorze niebieskim */
    text-shadow: none; /* No cheap neon shadows */
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;              /* Nieco większa czcionka dla lepszej czytelności */
    font-weight: 500;
    text-transform: none;           /* Nazwy pisane małymi literami zaczynające się wielką literą */
    letter-spacing: -0.1px;         /* Naturalny światłocień typograficzny */
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary) !important; /* Trwałe zaznaczenie aktywnej pozycji menu na niebiesko */
}

.nav-link.active::after {
    width: 100%;
}

.nav-cta-btn {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 20px;
    border-radius: var(--radius-md); /* Pełne zaokrąglenie pigułki (30px) */
    background: #E0F2FE; /* Jasnoniebieskie tło banerów */
    color: #1070e6 !important; /* Spójny niebieski kolor logo dla doskonałej czytelności */
    border: 1px solid #BAE6FD;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}

.nav-cta-btn:hover {
    background: #BAE6FD;
    border-color: #7DD3FC;
    color: #1070e6 !important;
    box-shadow: 0 4px 10px rgba(16, 112, 230, 0.1);
    transform: translateY(-1px);
}

.nav-btn-mobile {
    display: none;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    position: relative;
    transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    left: 0;
    transition: var(--transition-fast);
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

/* Hamburger Open State */
.mobile-nav-toggle.open .hamburger {
    background: transparent;
}
.mobile-nav-toggle.open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.mobile-nav-toggle.open .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* 4. Hero Section */
.hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height) + 15px); /* Zmniejszony odstęp od menu głównego */
    padding-bottom: 20px; /* Zmniejszony odstęp od dołu sekcji Hero */
    display: flex;
    align-items: center;
    background-image: radial-gradient(circle at 10% 20%, rgba(142, 146, 158, 0.03) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(16, 112, 230, 0.03) 0%, transparent 40%);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(15, 7, 44, 0.1) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.4;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.hero-tagline-wrapper {
    margin-bottom: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(16, 112, 230, 0.03);
    border: 1px solid rgba(16, 112, 230, 0.06);
    padding: 6px 16px;
    border-radius: 50px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-green);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--text-green);
    animation: pulse 1.8s infinite;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.0rem;
    margin-bottom: 36px;
    max-width: 580px;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Interactive Hero Graphic */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 920px;
    aspect-ratio: 1600 / 1195;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(16, 112, 230, 0.03) 0%, rgba(142, 146, 158, 0.02) 50%, rgba(255, 255, 255, 0.95) 100%),
                linear-gradient(rgba(11, 14, 20, 0.02) 1px, transparent 1px),
                linear-gradient(90deg, rgba(11, 14, 20, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 20px 20px, 20px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03), inset 0 0 30px rgba(16, 112, 230, 0.01);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.visual-glow {
    display: none;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: lighten;
    filter: brightness(0.9) contrast(1.1);
    z-index: 0;
}

.interactive-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 0 15px var(--primary);
}

.interactive-node::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    top: -6px;
    left: -6px;
    animation: nodePulse 2s infinite;
    pointer-events: none;
}

.node-1 { top: 30%; left: 35%; }
.node-2 { top: 55%; left: 65%; }
.node-3 { top: 75%; left: 45%; }

.node-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(15, 7, 44, 0.95);
    border: 1px solid var(--primary);
    color: var(--text-white);
    padding: 6px 14px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.node-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--primary) transparent transparent transparent;
}

.interactive-node:hover .node-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 5. Core Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #F6F7F9;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: none;
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-card::before {
    display: none;
}

.service-card:hover {
    transform: translateY(-2px);
    border-color: #0284c7;
    box-shadow: none;
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    background: #E0F2FE;
    border: 1px solid #BAE6FD;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
    transition: var(--transition-normal);
}

.service-icon {
    font-size: 1.5rem;
    color: #1070e6;
}

.service-card:hover .service-icon-wrapper {
    background: #BAE6FD;
    border-color: #7DD3FC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 112, 230, 0.15);
}

.service-card:hover .service-icon {
    color: #1070e6;
}

.service-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.35;
}

.service-card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.service-features li {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.service-features li i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.service-card-header .service-icon-wrapper {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.service-card-header .service-icon {
    font-size: 1.3rem;
}

.service-card-header .service-card-title {
    margin-bottom: 0;
    font-size: 1.25rem;
    line-height: 1.25;
}

/* Custom Light-Card styling within Dark Services Section */
.services-section .service-card {
    background: #F6F7F9 !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 24px !important;
}

.services-section .service-card::before {
    display: none !important;
}

.services-section .service-card:hover {
    border-color: #1070e6 !important;
    box-shadow: none !important;
}

.services-section .service-card-title {
    color: #0A0B0D !important; /* Elegant deep dark headings */
}

.services-section .service-card-text {
    color: #5A5E6B !important; /* Elegant slate-purple body text for high readability */
}

/* Secondary Button styling within Light Service Cards */
.services-section .service-card .btn-secondary {
    background: #F8F9FA !important;
    color: #1070e6 !important;
    border: 1px solid rgba(16, 112, 230, 0.06) !important;
}

.services-section .service-card .btn-secondary:hover {
    background: #F0F7FF !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
    color: #1070e6 !important;
}

/* 6. Subscriptions Section */
.subscriptions-section {
    background-image: radial-gradient(circle at 50% 50%, transparent 0%, transparent 50%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background: #F6F7F9;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: none;
}

.pricing-card:hover {
    border-color: #1070e6;
    transform: translateY(-2px);
    box-shadow: none;
}

.pricing-card.featured {
    background: #F6F7F9;
    border: 2px solid #1070e6;
    box-shadow: none;
}

.pricing-card.featured:hover {
    box-shadow: none;
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #E0F2FE;
    color: #1070e6 !important;
    border: 1px solid #BAE6FD;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 20px;
    border-radius: 50px;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(16, 112, 230, 0.1);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.plan-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.plan-price {
    font-family: var(--font-heading);
    color: var(--text-white);
    display: flex;
    align-items: baseline;
    margin-bottom: 32px;
}

.price-num {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 4px;
    color: var(--primary);
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-left: 6px;
}

.pricing-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.plan-features li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.plan-features li i {
    color: var(--primary);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.pricing-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    background: #E0F2FE;
    border: 1px solid #BAE6FD;
    color: #1070e6 !important;
    transition: var(--transition-normal);
}

.pricing-cta-btn:hover {
    background: #BAE6FD;
    border-color: #7DD3FC;
    color: #1070e6 !important;
    box-shadow: 0 4px 15px rgba(16, 112, 230, 0.15);
    transform: translateY(-2px);
}

.pricing-card.featured .pricing-cta-btn {
    background: #E0F2FE;
    border: 1px solid #BAE6FD;
    color: #1070e6 !important;
    box-shadow: 0 4px 15px rgba(16, 112, 230, 0.1);
}

.pricing-card.featured .pricing-cta-btn:hover {
    background: #BAE6FD;
    border-color: #7DD3FC;
    color: #1070e6 !important;
    box-shadow: 0 8px 25px rgba(16, 112, 230, 0.2);
    transform: translateY(-2px);
}

/* Custom Light-Card styling within Subscriptions Section (UI.com Store Style) */
.subscriptions-section .pricing-card {
    background: #F6F7F9 !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: all 0.2s ease-in-out !important;
}

.subscriptions-section .pricing-card.featured {
    background: #F6F7F9 !important;
    border: 2px solid #1070e6 !important;
    box-shadow: none !important;
}

.subscriptions-section .pricing-card:hover {
    border-color: #1070e6 !important;
    transform: translateY(-2px) !important;
    box-shadow: none !important;
}

.subscriptions-section .plan-name {
    color: #0A0B0D !important;
}

.subscriptions-section .plan-subtitle {
    color: #5A5E6B !important;
}

.subscriptions-section .plan-price {
    color: #0A0B0D !important;
}

.subscriptions-section .price-num {
    color: #0A0B0D !important;
}

.subscriptions-section .price-currency {
    color: var(--primary) !important;
}

.subscriptions-section .price-period {
    color: #5A5E6B !important;
}

.subscriptions-section .plan-features li {
    color: #5A5E6B !important;
}

.subscriptions-section .plan-features li i {
    color: var(--primary) !important;
}

/* CTA Buttons inside standard light pricing cards */
.subscriptions-section .pricing-card:not(.featured) .pricing-cta-btn {
    background: #E0F2FE !important;
    color: #1070e6 !important;
    border: 1px solid #BAE6FD !important;
}

.subscriptions-section .pricing-card:not(.featured) .pricing-cta-btn:hover {
    background: #BAE6FD !important;
    border-color: #7DD3FC !important;
    color: #1070e6 !important;
    transform: translateY(-2px);
}

/* 7. Comparison Table Section */
.comparison-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 800px;
}

.comparison-table th,
.comparison-table td {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.comparison-table th {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.02);
}

.col-competitor {
    width: 35%;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.01);
}

.col-fertoneIT {
    width: 35%;
    color: var(--text-white);
    background: transparent;
}

.feature-name {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-white);
}

.competitor-icon {
    color: var(--text-red);
    margin-right: 8px;
    font-size: 1.1rem;
    vertical-align: middle;
}

.fertone-icon {
    color: var(--primary);
    margin-right: 8px;
    font-size: 1.1rem;
    vertical-align: middle;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}

/* 8. Case Study Section */
.case-study-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.case-study-content {
    padding: 50px;
}

.case-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 16px;
    padding: 4px 12px;
    background: var(--primary-glow);
    border-radius: 4px;
}

.case-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 36px;
    line-height: 1.3;
}

.case-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.case-step {
    display: flex;
    gap: 20px;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E0F2FE;
    color: #1070e6;
    border: 1px solid #BAE6FD;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(16, 112, 230, 0.08);
}

.step-desc h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--text-white);
}

.step-desc p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Case Study Stats column */
.case-study-stats {
    background: transparent;
    border-left: 1px solid var(--border-color);
    padding: 50px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-content: center;
}

.case-stat {
    display: flex;
    flex-direction: column;
}

.case-stat-val {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 8px;
}

.case-stat-lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* 9. Contact & Lead Form Section */
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
    align-items: start;
}

.contact-desc {
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(16, 112, 230, 0.03);
    border: 1px solid rgba(16, 112, 230, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Multi-step Form Design */
.contact-form-wrapper {
    background: rgba(18, 22, 28, 0.95);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(25px);
}

.form-progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 40px;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.form-progress-steps::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
    transform: translateY(-50%);
}

.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: var(--transition-fast);
}

.step-dot.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-dark);
    box-shadow: 0 0 15px var(--primary);
}

.step-dot.completed {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--text-white);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.form-step h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.step-instruction {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* Options Grid (Radio Cards) */
.form-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.form-options-grid.select-card {
    grid-template-columns: 1fr;
}

.option-card {
    cursor: pointer;
    position: relative;
}

.option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-card-content {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-normal);
    height: 100%;
}

.option-card input[type="radio"]:checked + .option-card-content {
    border-color: var(--primary);
    background: rgba(16, 112, 230, 0.02);
    box-shadow: 0 0 20px rgba(16, 112, 230, 0.04);
}

.option-icon {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.option-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.option-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Checkboxes Grid */
.form-checkboxes-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.checkbox-card {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    position: relative;
    transition: var(--transition-normal);
}

.checkbox-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-right: 16px;
    display: inline-block;
    transition: var(--transition-fast);
    position: relative;
    flex-shrink: 0;
}

.checkbox-card input[type="checkbox"]:checked + .checkbox-custom {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkbox-card input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--text-dark);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-card input[type="checkbox"]:checked {
    border-color: var(--primary);
}

.checkbox-card:has(input[type="checkbox"]:checked) {
    border-color: var(--primary);
    background: transparent;
}

.checkbox-label {
    font-size: 0.95rem;
    color: var(--text-white);
}

/* Inputs design */
.form-inputs-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-white);
}

.input-group input {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(16, 112, 230, 0.05);
}

/* Form Navigation buttons */
.form-navigation {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.form-navigation .btn-prev {
    background: transparent;
    border: 1px solid var(--border-color);
}

.form-navigation .btn-prev:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Success container */
.form-success-container {
    display: none;
    text-align: center;
    padding: 30px 10px;
    animation: scaleIn 0.5s ease-out;
}

.success-big-icon {
    font-size: 4.5rem;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
    margin-bottom: 24px;
}

.form-success-container h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.form-success-container p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 36px;
    color: var(--text-muted);
}

/* 10. Footer Section */
.main-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo-text {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links a:hover {
    color: var(--text-dark);
    background-color: var(--text-white);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

.footer-links-col h4 {
    font-size: 1.05rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links-col ul a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links-col ul a:hover {
    color: var(--text-white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.legal-text {
    font-size: 0.8rem;
    color: rgba(11, 14, 20, 0.55);
    max-width: 600px;
}

.legal-text strong {
    color: rgba(11, 14, 20, 0.8);
}

.copyright-text {
    font-size: 0.8rem;
    color: rgba(11, 14, 20, 0.45);
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
}

.tech-brand {
    color: var(--primary);
}

/* 11. Keyframes & Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes nodePulse {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Animation Engine */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

/* ==========================================================================
   12. Responsive Media Queries (Mobile First & Breakpoints)
   ========================================================================== */

@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }
    
    .hero-container {
        grid-template-columns: 1fr !important;
        gap: 32px;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-study-box {
        grid-template-columns: 1fr;
    }
    
    .case-study-stats {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding: 40px;
    }
    
    .contact-grid,
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .subpage-grid-layout,
    .subpage-grid-three {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .subpage-grid-layout > div {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-dark);
        border-top: 1px solid var(--border-color);
        padding: 40px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-normal);
        z-index: 100;
        flex-direction: column;
    }
    
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .nav-cta-btn {
        display: none;
    }
    
    .nav-btn-mobile {
        display: block;
        font-family: var(--font-heading);
        font-size: 1rem;
        font-weight: 700;
        color: #1070e6 !important;
        background: #E0F2FE !important;
        border: 1px solid #BAE6FD !important;
        padding: 12px 32px;
        border-radius: var(--radius-md);
        box-shadow: 0 1px 3px rgba(16, 112, 230, 0.1);
        margin-top: 10px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-align: center;
    }
    
    .services-grid,
    .pricing-grid,
    .subpage-grid-three,
    .subpage-grid-layout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .form-options-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-box {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 24px 18px !important;
    }
    
    .case-study-stats {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Footer Mobile Alignment */
    .main-footer {
        text-align: center !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
        text-align: center !important;
    }
    .footer-brand {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .footer-brand p {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }
    .footer-brand .social-links {
        justify-content: center !important;
    }
    .footer-links-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .footer-links-col h4 {
        text-align: center !important;
        width: 100% !important;
    }
    .footer-links-col h4::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .footer-links-col ul {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    .footer-links-col ul li {
        text-align: center !important;
        width: 100% !important;
    }
    .footer-contact-info {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    .footer-contact-info li {
        justify-content: center !important;
        text-align: center !important;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .copyright-text {
        text-align: center;
        width: 100%;
        font-size: 0.78rem;
    }
}

@media (max-width: 767px) {
    .visual-wrapper {
        aspect-ratio: 1 / 1 !important;
    }
    .interactive-node {
        display: none !important;
    }
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
    }
    .comparison-table {
        min-width: 620px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
    }
    
    .hero-description {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 24px !important;
    }
    
    .section-title {
        font-size: 1.6rem !important;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-stats {
        flex-direction: column !important;
        gap: 16px !important;
        align-items: center;
        text-align: center;
    }
    
    .stat-item {
        align-items: center;
    }
    
    .pricing-card,
    .service-card,
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .case-study-content {
        padding: 24px;
    }
}

/* ==========================================================================
   13. Multi-Page & Subpage Components (Sieci, Smart Home, Monitoring, SaaS)
   ========================================================================== */

/* Subpage Hero Section */
.subpage-hero {
    padding: 100px 0 45px;
    background: linear-gradient(135deg, #F0F7FF 0%, #E0F2FE 100%); /* Przepiękny, jasnoniebieski gradient (Tailscale style) */
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.subpage-hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.subpage-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.subpage-hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.subpage-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.subpage-back-link:hover {
    transform: translateX(-5px);
}

/* Subpage Detailed Content Section */
.subpage-details-section {
    padding: 80px 0;
}

.details-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.details-grid.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.details-text-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.details-text-content p {
    font-size: 1rem;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.details-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.details-list li i {
    color: var(--primary);
    margin-top: 4px;
    font-size: 1rem;
}

/* Custom Interactive Infographics Container */
.infographic-container {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: rgba(18, 22, 28, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Infographic I: Network Topology Map */
.topology-map {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.topology-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.topo-line {
    stroke: rgba(16, 112, 230, 0.06);
    stroke-width: 2;
    stroke-dasharray: 6 4;
    animation: dash 30s linear infinite;
}

.topo-line-active {
    stroke: var(--primary);
    stroke-width: 2;
    stroke-dasharray: 8 6;
    animation: dashActive 10s linear infinite;
    filter: drop-shadow(0 0 5px var(--primary));
}

@keyframes dash {
    to { stroke-dashoffset: -1000; }
}

@keyframes dashActive {
    to { stroke-dashoffset: -500; }
}

.topo-nodes-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.topo-node {
    position: absolute;
    background: rgba(15, 7, 44, 0.9);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-normal);
    cursor: pointer;
}

.topo-node:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(16, 112, 230, 0.06);
    transform: scale(1.05);
}

.topo-node-icon {
    font-size: 1.1rem;
    color: var(--primary);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.topo-node-text h5 {
    font-size: 0.8rem;
    color: var(--text-white);
    line-height: 1.1;
}

.topo-node-text span {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.topo-badge-status {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-green);
    box-shadow: 0 0 8px var(--text-green);
}

/* Node absolute layout coordinates */
.node-core { top: 40%; left: 5%; }
.node-switch { top: 40%; left: 40%; }
.node-wifi-1 { top: 15%; left: 75%; }
.node-wifi-2 { top: 40%; left: 75%; }
.node-vlan-iot { top: 70%; left: 75%; }

/* Infographic II: Smart Home Energy Flows */
.energy-flow-visual {
    width: 100%;
    height: 100%;
    position: relative;
}

.flow-node {
    position: absolute;
    border-radius: 50%;
    background: rgba(15, 7, 44, 0.85);
    border: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.flow-node:hover {
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.flow-node-main {
    width: 70px;
    height: 70px;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(16, 112, 230, 0.05);
    top: 40%;
    left: 42%;
}

.flow-node-main i {
    font-size: 1.8rem;
    color: var(--primary);
}

.flow-node-sub {
    width: 50px;
    height: 50px;
}

.flow-node-sub i {
    font-size: 1.2rem;
    color: var(--text-white);
}

.node-grid { top: 10%; left: 15%; border-color: rgba(255, 255, 255, 0.3); }
.node-shelly { top: 43%; left: 15%; border-color: var(--secondary); }
.node-pv { top: 75%; left: 15%; border-color: #f59e0b; }
.node-hvac { top: 15%; left: 75%; }
.node-heatpump { top: 43%; left: 75%; }
.node-dashboard-tablet { top: 75%; left: 75%; }

.energy-line {
    stroke-width: 2;
    stroke-dasharray: 5 5;
    animation: flowPulse 8s linear infinite;
}

.energy-line-yellow { stroke: #f59e0b; filter: drop-shadow(0 0 3px #f59e0b); }
.energy-line-cyan { stroke: var(--primary); filter: drop-shadow(0 0 3px var(--primary)); }
.energy-line-purple { stroke: var(--secondary); filter: drop-shadow(0 0 3px var(--secondary)); }

@keyframes flowPulse {
    to { stroke-dashoffset: -100; }
}

/* Infographic III: Camera AI Analytics */
.camera-analytics-infographic {
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
}

.camera-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 33.33% 33.33%;
    pointer-events: none;
}

.camera-header-overlay {
    position: absolute;
    top: 15px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-white);
    opacity: 0.8;
}

.rec-indicator {
    color: var(--text-red);
    animation: blink 1s steps(5, start) infinite;
}

@keyframes blink { to { visibility: hidden; } }

.target-ai-box {
    position: absolute;
    border: 2px solid var(--primary);
    background: rgba(16, 112, 230, 0.03);
    border-radius: 4px;
    top: 30%;
    left: 35%;
    width: 150px;
    height: 220px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    animation: scanner 4s ease-in-out infinite alternate;
}

@keyframes scanner {
    0% { transform: translateY(0); }
    100% { transform: translateY(15px); }
}

.target-label {
    position: absolute;
    bottom: calc(100% + 6px);
    left: -2px;
    background-color: var(--primary);
    color: var(--text-dark);
    font-family: monospace;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 3px 8px;
    white-space: nowrap;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.line-crossing-indicator {
    position: absolute;
    top: 60%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-red);
    box-shadow: 0 0 10px var(--text-red);
}

.line-crossing-label {
    position: absolute;
    right: 20px;
    top: calc(60% - 20px);
    font-family: monospace;
    font-size: 0.65rem;
    color: var(--text-red);
    font-weight: 700;
}

/* 14. Serious Valuation Notice Box (NO "Bezpłatna wycena") */
.valuation-notice-box {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 36px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.valuation-notice-icon {
    font-size: 1.5rem;
    color: #f59e0b;
    margin-top: 3px;
    flex-shrink: 0;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.valuation-notice-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
}

.valuation-notice-content p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
}

.valuation-notice-content strong {
    color: var(--primary);
}

/* Additional layout for subpages */
.subpage-features-container {
    background: rgba(255, 255, 255, 0.01);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 60px;
    margin-top: 60px;
}

.features-intro {
    max-width: 700px;
    margin: 0 auto 50px;
}

.features-subgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-subcard {
    background: rgba(15, 7, 44, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: var(--transition-normal);
}

.feature-subcard:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.feature-subcard-icon {
    width: 48px;
    height: 48px;
    background: rgba(16, 112, 230, 0.03);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.1rem;
}

.feature-subcard h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.feature-subcard p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Custom layout for global SaaS subpage */
.saas-services-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.saas-service-row {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 40px;
    align-items: center;
    backdrop-filter: blur(15px);
    transition: var(--transition-normal);
}

.saas-service-row:hover {
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px transparent;
}

.saas-service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.saas-service-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.saas-service-badge {
    background: rgba(142, 146, 158, 0.05);
    color: #1070e6;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 3px 10px;
    font-size: 0.7rem;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.saas-service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.saas-service-features li {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.saas-service-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

.saas-service-price-box {
    border-left: 1px solid var(--border-color);
    padding-left: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.saas-price-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 4px;
}

.saas-price-period {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: block;
}

.saas-pricing-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    display: block;
    width: 100%;
}

@media (max-width: 1024px) {
    .subpage-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .details-grid,
    .details-grid.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .saas-service-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .saas-service-price-box {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
        padding-top: 30px;
    }
}

@media (max-width: 768px) {
    .subpage-hero-title {
        font-size: 2.3rem;
    }
    
    .subpage-features-container {
        padding: 30px;
    }
    
    .features-subgrid {
        grid-template-columns: 1fr;
    }
}



/* ==========================================================================
   15. Light Theme Styling Reborn as Smooth Dark Slate (Tailscale Style)
   ========================================================================== */
.light-section {
    background-color: #FFFFFF !important;
    background-image: none !important;
    color: var(--text-muted) !important;
}

/* Light Theme Overrides for Hero Visuals */
.light-section .visual-wrapper {
    background: var(--bg-card) !important;
    box-shadow: 0 20px 40px rgba(16, 24, 40, 0.03) !important;
    border-color: var(--border-color) !important;
}

.light-section .hero-img {
    mix-blend-mode: normal !important;
    filter: brightness(0.95) contrast(1.02) !important;
}


/* Base Headings inside Light Section */
.light-section h1,
.light-section h2,
.light-section h3,
.light-section h4,
.light-section h5,
.light-section h6,
.light-section .section-title {
    color: var(--text-white) !important; /* Łagodna biel zamiast czerni */
}

.light-section .section-subtitle {
    background: var(--primary-glow) !important;
    border-color: rgba(16, 112, 230, 0.15) !important;
    color: var(--primary) !important;
}

.light-section p,
.light-section .section-description,
.light-section .service-card-text {
    color: var(--text-muted) !important;
}

/* Subpage detailed grid intro */
.light-section .features-intro p,
.light-section .details-grid p {
    color: var(--text-muted) !important;
}

/* Service Cards / Feature Cards in Light Section */
.light-section .service-card,
.light-section .feature-subcard,
.light-section .saas-service-row {
    background: var(--bg-card) !important; /* Ciemne tło kart */
    border: 1px solid var(--border-color) !important;
    box-shadow: none !important;
    color: var(--text-muted) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.light-section .service-card::before,
.light-section .feature-subcard::before {
    background: none !important;
}

.light-section .service-card:hover,
.light-section .feature-subcard:hover,
.light-section .saas-service-row:hover {
    border-color: #9CA3AF !important;
    background: #F6F7F9 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
}

.light-section .service-card-title,
.light-section .feature-subcard h4,
.light-section .saas-service-content h3 {
    color: var(--text-white) !important;
}

.light-section .service-features {
    border-top: 1px solid var(--border-color) !important;
}

.light-section .service-features li {
    color: var(--text-muted) !important;
}

.light-section .service-features li i {
    color: var(--primary) !important;
}

/* Buttons in Light Section */
.light-section .btn-secondary {
    background: transparent !important;
    color: var(--text-white) !important;
    border: 1px solid var(--border-color) !important;
}

.light-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: var(--text-white) !important;
    color: var(--text-white) !important;
}

/* Special section: Global SaaS Banner */
.global-saas-banner {
    background: var(--bg-card) !important;
    border-top: 1px solid var(--border-color) !important;
    border-bottom: 1px solid var(--border-color) !important;
    color: var(--text-muted) !important;
}

.global-saas-banner h2 {
    color: var(--text-white) !important;
}

.global-saas-banner p {
    color: var(--text-muted) !important;
}

/* Comparison Table (Light Theme) */
.light-section .comparison-table-wrapper {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.03) !important;
}

.light-section .comparison-table th {
    background-color: var(--bg-dark) !important;
    color: var(--text-white) !important;
    border-bottom: 2px solid var(--border-color) !important;
}

.light-section .comparison-table td {
    color: var(--text-muted) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.light-section .comparison-table tr:hover td {
    background-color: var(--bg-card-hover) !important;
}

.light-section .comparison-table .feature-name {
    color: var(--text-white) !important;
    font-weight: 500 !important;
}

.light-section .comparison-table .col-competitor {
    background-color: rgba(239, 68, 68, 0.005) !important;
    color: var(--text-muted) !important;
}

.light-section .comparison-table .col-fertoneIT {
    background-color: rgba(16, 112, 230, 0.01) !important;
    color: var(--text-white) !important;
    font-weight: 500 !important;
}

.light-section .comparison-table .competitor-icon {
    color: #EF4444 !important;
}

.light-section .comparison-table .fertone-icon {
    color: var(--primary) !important;
}

/* Case Study in Light Theme */
.light-section .case-study-box {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 15px 40px rgba(16, 24, 40, 0.04) !important;
}

.light-section .case-badge {
    background: var(--primary-glow) !important;
    color: #1070e6 !important;
    border-color: rgba(16, 112, 230, 0.06) !important;
}

.light-section .case-title {
    color: #0A0B0D !important;
}

.light-section .case-steps {
    border-top: 1px solid rgba(16, 112, 230, 0.04) !important;
}

.light-section .step-num {
    background: #E0F2FE !important;
    color: #1070e6 !important;
    border: 1px solid #BAE6FD !important;
}

.light-section .case-step h4 {
    color: #0A0B0D !important;
}

.light-section .case-step p {
    color: #5A5E6B !important;
}

.light-section .case-results {
    border-top: 1px solid rgba(16, 112, 230, 0.04) !important;
}

.light-section .result-item h4 {
    color: #0A0B0D !important;
}

.light-section .result-item p {
    color: #5A5E6B !important;
}

/* Custom white background for Case Study box inside dark section */
#case-study .case-study-box {
    background: var(--bg-card) !important;
    border: 1px solid rgba(16, 112, 230, 0.06) !important;
    box-shadow: 0 25px 60px rgba(16, 112, 230, 0.05) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

#case-study .case-badge {
    background: rgba(16, 112, 230, 0.03) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(16, 112, 230, 0.06) !important;
}

#case-study .case-title {
    color: var(--text-white) !important;
}

#case-study .step-desc h4 {
    color: var(--text-white) !important;
}

#case-study .step-desc p {
    color: var(--text-muted) !important;
}

#case-study .case-study-stats {
    background: rgba(16, 112, 230, 0.01) !important;
    border-left: 1px solid rgba(16, 112, 230, 0.06) !important;
}

#case-study .case-stat-val {
    color: var(--primary) !important;
    text-shadow: none !important;
}

#case-study .case-stat-lbl {
    color: var(--text-muted) !important;
    font-weight: 500 !important;
}

/* Stats visibility overrides in light Hero Section */
.light-section .hero-stats {
    border-top-color: rgba(16, 112, 230, 0.06) !important;
}
.light-section .stat-number {
    color: var(--text-white) !important;
}
.light-section .stat-label {
    color: var(--text-muted) !important;
}

/* Subpage detailed intro containers */
.light-section .subpage-features-container {
    background: var(--bg-card) !important;
    border: 1px solid rgba(16, 112, 230, 0.04) !important;
    box-shadow: 0 10px 40px transparent !important;
}

.light-section .feature-subcard-icon {
    background: rgba(16, 112, 230, 0.03) !important;
    color: #1070e6 !important;
    border: 1px solid rgba(16, 112, 230, 0.05) !important;
}

/* Multi-step Valuation/Contact Form in Light Section */
.light-section .contact-form-wrapper {
    background: #F6F7F9 !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.light-section .step-dot {
    background-color: #FFFFFF !important;
    border: 2px solid #E5E7EB !important;
    color: #4B5563 !important;
}

.light-section .step-dot.active {
    background-color: #1070e6 !important;
    border-color: #1070e6 !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(16, 112, 230, 0.2) !important;
}

.light-section .step-dot.completed {
    background-color: #1070e6 !important;
    border-color: #1070e6 !important;
    color: #ffffff !important;
}

.light-section .form-step h3 {
    color: #0B0E14 !important;
}

.light-section .step-instruction {
    color: #4B5563 !important;
}

.light-section .option-card-content {
    border: 1px solid #E5E7EB !important;
    background: #FFFFFF !important;
    color: #4B5563 !important;
}

.light-section .option-card-content h4 {
    color: #0B0E14 !important;
}

.light-section .option-card-content p {
    color: #4B5563 !important;
}

.light-section .option-card input[type="radio"]:checked + .option-card-content {
    border-color: #1070e6 !important;
    background: #e0f2fe !important;
    box-shadow: none !important;
}

.light-section .checkbox-card {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
}

.light-section .checkbox-label {
    color: #0B0E14 !important;
}

.light-section .input-group label,
.light-section .form-inputs-container label {
    color: #0B0E14 !important;
}

.light-section .input-group input,
.light-section .form-inputs-container input,
.light-section .form-inputs-container textarea {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    color: #0B0E14 !important;
}

.light-section .input-group input:focus,
.light-section .form-inputs-container input:focus,
.light-section .form-inputs-container textarea:focus {
    border-color: var(--primary) !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 10px rgba(16, 112, 230, 0.08) !important;
}

.light-section .form-navigation .btn-prev {
    background: #FFFFFF !important;
    color: #0B0E14 !important;
    border: 1px solid #E5E7EB !important;
}

.light-section .form-navigation .btn-prev:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

.light-section .valuation-notice-box {
    background: #F6F7F9 !important;
    border: 1px solid #E5E7EB !important;
}

.light-section .valuation-notice-content h4 {
    color: #0B0E14 !important;
}

.light-section .valuation-notice-content p {
    color: #4B5563 !important;
}

.light-section .contact-info h3 {
    color: #0A0B0D !important;
}

.light-section .contact-intro {
    color: #5A5E6B !important;
}

.light-section .contact-item-icon {
    background: rgba(16, 112, 230, 0.03) !important;
    color: #1070e6 !important;
    border: 1px solid rgba(16, 112, 230, 0.05) !important;
}

.light-section .contact-item h4 {
    color: #0A0B0D !important;
}

.light-section .contact-item p {
    color: #5A5E6B !important;
}

.light-section .saas-service-features li {
    color: #5A5E6B !important;
}

.light-section .saas-service-features li i {
    color: #1070e6 !important;
}

.light-section .saas-service-price-box {
    border-left: 1px solid rgba(16, 112, 230, 0.04) !important;
}

@media (max-width: 1024px) {
    .light-section .saas-service-price-box {
        border-left: none !important;
        border-top: 1px solid rgba(16, 112, 230, 0.04) !important;
    }
}

.light-section .saas-price-num {
    color: #0A0B0D !important;
}

.light-section .saas-price-period {
    color: #5A5E6B !important;
}


/* ==========================================================================
   16. Service Cards and Pricing Text Visibility inside Light Sections
   ========================================================================== */
.light-section .service-card h3,
.light-section .service-card h4,
.light-section .service-card .plan-name,
.light-section .service-card .price-num {
    color: #0A0B0D !important; /* Deep dark purple */
}

.light-section .service-card p,
.light-section .service-card .plan-subtitle,
.light-section .service-card span[style*="color: var(--text-muted)"],
.light-section .service-card span[style*="color:var(--text-muted)"] {
    color: #5A5E6B !important; /* Elegant slate-purple */
}

.light-section .service-card ul,
.light-section .service-card li {
    color: #5A5E6B !important; /* Elegant slate-purple */
}

.light-section .service-card li strong {
    color: #0A0B0D !important; /* Deep dark purple for emphasis */
}

/* Strikethrough items for unavailable features */
.light-section .service-card li[style*="line-through"] {
    color: rgba(95, 85, 130, 0.4) !important;
}

.light-section .service-card li[style*="line-through"] i {
    color: rgba(95, 85, 130, 0.3) !important;
}

/* Large prices in subpage cards (e.g., "39 zł", "99 zł", "249 zł") */
.light-section .service-card span[style*="font-size: 2.2rem"] {
    color: #0A0B0D !important;
}

/* Featured card stand-out style in light section */
.light-section .service-card[style*="border: 2px solid"],
.light-section .service-card[style*="border:2px solid"],
.light-section .service-card.featured {
    border: 2px solid var(--primary) !important;
    background: var(--bg-card) !important;
    box-shadow: 0 15px 40px rgba(16, 112, 230, 0.05) !important;
}

/* Central Command / Roadmap Box at bottom of subpages */
.light-section div[style*="background: rgba(255, 255, 255, 0.01)"] {
    background: var(--bg-card) !important;
    border: 1px solid rgba(16, 112, 230, 0.04) !important;
    box-shadow: 0 10px 40px transparent !important;
}

.light-section div[style*="background: rgba(255, 255, 255, 0.01)"] h3 {
    color: var(--text-white) !important;
}

.light-section div[style*="background: rgba(255, 255, 255, 0.01)"] p {
    color: var(--text-muted) !important;
}

/* Central Command terminal/code mockup block */
.light-section div[style*="background: rgba(12, 16, 22, 0.8)"] {
    background: #0A0B0D !important; /* Keep the terminal block dark for contrast! */
}

/* CTA box in light section */
.light-section div[style*="background: linear-gradient"] {
    background: #F8F9FA !important;
    border: 1px solid rgba(16, 112, 230, 0.04) !important;
    box-shadow: 0 10px 40px transparent !important;
}

.light-section div[style*="background: linear-gradient"] h3 {
    color: #0A0B0D !important;
}

.light-section div[style*="background: linear-gradient"] p {
    color: #5A5E6B !important;
}

/* ==========================================================================
   17. Network Subpage (sieci.html) Rebuild & Timelines
   ========================================================================== */
.blueprint-intro {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 80px auto;
}

.blueprint-intro h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0A0B0D;
    margin-bottom: 20px;
}

.blueprint-steps {
    display: flex;
    flex-direction: column;
    gap: 35px; /* Compact spacing */
    position: relative;
}

.blueprint-step {
    background: #F6F7F9;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-lg);
    padding: 35px 40px;
    box-shadow: none;
}

.blueprint-step-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 20px;
}

.step-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E0F2FE; /* Jasnoniebieskie tło banerów */
    color: #1070e6 !important; /* Spójny niebieski kolor logo/tekstu */
    border: 1px solid #BAE6FD; /* Dopasowana delikatna ramka */
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: var(--radius-md); /* Pełne zaokrąglenie pigułki (30px) */
    margin-bottom: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}

.blueprint-step-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
}

.blueprint-step-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 1000px;
    margin: 0;
}

/* Alternate Diagram Layout style */
.showcase-diagram-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
    width: 100%;
}

.showcase-diagram-row:last-child {
    margin-bottom: 0;
}

.showcase-diagram-row.alt-row {
    flex-direction: row-reverse;
}

.showcase-image-container {
    width: 58%;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    border: 1px solid #E5E7EB;
    box-shadow: none;
    background: #FFFFFF;
    overflow: hidden;
    transition: var(--transition-normal);
}

.showcase-image-container:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.showcase-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.showcase-text-container {
    flex: 1;
    min-width: 0;
}

.showcase-text-container h4 {
    font-size: 1.5rem;
    color: #0A0B0D;
    font-weight: 800;
    margin-bottom: 12px;
}

.showcase-text-container p {
    font-size: 0.95rem;
    color: #5A5E6B;
    line-height: 1.6;
    margin-bottom: 24px;
}

.device-badge-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(16, 112, 230, 0.03);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.device-badge-tag.premium-tag {
    color: var(--secondary);
    background: rgba(142, 146, 158, 0.03);
}

/* Base Grid Layouts for Homepage Sections */
.services-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-study-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    background: #F6F7F9;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 40px;
}

.case-study-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.blueprint-bullet-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    padding: 0;
}

.blueprint-bullet-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #5A5E6B;
    font-size: 0.92rem;
    line-height: 1.5;
}

.blueprint-bullet-list li i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .showcase-diagram-row {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .showcase-diagram-row {
        flex-direction: column !important;
        gap: 30px;
        margin-bottom: 60px;
    }
    .showcase-image-container {
        width: 100%;
    }
    .showcase-text-container {
        width: 100%;
    }
    .blueprint-step {
        padding: 40px 30px;
    }
}

/* ==========================================
   PARTNERS LOGO MARQUEE TICKER (Above Footer)
   ========================================== */
.partners-ticker-section {
    background: #ffffff;
    border-top: 1px solid var(--border-color, #e2e8f0);
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    padding: 26px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.partners-ticker-section::before,
.partners-ticker-section::after {
    display: none !important;
}

.partners-ticker-container {
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
    user-select: none;
}

.partners-ticker-track {
    display: flex;
    align-items: center;
    gap: 65px;
    width: max-content;
    height: 50px;
    animation: partnersMarquee 26s linear infinite;
}

.partners-ticker-section:hover .partners-ticker-track {
    animation-play-state: paused;
}

@keyframes partnersMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 3));
    }
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 10px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.partner-logo-item:hover {
    transform: scale(1.06);
}

.partner-logo-item img {
    display: block;
    margin: auto;
    width: auto;
    max-height: 36px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.72);
    transition: filter 0.3s ease;
    align-self: center;
}

.partner-logo-item:hover img {
    filter: grayscale(0%) opacity(1);
}

/* Specific Height Adjustments for Visual Text Height Alignment */
.partner-logo-item img.logo-unifi-dc { height: 28px; }
.partner-logo-item img.logo-unifi { height: 26px; }
.partner-logo-item img.logo-ha { height: 32px; }
.partner-logo-item img.logo-partner4 { height: 26px; }
.partner-logo-item img.logo-cyberpower { height: 32px; }
.partner-logo-item img.logo-dell { height: 34px; }
.partner-logo-item img.logo-tech { height: 26px; }

@media (max-width: 768px) {
    .partners-ticker-section {
        padding: 20px 0;
    }
    .partners-ticker-section::before,
    .partners-ticker-section::after {
        width: 50px;
    }
    .partners-ticker-track,
    .partner-logo-item {
        height: 44px;
        gap: 40px;
        animation-duration: 22s;
    }
    .partner-logo-item img.logo-unifi-dc { height: 24px; }
    .partner-logo-item img.logo-unifi { height: 22px; }
    .partner-logo-item img.logo-ha { height: 28px; }
    .partner-logo-item img.logo-partner4 { height: 24px; }
    .partner-logo-item img.logo-cyberpower { height: 30px; }
    .partner-logo-item img.logo-dell { height: 32px; }
    .partner-logo-item img.logo-tech { height: 24px; }
}

/* ==========================================================================
   UniFi Protect Video Showcase & Camera Hardware Styles
   ========================================================================== */
.unifi-video-showcase {
    background: #0b0e14;
    border: 1px solid #1f293d;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    position: relative;
    margin-top: 25px;
}

.unifi-video-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 20px;
    background: #111622;
    border-bottom: 1px solid #1f293d;
}

.unifi-video-tab-btn {
    background: #192030;
    color: #9ca3af;
    border: 1px solid #2a344d;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.unifi-video-tab-btn:hover {
    color: #ffffff;
    border-color: #0284c7;
    background: #21293e;
}

.unifi-video-tab-btn.active {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.unifi-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1184 / 480;
    background: #05070a;
    overflow: hidden;
}

.unifi-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.unifi-video-hud-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 24px;
    background: linear-gradient(to top, rgba(11, 14, 20, 0.92) 0%, rgba(11, 14, 20, 0) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    font-family: monospace;
    font-size: 0.8rem;
    color: #cbd5e1;
}

.unifi-video-hud-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.unifi-video-hud-rec {
    color: #10b981;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    animation: pulseRec 1.8s infinite;
}

@keyframes pulseRec {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Camera Hardware Showcase */
.camera-hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.camera-hardware-card {
    background: #F6F7F9;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: none;
}

.camera-hardware-card:hover {
    transform: translateY(-5px);
    border-color: #9CA3AF;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.camera-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.camera-card-img-wrapper {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
}

.camera-card-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.camera-hardware-card:hover .camera-card-img-wrapper img {
    transform: scale(1.08);
}

.camera-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #0b0e14;
    margin-bottom: 12px;
}

.camera-card-subtitle {
    display: none;
}

.camera-card-specs {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.8rem;
    color: #475569;
}

.camera-card-spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.camera-card-spec-item i {
    color: #0284c7;
    font-size: 0.85rem;
    width: 14px;
    text-align: center;
}

.camera-card-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    padding: 8px 12px;
    background: #f1f5f9;
    color: #0284c7;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.camera-card-link-btn:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

/* AI Feature Video Cards Grid */
.ai-video-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 900px) {
    .ai-video-cards-grid {
        grid-template-columns: 1fr;
    }
}

.ai-video-card {
    background: #F6F7F9;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
}

.ai-video-card:hover {
    border-color: #9CA3AF;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.ai-video-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1184 / 480;
    background: transparent;
    overflow: hidden;
}

.ai-video-card-media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.ai-video-card-body {
    padding: 20px 24px;
}

.ai-video-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0b0e14;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-video-card-title i {
    color: #0284c7;
}

.ai-video-card-desc {
    display: none;
}

/* ==========================================================================
   FAQ Accordion & Local SEO Styles
   ========================================================================== */
.faq-section {
    padding: 60px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 30px auto 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.faq-item.active {
    border-color: #0284c7;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.08);
}

.faq-question {
    padding: 20px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0b0e14;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
}

.faq-question:hover {
    color: #0284c7;
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f9ff;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.faq-item.active .faq-icon {
    background: #0284c7;
    color: #ffffff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px 24px;
}

.local-seo-bar {
    background-color: #0b0e14 !important;
    background-image: none !important;
    background: #0b0e14 !important;
    border-top: 1px solid #1f293d;
    padding: 24px 0;
    color: #cbd5e1;
    font-size: 0.9rem;
    text-align: center;
}

.local-seo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    justify-content: center;
    margin-top: 10px;
}

.local-seo-tag {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   13. UI.com Styled Cookie Consent Banner (Desktop & Mobile)
   ========================================================================== */
.fertone-cookie-banner {
    position: fixed;
    z-index: 10000;
    background: rgba(11, 15, 25, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.2);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
}

.fertone-cookie-banner.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Desktop layout (Floating Card at bottom-right) */
@media (min-width: 769px) {
    .fertone-cookie-banner {
        bottom: 24px;
        right: 24px;
        width: 440px;
        max-width: calc(100vw - 48px);
        border-radius: 16px;
        padding: 24px;
        transform: translateY(20px);
    }
    .fertone-cookie-banner.visible {
        transform: translateY(0);
    }
    .cookie-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
    }
    .cookie-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: rgba(2, 132, 199, 0.15);
        border: 1px solid rgba(2, 132, 199, 0.3);
        color: #38bdf8;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.95rem;
    }
    .cookie-title {
        font-family: var(--font-heading);
        font-size: 1.05rem;
        font-weight: 600;
        color: #f8fafc;
        margin: 0;
    }
    .cookie-body {
        font-size: 0.88rem;
        line-height: 1.55;
        color: #94a3b8;
        margin-bottom: 20px;
    }
    .cookie-actions {
        display: flex;
        gap: 12px;
        align-items: center;
    }
    .btn-cookie-accept {
        flex: 1;
        background: #0284c7;
        color: #ffffff;
        font-family: var(--font-heading);
        font-size: 0.88rem;
        font-weight: 600;
        padding: 10px 18px;
        border-radius: 10px;
        border: none;
        cursor: pointer;
        transition: all 0.2s ease;
        text-align: center;
    }
    .btn-cookie-accept:hover {
        background: #0369a1;
        box-shadow: 0 0 15px rgba(2, 132, 199, 0.4);
    }
    .btn-cookie-essential {
        background: rgba(255, 255, 255, 0.05);
        color: #cbd5e1;
        font-family: var(--font-heading);
        font-size: 0.88rem;
        font-weight: 500;
        padding: 10px 16px;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .btn-cookie-essential:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }
}

/* Mobile layout (Sleek bottom sheet) */
@media (max-width: 768px) {
    .fertone-cookie-banner {
        bottom: 12px;
        left: 12px;
        right: 12px;
        width: auto;
        border-radius: 20px;
        padding: 20px 18px;
        transform: translateY(100%);
    }
    .fertone-cookie-banner.visible {
        transform: translateY(0);
    }
    .cookie-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 8px;
    }
    .cookie-icon {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        background: rgba(2, 132, 199, 0.15);
        color: #38bdf8;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
    }
    .cookie-title {
        font-family: var(--font-heading);
        font-size: 0.98rem;
        font-weight: 600;
        color: #f8fafc;
        margin: 0;
    }
    .cookie-body {
        font-size: 0.82rem;
        line-height: 1.45;
        color: #94a3b8;
        margin-bottom: 16px;
    }
    .cookie-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .btn-cookie-accept {
        width: 100%;
        background: #0284c7;
        color: #ffffff;
        font-family: var(--font-heading);
        font-size: 0.88rem;
        font-weight: 600;
        padding: 12px 16px;
        border-radius: 12px;
        border: none;
        cursor: pointer;
        text-align: center;
    }
    .btn-cookie-essential {
        width: 100%;
        background: transparent;
        color: #94a3b8;
        font-family: var(--font-heading);
        font-size: 0.82rem;
        font-weight: 500;
        padding: 8px 16px;
        border-radius: 12px;
        border: none;
        cursor: pointer;
        text-align: center;
    }
}


