/**
 * Homepage Hero CSS (hp-hero)
 *
 * Hero section styling including persona cards, action buttons,
 * and responsive adjustments.
 */

/* Hero Section */
.hero-section {
    padding: 2rem 0;
    color: var(--color-text, #212529);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path fill="%23FFFFFF20" d="M45.3,-77.5C59.9,-70.3,73.5,-60.2,81.7,-46.5C89.9,-32.8,92.7,-16.4,90.8,-1.1C88.9,14.2,82.3,28.4,74.1,41.7C65.9,55,56.1,67.4,43.1,74.9C30.1,82.4,15.1,85,-0.2,85.3C-15.4,85.7,-30.8,83.8,-44.7,77.1C-58.6,70.4,-71,58.9,-78.7,44.6C-86.4,30.3,-89.5,13.2,-87.8,-3.1C-86.1,-19.3,-79.7,-34.7,-69.8,-47.1C-59.9,-59.5,-46.5,-68.9,-32.6,-76.5C-18.7,-84.1,-4.7,-89.9,9.7,-87.1C24,-84.3,48.1,-72.9,45.3,-77.5Z" transform="translate(100 100)"/></svg>') no-repeat center center;
    opacity: 0.1;
    pointer-events: none;
}

.hero-section h1 {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text, #212529);
}

.hero-section .lead {
    font-size: 1.15rem;
    color: var(--color-text-muted, #6c757d);
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Persona Cards Row */
.persona-cards-row {
    --bs-gutter-x: 2rem !important;
    margin-bottom: 2.5rem;
    padding: 0;
}

/* Persona Card */
.persona-card {
    background: var(--color-surface, #ffffff);
    border-radius: var(--border-radius, 8px);
    padding: 1.75rem;
    height: 100%;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.08));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.persona-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.12));
}

.persona-card .card-header {
    padding: 0;
    background: none;
    border: none;
    margin-bottom: 2rem;
}

.persona-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text, #212529);
    margin: 0;
}

.persona-card .fas.fa-user-tie,
.persona-card .fas.fa-building {
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary, #3B7A57);
}

.persona-list {
    margin: .5rem 0 1.75rem 0;
    flex-grow: 1;
}

.persona-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--color-text, #212529);
}

.persona-list li:last-child {
    margin-bottom: 0;
}

.persona-list .fas.fa-check-circle {
    color: var(--color-success, #28a745);
    margin-right: 0.75rem;
    font-size: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.action-container {
    text-align: center;
}

.btn-action {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    background-color: var(--color-primary, #3B7A57);
    color: white;
    border: none;
    text-align: center;
    transition: all 0.2s ease;
    border-radius: 6px;
    width: 100%;
    font-size: 1rem;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.btn-action:hover {
    background-color: var(--color-primary-hover, #2D5D42);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.create-profile-link {
    color: var(--color-primary, #3B7A57);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0.85;
}

.create-profile-link:hover {
    color: var(--color-primary-hover, #2D5D42);
    text-decoration: none;
    background-color: rgba(59, 122, 87, 0.05);
    opacity: 1;
}

/* Responsive */
@media (max-width: 767.98px) {
    .persona-cards-row {
        --bs-gutter-x: 1rem !important;
        --bs-gutter-y: 1rem !important;
        margin-bottom: 2rem;
    }
}

@keyframes float {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
