:root {
    --bg-dark: #0a0a0a;
    --card-bg: #141414;
    --gold: #c5a059;
    --silver: #e0e0e0;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #c5a059 100%);
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* --- NAWIGACJA --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%; 
    background: rgba(10, 10, 10, 0.95);
    position: fixed;
    top: 0;
    width: 100%;
    height: 120px;
    z-index: 1000;
    border-bottom: 1px solid #222;
    backdrop-filter: blur(10px);
    transition: height 0.3s ease, background 0.3s ease;
}

.logo-box { 
    display: flex; 
    align-items: center; 
    gap: 30px; 
    text-decoration: none; 
    z-index: 1002;
    transition: transform 0.3s ease;
}

.logo-wrapper { 
    position: relative; 
    padding: 2px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 12px; 
    overflow: hidden;
    background: transparent; 
    transition: background 0.3s ease;
}

.logo-wrapper img { 
    height: 90px;
    width: auto; 
    position: relative; 
    z-index: 2; 
    transition: height 0.3s ease, background 0.3s ease;
    background: transparent; 
    padding: 5px; 
    border-radius: 10px;
    display: block;
}

.logo-wrapper::before { 
    content: ''; 
    position: absolute; 
    width: 200%; 
    height: 200%; 
    background: conic-gradient(transparent, var(--gold), transparent 30%); 
    animation: rotate 3s linear infinite; 
    opacity: 0; 
    transition: 0.3s; 
    z-index: 1; 
}

.logo-box:hover .logo-wrapper { background: #1a1a1a; }
.logo-box:hover .logo-wrapper img { background: var(--bg-dark); }
.logo-box:hover .logo-wrapper::before { opacity: 1; }
.logo-box:hover { transform: scale(1.02); }
.logo-box:hover .sub-name {
    color: var(--silver);
    border-left-color: var(--gold);
}

@keyframes rotate { 
    from { transform: rotate(0deg); } 
    to { transform: rotate(360deg); } 
}

.sub-name {
    font-size: 14px; 
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    border-left: 1px solid #333;
    padding-left: 20px;
    transition: 0.3s;
}

.nav-right { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { 
    text-decoration: none; 
    color: var(--text-light); 
    font-size: 14px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    transition: 0.3s; 
    display: inline-block; 
}
.nav-links a:hover { color: var(--gold); transform: scale(1.1); }

/* --- PRZYCISKI --- */
.btn { 
    display: inline-block; 
    border-radius: 4px; 
    font-weight: 700; 
    text-decoration: none; 
    color: #000; 
    background: var(--gold-gradient); 
    transition: var(--transition); 
    text-align: center; 
    border: none; 
    cursor: pointer; 
}
.btn-audit { padding: 10px 24px; font-size: 13px; animation: pulse 2s infinite; }
.btn-main { padding: 18px 45px; font-size: 18px; margin-top: 30px; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(197, 160, 89, 0.4); }

@keyframes pulse { 
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4); } 
    70% { box-shadow: 0 0 0 10px rgba(197, 160, 89, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); } 
}

/* --- HERO SLIDER --- */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 0 8%;
    z-index: 1;
}

/* POPRAWKA DLA PIERWSZEGO SLAJDU (MÓZG) */
.hero-slide:first-of-type {
    background-size: contain; 
    background-position: right center; 
    background-color: #000; 
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 3;
    animation: slideUp 0.8s ease-out forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-slide.active .hero-content {
    animation: none;
    opacity: 0; 
    animation: slideUp 0.8s ease-out 0.3s forwards;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.6);
}

.prev-btn { left: 40px; }
.next-btn { right: 40px; }

.gold-text { 
    background: var(--gold-gradient); 
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
}

/* --- USŁUGI --- */
.services { padding: 80px 8%; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }

.card { 
    background: var(--card-bg); 
    padding: 40px; 
    border-radius: 20px; 
    border: 1px solid #222; 
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card:hover { border-color: var(--gold); transform: translateY(-10px); }
.icon { font-size: 40px; margin-bottom: 20px; display: block; }

/* --- PROCES WSPÓŁPRACY --- */
.timeline-section { 
    padding: 160px 8% 80px; 
    text-align: center; 
}
.timeline-container { 
    display: flex; 
    justify-content: space-between; 
    margin-top: 120px; 
    position: relative; 
}
.timeline-container::before { 
    content: ''; 
    position: absolute; 
    top: 11px; 
    width: 100%; 
    height: 2px; 
    background: #222; 
}

.step { position: relative; z-index: 2; flex: 1; cursor: pointer; }
.dot { 
    width: 22px; 
    height: 22px; 
    background: #333; 
    border-radius: 50%; 
    margin: 0 auto 20px; 
    border: 4px solid #0a0a0a; 
    transition: 0.3s; 
}

.step-description {
    position: absolute;
    bottom: 80px; 
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 240px;
    background: rgba(15, 15, 15, 0.98);
    border: 1px solid var(--gold);
    padding: 15px;
    border-radius: 12px;
    font-size: 13px;
    color: var(--silver);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    z-index: 10;
    line-height: 1.4;
}

.step-description::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: var(--gold) transparent transparent transparent;
}

