/* ========================================
   UNITECHNIK - Soft Blue & White (Darker)
   style.css - Semi-Dark Theme
   ======================================== */

:root {
    /* Paleta kolorów - Soft Blue & White (Darker) */
    --bg-primary: #1a2332;
    --bg-secondary: #243447;
    --bg-card: #2a3f5f;
    --bg-card-light: #334a6e;
    --text-white: #ffffff;
    --text-light: #e8f0ff;
    --text-gray: #d1dff5;
    --text-muted: #b8cde8;
    --accent-blue: #3b9eff;
    --accent-blue-light: #5eb3ff;
    --accent-blue-dark: #1e7fd9;
    --accent-glow: rgba(59, 158, 255, 0.15);
    --accent-cyan: #00d4ff;
    --success-green: #10b981;
    --border-dark: #3d5268;
    --border-blue: #4a6b8a;
    --shadow-dark: rgba(0, 0, 0, 0.3);
    
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-gray);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   TŁO BINARNE - DARKER VERSION
   ======================================== */
#binaryBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    display: flex;
    justify-content: space-around;
    font-family: 'Courier New', monospace;
    font-size: 21px;
    line-height: 21px;
    color: #3b9eff;
    opacity: 0.12;
    pointer-events: none;
    overflow: hidden;
    padding: 0 20px;
}

#binaryBackground .column {
    display: flex;
    flex-direction: column;
    white-space: pre;
}

/* Ukryj stare canvas */
#binaryCanvas {
    display: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Ochrona przed spamem - linki będą wypełnione przez JavaScript */
.protected-email,
.protected-phone {
    cursor: pointer;
}

/* ========================================
   NAWIGACJA
   ======================================== */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: rgba(26, 35, 50, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(59, 158, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-left: 20%;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-right: 20%;
}

.nav-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
    padding: 10px 18px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-blue-light);
    background: rgba(59, 158, 255, 0.1);
    backdrop-filter: blur(10px);
}

.nav-links a.active {
    color: var(--accent-blue-light);
    background: rgba(59, 158, 255, 0.15);
    box-shadow: 0 0 20px rgba(59, 158, 255, 0.2);
}

.nav-links a.active::after {
    display: none;
}

.btn-contact {
    color: var(--text-light) !important;
    padding: 10px 18px !important;
    border-radius: 8px;
    background: transparent;
    border: none !important;
}

.btn-contact:hover {
    color: var(--accent-blue-light);
    background: rgba(59, 158, 255, 0.1);
    backdrop-filter: blur(10px);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--accent-blue);
    cursor: pointer;
}

/* ========================================
   HERO SECTION - WYŚRODKOWANA + EFEKTY TEKSTOWE
   ======================================== */

.hero {
    min-height: 85vh;            
    display: flex;
    flex-direction: column;      
    align-items: center;         
    justify-content: center;     
    text-align: center;          
    padding: 0 20px;
    
    /* Przezroczyste tło - widać kod binarny */
    background: transparent;     
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

/* 1. EFEKT "BADGE" (Mały tekst na górze) */
.hero h3 {
    display: inline-block;
    color: var(--accent-cyan); /* Jasny błękit/cyjan dla kontrastu */
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 2px;
    font-family: monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    
    /* Efekt szklanej pastylki */
    background: rgba(59, 158, 255, 0.1); /* Delikatne tło */
    padding: 8px 24px;
    border-radius: 50px;
    border: 1px solid rgba(59, 158, 255, 0.3); /* Świecąca ramka */
    box-shadow: 0 0 15px rgba(59, 158, 255, 0.15); /* Lekka poświata */
    backdrop-filter: blur(4px);
}

/* 2. EFEKT GRADIENTU NA TEKŚCIE (H1) */
.hero h1 {
    font-size: 5rem;
    /* ZMIANA 1: Zwiększona wysokość linii z 1.1 na 1.3 */
    line-height: 1.3; 
    /* ZMIANA 2: Dodany padding na dole dla "ogonków" */
    padding-bottom: 0.2em; 
    margin-bottom: 10px; /* Zmniejszony margines, bo padding go trochę zastępuje */
    font-weight: 800;
    letter-spacing: -2px;
    
    /* Gradient */
    background: linear-gradient(180deg, #ffffff 20%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    /* Cień */
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

/* 3. Drugi nagłówek */
.hero h2 {
    font-size: 2.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: 600;
    /* Delikatny cień tekstu */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 4. Opis */
.hero p {
    max-width: 650px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* 5. Przyciski (Wyśrodkowane) */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.cta-btn {
    padding: 16px 35px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
}

/* Główny przycisk - solidny gradient */
.cta-btn.primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    color: #ffffff;
    border: 2px solid transparent; 
    box-shadow: 0 4px 15px rgba(59, 158, 255, 0.3);
}

.cta-btn.primary:hover {
    background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-blue));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 158, 255, 0.5);
}

/* Drugi przycisk - przezroczysty z ramką */
.cta-btn.secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-3px);
}

