/* ==========================================================================
   SYNNOA LABS: GLOBAL MASTER STYLESHEET
   Architektura: Glassmorphism / Dark Cyber / Deep Tech
   ========================================================================== */

/* --- ZMIENNE CSS --- */
:root { 
    --bg-deep-black: #000000; 
    --primary-midnight: #191970; 
    --accent-ice-blue: #00d2ff; 
    --accent-purple: #8a2be2; 
    --text-main: #e0e0e0; 
    --text-muted: #a0a0b0; 
    --glass-bg: rgba(25, 25, 112, 0.15); 
    --glass-border: rgba(255, 255, 255, 0.08); 
}

/* --- BAZA --- */
* { margin: 0; padding: 0; box-sizing: border-box; } 
html { scroll-behavior: smooth; } 
body { 
    background-color: var(--bg-deep-black); 
    color: var(--text-main); 
    font-family: 'Inter', sans-serif; 
    line-height: 1.6; 
    overflow-x: hidden; 
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -0.02em; } 
a { text-decoration: none; color: var(--text-main); transition: color 0.3s ease; } 
a:hover { color: var(--accent-ice-blue); text-shadow: 0 0 8px rgba(0, 210, 255, 0.4); }

/* --- NAWIGACJA --- */
nav { 
    position: fixed; top: 0; width: 100%; padding: 1.5rem 4rem; display: flex; 
    justify-content: space-between; align-items: center; z-index: 100; 
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%); 
    backdrop-filter: blur(8px); 
}
.nav-logo img { height: 30px; mix-blend-mode: screen; filter: brightness(1.2); } 
.nav-right { display: flex; align-items: center; gap: 3rem; } 
.nav-links { display: flex; gap: 2.5rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; font-family: 'Space Grotesk', sans-serif; }
.lang-selector { display: flex; gap: 1rem; font-size: 1.2rem; } 
.lang-selector a { opacity: 0.6; transition: opacity 0.3s ease, transform 0.3s ease; } 
.lang-selector a.active, .lang-selector a:hover { opacity: 1; transform: scale(1.1); }

/* --- HERO (STRONA GŁÓWNA) --- */
#hero { position: relative; height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; overflow: hidden; }
.hero-content { z-index: 10; padding: 0 2rem; max-width: 900px; } 
.main-logo { max-width: 400px; margin-bottom: 2rem; mix-blend-mode: screen; filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.4)); animation: float 6s ease-in-out infinite; }
#hero h1 { font-size: 3.5rem; color: #ffffff; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; } 
#hero p { font-size: 1.25rem; color: var(--accent-ice-blue); font-weight: 300; letter-spacing: 0.02em; }

/* --- PAGE HERO (PODSTRONY) --- */
#page-hero { 
    position: relative; height: 50vh; min-height: 400px; display: flex; 
    flex-direction: column; justify-content: center; align-items: center; 
    text-align: center; overflow: hidden; border-bottom: 1px solid var(--glass-border); 
}
#page-hero h1 { font-size: 3rem; color: #ffffff; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4rem; } 
#page-hero p { font-size: 1.2rem; color: var(--accent-ice-blue); font-weight: 300; }
#page-hero.legal-hero { height: 40vh; min-height: 350px; } /* Mniejszy rozmiar dla dokumentów/prasy */
#page-hero.legal-hero h1 { font-size: 2.5rem; }
#page-hero.legal-hero p { font-size: 1rem; font-family: monospace; letter-spacing: 0.05em; color: var(--text-muted); }

/* --- WSPÓLNE TŁO --- */
.hero-bg { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background-image: url('/assets/Background_SYNNOA_LABS.webp'); /* Wymuszenie od root */
    background-size: cover; background-position: center; z-index: -1; opacity: 0.7; 
    animation: pulseBg 10s infinite alternate; 
}
#page-hero .hero-bg { opacity: 0.4; background-position: center 20%; animation: none; }
#page-hero.legal-hero .hero-bg { opacity: 0.3; background-position: center 30%; }

