:root {
    --primary: #3b82f6; /* Professional blue */
    --secondary: #10b981; /* Professional emerald */
    --bg-base: #0f172a; /* Slate 900 */
    --bg-surface: rgba(30, 41, 59, 0.6); /* Slate 800 with transparency */
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    font-size: 16px;
    overflow-x: hidden;
    position: relative;
}

/* Ambient light effects */
.ambient-light {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.3;
    animation: float 20s infinite alternate ease-in-out;
    pointer-events: none;
}

.light-1 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(59,130,246,0.3) 0%, rgba(15,23,42,0) 70%);
    top: -10%;
    left: -10%;
}

.light-2 {
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, rgba(16,185,129,0.2) 0%, rgba(15,23,42,0) 70%);
    bottom: -10%;
    right: -5%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 10%) scale(1.1); }
    100% { transform: translate(-5%, 5%) scale(0.95); }
}

header {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding: 40px 20px;
    margin-bottom: 50px;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

header h1 {
    margin: 0;
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0;
    font-weight: 300;
}

header a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

header a:hover {
    color: #60a5fa;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.training-item {
    background-color: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.training-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.training-item > h3 {
    color: var(--text-main);
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.description, .documents p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

blockquote {
    border-left: 3px solid var(--primary);
    margin: 0 0 20px 0;
    padding: 10px 20px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

video {
    border-radius: 8px;
    max-width: 100%;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.documents h3 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.documents ul {
    padding-left: 20px;
    color: var(--text-muted);
}

.documents li {
    margin-bottom: 10px;
}

.documents a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.documents a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

footer {
    text-align: center;
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    main {
        grid-template-columns: 1fr;
    }
}
