/* === style.css - PODSTAWOWE STYLE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* SYSTEMOWE FONTY - szybkie i niezawodne */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8fafc;
    color: #0b1a33;
    line-height: 1.6;
}

/* === HEADER === */
.header {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 14px 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 6px 4px;
    transition: 0.25s ease;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.header a:hover {
    color: #ffffff;
    border-bottom-color: #60a5fa;
}

.header a.login-btn {
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
    padding: 8px 22px;
    border-radius: 40px;
    font-weight: 600;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: 0.25s;
}

.header a.login-btn:hover {
    background: linear-gradient(145deg, #3b82f6, #2563eb);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    border-bottom-color: transparent;
}

/* === GŁÓWNY KONTENER === */
#main-content {
    min-height: 60vh;
    animation: fadeSlide 0.4s ease;
}

@keyframes fadeSlide {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* === PRZYCISKI === */
.btn-entry {
    display: block;
    padding: 16px 30px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 60px;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-biuro {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.btn-biuro:hover {
    background: linear-gradient(145deg, #334155, #1e293b);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3);
}

.btn-kodowanie {
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-kodowanie:hover {
    background: linear-gradient(145deg, #3b82f6, #2563eb);
    transform: scale(1.02);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
}

/* === STOPKA === */
.footer {
    background: #0f172a;
    padding: 40px 24px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-card h3 {
    color: #f1f5f9;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.footer-card p,
.footer-card a {
    color: #94a3b8;
    font-size: 0.95rem;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    cursor: pointer;
}

.footer-card a:hover {
    color: #ffffff;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #64748b;
    font-size: 0.85rem;
}

/* === WSPÓLNE KLASY === */
.highlight-blue {
    color: #2563eb;
    font-weight: 600;
}

.highlight-dark {
    color: #0b1a33;
    font-weight: 700;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #0b1a33;
    line-height: 1.7;
    margin-bottom: 20px;
}

.divider {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 32px 0;
}

.accent-box {
    background: #f1f5f9;
    padding: 20px 28px;
    border-radius: 16px;
    border-left: 5px solid #2563eb;
    margin: 24px 0;
}

.accent-box p {
    margin: 0;
    font-size: 1.05rem;
}

.checklist {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 18px 0 24px 0;
}

.checklist-item {
    background: #eef2ff;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 500;
    color: #1e293b;
    font-size: 0.95rem;
}

.checklist-item::before {
    content: "✓ ";
    color: #2563eb;
    font-weight: 700;
}

.story-highlight {
    background: linear-gradient(135deg, #fef9e7, #fef3c7);
    padding: 20px 28px;
    border-radius: 16px;
    border-left: 5px solid #f59e0b;
    margin: 20px 0;
    font-style: italic;
    font-weight: 500;
    color: #92400e;
}

.success-box {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    padding: 20px 28px;
    border-radius: 16px;
    border-left: 5px solid #10b981;
    margin: 20px 0;
}

.success-box h5 {
    color: #065f46;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.success-box p {
    color: #065f46;
    margin: 0;
}

/* === 3 KOLUMNY === */
.three-column-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px auto 30px;
    max-width: 1200px;
    padding: 0 24px;
}

.column {
    background: white;
    border-radius: 28px;
    padding: 32px 24px 28px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
    border: 1px solid #eef2f6;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.column:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px -16px rgba(0, 0, 0, 0.12);
    border-color: #60a5fa;
}

.column img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    background: #f1f5f9;
}

.column h3 {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
    margin: 0 0 12px 0;
}

.column p {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 0;
    flex-grow: 1;
}

/* === RESPONSYWNOSĆ === */
@media (max-width: 768px) {
    .header {
        padding: 12px 20px;
        justify-content: center;
    }
    .three-column-section {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* === ZAKŁADKI - ZABEZPIECZENIE === */
.tab-btn.active {
    background: #1e293b !important;
    color: white !important;
}

.tab-content.active-content {
    display: block !important;
}

.tab-content {
    display: none;
}