/* Variables */
:root {
    --bg-main: #070B17;
    --bg-sec: #0B1020;
    --bg-gradient: linear-gradient(135deg, #070B17 0%, #0B1020 100%);
    --accent: #DFFF2F;
    --accent-hover: #c4e61a;
    --text-main: #FFFFFF;
    --text-muted: #9CA3AF;
    --text-dark: #000000;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-border: rgba(223, 255, 47, 0.3);
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', Arial, sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.highlight {
    color: var(--accent);
}

.italic {
    font-style: italic;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.center {
    text-align: center;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(223, 255, 47, 0.2);
}

.btn-large {
    background-color: var(--accent);
    color: var(--text-dark);
    padding: 18px 36px;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-large:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(223, 255, 47, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--card-border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-full {
    width: 100%;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--card-hover-border);
    background: rgba(255, 255, 255, 0.05);
}

.capsule {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(223, 255, 47, 0.1);
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(223, 255, 47, 0.2);
}

/* Top Bar */
#top-bar {
    background-color: var(--accent);
    color: var(--text-dark);
    text-align: center;
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

#top-bar p {
    color: var(--text-dark);
    margin: 0;
}

/* Header */
#header {
    position: fixed;
    top: 36px; /* Below top bar */
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

#header.scrolled {
    top: 0;
    background: rgba(7, 11, 23, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--card-border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 35px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

.main-nav a:hover {
    color: var(--accent);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('tlo.webp');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(7, 11, 23, 0.95) 0%, rgba(7, 11, 23, 0.7) 100%);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-lead {
    font-size: 1.125rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.hero-sub {
    margin-bottom: 2.5rem;
}

.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.hero-cta-wrapper.center-wrapper {
    align-items: center;
    margin-top: 40px;
}

.cta-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.brief-card {
    margin-bottom: 20px;
}

.brief-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--card-border);
    font-weight: 600;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.brief-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.brief-row .label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.brief-row .value {
    font-weight: 500;
}

.stat-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.stat-title {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Trust Section */
#trust {
    padding: 60px 0;
    border-bottom: 1px solid var(--card-border);
    background: var(--bg-sec);
}

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

.trust-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.logo-grid img {
    height: 40px;
    filter: grayscale(100%) opacity(0.5);
    transition: var(--transition);
}

.logo-grid img:hover {
    filter: grayscale(0%) opacity(1);
}

/* Problem Section */
.section-header {
    max-width: 800px;
    margin-bottom: 50px;
}

.section-header.center {
    margin: 0 auto 50px auto;
}

.strong-text-block {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    color: var(--text-main);
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    margin-top: 30px;
}

.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Numbers Section */
.full-width-card {
    padding: 50px;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.number-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 10px;
}

.num small {
    font-size: 1.5rem;
    color: var(--text-main);
}

.num-desc {
    color: var(--text-muted);
}

/* Scope Section */
.tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.tag-card {
    padding: 20px;
    text-align: center;
    font-weight: 500;
}

.tag-card:hover {
    color: var(--accent);
    transform: translateY(-5px);
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.process-step {
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    margin-bottom: -20px;
    position: relative;
    z-index: -1;
}

.process-step h3 {
    color: var(--accent);
    margin-bottom: 15px;
}

.center-cta {
    text-align: center;
}

/* Comparison Section */
.compare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.highlight-card {
    border-color: rgba(223, 255, 47, 0.3);
    background: rgba(223, 255, 47, 0.02);
}

.highlight-card h3 {
    color: var(--accent);
}

/* Effect Section */
.has-bg {
    position: relative;
    background-image: url('tlo2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 11, 23, 0.85);
}

.relative {
    position: relative;
    z-index: 2;
}

.effect-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-card {
    margin-top: 40px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-main);
    border-left: 4px solid var(--accent);
    text-align: left;
}

/* SEO Text Section */
.text-container {
    max-width: 800px;
}

.content-blocks p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* FAQ Section */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--card-border);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 25px 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question .icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--accent);
}

.faq-item.active .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 25px;
}

/* Final CTA Section */
.has-bg-gradient {
    background: var(--bg-gradient);
    border-top: 1px solid var(--card-border);
}

.cta-desc {
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 1.125rem;
}

/* Footer */
footer {
    background-color: var(--bg-sec);
    border-top: 1px solid var(--card-border);
    padding-top: 60px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    height: 30px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding: 20px 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Back to top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    backdrop-filter: blur(5px);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: var(--accent);
    color: var(--text-dark);
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(7, 11, 23, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--card-border);
    padding: 15px 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

#cookie-banner.show {
    transform: translateY(0);
}

#cookie-banner p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.875rem;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-cta-wrapper {
        align-items: center;
        margin: 0 auto;
    }
    
    .hero-right {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .cards-grid-3, .numbers-grid, .compare-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-main);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--card-border);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .cards-grid-3, .numbers-grid, .compare-grid, .process-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-boxes {
        grid-template-columns: 1fr;
    }
    
    .full-width-card {
        padding: 30px 20px;
    }
    
    #cookie-banner p {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* --- DOKLEJKA CSS (MODERNIZACJA PRZYCISKÓW, LOGO I SEPARATOR) --- */

/* 1. Powiększenie logo w headerze o 20% (z 35px na 42px) */
#header .logo {
    height: 42px;
    transition: var(--transition);
}

/* 2. Nowoczesny wygląd wszystkich żółtych przycisków (zaokrąglenia, cienie, czarny tekst) */
.btn-primary, 
.btn-large {
    border-radius: 50px; /* Nowoczesny, pigułkowy kształt */
    color: #000000 !important; /* Wymuszenie czarnego tekstu */
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(223, 255, 47, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
}

.btn-primary:hover, 
.btn-large:hover {
    color: #000000 !important; /* Czarny tekst również po najechaniu */
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(223, 255, 47, 0.4); /* Mocniejszy neonowy glow na hover */
}

/* Specyficzne dopracowanie proporcji dużego przycisku */
.btn-large {
    padding: 16px 42px;
    letter-spacing: 0.5px;
}

/* 3. Elegancki biały separator nad przyciskiem w sekcji Hero */
#hero .hero-cta-wrapper {
    position: relative;
    margin-top: 25px;
    padding-top: 35px;
}

#hero .hero-cta-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 250px;
    height: 1px;
    /* Gradientowy separator - wygląda bardziej premium niż zwykła linia */
    background: linear-gradient(90deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 100%);
}

/* Wyśrodkowanie separatora na urządzeniach mobilnych */
@media (max-width: 1024px) {
    #hero .hero-cta-wrapper::before {
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
        max-width: 200px;
    }
}