/* Responsywność */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero h2 { font-size: 1.6rem; }
    .hero h3 { font-size: 0.8rem; padding: 6px 16px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-btn { width: 100%; max-width: 300px; text-align: center; }
}

/* ========================================
   SEKCJE OGÓLNE
   ======================================== */

section {
    padding: 100px;
}

.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    width: 100%;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--text-white);
    margin-right: 20px;
    font-weight: 700;
}

.section-title::after {
    content: "";
    display: block;
    flex-grow: 1;
    max-width: 300px;
    height: 2px;
    background: linear-gradient(90deg, var(--border-blue), transparent);
}

.section-title span {
    color: var(--accent-blue);
    font-family: monospace;
    margin-right: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

/* ========================================
   KARTY USŁUG
   ======================================== */

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

.service-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-light));
    padding: 40px;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--border-dark);
    box-shadow: 0 4px 20px var(--shadow-dark);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 12px 35px rgba(59, 158, 255, 0.25);
}

.service-card.featured {
    border-left: 4px solid var(--accent-cyan);
    background: linear-gradient(135deg, #1a2d3a, var(--bg-card));
}

.icon {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 8px rgba(59, 158, 255, 0.3));
}

.service-card h3 {
    color: var(--text-white);
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.service-card > p {
    color: var(--accent-blue-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-style: italic;
    font-weight: 500;
}

.service-card ul {
    margin-bottom: 25px;
}

.service-card ul li {
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
    padding-left: 20px;
    position: relative;
}

.service-card ul li::before {
    content: "▹";
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.learn-more {
    color: var(--accent-blue-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.learn-more:hover {
    color: var(--accent-blue);
    text-shadow: 0 0 8px var(--accent-glow);
}

/* ========================================
   SEKCJA "DLACZEGO MY"
   ======================================== */

.why-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.why-text .intro {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
    color: var(--text-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.benefit {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.benefit-icon {
    color: var(--success-green);
    font-size: 1.5rem;
    font-weight: bold;
}

.benefit h4 {
    color: var(--text-white);
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 600;
}

.benefit p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.why-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-box {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-light));
    padding: 35px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-blue);
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow-dark);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(59, 158, 255, 0.2);
    border-left-color: var(--accent-blue-light);
}

.stat-number {
    font-size: 3rem;
    color: var(--accent-blue);
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 0 20px var(--accent-glow);
}

.stat-label {
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
}

/* ========================================
   BRANŻE
   ======================================== */

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.industry-card {
    background: var(--bg-card);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--border-dark);
    transition: var(--transition);
    box-shadow: 0 2px 12px var(--shadow-dark);
}

.industry-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 6px 24px rgba(59, 158, 255, 0.2);
}

.industry-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.industry-card h4 {
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary), var(--bg-secondary));
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 60px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 2px solid var(--accent-blue);
    box-shadow: 0 8px 35px rgba(59, 158, 255, 0.2);
}

