:root {
    --bg: #f8fafc;
    --text: #1e293b;
    --primary: #3b82f6;
    --card-bg: #ffffff;
    --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --card-hover-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1000px;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-img {
    width: 30%;
    height: auto;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--card-shadow);
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #64748b;
    font-size: 1.1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 320px);
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
}

.card {
    background: var(--card-bg);
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease-in-out;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 320px;
    height: 160px;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 640px) {
    body {
        padding: 1rem;
    }
    h1 {
        font-size: 2rem;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    .card {
        width: 100%;
    }
}
