/* SysTech CMS - DESIGN "DIGITAL FRONTIER REFINED" - WERSJA FINALNA */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('components/project.css');
@import url('components/project-detail.css');
@import url('components/service.css');
@import url('components/service-detail.css');
@import url('components/hero.css');
@import url('components/contact.css');
@import url('components/blog.css');
@import url('components/404.css');
@import url('components/privacy-policy.css');
@import url('components/guarantee-tabs.css');
@import url('components/architecture-diagram.css');
@import url('components/cookies.css');
@import url('components/terms-of-service.css');
@import url('components/blog-post-enhanced.css');

/* Definicja zmiennych CSS (kolory, cienie itp.) dla łatwego zarządzania motywem */
:root {
    --primary-color: #0062E6;
    --dark-color: #121A2D;
    --light-color: #FFFFFF;
    --background-color: #F8F9FA;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --accent-orange: #F97316;
}

/* ================================================== */
/* PODSTAWOWE STYLE STRONY                            */
/* ================================================== */

/* Resetowanie box-sizing dla wszystkich elementów */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Globalne style dla body */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: var(--background-color);
    color: var(--dark-color);
    line-height: 1.6;
    font-size: 16px;
    scroll-behavior: smooth;
}

/* Globalny kontener ograniczający szerokość treści */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ogólny padding dla sekcji */
section {
    padding: 80px 0;
}

/* Dodatkowa klasa dla odstępów między sekcjami, gdy standardowy padding to za mało */
.section-spacing {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--background-color);
}

.bg-dark {
    background-color: var(--dark-color);
}

.text-white {
    color: var(--light-color);
}

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

.mb-60 {
    margin-bottom: 60px !important;
}

/* ================================================== */
/* NOWOCZESNE MENU V2 - SUBTLE & ELEGANT              */
/* ================================================== */

/* Styl nagłówka/menu stałego na górze strony */
.header-v2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    background-color: transparent;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Kontener dla elementów menu - STAN POCZĄTKOWY (2 linie) */
.header-v2 .header-v2-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Styl logo w menu */
.header-v2 .logo img {
    height: 90px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 98, 230, 0.15));
}

/* --- STAN MENU PO PRZEWINIĘCIU (SCROLLED) - ELEGANT --- */
.header-v2.header-scrolled {
    padding: 12px 0;
    background: rgba(18, 26, 45, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 98, 230, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Zmiana layoutu kontenera po przewinięciu na 1 linię */
.header-v2.header-scrolled .header-v2-container {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
}

/* Zmniejszenie logo po przewinięciu */
.header-v2.header-scrolled .logo img {
    height: 45px;
    filter: drop-shadow(0 2px 8px rgba(0, 98, 230, 0.2));
}

/* Styl nawigacji - SUBTLE & MODERN */
.header-v2 .header-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.header-v2 .header-nav a {
    text-decoration: none;
    font-weight: 500;
    color: var(--light-color);
    padding: 12px 20px;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    overflow: hidden;
}

.header-v2 .header-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.header-v2 .header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-orange));
    border-radius: 1px;
    transition: width 0.3s ease;
}

.header-v2 .header-nav a:hover {
    color: var(--light-color);
    transform: translateY(-1px);
}

.header-v2 .header-nav a:hover::before {
    opacity: 1;
}

.header-v2 .header-nav a:hover::after {
    width: 80%;
}

