@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --background-color: #000000;
    --primary-color: #9333ea;
    --secondary-color: #3b82f6;
    --card-border: #27272a;
    --card-border-hover: var(--primary-color);
    --text-color: #f4f4f5;
    --text-muted: #a1a1aa;
    --success-color: #34d399;
    --checkmark-color: var(--primary-color);
    --hero-text-color: #a78bfa;
    --star-color: #facc15;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html {
    scroll-behavior: smooth;
}

body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--background-color); 
    color: var(--text-color); 
    overflow-x: hidden; 
}

body::-webkit-scrollbar { 
    width: 15px; 
}

body::-webkit-scrollbar-track { 
    background: transparent; 
}

body::-webkit-scrollbar-thumb { 
    background-color: #2c2c2c; 
    border-radius: 20px; 
    border: 5px solid var(--background-color); 
}

#background-triangles { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: -1; 
    pointer-events: none; 
}

.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
}

.fade-in { 
    animation: fadeIn 0.8s ease-out both; 
}

.header-wrapper { 
    position: sticky; 
    top: 0; 
    width: 100%; 
    z-index: 100; 
    background-color: transparent; 
    backdrop-filter: blur(3px); 
    border-bottom: 1px solid transparent; 
}

.main-header { 
    padding: 15px 0; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo-container { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    text-decoration: none; /* Usuwa podkreślenie z linku */
    transition: transform 0.3s ease; /* Płynna animacja */
}

.logo-container:hover {
    transform: scale(1.05); /* Lekkie powiększenie */
}

.logo-container img { 
    width: 36px; 
    height: 36px; 
}

.logo-container .logo-text { 
    font-size: 22px; 
    font-weight: 700; 
    background: linear-gradient(90deg, #ffffff 30%, #a78bfa 100%); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

.main-nav ul { 
    display: flex; 
    align-items: center; 
    list-style: none; 
    gap: 35px; 
}

.main-nav a { 
    color: var(--text-muted); 
    text-decoration: none; 
    font-size: 16px; 
    font-weight: 500; 
    transition: color 0.3s; 
}

.main-nav a:hover { 
    color: var(--text-color); 
}

.header-actions { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}

.header-actions .nav-link { 
    color: var(--text-muted); 
    text-decoration: none; 
    font-size: 16px; 
    font-weight: 500; 
}

.btn { 
    padding: 10px 24px; 
    border-radius: 8px; 
    font-weight: 600; 
    font-size: 15px; 
    cursor: pointer; 
    text-decoration: none; 
    transition: all 0.3s ease; 
    border: none; 
    color: white; 
}

.btn.get-started-btn { 
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color)); 
}

.btn:hover { 
    transform: translateY(-2px); 
}

.compact-hero { 
    text-align: center; 
    padding: 60px 0; 
    position: relative; 
    overflow: hidden; 
}

.compact-hero h1 { 
    font-size: 3rem; 
    font-weight: 700; 
    color: var(--hero-text-color); 
    margin-bottom: 15px; 
}

.compact-hero p { 
    font-size: 1rem; 
    color: var(--text-muted); 
    max-width: 550px; 
    margin: 0 auto; 
    line-height: 1.6; 
}

.stats-banner-wrapper { 
    padding: 0 0px 0px; 
}

.stats-banner { 
    max-width: 700px; 
    margin: 0 auto; 
    border-radius: 14px; 
    padding: 15px 30px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.brand-info { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}

.brand-logo { 
    width: 80px; 
    height: 80px; 
}

.tagline { 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    background-color: rgba(0, 184, 217, 0.1); 
    color: #00b8d9; 
    padding: 5px 10px; 
    border-radius: 20px; 
    font-size: 0.75rem; 
    font-weight: 500; 
    margin-bottom: 6px; 
}

.tagline svg { 
    width: 12px; 
    height: 12px; 
}

.brand-text h2 { 
    font-size: 1.5rem; 
    font-weight: 600; 
    color: var(--text-color); 
}

.stats-container { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}

.stat-item { 
    text-align: left; 
}

.stat-label { 
    font-size: 0.8rem; 
    color: var(--text-muted); 
    margin-bottom: 2px; 
    display: block; 
}

.stat-value { 
    font-size: 1.2rem; 
    font-weight: 700; 
    color: var(--text-color); 
}

.stat-value-stars { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    font-size: 1.2rem; 
    font-weight: 700; 
}

.stars-wrapper { 
    display: flex; 
    font-size: 1rem; 
    color: var(--star-color); 
}

.stat-divider { 
    width: 1px; 
    height: 35px; 
    background-color: var(--card-border); 
}
.brand-info { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}

.brand-logo { 
    width: 80px; 
    height: 80px; 
}

.tagline { 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    background-color: rgba(0, 184, 217, 0.1); 
    color: #00b8d9; 
    padding: 5px 10px; 
    border-radius: 20px; 
    font-size: 0.75rem; 
    font-weight: 500; 
    margin-bottom: 6px; 
}

.tagline svg { 
    width: 12px; 
    height: 12px; 
}

.brand-text h2 { 
    font-size: 1.5rem; 
    font-weight: 600; 
    color: var(--text-color); 
}

.stats-container { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}

.stat-item { 
    text-align: left; 
}

.stat-label { 
    font-size: 0.8rem; 
    color: var(--text-muted); 
    margin-bottom: 2px; 
    display: block; 
}

.stat-value { 
    font-size: 1.2rem; 
    font-weight: 700; 
    color: var(--text-color); 
}

.stat-value-stars { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    font-size: 1.2rem; 
    font-weight: 700; 
}

.stars-wrapper { 
    display: flex; 
    font-size: 1rem; 
    color: var(--star-color); 
}

.stat-divider { 
    width: 1px; 
    height: 35px; 
    background-color: var(--card-border); 
}

.products-section { 
    padding: 20px 0 80px 0; 
}

.product-grid { 
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 30px; 
    max-width: 800px; 
    margin: 0 auto; 
}

.product-card { 
    width: 300px; 
    background: #000000a4; 
    position: relative; 
    border-radius: 12px; 
    border: 2px solid #0c0c0c; 
    padding: 25px; 
    display: flex; 
    flex-direction: column; 
    transition: all 0.3s ease; 
    overflow: hidden; 
}

.product-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--card-border-hover); 
}

