/* --- Globalne Ustawienia --- */
:root {
    --bg-primary: #0a0d1a;
    --bg-secondary: #0f1729;
    --bg-tertiary: #1a2238;
    --bg-hover: #242c44;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: #334155;
    --accent-blue: #00d4ff;
    --accent-green: #00ff88;
    --accent-gradient: linear-gradient(145deg, var(--accent-blue), var(--accent-green));
    --shadow-dark: rgba(0, 0, 0, 0.4);
    --shadow-light: rgba(26, 34, 56, 0.2);
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    line-height: 1.3;
    margin-bottom: 0.8em;
    color: var(--text-primary);
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5em;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-blue);
}

p {
    color: var(--text-secondary);
    margin-bottom: 1em;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-green);
}

section {
    padding: 60px 0;
}

/* --- Header --- */
.main-header {
    background: var(--bg-secondary);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    height: 40px; /* Dostosuj rozmiar */
    width: auto;
}

.lang-switcher {
    color: var(--text-muted);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9em;
    padding: 5px;
}

.lang-btn.active {
    color: var(--accent-blue);
    font-weight: bold;
}

/* --- Hero Section --- */
.hero {
    /* Użycie banera jako tła */
    background-image: linear-gradient(rgba(10, 13, 26, 0.85), rgba(10, 13, 26, 0.95)), url('assets/gluon_background.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0 80px 0; /* Więcej paddingu u góry */
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative; /* Dla gradientu overlay */
}

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

.hero-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.3em;
}

.hero-logo {
    height: 60px; /* Rozmiar logo w hero, dostosuj wg potrzeb */
    margin-right: 15px; /* Odstęp między logo a tekstem */
    filter: drop-shadow(0 0 15px var(--accent-blue)) drop-shadow(0 0 5px var(--accent-green)); /* Poświata */
}

.hero h1 {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0; /* Usunięto margin, bo jest w wrapperze */
    font-size: 3.5rem; /* Powiększony tytuł */
}

.hero h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.8em;
    text-align: center;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2em auto;
}

.cta-button {
    display: inline-block;
    padding: 14px 35px; /* Większy przycisk */
    background: var(--accent-gradient);
    color: var(--bg-primary);
    font-size: 1.1rem; /* Większa czcionka */
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    margin-bottom: 20px; /* Odstęp od linków */
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
    color: var(--bg-primary);
}

.cta-button.primary {
    background: var(--accent-gradient);
    color: var(--bg-primary);
}

.social-links {
    margin-top: 25px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center; /* Dodane dla wyrównania ikon */
    gap: 20px;
}

.social-links a {
    display: inline-block; /* Ważne dla transformacji */
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.8; /* Lekkie wygaszenie ikon domyślnie */
}

.social-links a:hover {
    transform: scale(1.1); /* Powiększenie przy najechaniu */
    opacity: 1; /* Pełna widoczność */
}

.social-links img {
    height: 28px; /* Ustaw stałą wysokość dla ikon, dostosuj wg potrzeb */
    width: auto;
    vertical-align: middle; /* Lepsze wyrównanie w linii */
}


.poc-status {
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--accent-green);
}

/* --- Why Gluon Section --- */
.why-gluon {
    background: var(--bg-primary);
    text-align: center;
}

.why-gluon h2 {
    color: var(--text-primary);
}

.why-gluon p {
     max-width: 700px;
     margin-left: auto;
     margin-right: auto;
}


/* --- Features Section --- */
.features {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    /* Automatyczne dopasowanie kolumn, minimum 280px */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: var(--bg-tertiary);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-dark);
    border-color: var(--accent-blue);
}

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

.feature-item h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

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

/* --- How It Works Section --- */
.how-it-works {
    background: var(--bg-primary);
    text-align: center;
}

.how-it-works ol {
    display: inline-block;
    text-align: left;
    max-width: 600px;
    margin: 20px auto;
    padding-left: 20px;
}

.how-it-works li {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.how-it-works li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* --- Benefits Section --- */
.benefits {
     background: var(--bg-secondary);
     border-top: 1px solid var(--border-color);
     border-bottom: 1px solid var(--border-color);
     text-align: center;
}

.benefits ul {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
    display: inline-block;
}

.benefits li {
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 1.1rem;
}


/* --- Who is it for Section --- */
.who-is-it-for {
    background: var(--bg-primary);
    text-align: center;
}

.audience-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
    display: inline-block;
}

.audience-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.audience-list li::before {
    content: '👤'; /* Lub inny pasujący emoji */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-blue);
}


/* --- CTA Section --- */
.cta {
    background: var(--bg-tertiary);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.cta h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8em;
}

.cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5em;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Footer --- */
footer {
    padding: 40px 0; /* Większy padding */
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* --- Responsywność --- */
@media (max-width: 768px) {
     h1 {
        font-size: 2.5rem;
    }
     .hero h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .hero {
        padding: 80px 0 60px 0;
    }
    section {
        padding: 40px 0;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        gap: 10px;
    }
    .footer-links {
        gap: 15px;
    }

    .hero-logo {
        height: 45px; /* Zmniejsz logo na mniejszych ekranach */
        margin-right: 10px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}