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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #1b2b4b 0, #050712 55%, #020308 100%);
    color: #f5f7fb;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 2.5rem;
}

/* Top bar */

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #2f7ae5, #44c3ff);
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #a3b3d9;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.badge-env {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid #283a63;
    font-size: 0.75rem;
    color: #a3b3d9;
}

/* Hero */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.7fr);
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.hero-left h1 {
    font-size: clamp(2.1rem, 4vw, 2.7rem);
    margin-bottom: 0.75rem;
}

.hero-lead {
    max-width: 34rem;
    color: #d1dbf4;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    font-size: 0.98rem;
}

/* Highlights */

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.highlight-box {
    background: rgba(6, 15, 40, 0.9);
    border-radius: 0.9rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(80, 120, 230, 0.4);
    min-width: 130px;
}

.highlight-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #7f8fbc;
    margin-bottom: 0.2rem;
}

.highlight-value {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Buttons */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    font-size: 0.93rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #2f7ae5, #3fb8ff);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(23, 85, 196, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(23, 85, 196, 0.45);
}

.btn-ghost {
    background: transparent;
    border: 1px solid #2c3c67;
    color: #c7d2f5;
}

.btn-ghost:hover {
    background: rgba(12, 24, 60, 0.9);
}

.btn-outline {
    background: rgba(7, 13, 32, 0.95);
    border: 1px solid #3658b8;
    color: #e2e7ff;
}

.btn-outline:hover {
    background: rgba(18, 35, 82, 1);
}

/* Notes */

.small-note {
    font-size: 0.8rem;
    color: #8b9ad1;
}

/* Right column */

.card {
    background: radial-gradient(circle at top left, rgba(58, 90, 200, 0.25), rgba(4, 9, 28, 0.98));
    border-radius: 1rem;
    padding: 1.3rem 1.2rem;
    border: 1px solid rgba(87, 124, 230, 0.45);
    margin-bottom: 1rem;
}

.card h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 0.9rem;
    color: #c4cfef;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.admin-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-hint {
    font-size: 0.8rem;
    color: #97a4d6;
}

.secondary-card {
    background: rgba(6, 13, 37, 0.96);
    border-color: rgba(48, 68, 140, 0.7);
}

.secondary-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.checklist {
    list-style: none;
    font-size: 0.85rem;
    color: #c7d3ff;
}

.checklist li {
    margin-bottom: 0.25rem;
}

/* Info section */

.info-section {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(35, 47, 88, 0.9);
}

.info-section h2 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.info-list {
    padding-left: 1.1rem;
    color: #c1cbee;
    font-size: 0.9rem;
    line-height: 1.65;
}

/* Footer */

.footer {
    margin-top: 2rem;
    font-size: 0.78rem;
    color: #7e89b3;
    display: flex;
    gap: 0.5rem;
}

.footer-separator {
    opacity: 0.6;
}

/* Responsywność */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-right {
        order: 2;
    }
}

@media (max-width: 600px) {
    .page-wrapper {
        padding: 1.25rem 1rem 2rem;
    }

    .hero-highlights {
        flex-direction: column;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}
