/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
p {
    margin: 0;
}

/* System font stack - no external fonts */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.5;
    color: #333;
    background-color: white;
}

/* Layout */
.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.hero {
    width: 100%;
    max-width: 48rem;
    margin: 0 auto;
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.025em;
    color: #4f46e5;
    /* Indigo color */
}

p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #333;
}

p:last-of-type {
    margin-bottom: 2.5rem;
}

/* Button container */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Shared button styles */
.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

/* Primary button (Contact) */
.primary-button {
    background-color: #4f46e5;
    /* Indigo */
    color: white;
}

.primary-button:hover {
    background-color: #4338ca;
    /* Darker indigo */
}

/* Secondary button (LinkedIn) */
.secondary-button {
    background-color: white;
    color: #0a66c2;
    /* LinkedIn blue */
    border: 1px solid #0a66c2;
}

.secondary-button:hover {
    background-color: rgba(10, 102, 194, 0.05);
}

/* LinkedIn icon */
.linkedin-icon {
    font-weight: bold;
    margin-right: 0.5rem;
    background-color: #0a66c2;
    color: white;
    height: 1.25rem;
    width: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    font-size: 0.75rem;
}

/* Focus states for accessibility */
.button-link:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Animation for the wave emoji */
@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(14deg);
    }

    20% {
        transform: rotate(-8deg);
    }

    30% {
        transform: rotate(14deg);
    }

    40% {
        transform: rotate(-4deg);
    }

    50% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.wave-emoji {
    display: inline-block;
}

h1:hover .wave-emoji {
    animation: wave 2.5s ease infinite;
    transform-origin: 70% 70%;
}

/* Responsive adjustments */
@media (min-width: 640px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 3rem;
    }
}

/* Additional responsive tweaks for small screens */
@media (max-width: 480px) {
    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .button-link {
        width: 100%;
        justify-content: center;
    }

    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }

    p {
        font-size: 1.125rem;
    }
}

/* Print styles - optional but useful */
@media print {
    .container {
        padding: 0;
        height: auto;
    }

    .button-link {
        display: none;
    }

    body {
        font-size: 12pt;
        color: black;
    }

    h1,
    h2 {
        page-break-after: avoid;
    }
}