/* ==========================================
   Zmienne CSS & Typografia
   ========================================== */
   :root {
    --bg-main: #050B18;
    --bg-card: rgba(15, 27, 45, 0.4);
    --bg-card-hover: rgba(20, 35, 55, 0.7);
    --bg-darker: #030710;
    
    --accent-lime: #DFFF57;
    --accent-lime-hover: #c8e64e;
    --accent-cyan: #38BDF8;
    
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.12);
    
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    font-weight: 300; /* Minimalistyczna lekkość */
    overflow-x: hidden;
}

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

h1, h2, h3, h4 { line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1.5rem; font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; font-weight: 500; }
p { color: var(--text-muted); font-size: 1.05rem; }

.text-gradient {
    background: linear-gradient(90deg, var(--accent-lime), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-lime { color: var(--accent-lime); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.max-w-2xl { max-width: 42rem; margin-inline: auto; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 7rem 0; }
.bg-darker { background-color: var(--bg-darker); }

/* Tło */
.bg-glow {
    position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, rgba(5, 11, 24, 0) 70%);
    border-radius: 50%; z-index: -1; pointer-events: none;
}
.glow-1 { top: -200px; left: -200px; }
.glow-2 { top: 40%; right: -300px; background: radial-gradient(circle, rgba(223, 255, 87, 0.08) 0%, rgba(5, 11, 24, 0) 70%); }

/* Przyciski */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 500;
    font-size: 1rem; cursor: pointer; border: none; transition: var(--transition);
}
.btn-primary { background-color: var(--accent-lime); color: #000; box-shadow: 0 4px 14px rgba(223, 255, 87, 0.15); }
.btn-primary:hover { background-color: var(--accent-lime-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(223, 255, 87, 0.25); }
.btn-secondary { background-color: transparent; color: var(--text-main); border: 1px solid var(--border-light); }
.btn-secondary:hover { background-color: rgba(255, 255, 255, 0.05); border-color: var(--text-main); }
.btn-large { padding: 1rem 2.5rem; font-size: 1.125rem; }
.btn-text { background: none; border: none; color: var(--accent-cyan); font-family: inherit; font-size: inherit; cursor: pointer; text-decoration: underline; transition: var(--transition); }
.btn-text:hover { color: var(--text-main); }

/* Header & Nawigacja */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(5, 11, 24, 0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color); transition: var(--transition);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 1.5rem; font-weight: 700; display: flex; align-items: baseline; gap: 0.5rem; letter-spacing: -0.03em; }
.logo-dot { color: var(--accent-lime); }
.logo-sub { font-size: 0.75rem; font-weight: 400; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; gap: 2rem; align-items: center; }
.nav-link { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }
.nav-link:hover { color: var(--text-main); }

/* Przełącznik języków */
.lang-switch { display: flex; gap: 0.5rem; align-items: center; border-left: 1px solid var(--border-color); padding-left: 1.5rem; margin-left: 0.5rem; }
.lang-switch a { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); transition: var(--transition); }
.lang-switch a:hover, .lang-switch a.active { color: var(--text-main); }
.lang-switch span { color: var(--border-color); font-size: 0.8rem; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 20px; position: relative; z-index: 1001; }
.mobile-toggle span { display: block; width: 100%; height: 2px; background-color: var(--text-main); position: absolute; transition: var(--transition); }
.mobile-toggle span:nth-child(1) { top: 0; } .mobile-toggle span:nth-child(2) { top: 9px; } .mobile-toggle span:nth-child(3) { top: 18px; }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 9px; }

