
/* --- Zmienne i Globalne Style --- */
:root {
    --bg-color: #0d0c22;
    --primary-glass: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-color: #e0e0e0;
    --subtle-text-color: #a0a0a0;
    --accent-gradient: linear-gradient(90deg, #3a7bd5, #00d2ff);
    --glow-color: #00d2ff;
    
    --font-family: 'Poppins', sans-serif;
    --container-width: 1200px;
    --border-radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-y: scroll; scrollbar-gutter: stable both-edges; }
body {
    font-family: var(--font-family);
    line-height: 1.7;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    cursor: auto; /* PRZYWRÓCONO STANDARDOWY KURSOR */
}
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.2; margin-bottom: 20px; font-weight: 600; color: #fff; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-align: center; }
p { color: var(--subtle-text-color); }
section { padding: 100px 0; position: relative; }
a { text-decoration: none; color: var(--text-color); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* USUNIĘTO EFEKT KURSORA */

/* Reszta stylów pozostaje bez zmian (Nagłówek, Przyciski, Hero, Usługi itd.) */
/* ... */
/* --- Animacje przy przewijaniu --- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- Nagłówek i Nawigacja --- */
.main-header { padding: 1.5rem 0; position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: background-color 0.2s ease; backface-visibility: hidden; transform: translateZ(0); will-change: background-color; }
.main-header.scrolled { background-color: rgba(13, 12, 34, 0.8); backdrop-filter: blur(10px); }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.main-header .container { min-height: 64px; }
.logo { font-size: 1.8rem; font-weight: 700; }
.main-nav ul { list-style: none; display: flex; margin: 0; padding: 0; }
.main-nav ul li { list-style: none; }
.main-nav ul li { margin-left: 35px; }
.main-nav a { font-weight: 400; transition: color 0.3s; }
.main-nav a:hover, .main-nav a.active { color: #fff; text-shadow: 0 0 5px var(--glow-color); }
/* Ukryj przycisk menu na desktopie */
.menu-toggle { display: none; background: transparent; border: 0; padding: 0; }

/* --- Przyciski --- */
.btn { display: inline-block; padding: 14px 30px; border-radius: var(--border-radius); font-weight: 600; text-align: center; transition: all 0.3s ease; position: relative; overflow: hidden; cursor: pointer; }
.btn-primary { background: var(--accent-gradient); color: #fff; border: none; box-shadow: 0 0 15px rgba(0, 210, 255, 0.3); }
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 0 25px rgba(0, 210, 255, 0.5); }
.btn-secondary { background: transparent; color: #fff; border: 1px solid var(--border-color); }
.btn-secondary:hover { background: var(--primary-glass); border-color: var(--glow-color); }

/* --- Sekcja Hero --- */
.hero { min-height: 100vh; display: flex; align-items: center; text-align: center; }
.hero-background-glow { position: absolute; top: 50%; left: 50%; width: 800px; height: 800px; background: radial-gradient(circle, rgba(58, 123, 213, 0.2) 0%, rgba(13, 12, 34, 0) 70%); transform: translate(-50%, -50%); pointer-events: none; }
.gradient-text { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero .subtitle { font-size: 1.2rem; max-width: 700px; margin: 20px auto 40px; }
.hero-title { overflow: hidden; }
.hero-title .word { display: inline-block; transform: translateY(100%); transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1); }
.hero-title.visible .word { transform: translateY(0); }

/* --- Sekcja Usługi (z efektem Tilt) --- */
/* --- Sekcja Usługi (z efektem Tilt) --- */
.services-grid {
    display: grid;
    /* NOWOŚĆ: Stała siatka 2x2 */
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px; /* Lekko zwiększony odstęp */
    margin-top: 60px;
    /* Ograniczamy maksymalną szerokość, aby siatka nie rozciągała się za bardzo */
    max-width: 1000px; 
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--primary-glass);
    border: 1px solid var(--border-color);
    /* NOWOŚĆ: Większy padding dla większych kart */
    padding: 50px 40px; 
    border-radius: var(--border-radius);
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, border-color 0.4s ease;
    transform-style: preserve-3d;
}

.service-card.tilt-effect {
    will-change: transform;
}

.service-icon {
    /* NOWOŚĆ: Większa ikona */
    font-size: 3rem; 
    font-weight: 700;
    color: var(--glow-color);
    margin-bottom: 20px;
}

/* Dodajemy style dla nagłówka i tekstu w karcie, aby były większe */
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.service-card p {
    font-size: 1.05rem;
}

/* ... (Portfolio, Blog, itp. bez zmian) ... */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.portfolio-item { position: relative; border-radius: var(--border-radius); overflow: hidden; cursor: pointer; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); transform: translateY(30%); opacity: 0; transition: transform 0.4s ease, opacity 0.4s ease; }
.portfolio-item:hover .portfolio-info { transform: translateY(0); opacity: 1; }
.portfolio-info h3 { margin-bottom: 5px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 60px; }
.blog-card { display: block; background: var(--primary-glass); border-radius: var(--border-radius); overflow: hidden; border: 1px solid var(--border-color); transition: transform 0.3s ease, border-color 0.3s ease; }
.blog-card:hover { transform: translateY(-10px); border-color: var(--glow-color); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-icon {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border-color);
}
.blog-icon span {
    font-size: 3rem;
}
.blog-content { padding: 25px; }
.blog-category { display: inline-block; padding: 5px 10px; background: var(--accent-gradient); color: #fff; font-size: 0.8rem; font-weight: 600; border-radius: 5px; margin-bottom: 15px; }
.blog-content h3 { font-size: 1.3rem; margin-bottom: 10px; }


/* --- CTA Final (zmodyfikowany układ) --- */
.cta-final {
    padding: 120px 0;
}
.cta-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 40px;
}
.cta-title {
    font-size: clamp(2.2rem, 4.8vw, 4rem);
    letter-spacing: -0.02em;
}
.cta-subtitle {
    margin-top: 14px;
    font-size: 1.05rem;
}
.cta-actions { text-align: left; }
.cta-button {
    padding: 16px 28px;
    font-size: 1rem;
}

@media (max-width: 900px) {
    .cta-grid { grid-template-columns: 1fr; text-align: center; }
    .cta-actions { text-align: center; }
}

/* --- NOWOŚĆ: NAPRAWIONY I STYLIZOWANY FORMULARZ KONTAKTOWY --- */
.contact-section { padding-top: 50px; }
.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}
.contact-info h3 {
    margin-bottom: 25px;
}
.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.contact-info a {
    transition: color 0.3s;
}
.contact-info a:hover {
    color: var(--glow-color);
}
.contact-form {
    background: var(--primary-glass);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--subtle-text-color);
    opacity: 1;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--glow-color);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}
