:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --bg-gradient-from: #f9fafb;
    --bg-gradient-to: #f3f4f6;
    --white: #ffffff;
}

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

body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    background: linear-gradient(to bottom, var(--bg-gradient-from), var(--bg-gradient-to));
    color: var(--text-primary);
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero {
    background: var(--white);
    padding: 4rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.hero-content {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: left;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.hero-text {
    flex: 1;
}

h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--text-primary);
}

/* Main Content */
main {
    max-width: 72rem;
    margin: 0 auto;
    padding: 2rem 1rem;
    flex: 1;
}

section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

h2.subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: inherit;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

p {
    padding: 0 0 1rem 0;
}

/* CV Download Button */
.cv-download {
    text-align: center;
    margin: 4rem 0;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s;
}

.button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--white);
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.ukraine-support {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.ukraine-flag {
    height: 0.9rem;
    width: auto;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.footer-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.footer-nav a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-nav .footer-sep {
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .profile-photo {
        width: 150px;
        height: 150px;
    }

    .social-links {
        justify-content: center;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle,
    h2.subtitle {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    main {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .profile-photo {
        width: 120px;
        height: 120px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .subtitle,
    h2.subtitle {
        font-size: 0.9rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links a .icon {
        font-size: 1.25rem;
    }
}