/* Hero */
.hero { padding: 12rem 0 6rem; min-height: 100vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.badge { display: inline-block; padding: 0.4rem 1rem; background: rgba(56, 189, 248, 0.05); border: 1px solid rgba(56, 189, 248, 0.15); color: var(--accent-cyan); border-radius: 100px; font-size: 0.8rem; font-weight: 500; margin-bottom: 1.5rem; letter-spacing: 0.5px; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2.5rem; }

/* Dashboard Mockup */
.dashboard-mockup { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; backdrop-filter: blur(16px); overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.3); transform: perspective(1000px) rotateY(-5deg) rotateX(5deg); transition: transform 0.5s ease; }
.dashboard-mockup:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }
.dash-header { background: rgba(0,0,0,0.2); padding: 1rem; display: flex; align-items: center; border-bottom: 1px solid var(--border-color); }
.dash-dots { display: flex; gap: 6px; } .dash-dots span { width: 10px; height: 10px; border-radius: 50%; background: #475569; }
.dash-dots span:nth-child(1) { background: #EF4444; } .dash-dots span:nth-child(2) { background: #F59E0B; } .dash-dots span:nth-child(3) { background: #10B981; }
.dash-title { margin-left: 1rem; font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.dash-body { padding: 1.5rem; }
.dash-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.metric-card { background: rgba(255,255,255,0.02); padding: 1rem; border-radius: 8px; border: 1px solid var(--border-color); }
.metric-label { display: block; font-size: 0.7rem; color: var(--text-muted); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.metric-value { font-size: 1.25rem; font-weight: 600; }
.dash-chart { height: 80px; display: flex; align-items: flex-end; gap: 8px; margin-bottom: 1.5rem; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); }
.bar { flex: 1; background: linear-gradient(to top, rgba(56, 189, 248, 0.1), var(--accent-cyan)); border-radius: 4px 4px 0 0; opacity: 0.7; }
.dash-status { display: flex; flex-direction: column; gap: 0.75rem; }
.status-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; } .dot-green { background: var(--accent-lime); box-shadow: 0 0 8px rgba(223, 255, 87, 0.5); }

/* Gridy i Karty */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 2.5rem; transition: var(--transition); }
.card:hover { background: var(--bg-card-hover); border-color: var(--border-light); }
.card-icon { width: 40px; height: 40px; background: rgba(239, 68, 68, 0.05); color: #EF4444; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: bold; margin-bottom: 1.5rem; }
.service-icon { width: 40px; height: 40px; color: var(--accent-cyan); margin-bottom: 1.5rem; }
.feature-list { margin-top: 1.5rem; }
.feature-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.75rem; color: var(--text-muted); font-size: 0.95rem; }
.feature-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent-lime); font-family: monospace; }

/* Timeline */
.timeline { max-width: 800px; margin: 0 auto; position: relative; }
.timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 24px; width: 1px; background: var(--border-color); }
.timeline-item { position: relative; padding-left: 4rem; margin-bottom: 3rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-number { position: absolute; left: 0; top: 0; width: 50px; height: 50px; background: var(--bg-main); border: 1px solid var(--accent-cyan); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 500; color: var(--accent-cyan); z-index: 2; font-size: 1.1rem; }
.timeline-content { background: var(--bg-card); border: 1px solid var(--border-color); padding: 2rem; border-radius: 16px; }

/* Tagi */
.tags-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.tag-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border-color); padding: 1rem 1.5rem; border-radius: 100px; font-weight: 400; font-size: 0.95rem; transition: var(--transition); }
.tag-card:hover { border-color: var(--accent-lime); color: var(--accent-lime); background: rgba(223, 255, 87, 0.05); }

/* Przewaga */
.advantage-box { background: linear-gradient(145deg, var(--bg-card), rgba(5, 11, 24, 0.9)); border: 1px solid var(--border-light); border-radius: 24px; padding: 4rem; position: relative; overflow: hidden; }
.advantage-box::before { content: ''; position: absolute; top: 0; right: 0; width: 400px; height: 400px; background: radial-gradient(circle, rgba(223, 255, 87, 0.05) 0%, transparent 70%); pointer-events: none; }

