/* --- RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; cursor: none; }

/* PRZYWRACANIE KURSORA NA ELEMENTACH INTERAKTYWNYCH */
a, button, input, .modal-close, .lang-btn { cursor: pointer; }
input { cursor: text; }

@media (pointer: coarse) { * { cursor: auto; } }

body, html { 
    width: 100%; font-family: 'Inter', sans-serif; 
    background-color: #212529; color: white; overflow-x: hidden; scroll-behavior: smooth;
}

/* --- CUSTOM CURSOR --- */
.custom-cursor { 
    position: fixed; top: 0; left: 0; width: 20px; height: 20px; 
    border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%; 
    pointer-events: none; transform: translate(-50%, -50%); 
    z-index: 10002; 
    mix-blend-mode: difference; 
    transition: width 0.2s, height 0.2s, opacity 0.2s;
    opacity: 1;
}
.custom-cursor::after { 
    content: ''; position: absolute; top: 50%; left: 50%; 
    width: 4px; height: 4px; background: #F27405; 
    border-radius: 50%; transform: translate(-50%, -50%); 
}

/* Ukrywanie kółka */
.custom-cursor.hidden { opacity: 0 !important; width: 50px; height: 50px; }

/* Interakcje kursora */
a:hover ~ .custom-cursor, button:hover ~ .custom-cursor, 
.feature-card:hover ~ .custom-cursor, .btn:hover ~ .custom-cursor,
.lang-btn:hover ~ .custom-cursor, .modal-close:hover ~ .custom-cursor { 
    width: 40px; height: 40px; border-color: #F27405; background: rgba(242, 116, 5, 0.1);
}

/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; padding: 20px 40px;
    display: flex; justify-content: space-between; align-items: center; 
    z-index: 5000; 
    background: linear-gradient(to bottom, rgba(33,37,41,0.95) 0%, rgba(33,37,41,0) 100%);
}
.logo img { height: 80px; width: auto; display: block; }