.cta-box h2 {
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-box p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.cta-btn-large {
    display: inline-block;
    padding: 20px 50px;
    border: none;
    color: #ffffff;
    font-size: 1.1rem;
    border-radius: 8px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(59, 158, 255, 0.3);
}

.cta-btn-large:hover {
    background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-blue));
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(59, 158, 255, 0.5);
}

/* ========================================
   KONTAKT (SHORT)
   ======================================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-dark);
    transition: var(--transition);
    box-shadow: 0 4px 20px var(--shadow-dark);
}

.contact-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-7px);
    box-shadow: 0 10px 35px rgba(59, 158, 255, 0.25);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-blue);
}

.contact-card h4 {
    color: var(--text-white);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-card a {
    color: var(--accent-blue-light);
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--accent-blue);
    text-shadow: 0 0 8px var(--accent-glow);
}

.contact-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    border-top: 2px solid var(--border-dark);
    padding: 60px 100px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--text-white);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-col p,
.footer-col ul li {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--accent-blue-light);
}

.footer-col a {
    color: var(--accent-blue);
}

.company-details {
    margin-top: 20px;
    font-size: 0.85rem !important;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid var(--border-dark);
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-note {
    margin-top: 5px;
    opacity: 0.6;
    font-size: 0.75rem;
}

/* ========================================
   STRONA USŁUG - DODATKOWE STYLE
   ======================================== */

.service-detail {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-light));
    padding: 50px;
    border-radius: 12px;
    margin-bottom: 40px;
    border-left: 4px solid var(--accent-blue);
    box-shadow: 0 4px 20px var(--shadow-dark);
}

.service-detail h3 {
    color: var(--text-white);
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-detail .service-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-item {
    background: rgba(59, 158, 255, 0.08);
    padding: 25px;
    border-radius: 8px;
    border: 2px solid rgba(59, 158, 255, 0.2);
}

.feature-item h4 {
    color: var(--accent-blue-light);
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================================
   STRONA KONTAKTU
   ======================================== */

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-section-box {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 2px solid var(--border-dark);
    box-shadow: 0 4px 20px var(--shadow-dark);
}

.contact-section-box h3 {
    color: var(--text-white);
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item-icon {
    font-size: 1.8rem;
    color: var(--accent-blue);
    min-width: 40px;
}

.contact-item-content h4 {
    color: var(--text-white);
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item-content p,
.contact-item-content a {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-item-content a {
    color: var(--accent-blue-light);
    font-weight: 600;
}

/* ========================================
   STRONA POMOCY ZDALNEJ
   ======================================== */

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.download-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-dark);
    transition: var(--transition);
    box-shadow: 0 4px 20px var(--shadow-dark);
}

.download-card:hover {
    border-color: var(--accent-blue);
    transform: scale(1.05);
    box-shadow: 0 10px 35px rgba(59, 158, 255, 0.25);
}

.download-card .icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.download-card h3 {
    color: var(--text-white);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
}

.download-card p {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.download-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.download-btn:hover {
    background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-blue));
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(59, 158, 255, 0.4);
}

.instruction-box {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-light));
    padding: 40px;
    border-radius: 12px;
    margin-top: 50px;
    border-left: 4px solid var(--accent-blue);
    box-shadow: 0 4px 20px var(--shadow-dark);
}

.instruction-box h3 {
    color: var(--text-white);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

.instruction-box ol {
    list-style: decimal;
    margin-left: 20px;
    color: var(--text-light);
}

.instruction-box ol li {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* ========================================
   STRONA O NAS
   ======================================== */

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.audit-box {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-blue);
    box-shadow: 0 4px 20px var(--shadow-dark);
}

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

@media (max-width: 1024px) {
    section {
        padding: 80px 50px;
    }
    
    .hero {
        padding: 0 50px;
    }
    
    footer {
        padding: 60px 50px 30px;
    }
    
    .why-content {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 0 25px;
        min-height: 80vh;
    }
    
    section {
        padding: 60px 25px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .section-title::after {
        max-width: 50px;
    }
    
    nav {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .logo {
        justify-content: center;
        margin-left: 0;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    footer {
        padding: 40px 25px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
        text-align: center;
    }
}