/* Statystyki */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-bottom: 4rem; }
.stat-box { text-align: center; }
.stat-num { font-size: 3.5rem; font-weight: 700; color: var(--accent-lime); line-height: 1; margin-bottom: 0.5rem; letter-spacing: -0.03em; }
.stat-desc { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.mini-card { padding: 1.5rem; text-align: center; font-weight: 400; font-size: 0.95rem; }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 1.5rem 0; font-size: 1.1rem; font-weight: 500; color: var(--text-main); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; }
.faq-icon { color: var(--accent-cyan); font-size: 1.5rem; font-weight: 300; transition: transform 0.3s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding-bottom: 1.5rem; color: var(--text-muted); }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* Nowa Sekcja Kontaktowa (Pełna szerokość) */
.contact-full {
    background: radial-gradient(circle at center, rgba(15, 27, 45, 0.8) 0%, var(--bg-main) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact-full::after {
    content: ''; position: absolute; bottom: -50%; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px; background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%); pointer-events: none;
}
.contact-details-box {
    display: inline-flex; flex-direction: column; gap: 1rem; margin-top: 3rem;
    background: rgba(0,0,0,0.3); padding: 2rem 3rem; border-radius: 16px; border: 1px solid var(--border-color);
}
.contact-details-box p { font-size: 1.1rem; color: var(--text-main); display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.contact-details-box a { color: var(--accent-cyan); font-weight: 500; }
.contact-details-box a:hover { color: var(--text-main); }
#phone-number { font-weight: 500; letter-spacing: 1px; }

/* Footer */
.footer { border-top: 1px solid var(--border-color); padding: 4rem 0 2rem; background: var(--bg-darker); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 3rem; flex-wrap: wrap; gap: 2rem; }
.footer-brand p { font-size: 0.9rem; margin-top: 0.5rem; max-width: 300px; }
.footer-links-group { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links-group h4 { color: var(--text-main); font-size: 1rem; margin-bottom: 0.5rem; }
.footer-links-group a { font-size: 0.9rem; color: var(--text-muted); }
.footer-links-group a:hover { color: var(--accent-cyan); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--border-color); font-size: 0.8rem; color: var(--text-muted); flex-wrap: wrap; gap: 1rem; }

/* Cookie Banner */
.cookie-banner {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: rgba(15, 27, 45, 0.95); backdrop-filter: blur(10px);
    border: 1px solid var(--border-light); border-radius: 12px;
    padding: 1.5rem 2rem; display: flex; align-items: center; gap: 2rem;
    z-index: 9999; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    width: 90%; max-width: 800px; transition: opacity 0.5s ease, transform 0.5s ease;
}
.cookie-banner.hidden { opacity: 0; transform: translate(-50%, 20px); pointer-events: none; }
.cookie-banner p { margin: 0; font-size: 0.9rem; color: var(--text-main); }
.cookie-banner a { color: var(--accent-cyan); text-decoration: underline; }
.cookie-banner .btn { padding: 0.5rem 1.5rem; font-size: 0.9rem; white-space: nowrap; }

/* Animacje */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; }

/* Responsywność */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .dashboard-mockup { transform: none; max-width: 600px; margin: 0 auto; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .advantage-box { padding: 2.5rem; }
    .cookie-banner { flex-direction: column; text-align: center; gap: 1rem; padding: 1.5rem; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed; top: 80px; left: 0; width: 100%; height: calc(100vh - 80px);
        background: var(--bg-main); flex-direction: column; justify-content: center;
        padding: 2rem; transform: translateX(100%); transition: var(--transition);
    }
    .nav.active { transform: translateX(0); }
    .nav-list { flex-direction: column; font-size: 1.25rem; }
    .lang-switch { border-left: none; border-top: 1px solid var(--border-color); padding-top: 1.5rem; padding-left: 0; margin-top: 1rem; margin-left: 0; justify-content: center; width: 100%; }
    .mobile-toggle { display: block; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero { padding-top: 8rem; }
    .hero-actions { flex-direction: column; }
    .timeline::before { left: 20px; }
    .timeline-number { width: 40px; height: 40px; font-size: 0.9rem; }
    .timeline-item { padding-left: 3.5rem; }
    .footer-top { flex-direction: column; }
    .contact-full { padding: 4rem 1.5rem; }
    .contact-details-box { padding: 1.5rem; width: 100%; }
    .contact-details-box p { flex-direction: column; gap: 0.2rem; }
}