.contact-form .btn {
    width: 100%;
}


/* --- Podstrony i responsywność --- */
.page-header { text-align: center; padding-top: 150px; padding-bottom: 50px; }
.page-header p { max-width: 600px; margin: 20px auto 0; }

/* --- NOWOŚĆ: ATRAKCYJNA STRONA "O NAS" --- */
.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    font-size: 1.2rem;
    color: var(--text-color);
}

.about-us-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pillar-card {
    /* Wykorzystujemy ten sam styl co w service-card dla spójności */
    background: var(--primary-glass);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, border-color 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.pillar-card:hover {
    border-color: var(--glow-color);
}

.pillar-icon {
    font-size: 3rem;
    font-weight: 700;
    color: var(--glow-color);
    margin-bottom: 20px;
    line-height: 1;
}

.pillar-card h3 {
    margin-bottom: 15px;
}

.philosophy-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.philosophy-box p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color);
}

/* --- NOWOŚĆ: INTERAKTYWNA STRONA USŁUG --- */
.services-layout {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Układ 1/3 na nawigację, 2/3 na treść */
    gap: 60px;
    align-items: flex-start;
    padding-top: 50px;
}

.services-nav-sticky {
    position: sticky;
    top: 120px; /* Odstęp od góry, aby nie chowało się pod nagłówkiem */
}

.nav-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background: transparent;
    transition: background 0.3s, border-color 0.3s;
    font-size: 1.1rem;
    font-weight: 600;
}

.nav-card:hover {
    background: var(--primary-glass);
    border-color: var(--glow-color);
}

.nav-card.active {
    background: var(--primary-glass);
    border-color: var(--glow-color);
    color: #fff;
}

.nav-icon {
    font-size: 1.5rem;
    color: var(--glow-color);
}

