 :root {
    --bg: rgb(69, 69, 69);
    --panel: rgb(33, 33, 33);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --glow: rgba(59, 130, 246, 0.25);
    --glow-strong: rgba(59, 130, 246, 0.4);
}

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

html, body {
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.page-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

body {
    min-height: 100vh;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
    padding: 20px 0;
    text-align: center;
    color: var(--muted);
}

h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 10px; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.5rem; line-height: 1.2; }
p { font-size: 1.1rem; line-height: 1.6; }

a { color: var(--glow-strong); text-decoration: none; }
a:hover { color: var(--text); text-decoration: underline; }

ul { padding-left: 20px; }

.card {
    background: var(--panel);
    padding: 24px;
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 15px 40px var(--glow);
}

.btn {
    display: block;
    margin: 32px auto 0 auto;
    padding: 24px;
    background: #273449;
    color: var(--text);
    text-decoration: none;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
    background: #324566;
    color: #fff;
    box-shadow: 0 15px 40px var(--glow);
    transform: translateY(-4px) scale(1.01);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0px);
}

.back-arrow {
    border: none;
    background: transparent;
    color: var(--text);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.back-arrow:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,0.1);
}