/* LANGUAGE SWITCHER */
.lang-switcher { display: flex; gap: 10px; pointer-events: auto; }
.lang-btn {
    background: transparent; border: 1px solid #495057; color: #ADB5BD;
    padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 600;
    transition: 0.3s;
}
.lang-btn:hover { color: white; border-color: white; }
.lang-btn.active { background: #F27405; border-color: #F27405; color: white; }

/* --- HERO SECTION --- */
.hero-wrapper { 
    position: relative; min-height: 100vh; width: 100%; 
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    background: radial-gradient(circle at center, rgba(33,37,41,0) 0%, rgba(33,37,41,1) 100%);
    padding-top: 100px; padding-bottom: 120px; 
    z-index: 1;
}
#hero-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.4; z-index: 0; pointer-events: none; }

.hero-content { 
    position: relative; z-index: 10; text-align: center; width: 100%; max-width: 1200px; padding: 20px; 
    pointer-events: none; 
}

/* LASER SVG */
.laser-headline { width: 100%; margin-bottom: 20px; pointer-events: none; }
.laser-char {
    font-family: 'Inter', sans-serif; font-weight: 900; 
    fill: transparent; stroke: transparent; stroke-width: 2px;
    stroke-linecap: round; stroke-linejoin: round;
}
@keyframes cutPath {
    0% { stroke-dasharray: 800; stroke-dashoffset: 800; stroke: #FFFFFF; filter: url(#cutting-glow); }
    90% { stroke: #FFFFFF; filter: url(#cutting-glow); }
    100% { stroke-dashoffset: 0; stroke: #FFFFFF; filter: none; }
}
.char-active { animation: cutPath 0.13s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.char-finished-white { fill: #ffffff; transition: fill 0.1s ease-out; }
.char-finished-orange { fill: #F27405; transition: fill 0.1s ease-out; }

.fade-up-text {
    font-size: 1.15rem; line-height: 1.6; color: #ADB5BD;
    max-width: 800px; margin: 0 auto 40px;
    opacity: 0; transform: translateY(30px); transition: 0.8s ease-out;
    pointer-events: auto;
}
.fade-up-text.show { opacity: 1; transform: translateY(0); }

.buttons { 
    display: flex; gap: 15px; justify-content: center; 
    opacity: 0; transform: translateY(30px); transition: 0.8s ease-out 0.2s;
    padding-bottom: 20px; pointer-events: auto; position: relative; z-index: 20; 
}
.buttons.show { opacity: 1; transform: translateY(0); }

.btn { 
    padding: 16px 32px; font-size: 1rem; font-weight: 600; border-radius: 6px; border: none; 
    transition: 0.3s; position: relative; z-index: 100;
}
.btn-primary { background: #F27405; color: white; box-shadow: 0 4px 15px rgba(242, 116, 5, 0.4); }
.btn-primary:hover { transform: translateY(-3px); background: #d66500; box-shadow: 0 6px 20px rgba(242, 116, 5, 0.6); }
.btn-secondary { background: transparent; border: 2px solid #495057; color: white; }
.btn-secondary:hover { border-color: white; background: rgba(255,255,255,0.05); }

/* --- SECTIONS GENERAL --- */
.section { padding: 100px 20px; border-top: 1px solid #333; position: relative; z-index: 5; background: #212529; }
.container { max-width: 1100px; margin: 0 auto; }
h2 { font-size: 2.5rem; margin-bottom: 60px; text-align: center; }
.highlight { color: #F27405; }
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- FEATURES GRID --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { 
    background: #2b3035; padding: 40px 30px; border-radius: 12px; border: 1px solid #333; 
    transition: 0.4s; position: relative; overflow: hidden; height: 100%;
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.feature-card:hover { transform: translateY(-10px); border-color: #F27405; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.icon-box { width: 60px; height: 60px; margin-bottom: 25px; display: flex; align-items: center; justify-content: center; }
.icon-svg { width: 100%; height: 100%; stroke: #F27405; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { margin-bottom: 15px; font-size: 1.4rem; color: white; }
.feature-card p { color: #ADB5BD; line-height: 1.6; font-size: 1rem; }

/* --- TIMELINE --- */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 20px 0; }
.timeline::before { 
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; 
    background: #333; transform: translateX(-50%); z-index: 0; 
}
.timeline-item { position: relative; margin-bottom: 60px; width: 50%; padding-right: 50px; text-align: right; z-index: 1; }
.timeline-item:nth-child(even) { left: 50%; padding-right: 0; padding-left: 50px; text-align: left; }
.timeline-dot { 
    position: absolute; right: -6px; top: 0; width: 14px; height: 14px; 
    border-radius: 50%; background: #F27405; z-index: 10; box-shadow: 0 0 0 5px #212529; 
}
.timeline-item:nth-child(even) .timeline-dot { right: auto; left: -8px; }
.timeline-content .date { font-size: 0.85rem; color: #ADB5BD; display: block; margin-bottom: 8px; font-weight: 700; letter-spacing: 1px; }
.timeline-content h3 { font-size: 1.3rem; margin-bottom: 10px; color: white; }
.timeline-content p { font-size: 1rem; color: #6c757d; }

/* --- COMPARISON TABLE --- */
.table-wrapper { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 30px; }
.compare-table { width: 100%; border-collapse: collapse; background: #2b3035; border-radius: 12px; min-width: 600px; }
.compare-table th, .compare-table td { padding: 25px; text-align: center; border-bottom: 1px solid #3d4246; }
.compare-table th { font-size: 1.1rem; color: #ADB5BD; background: #23272b; font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.highlight-header { color: #F27405; font-size: 1.3rem; font-weight: 800; }

/* ZMIANA: Styl dla pomarańczowej kolumny */
.highlight-cell {
    color: #F27405;
    font-weight: 800;
    background: rgba(242, 116, 5, 0.05); /* Delikatne tło */
}

/* --- FOOTER --- */
.footer { padding: 40px 20px; background: #1a1d20; border-top: 1px solid #333; text-align: center; color: #6c757d; position: relative; z-index: 10; }
.rights-text { display: inline; } 

/* --- MODALS --- */
.modal-overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.85); 
    z-index: 10000; 
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; 
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(8px);
    pointer-events: auto;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-box { 
    background: #2b3035; padding: 40px; border-radius: 12px; max-width: 500px; width: 90%; 
    position: relative; border: 1px solid #495057; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.9); transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box { transform: scale(1); }

.modal-close { position: absolute; top: 15px; right: 20px; background: none; border: none; color: white; font-size: 2rem; cursor: pointer; pointer-events: auto; z-index: 10001; }
.modal-header h3 { font-size: 1.8rem; margin-bottom: 15px; }
.modal-body p { color: #ADB5BD; line-height: 1.5; margin-bottom: 20px; }

.beta-form input { 
    width: 100%; padding: 15px; margin: 10px 0 20px; background: #212529; 
    border: 1px solid #495057; color: white; border-radius: 6px; font-size: 1rem; outline: none;
    cursor: text; 
}
.beta-form input:focus { border-color: #F27405; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .navbar { padding: 15px 20px; }
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 0; text-align: left; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-dot, .timeline-item:nth-child(even) .timeline-dot { left: 14px; }
    .buttons { flex-direction: column; }
    .btn { width: 100%; }
    h2 { font-size: 2rem; }
    .rights-text { display: block; margin-top: 5px; } 
}