.product-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 15px; 
}

.product-header h3 { 
    font-size: 18px; 
    font-weight: 600; 
    color: var(--text-color); 
}

.status-dot { 
    width: 10px; 
    height: 10px; 
    background-color: var(--success-color); 
    border-radius: 50%; 
    box-shadow: 0 0 8px var(--success-color); 
}

.product-image { 
    width: 100%; 
    max-width: 160px; 
    margin: 10px auto; 
    transform: rotateY(15deg) rotateX(10deg); 
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5)); 
    transition: transform 0.3s ease; 
}

.product-card:hover .product-image { 
    transform: rotateY(0) rotateX(0); 
}

.features-list { 
    list-style: none; 
    margin: 15px 0; 
    text-align: left; 
    flex-grow: 1; 
}

.features-list li { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 10px; 
    font-size: 14px; 
    color: var(--text-muted); 
}

.features-list svg { 
    width: 18px; 
    height: 18px; 
    color: var(--checkmark-color); 
    flex-shrink: 0; 
}

.product-footer { 
    margin-top: auto; 
    text-align: right; 
}

.product-footer .btn-primary { 
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); 
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3); 
    padding: 12px 30px; 
    font-size: 16px; 
}

.section { 
    text-align: center; 
}

#comparison { 
    padding-top: 0px; 
    padding-bottom: 100px; 
}

#process { 
    padding-top: 100px; 
    padding-bottom: 30px; 
}

.section-tag { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    padding: 6px 14px; 
    border: 1px solid var(--card-border); 
    border-radius: 20px; 
    font-size: 14px; 
    font-weight: 500; 
    color: var(--primary-color); 
    margin-bottom: 16px; 
}

.section-tag svg { 
    width: 14px; 
    height: 14px; 
}

.section-title { 
    font-size: 2.5rem; 
    font-weight: 700; 
    margin-bottom: 16px; 
}

.section-subtitle { 
    font-size: 1.1rem; 
    color: var(--text-muted); 
    max-width: 550px; 
    margin: 0 auto 50px auto; 
}

.comparison-slider { 
    position: relative; 
    width: 1000px;
    height: 383px;
    margin: 0 auto; 
    border-radius: 12px; 
    overflow: hidden; 
    border: 1px solid var(--card-border); 
    aspect-ratio: 16 / 9; 
    -webkit-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
}

.comparison-slider .img-container { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
}

.comparison-slider .img-container img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    position: absolute; 
    top: 0; 
    left: 0; 
}

.comparison-slider .img-before { 
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); 
    z-index: 2; 
}

.comparison-slider .slider-handle { 
    position: absolute; 
    top: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 2px; 
    height: 100%; 
    background-color: rgba(22, 22, 22, 0.356); 
    cursor: ew-resize; 
    z-index: 3; 
}

.comparison-slider .slider-handle::before {
    content: ''; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.363);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -3 16 6'%3E%3Cpath d='M -5 -2 L -7 0 L -5 2 M 5 -2 L 7 0 L 5 2' fill='none' stroke='white' stroke-width='0.75' vector-effect='non-scaling-stroke'%3E%3C/path%3E%3C/svg%3E");

    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: center;
}

.comparison-slider .label { 
    position: absolute; 
    top: 15px; 
    padding: 6px 14px; 
    background-color: black; 
    color: white; 
    border-radius: 8px; 
    font-weight: bold; 
    font-size: 12px; 
    z-index: 4; 
    pointer-events: none; 
    text-transform: uppercase; 
}

.comparison-slider .label-before { 
    left: 15px; 
}

.comparison-slider .label-after { 
    right: 15px; 
}

.process-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    text-align: left; 
}