.header-v2 .header-nav a.active {
    color: var(--accent-orange);
    font-weight: 600;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.header-v2 .header-nav a.active::after {
    width: 100%;
    background: var(--accent-orange);
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--light-color);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .header-v2 .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(18, 26, 45, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .header-v2 .header-nav.mobile-open {
        right: 0;
    }

    .header-v2 .header-nav a {
        padding: 15px 25px;
        font-size: 1.1rem;
        width: 200px;
        text-align: center;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-v2 .header-nav a.active {
        background: rgba(249, 115, 22, 0.15);
        border-color: rgba(249, 115, 22, 0.3);
    }

    .header-v2.header-scrolled .header-v2-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .header-v2 .logo img {
        height: 60px;
    }

    .header-v2.header-scrolled .logo img {
        height: 40px;
    }
}

/* Ogólne style dla nagłówków */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 0.8em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Ogólne style dla akapitów */
p {
    margin-bottom: 1.2em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Styl głównych tytułów sekcji */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Styl mniejszych tytułów sekcji (np. w opisach usług) */
.section-title-small {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--dark-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    display: inline-block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ================================================== */
/* HERO SECTION - NAPRAWA ODSTĘPU                     */
/* ================================================== */

.hero-v2.homepage-hero {
    padding-top: 180px;
    /* Zwiększone z 140px do 180px */
}

.hero-v2-tagline {
    margin-top: 30px;
    /* Zwiększone z 20px do 30px */
}

/* ================================================== */
/* STYLE SEKCJI NA STRONIE GŁÓWNEJ I PODSTRON         */
/* ================================================== */

/* ---- ANIMACJE WEJŚCIA ELEMENTÓW (reveal-on-scroll) ---- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- ANIMACJE DLA DIAGRAMU ARCHITEKTURY ---- */
.architecture-layer {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.architecture-layer.in-view {
    opacity: 1;
    transform: translateX(0);
}


/* ---- SEKCJA "DLACZEGO MY?" ---- */
.why-us-section {
    background-color: var(--background-color);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px auto;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-muted);
}

/* ======================================================================== */
/* SEKCJA WYRÓŻNIONYCH USŁUG - PROFESSIONAL GLASSMORPHISM                   */
/* ======================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 98, 230, 0.08);
    text-decoration: none;
    color: var(--dark-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    min-height: 320px;
    padding: 40px 30px;
    position: relative;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 98, 230, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

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

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(0, 98, 230, 0.15);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 98, 230, 0.3);
}

.service-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 98, 230, 0.1), rgba(0, 98, 230, 0.15));
    margin: 0 auto 30px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-card-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-orange));
    border-radius: 23px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover .service-card-icon {
    transform: translateY(-8px) scale(1.1);
    background: linear-gradient(135deg, rgba(0, 98, 230, 0.15), rgba(249, 115, 22, 0.1));
}

.service-card:hover .service-card-icon::before {
    opacity: 0.6;
}

.service-card-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary-color);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-card-icon svg {
    stroke: var(--accent-orange);
    transform: scale(1.1);
}

.service-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
    line-height: 1.3;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.service-card:hover .service-card-title {
    color: var(--primary-color);
}

.service-card-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.service-card-arrow {
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-card-arrow {
    color: var(--accent-orange);
    transform: translateX(8px) scale(1.1);
}

.service-card-arrow svg {
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
}

/* ======================================================================== */
/* SEKCJA GWARANCJI - ALTERNATING TIMELINE                                  */
/* ======================================================================== */

.guarantee-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.guarantee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 98, 230, 0.02), rgba(249, 115, 22, 0.01));
    z-index: 0;
}

.guarantee-section .container {
    position: relative;
    z-index: 1;
}

.guarantee-timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
    padding: 40px 0;
}

.guarantee-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-orange));
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 98, 230, 0.3);
}

.guarantee-item {
    position: relative;
    margin-bottom: 80px;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.guarantee-item.revealed {
    opacity: 1;
}

.guarantee-item:nth-child(odd) {
    transform: translateX(-100px);
}

.guarantee-item:nth-child(even) {
    transform: translateX(100px);
}

.guarantee-item.revealed:nth-child(odd),
.guarantee-item.revealed:nth-child(even) {
    transform: translateX(0);
}

.guarantee-item:nth-child(odd) .guarantee-content {
    margin-right: 60px;
    text-align: right;
    flex-direction: row-reverse;
}

.guarantee-item:nth-child(even) .guarantee-content {
    margin-left: 60px;
    text-align: left;
    flex-direction: row;
}

.guarantee-content {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 35px rgba(0, 98, 230, 0.08);
    transition: all 0.4s ease;
    position: relative;
    max-width: 500px;
}

.guarantee-item:nth-child(odd) .guarantee-content {
    margin-left: auto;
}

.guarantee-item:nth-child(even) .guarantee-content {
    margin-right: auto;
}

.guarantee-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    transform: translateY(-50%);
}