.step:hover .step-description {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.step.active .dot { background: var(--gold); box-shadow: 0 0 15px var(--gold); }
.timeline-container:hover .step.active .dot { background: #333; box-shadow: none; }
.timeline-container .step:hover .dot { background: var(--gold) !important; box-shadow: 0 0 15px var(--gold) !important; }

.step p { transition: 0.3s; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; }
.step:hover p { color: var(--gold); }

/* --- KONTAKT --- */
.contact-section { padding: 100px 8%; }
.contact-container { display: flex; justify-content: space-between; gap: 60px; align-items: flex-start; }
.contact-info { flex: 1; }
.contact-info h2 { font-size: 42px; margin-bottom: 15px; }
.contact-desc { color: var(--text-light); font-size: 18px; margin-bottom: 40px; opacity: 0.9; }
.contact-email { font-size: 28px; font-weight: 700; color: var(--text-light); text-decoration: none; display: block; margin-bottom: 10px; }
.contact-sub { color: var(--text-gray); font-size: 14px; }

.contact-form-card { flex: 1.2; background: #111; padding: 40px; border-radius: 24px; border: 1px solid #222; }
.form-row { display: flex; gap: 20px; margin-bottom: 25px; }
.form-group { flex: 1; display: flex; flex-direction: column; gap: 8px; margin-bottom: 25px; }
.form-group label { color: var(--text-gray); font-size: 14px; }
.form-group input, .form-group textarea { 
    background: #0a0a0a; border: 1px solid #222; border-radius: 12px; padding: 15px 20px; 
    color: #fff; font-family: inherit; font-size: 15px; transition: 0.3s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); outline: none; background: #141414; }
.btn-submit { background: var(--gold-gradient); padding: 15px 45px; border-radius: 30px; font-size: 16px; width: fit-content; }

/* --- BENEFITS --- */
.ai-benefits { 
    display: flex; justify-content: space-between; gap: 20px; padding: 60px 8%; 
    background: rgba(255,255,255,0.02); border-top: 1px solid #222; flex-wrap: wrap; 
}
.benefit-item { flex: 1; min-width: 150px; text-align: center; }

.benefit-icon { 
    width: 42px;
    height: 42px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 100%;
    height: auto;
    stroke: var(--gold);
    stroke-width: 1.5;
    fill: none;
    transition: var(--transition);
}

.benefit-item:hover .benefit-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(197, 160, 89, 0.4));
}

.benefit-item h4 { font-size: 14px; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.benefit-item p { font-size: 12px; color: var(--text-gray); }

/* --- FOOTER (ZAKTUALIZOWANY) --- */
footer { 
    padding: 80px 8% 40px; 
    background: #080808;
    border-top: 1px solid #222; 
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray);
    font-size: 13px;
}

/* --- MOBILE MENU --- */
.hamburger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; z-index: 1002; }
.hamburger span { width: 30px; height: 3px; background: #fff; transition: 0.3s; }

/* --- MEDIA QUERIES --- */
@media (max-width: 1100px) {
    .sub-name { display: none; }
    .hamburger { display: flex; }
    .nav-right { 
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; 
        background: var(--bg-dark); flex-direction: column; justify-content: center; transition: 0.4s; 
    }
    .nav-right.active { right: 0; }
    .nav-links { flex-direction: column; align-items: center; margin-bottom: 30px; }
    .nav-links a { font-size: 24px; }
    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    
    .hero-content h1 { font-size: 36px; }
    .slider-arrow { width: 40px; height: 40px; font-size: 18px; }
    .prev-btn { left: 20px; }
    .next-btn { right: 20px; }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .contact-container { flex-direction: column; }
    .form-row { flex-direction: column; gap: 0; }
    .contact-info h2 { font-size: 32px; }
}

@media (max-width: 768px) {
    .timeline-section { padding: 80px 5%; }
    .timeline-container { 
        flex-direction: column; gap: 40px; align-items: flex-start; 
        padding-left: 50px; margin-top: 40px; width: 100%;
    }
    .timeline-container::before { width: 2px; height: 100%; left: 61px; top: 0; }
    
    .step { 
        display: flex; flex-direction: column; align-items: flex-start; 
        text-align: left; width: 100%; max-width: calc(100vw - 110px); 
    }
    
    .dot { margin: 0 0 10px -11px; flex-shrink: 0; }
    
    .step-description {
        position: static;
        transform: none !important;
        opacity: 0.8;
        visibility: visible;
        width: 100%;
        background: transparent;
        border: none;
        padding: 5px 0 0 0;
        box-shadow: none;
        color: var(--text-gray);
        pointer-events: auto;
        font-size: 14px;
        overflow-wrap: break-word;
    }
    .step-description::after { display: none; }
    
    .ai-benefits { justify-content: center; }
    .footer-bottom-content { flex-direction: column; gap: 20px; text-align: center; }
    
    .hero-content h1 { font-size: 28px; }
    .slider-arrow { display: none; }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

