/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { background-color: #030508; color: #e2e8f0; font-family: 'Inter', sans-serif; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; color: #ffffff; text-transform: uppercase; }

/* UTILS */
.highlight { color: #00e5ff; text-shadow: 0 0 10px rgba(0, 229, 255, 0.3); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-4 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
.w-100 { width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 8rem 0; }
.dark-section { background: #010204; border-top: 1px solid rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.03); }
.description { font-size: 1.1rem; color: #94a3b8; max-width: 700px; line-height: 1.7; }

/* NAVBAR */
.navbar { position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 5%; background: rgba(3, 5, 8, 0.85); backdrop-filter: blur(12px); z-index: 1000; border-bottom: 1px solid rgba(0, 229, 255, 0.1); }
.logo { font-family: 'Space Grotesk'; font-size: 1.5rem; font-weight: 700; letter-spacing: 2px; }
.logo .dot { color: #00e5ff; }
.nav-links { display: flex; list-style: none; gap: 2.5rem; }
.nav-links a { color: #94a3b8; text-decoration: none; font-size: 0.85rem; letter-spacing: 1px; transition: color 0.3s; text-transform: uppercase;}
.nav-links a:hover { color: #00e5ff; }

/* BUTTONS */
.btn-nav { border: 1px solid #00e5ff; color: #00e5ff; padding: 0.5rem 1rem; text-decoration: none; font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; transition: all 0.3s; }
.btn-nav:hover { background: rgba(0, 229, 255, 0.1); box-shadow: 0 0 15px rgba(0, 229, 255, 0.2); }
.btn-primary { background: #00e5ff; color: #000; padding: 1rem 2rem; text-decoration: none; font-weight: 700; letter-spacing: 1px; display: inline-block; transition: all 0.3s; border: none; cursor: pointer; font-family: 'Space Grotesk';}
.btn-primary:hover { background: #33ecff; box-shadow: 0 0 20px rgba(0, 229, 255, 0.4); }
.btn-secondary { border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 1rem 2rem; text-decoration: none; font-weight: 600; letter-spacing: 1px; display: inline-block; transition: all 0.3s; font-family: 'Space Grotesk';}
.btn-secondary:hover { border-color: #00e5ff; color: #00e5ff; background: rgba(0, 229, 255, 0.05); }

/* HERO */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: radial-gradient(circle at 50% 30%, #0a1526 0%, #030508 70%); background-size: cover; padding: 0 2rem; }
.badge { display: inline-block; border: 1px solid rgba(0, 229, 255, 0.3); color: #00e5ff; padding: 0.4rem 1rem; font-size: 0.75rem; letter-spacing: 2px; margin-bottom: 2rem; background: rgba(0, 229, 255, 0.05); border-radius: 100px;}
.hero h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -2px; }
.hero p { font-size: 1.2rem; color: #94a3b8; max-width: 650px; margin: 0 auto 3rem auto; }
.hero-buttons { display: flex; gap: 1.5rem; justify-content: center; }

/* CORPORATE SEC */
.corporate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.sub-heading { font-size: 0.9rem; color: #00e5ff; letter-spacing: 2px; margin-bottom: 1rem; }
.main-heading { font-size: 2.8rem; margin-bottom: 1.5rem; line-height: 1.2; }

/* POPRAWIONE KAFELKI */
.corporate-stats { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 1.5rem; 
    align-content: start; 
}
.stat-box { 
    background: rgba(255,255,255,0.02); 
    border: 1px solid rgba(255,255,255,0.05); 
    padding: 2.5rem 1rem; 
    text-align: center; 
    border-radius: 8px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.stat-number { display: block; font-size: 3rem; font-weight: 700; color: #fff; font-family: 'Space Grotesk'; }
.stat-label { color: #64748b; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* NOWY STYL DLA TEKSTU POD KAFELKAMI */
.timeline-text {
    grid-column: 1 / -1; 
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
    text-align: left;
}

/* PROTOCOLS CARDS & TECH SPECS */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.glass { background: rgba(255,255,255,0.02); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.05); padding: 3rem; border-radius: 4px; transition: transform 0.3s, border-color 0.3s; }
.glass:hover { transform: translateY(-5px); border-color: rgba(0, 229, 255, 0.3); }
.card-header { font-size: 0.8rem; color: #00e5ff; letter-spacing: 2px; margin-bottom: 1rem; font-family: 'Space Grotesk'; }
.card h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.card-status { font-family: monospace; font-size: 0.85rem; color: #eab308; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.card-desc { margin-bottom: 1.5rem; font-size: 0.95rem; color: #cbd5e1; }
.tech-specs { list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.5rem; margin-top: 1.5rem; }
.tech-specs li { font-size: 0.85rem; margin-bottom: 0.8rem; color: #94a3b8; display: flex; flex-direction: column; }
.spec-label { color: #00e5ff; font-weight: 600; font-family: 'Space Grotesk', sans-serif; letter-spacing: 1px; font-size: 0.75rem; margin-bottom: 0.2rem; }

/* RESEARCH DISPATCHES (Raporty z zaokrąglonymi rogami) */
.dispatch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.dispatch-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; overflow: hidden; transition: transform 0.3s, border-color 0.3s; }
.dispatch-card:hover { transform: translateY(-5px); border-color: rgba(0, 229, 255, 0.3); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.dispatch-image { height: 220px; background-size: cover; background-position: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.dispatch-content { padding: 2rem; }
.dispatch-meta { display: flex; justify-content: space-between; font-family: 'Space Grotesk', monospace; font-size: 0.75rem; color: #64748b; margin-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 0.5rem; }
.dispatch-status { color: #00e5ff; font-weight: 700; }
.dispatch-title { font-size: 1.3rem; margin-bottom: 1rem; line-height: 1.3; }
.dispatch-abstract { font-size: 0.95rem; color: #cbd5e1; margin-bottom: 1.5rem; line-height: 1.6; }
.dispatch-link { color: #00e5ff; text-decoration: none; font-size: 0.85rem; font-weight: 600; font-family: 'Space Grotesk'; letter-spacing: 1px; transition: 0.3s; }
.dispatch-link:hover { color: #fff; }

/* BOARD */
.board-grid { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; margin-top: 3rem; }
.board-member { text-align: center; }
.avatar { width: 120px; height: 120px; border-radius: 50%; background: #1e293b; margin: 0 auto 1rem auto; border: 2px solid rgba(255,255,255,0.1); }
.blur-effect { opacity: 0.5; filter: blur(2px); transition: 0.3s; cursor: not-allowed; }
.blur-effect:hover { filter: blur(0); opacity: 1; }

/* FORMS & FOOTER */
.footer { padding: 6rem 0 3rem 0; background: #020305; }
.investor-form { max-width: 500px; margin: 3rem auto; display: flex; flex-direction: column; gap: 1rem; }
.investor-form input, .investor-form select { width: 100%; padding: 1rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); color: #fff; font-family: 'Inter'; outline: none; transition: 0.3s; }
.investor-form input:focus, .investor-form select:focus { border-color: #00e5ff; background: rgba(0, 229, 255, 0.02); }
.legal { margin-top: 5rem; border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 2rem; text-align: center;}
.small-text { font-size: 0.75rem; color: #475569; }

/* Responsive */
@media (max-width: 768px) {
    .corporate-grid { grid-template-columns: 1fr; }
    .corporate-stats { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; }
}

/* --- STYL DLA POP-UPA LOGOWANIA (MODAL) --- */
.modal-overlay {
    display: none; /* Ukryte domyślnie */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 4, 8, 0.9);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-terminal {
    background: #050a14;
    padding: 3rem;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.1);
    width: 100%;
    max-width: 450px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #64748b;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: #ff3366;
}