/* --- SEKCJE BAZOWE I SZKŁO --- */
section { padding: 8rem 2rem; max-width: 1200px; margin: 0 auto; position: relative; } 
.section-header { text-align: center; margin-bottom: 5rem; } 
.section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; background: linear-gradient(90deg, #fff, var(--accent-ice-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.glass-panel { 
    background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); 
    border: 1px solid var(--glass-border); border-radius: 20px; padding: 3rem; 
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5); transition: transform 0.4s ease, border-color 0.4s ease; 
} 
.glass-panel:hover { transform: translateY(-5px); border-color: rgba(0, 210, 255, 0.3); }

/* Szerokości sekcji zależne od kontekstu */
.container-m { max-width: 1000px; padding: 6rem 2rem; }
.container-s { max-width: 900px; padding: 4rem 2rem 8rem; }
.container-m .glass-panel { padding: 3.5rem; }
.container-s .glass-panel { padding: 4rem; border-radius: 12px; }

/* --- STRONA GŁÓWNA --- */
#vision .glass-panel { max-width: 800px; margin: 0 auto; text-align: center; } 
#vision p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 1.5rem; } 
#vision p:last-child { margin-bottom: 0; }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; } 
.pillar-card { text-align: center; display: flex; flex-direction: column; align-items: center; } 
.pillar-icon { width: 160px; height: 160px; margin-bottom: 1.5rem; mix-blend-mode: screen; filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.2)); } 
.pillar-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #fff; } 
.pillar-card p { color: var(--text-muted); font-size: 0.95rem; }
.ecosystem-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; } 
.eco-item { display: flex; flex-direction: column; gap: 1rem; } 
.eco-item h3 { font-size: 1.6rem; color: var(--accent-ice-blue); display: flex; align-items: center; gap: 0.5rem; } 
.eco-item h3::before { content: '>'; color: var(--accent-purple); font-family: monospace; } 
.eco-item p { color: var(--text-muted); } 
.eco-features { list-style: none; margin-top: 1rem; padding-left: 1.5rem; } 
.eco-features li { position: relative; margin-bottom: 0.8rem; color: var(--text-main); font-size: 0.95rem; } 
.eco-features li::before { content: ''; position: absolute; left: -1.5rem; top: 8px; width: 6px; height: 6px; background-color: var(--accent-purple); border-radius: 50%; box-shadow: 0 0 8px var(--accent-purple); } 
.eco-intro { text-align: center; margin-bottom: 3rem; color: var(--text-muted); font-size: 1.1rem; }
.btn-launch { display: inline-block; margin-top: 1rem; padding: 0.6rem 1.5rem; background: transparent; border: 1px solid var(--accent-ice-blue); color: var(--accent-ice-blue); font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.1em; border-radius: 6px; align-self: flex-start; transition: all 0.3s ease; } 
.btn-launch:hover { background: var(--accent-ice-blue); color: #000; box-shadow: 0 0 15px rgba(0, 210, 255, 0.4); text-shadow: none; }

/* --- PODSTRONA: O NAS --- */
.story-content p { font-size: 1.15rem; color: var(--text-main); margin-bottom: 1.8rem; line-height: 1.8; }
.story-content p:last-child { margin-bottom: 0; }
.story-content .highlight { color: var(--accent-ice-blue); font-weight: 500; }
.story-content .empower { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; color: #fff; border-left: 3px solid var(--accent-purple); padding-left: 1.5rem; margin: 2.5rem 0; }
.company-dossier { margin-top: 5rem; }
.dossier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; border-top: 1px solid var(--glass-border); padding-top: 3rem; }
.dossier-item { display: flex; flex-direction: column; gap: 0.3rem; }
.dossier-label { font-family: 'Space Grotesk', sans-serif; font-size: 0.75rem; color: var(--accent-purple); text-transform: uppercase; letter-spacing: 0.1em; }
.dossier-value { font-size: 1.05rem; color: #fff; font-weight: 300; }
.dossier-value.mono { font-family: monospace; color: var(--accent-ice-blue); letter-spacing: 1px; }

/* --- PODSTRONA: DOKUMENTY PRAWNE & PRASA --- */
.legal-doc { text-align: left; }
.legal-doc .warning-label { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; color: #ff3366; text-transform: uppercase; letter-spacing: 0.1em; display: inline-block; border: 1px solid #ff3366; padding: 0.5rem 1rem; border-radius: 4px; margin-bottom: 2rem; }
.legal-doc .effective-date { font-family: monospace; color: var(--accent-ice-blue); font-size: 0.9rem; margin-bottom: 3rem; display: block; border-bottom: 1px solid var(--glass-border); padding-bottom: 1rem; }
.legal-doc h3 { font-size: 1.3rem; color: #fff; margin: 3rem 0 1.5rem; text-transform: uppercase; letter-spacing: 0.05em; display: flex; align-items: center; gap: 0.75rem; }
.legal-doc.press-doc h3 { margin: 2rem 0 1rem; }
.legal-doc h3::before { content: '§'; color: var(--accent-purple); font-family: 'Inter', sans-serif; font-weight: 300; font-size: 1.5rem; }
.legal-doc.press-doc h3::before { content: '>'; font-weight: 700; font-size: 1.2rem; }
.legal-doc p { font-size: 1rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.7; text-align: justify; }
.legal-doc.press-doc p { font-size: 1.05rem; }
.legal-doc ul { margin-bottom: 1.5rem; padding-left: 2rem; color: var(--text-muted); list-style-type: none; }
.legal-doc ul li { position: relative; margin-bottom: 0.8rem; line-height: 1.6; }
.legal-doc ul li::before { content: '—'; position: absolute; left: -1.5rem; color: var(--accent-purple); }
.legal-doc strong { color: var(--text-main); font-weight: 500; }
.legal-doc.press-doc strong { font-weight: 600; }
.legal-doc .mono-highlight { font-family: monospace; color: var(--accent-ice-blue); }

/* --- PODSTRONA: INWESTORZY --- */
.investor-pitch { text-align: left; }
.investor-pitch .status-label { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; color: var(--accent-ice-blue); text-transform: uppercase; letter-spacing: 0.1em; display: inline-block; border: 1px solid var(--accent-ice-blue); padding: 0.5rem 1rem; border-radius: 4px; margin-bottom: 2rem; background: rgba(0, 210, 255, 0.05); }
.investor-pitch p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 1.8rem; line-height: 1.7; }
.investor-pitch .highlight { color: #fff; font-weight: 500; }
.investor-pitch .quote-block { border-left: 3px solid var(--accent-purple); padding-left: 1.5rem; margin: 2.5rem 0; font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; color: #fff; line-height: 1.5; }

/* --- FORMULARZE --- */
#contact { padding-top: 2rem; padding-bottom: 8rem; }
.form-container { max-width: 700px; margin: 0 auto; } 
.form-container.wide-form { max-width: 900px; padding: 3rem; }
.input-group { position: relative; margin-bottom: 2rem; } 
.input-group input, .input-group textarea { width: 100%; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--glass-border); border-radius: 8px; padding: 1.2rem; color: var(--text-main); font-family: 'Inter', sans-serif; font-size: 1rem; transition: all 0.3s ease; outline: none; } 
.input-group textarea { resize: vertical; min-height: 120px; } 
.input-group label { position: absolute; top: 1.2rem; left: 1.2rem; color: var(--text-muted); pointer-events: none; transition: all 0.3s ease; font-family: 'Space Grotesk', sans-serif; letter-spacing: 0.05em; font-size: 0.9rem; } 
.input-group input:focus, .input-group textarea:focus, .input-group input:not(:placeholder-shown), .input-group textarea:not(:placeholder-shown) { border-color: var(--accent-ice-blue); box-shadow: 0 0 15px rgba(0, 210, 255, 0.1); background: rgba(0, 0, 0, 0.6); } 
.input-group input:focus ~ label, .input-group textarea:focus ~ label, .input-group input:not(:placeholder-shown) ~ label, .input-group textarea:not(:placeholder-shown) ~ label { top: -0.8rem; left: 0.8rem; font-size: 0.75rem; color: var(--accent-ice-blue); background: var(--bg-deep-black); padding: 0 0.5rem; border-radius: 4px; }
.cyber-button { width: 100%; background: transparent; border: 1px solid var(--accent-ice-blue); color: var(--accent-ice-blue); padding: 1.2rem; font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; font-size: 1rem; border-radius: 8px; cursor: pointer; transition: all 0.4s ease; position: relative; overflow: hidden; } 
.cyber-button:hover { background: var(--accent-ice-blue); color: #000; box-shadow: 0 0 20px var(--accent-ice-blue); } 
.trap-field { display: none !important; }

/* --- FOOTER --- */
footer { background-color: #000; border-top: 1px solid rgba(255,255,255,0.05); padding: 5rem 2rem 2rem; } 
.footer-content { max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 3rem; } 
.footer-brand .footer-logo img { height: 70px; mix-blend-mode: screen; opacity: 0.5; transition: opacity 0.3s; } 
.footer-brand .footer-logo img:hover { opacity: 1; } 
.footer-columns { display: flex; gap: 6rem; } 
.footer-col { display: flex; flex-direction: column; gap: 1rem; } 
.footer-col h4 { color: var(--text-muted); font-size: 0.85rem; letter-spacing: 0.1em; margin-bottom: 0.5rem; font-family: 'Inter', sans-serif; font-weight: 500; } 
.footer-col a { color: var(--text-main); font-size: 0.95rem; font-weight: 300; } 
.footer-bottom { max-width: 1000px; margin: 4rem auto 0; text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.3); border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; }

/* --- 9. BANER COOKIES (MROCZNY, WSTRZYKIWANY PRZEZ JS) --- */
.cookie-container { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(0,0,0,0.95); border-top: 1px solid rgba(255,255,255,0.08); color: #e0e0e0; padding: 20px; display: flex; justify-content: center; gap: 2rem; align-items: center; z-index: 1000; font-family: 'Inter', sans-serif; font-size: 0.9rem; backdrop-filter: blur(10px); } 
.cookie-btn { background: transparent; border: 1px solid var(--accent-purple); color: var(--accent-purple); padding: 10px 30px; cursor: pointer; font-weight: bold; border-radius: 4px; transition: all 0.3s; font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; letter-spacing: 0.05em; } 
.cookie-btn:hover { background: var(--accent-purple); color: #000; box-shadow: 0 0 15px rgba(138, 43, 226, 0.4); }

/* --- ANIMACJE --- */
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } } 
@keyframes pulseBg { 0% { transform: scale(1); filter: brightness(1); } 100% { transform: scale(1.05); filter: brightness(1.2); } }

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 768px) { 
    nav { padding: 1rem 1.5rem; flex-direction: column; gap: 1rem; } 
    .nav-right { flex-direction: column; gap: 1.5rem; } 
    .nav-links { gap: 1.5rem; font-size: 0.75rem; flex-wrap: wrap; justify-content: center; } 
    #hero h1 { font-size: 2.2rem; } 
    #hero p { font-size: 1rem; } 
    .main-logo { max-width: 250px; } 
    #page-hero h1 { font-size: 2.2rem; padding: 0 1rem; }
    #page-hero.legal-hero h1 { font-size: 1.8rem; }
    section { padding: 5rem 1.5rem; } 
    .glass-panel, .form-container.wide-form { padding: 2rem 1.5rem; } 
    .dossier-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .legal-doc h3 { font-size: 1.1rem; }
    .legal-doc p { text-align: left; }
    .footer-content { flex-direction: column; align-items: center; text-align: center; } 
    .footer-columns { flex-direction: column; gap: 3rem; text-align: center; } 
    .footer-col { align-items: center; } 
}