.guarantee-item:nth-child(odd) .guarantee-content::before {
    right: -30px;
    border-left-color: rgba(255, 255, 255, 0.7);
}

.guarantee-item:nth-child(even) .guarantee-content::before {
    left: -30px;
    border-right-color: rgba(255, 255, 255, 0.7);
}

.guarantee-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 98, 230, 0.15);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 98, 230, 0.2);
}

.guarantee-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 98, 230, 0.25);
    border: 4px solid white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: all 0.4s ease;
}

.guarantee-item:hover .guarantee-icon-circle {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 98, 230, 0.35);
}

.guarantee-icon-circle i {
    width: 36px;
    height: 36px;
    color: white;
}

.guarantee-text {
    flex: 1;
}

.guarantee-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: color 0.3s ease;
}

.guarantee-content:hover .guarantee-text h3 {
    color: var(--primary-color);
}

.guarantee-text p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.guarantee-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-orange), #fbbf24);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    z-index: 3;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Staggered animation delays */
.guarantee-item:nth-child(1) {
    transition-delay: 0.2s;
}

.guarantee-item:nth-child(2) {
    transition-delay: 0.4s;
}

.guarantee-item:nth-child(3) {
    transition-delay: 0.6s;
}

/* ======================================================================== */
/* SEKCJA ARCHITEKTURY - MODERN LAYERS                                      */
/* ======================================================================== */

.architecture-section {
    background: linear-gradient(135deg, rgba(0, 98, 230, 0.03), rgba(249, 115, 22, 0.02));
    position: relative;
    overflow: hidden;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.7;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.architecture-diagram {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.architecture-layer {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 35px rgba(0, 98, 230, 0.08);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateX(-30px);
}

.architecture-layer.in-view {
    opacity: 1;
    transform: translateX(0);
}

.architecture-layer:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 98, 230, 0.15);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 98, 230, 0.2);
}

.architecture-layer-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-orange));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 98, 230, 0.25);
}

.architecture-layer-icon i {
    width: 36px;
    height: 36px;
    color: white;
}

.architecture-layer-content {
    flex: 1;
}

.layer-number {
    display: inline-block;
    background: rgba(0, 98, 230, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.architecture-layer-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.architecture-layer-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ======================================================================== */
/* SEKCJA LICZNIKÓW - MODERN STATS                                          */
/* ======================================================================== */

.numbers-section {
    background: var(--dark-color);
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.numbers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 98, 230, 0.1), rgba(249, 115, 22, 0.05));
    z-index: 0;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.number-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.number-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 98, 230, 0.3);
    box-shadow: 0 15px 40px rgba(0, 98, 230, 0.2);
}

.number-value {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-orange), #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 10px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-feature-settings: 'tnum';
}

.number-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---- NOWA SEKCJA PROCESU "WOW EFFECT" ---- */
.process-section {
    position: relative;
    overflow-x: clip;
    /* Zapobiega pojawianiu się paska przewijania */
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

.process-step {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    /* Ważne dla równej wysokości */
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Linia łącząca kroki */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 60px;
    /* Na wysokości środka numeru */
    left: calc(100% + 5px);
    transform: translateY(-50%);
    width: 30px;
    /* Szerokość przerwy między kartami */
    height: 2px;
    background: linear-gradient(90deg, var(--border-color), transparent);
}

@media (max-width: 1140px) and (min-width: 831px) {
    .process-step:nth-child(3)::after {
        display: none;
    }
}

@media (max-width: 830px) and (min-width: 577px) {
    .process-step:nth-child(2n)::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .process-step::after {
        display: none;
    }
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-orange));
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 25px auto;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 98, 230, 0.2);
}

.process-step h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--dark-color);
    flex-shrink: 0;
    /* Zapobiega kurczeniu się */
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    flex-grow: 1;
    /* Kluczowa właściwość, aby opis wypełnił przestrzeń */
}


