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

:root {
    --color-bg: #faf9fc;
    --color-text: #1e1a2d;
    --color-text-muted: #5c5470;
    --color-accent: #2d2545;
    --color-border: #e5e2ed;
    --color-white: #ffffff;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.greeting {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 12px;
}

.tagline {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.intro {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 520px;
    margin-bottom: 40px;
}

.cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all var(--transition);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #1a1528;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-text);
}

/* Sections */
section {
    padding: 100px 0;
}

section:not(.hero) {
    border-top: 1px solid var(--color-border);
}

h2 {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.about p {
    font-size: 1.125rem;
    max-width: 600px;
}

/* Expertise */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
    margin-top: 40px;
}

.expertise-item h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.expertise-item p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* Contact */
.contact {
    text-align: center;
}

.contact p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.email {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 2px solid var(--color-border);
    transition: border-color var(--transition);
}

.email:hover {
    border-color: var(--color-text);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.social-links a {
    color: var(--color-text-muted);
    transition: color var(--transition);
}

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

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
}

footer p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-align: center;
}

/* Responsive */
@media (max-width: 640px) {
    .hero {
        padding: 60px 0;
    }

    section {
        padding: 60px 0;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }
}

/* Subtle animations */
@media (prefers-reduced-motion: no-preference) {
    .hero .container > * {
        animation: fadeInUp 0.6s ease-out backwards;
    }

    .greeting { animation-delay: 0s; }
    h1 { animation-delay: 0.1s; }
    .tagline { animation-delay: 0.2s; }
    .intro { animation-delay: 0.3s; }
    .cta { animation-delay: 0.4s; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