.service-section {
    padding: 20px 0 80px 0; /* Dodatkowy padding na dole dla lepszego działania scrolla */
    min-height: 70vh; /* Zapewnia wystarczającą wysokość dla każdej sekcji */
    position: relative;
}

.service-bg-icon {
    position: absolute;
    top: 50px;
    right: 0;
    font-size: 12rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    z-index: -1;
    user-select: none;
}

.service-section h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.service-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.service-highlight {
    padding: 15px 20px;
    background: var(--primary-glass);
    border-left: 3px solid var(--glow-color);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin-bottom: 30px;
    font-style: italic;
}

.service-details-list {
    list-style: none;
    padding-left: 0;
}

.service-details-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.service-details-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--glow-color);
    font-weight: bold;
}
/* --- NOWOŚĆ: STYLE DLA STRONY ARTYKUŁU --- */
.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 50px 20px; /* Większy padding na górze */
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 15px;
}

.article-meta {
    font-size: 0.9rem;
    color: var(--subtle-text-color);
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    object-fit: cover;
}

.article-content {
    line-height: 1.8;
}

.article-content .lead {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-color);
    margin-bottom: 30px;
}

.article-content h2 {
    font-size: 2rem;
    text-align: left;
    margin: 50px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.article-content h3 {
    font-size: 1.5rem;
    text-align: left;
    margin: 30px 0 15px 0;
}

.article-content p {
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.article-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.article-content ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
}

.article-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--glow-color);
}

.article-content blockquote {
    margin: 40px 0;
    padding: 25px;
    background: var(--primary-glass);
    border-left: 3px solid var(--glow-color);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
    color: var(--text-color);
}

.article-cta {
    margin-top: 60px;
    padding: 40px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; flex-direction: column; justify-content: space-around; width: 30px; height: 24px; background: transparent; border: none; cursor: pointer; }
    .menu-toggle span { width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }
    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(13, 12, 34, 0.95); backdrop-filter: blur(10px); }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; padding: 20px; }
    .main-nav ul li { margin: 15px 0; text-align: center; }
}

/* --- Sekcja AI Stats --- */
.ai-stats-section {
    padding: 100px 0;
}

.ai-hero {
    background: var(--accent-gradient);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ai-hero h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 20px;
    color: #fff;
}

.ai-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.ai-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

@media (min-width: 900px) {
    .ai-kpi-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ai-kpi-card {
    background: var(--primary-glass);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.ai-kpi-card:hover {
    transform: translateY(-5px);
    border-color: var(--glow-color);
}

.ai-kpi-label {
    font-size: 0.9rem;
    color: var(--subtle-text-color);
    margin-bottom: 10px;
}

.ai-kpi-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.ai-kpi-sub {
    font-size: 0.8rem;
    color: var(--subtle-text-color);
}

.ai-charts {
    display: grid;
    gap: 30px;
}

.ai-chart-card {
    background: var(--primary-glass);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.ai-chart-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #fff;
}

.ai-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}
.ai-controls label { font-size: 0.9rem; color: var(--subtle-text-color); }
.ai-controls input { margin-right: 6px; }
.ai-controls .ai-reset { padding: 6px 10px; }

.ai-point-readout { font-size: 0.9rem; color: var(--subtle-text-color); margin-top: 8px; }

.chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 15px;
}

.chart-source {
    font-size: 0.8rem;
    color: var(--subtle-text-color);
    text-align: right;
}

/* --- Sekcja AI Realizacje --- */
.ai-realizacje {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(58, 123, 213, 0.05), rgba(0, 210, 255, 0.05));
}

.ai-cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 60px;
}

@media (min-width: 900px) {
    .ai-cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ai-case-card {
    background: var(--primary-glass);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.ai-case-card:hover {
    transform: translateY(-5px);
    border-color: var(--glow-color);
}

.ai-case-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
}

.ai-case-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #fff;
}

.ai-case-details p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.ai-case-details strong {
    color: var(--glow-color);
}

/* Dodatkowe dopasowania mobilne */
@media (max-width: 700px) {
    .services-grid { grid-template-columns: 1fr; }
    .blog-icon { height: 160px; }
    .ai-kpi-grid { grid-template-columns: 1fr; }
    .ai-hero { padding: 30px 20px; }
    .ai-cases-grid { grid-template-columns: 1fr; }
}