/* ---- SEKCJA OPINII ---- */
.testimonial-section {
    padding: 80px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--background-color);
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.testimonial-text {
    color: var(--dark-color);
    line-height: 1.7;
    margin-bottom: 25px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.author-name {
    font-weight: 700;
    display: block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---- SEKCJA TECHNOLOGII (ANIMACJA) ---- */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.tech-stack-section {
    background-color: var(--background-color);
    padding: 60px 0;
}

.tech-stack-title {
    text-align: center;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.tech-logos-container {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.tech-logos {
    display: flex;
    flex-wrap: nowrap;
    width: fit-content;
    animation: scroll 60s linear infinite;
}

.tech-logos:hover {
    animation-play-state: paused;
}

.tech-logos img {
    height: 40px;
    margin: 0 40px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.tech-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

/* ---- SEKCJA FAQ ---- */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.faq-item summary {
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-content {
    padding-top: 15px;
    color: var(--text-muted);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ======================================================================== */
/* FINAL CTA - ENHANCED                                                     */
/* ======================================================================== */

.final-cta-section {
    background: linear-gradient(135deg, var(--dark-color), #1e293b);
    position: relative;
    overflow: hidden;
    color: var(--light-color);
    text-align: center;
    padding: 100px 0;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 98, 230, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.final-cta-section .container {
    position: relative;
    z-index: 1;
}

.final-cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.final-cta-section p {
    max-width: 650px;
    margin: 0 auto 50px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.7;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ================================================== */
/* PROFESSIONAL FOOTER - ELEGANT & MODERN             */
/* ================================================== */

.footer {
    background: linear-gradient(135deg, var(--dark-color), #1e293b);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 98, 230, 0.2);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 98, 230, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.footer-logo {
    align-self: flex-start;
}

.footer-logo img {
    height: 50px;
    filter: brightness(1.1) drop-shadow(0 2px 8px rgba(0, 98, 230, 0.2));
    transition: all 0.3s ease;
}

.footer-logo:hover img {
    filter: brightness(1.2) drop-shadow(0 4px 12px rgba(0, 98, 230, 0.3));
    transform: translateY(-2px);
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    max-width: 350px;
    text-align: left;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-orange));
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-orange));
    transition: width 0.3s ease;
    border-radius: 1px;
}

.footer-links a:hover {
    color: var(--light-color);
    padding-left: 20px;
}

.footer-links a:hover::before {
    width: 15px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
}

.footer-contact-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-text {
    flex: 1;
    word-break: break-word;
}

.footer-contact-text a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-text a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: rgba(0, 98, 230, 0.2);
    border-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 98, 230, 0.2);
}

.footer-social a i {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-legal {
        justify-content: center;
    }
}

/* Podstawowe style dla przycisku, jeśli nie masz ich zdefiniowanych w innych miejscach */
.btn {
    display: inline-block;
    font-weight: 400;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #007bff;
    border: 1px solid #007bff;
    padding: .75rem 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* ======================================================================== */
/* RESPONSIVE DESIGN                                                        */
/* ======================================================================== */

@media (max-width: 992px) {
    .hero-v2.homepage-hero {
        padding-top: 150px;
        /* Zwiększone z 120px */
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .service-card {
        padding: 35px 25px;
        min-height: 300px;
    }

    .guarantee-tabs-nav {
        flex-direction: column;
    }

    .guarantee-tab-link {
        padding: 20px;
    }

    .guarantee-tab-pane {
        padding: 40px 30px;
    }

    .guarantee-content-inner {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .architecture-layer {
        padding: 30px;
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .final-cta-section h2 {
        font-size: 2.2rem;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .hero-v2.homepage-hero {
        padding-top: 130px;
        /* Zwiększone z 100px */
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
        min-height: 280px;
    }

    .service-card-title {
        font-size: 1.2rem;
    }

    .guarantee-tab-pane {
        padding: 30px 20px;
    }

    .guarantee-content-inner {
        gap: 20px;
    }

    .guarantee-icon-bg {
        width: 60px;
        height: 60px;
    }

    .architecture-layer {
        padding: 25px 20px;
    }

    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .number-value {
        font-size: 2.8rem;
    }

    .final-cta-section h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .header-v2 .header-nav {
        gap: 15px;
    }

    .header-v2 .header-nav a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}