/* Landing page styles — base.css loaded by layout */

body {
    background: var(--color-cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.header {
    text-align: center;
    margin-bottom: 4rem;
}

.header h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.header p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 600px;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    width: 100%;
}

.portal-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.portal-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(107, 70, 193, 0.15);
}

.portal-card.afterchurch:hover {
    box-shadow: 0 30px 60px rgba(211, 84, 0, 0.15);
}

.icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.portal-card h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.portal-card.afterchurch h2 {
    color: #d35400;
}

.portal-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s;
}

.portal-card.showcase .btn {
    background: var(--color-primary);
    color: white;
}

.portal-card.afterchurch .btn {
    background: #d35400;
    color: white;
}

.portal-card.resources .btn {
    background: var(--color-primary);
    color: white;
}

.portal-card.resources:hover {
    box-shadow: 0 30px 60px rgba(107, 70, 193, 0.15);
}

.portal-card.payitforward .btn {
    background: #27ae60;
    color: white;
}

.portal-card.payitforward:hover {
    box-shadow: 0 30px 60px rgba(39, 174, 96, 0.15);
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }

    .portal-grid {
        grid-template-columns: 1fr;
    }
}