.process-card { 
    border: 2px solid #0c0c0c; 
    padding: 30px; 
    border-radius: 12px; 
    transition: all 0.3s ease; 
    background: transparent; 
}

.process-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--primary-color); 
}

.process-card .step-number { 
    font-size: 2.5rem; 
    font-weight: 700; 
    color: var(--text-muted); 
    opacity: 0.2; 
}

.process-card h3 { 
    font-size: 1.25rem; 
    margin: 10px 0; 
}

.process-card p { 
    color: var(--text-muted); 
    line-height: 1.6; 
}

#faq {
    padding-top: 100px;
    padding-bottom: 30px;
}

.faq-grid {
    display: grid;
    /* Automatycznie dopasowuje liczbę kolumn do szerokości ekranu */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.faq-card {
    border: 2px solid #0c0c0c; 
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: transparent;
}

.faq-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.faq-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.faq-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Style dla sekcji Showcase */
#showcase {
    padding-top: 0; /* Bezpośrednio pod FAQ, bez dodatkowego odstępu */
    padding-bottom: 100px;
}

.showcase-title {
    font-size: 2rem; /* Trochę mniejszy tytuł */
    margin-bottom: 40px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Proporcje 16:9 dla filmów */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #0c0c0c; 
    transition: all 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.25);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.faq-card:last-child:nth-child(3n + 1) {
    grid-column: 2;
}

/* Plik: static/style.css */

/* ZNAJDŹ I ZASTĄP CAŁĄ TĘ SEKCJĘ AŻ DO BLOKU @media */

/* ========================================================= */
/* ===         STYLE DLA HAMBURGERA I MENU MOBILNEGO     === */
/* ========================================================= */

/* Przycisk hamburgera (domyślnie ukryty) */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}
.hamburger-line {
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 5px;
    transition: all 0.3s ease-in-out; /* Dodajemy animację do kresek */
}

/* Pełnoekranowe menu mobilne (Z POPRAWKAMI) */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    
    /* KLUCZOWE ZMIANY DLA CENTROWANIA: */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centruje w poziomie */
    justify-content: center; /* Centruje w pionie */
    gap: 40px;
    
    /* Ulepszona animacja pojawiania się */
    opacity: 0;
    transform: scale(0.98); /* Zaczyna lekko zmniejszone */
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-menu.active {
    opacity: 1;
    transform: scale(1); /* Wraca do normalnego rozmiaru */
    pointer-events: auto;
}

/* Przycisk zamykania w menu */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1; /* Poprawka dla lepszego wyglądu X */
}

/* Linki i przyciski w menu mobilnym */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.mobile-nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    transform: translateY(10px); /* Przygotowanie do animacji */
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 80%;
    max-width: 300px;
    transform: translateY(10px); /* Przygotowanie do animacji */
    opacity: 0;
    transition: transform 0.3s ease 0.1s, opacity 0.3s ease 0.1s; /* Lekkie opóźnienie */
}

/* Animacja wjeżdżania linków po otwarciu menu */
.mobile-menu.active .mobile-nav-links a,
.mobile-menu.active .mobile-nav-actions {
    transform: translateY(0);
    opacity: 1;
}

/* Animacja poszczególnych linków (efekt kaskady) */
.mobile-menu.active .mobile-nav-links a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-links a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-nav-links a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-links a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-nav-links a:nth-child(5) { transition-delay: 0.3s; }


@media (max-width: 768px) {
    /* === KOMPLEKSOWE POPRAWKI DLA URZĄDZEŃ MOBILNYCH === */

    body {
        font-size: 15px;
        -webkit-text-size-adjust: 100%;
    }

    .main-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
    }
    .desktop-nav { display: none; }
    .hamburger-btn { display: flex; }

    .compact-hero { padding: 40px 0; }
    .compact-hero h1 { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }

    .stats-banner { flex-direction: column; gap: 25px; text-align: center; }
    .stats-container { justify-content: center; gap: 25px; }
    
    /* === KLUCZOWA ZMIANA JEST TUTAJ === */
    /* Upewniamy się, że .faq-grid jest na tej liście */
    .product-grid,
    .process-grid,
    .faq-grid,
    .showcase-grid {
        grid-template-columns: 1fr; /* Ustawia siatkę na jedną kolumnę */
    }
    
    .product-card { width: 100%; max-width: 340px; margin: 0 auto; }

    #comparison, #process, #faq, #showcase {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    #comparison { padding-bottom: 40px; }

    .comparison-slider { width: 100%; height: auto; aspect-ratio: 16 / 9; }
    .comparison-slider .label { font-size: 10px; padding: 4px 8px; }

    .process-card, .faq-card { text-align: center; }
    .process-card p, .faq-card p { text-align: left; }

    .product-image { max-width: 120px; margin: 5px auto; }

    /* Centrowanie ostatniej karty FAQ nie jest już potrzebne na mobilnych, bo jest jedna kolumna */
    .faq-card:last-child:nth-child(3n + 1),
    .faq-card:last-child:nth-child(2n + 1) {
        grid-column: auto; /* Resetujemy style centrowania z desktopa */
    }
}

