/* ============================================
   COMPONENTS — Shared reusable patterns
   Importing this file gives you: card, badge,
   gradient-block, and section header styles.
   ============================================ */
@import './base.css';

/* Section Headers */
.section-header {
    text-align: center;
    margin: var(--space-2xl) 0 var(--space-xl) 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-muted);
    font-weight: 300;
    opacity: 0.8;
}

/* Card — white surface with left accent border and hover lift */
.card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border-left: var(--border-accent);
    transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
}

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

/* Badge — pill label on a dark background */
.badge {
    background: var(--color-primary);
    color: var(--color-text-on-dark);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Gradient block — primary brand gradient with light text */
.gradient-block {
    background: var(--gradient-primary);
    color: var(--color-text-on-dark);
}