:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

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

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.header p {
    font-size: 1.05rem;
    color: var(--text-light);
}

.role-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.role-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.role-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.12);
    transform: translateY(-4px);
}

.role-icon {
    width: 50px;
    height: 50px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.role-card.company .role-icon {
    background: #dbeafe;
    color: var(--primary);
}

.role-card.client .role-icon {
    background: #dcfce7;
    color: #16a34a;
}

.role-card.employee .role-icon {
    background: #fef3c7;
    color: #f59e0b;
}

.role-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.role-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
    flex-grow: 1;
}

.role-cta {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.role-card:hover .role-cta {
    background: var(--primary-dark);
}

.role-cta:active {
    transform: scale(0.98);
}

.footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .header h1 {
        font-size: 1.5rem;
    }

    .role-selection {
        grid-template-columns: 1fr;
    }

    .role-card {
        padding: 1.5rem;
    }
}
