/**
 * Compassion First - Front Page
 * STYLE: Calm Clinical Minimalism + Human Storytelling
 */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500&display=swap');

/* --- Global High-Contrast Overrides for this Page --- */
.btn-outline {
    color: var(--color-primary) !important;
    border-bottom: 2px solid rgba(28, 49, 68, 0.3) !important;
}

.btn-outline:hover {
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    opacity: 0.7;
}

/* --- 1. Hero Section --- */
.hero-section {
    padding: 8rem 1rem 6rem;
    background-color: var(--color-surface);
    text-align: center;
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

/* The Elegant "Breathe In" Keyframes */
@keyframes calmFadeUp {
    0% { 
        opacity: 0; 
        transform: translateY(25px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.hero-inner h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: var(--color-primary);
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    /* Entrance Animation */
    opacity: 0; 
    animation: calmFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-inner p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 2.5rem;
    /* Entrance Animation (0.3s delay) */
    opacity: 0; 
    animation: calmFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* Entrance Animation (0.6s delay) */
    opacity: 0; 
    animation: calmFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

/* --- 2. Trust Strip --- */
.trust-strip {
    background-color: var(--color-white);
    padding: 2rem 1rem;
    border-top: 1px solid rgba(28, 49, 68, 0.05);
    border-bottom: 1px solid rgba(28, 49, 68, 0.05);
}

.trust-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.trust-item {
    font-size: 0.95rem;
    color: var(--color-primary);
    font-weight: 600; /* Slightly bolder for credibility */
    opacity: 0.85;
}

/* --- 3. "Areas of Support" (Problem Grid) --- */
.problems-section {
    padding: 6rem 1rem;
    background-color: var(--color-surface);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

/* STRONGER TITLES */
.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-primary);
    font-weight: 400;
    line-height: 1.1;
}

.problem-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.problem-card {
    background-color: var(--color-white);
    padding: 3rem 2.5rem; /* Slightly more padding for elegance */
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
    display: block;
}

.problem-card:hover {
    transform: translateY(-4px);
    opacity: 0.9;
}

.problem-card h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600; /* Bolder card titles */
}

.problem-card p {
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.85;
}

/* --- 4 & 5. Empathy & About Preview --- */
.empathy-about-section {
    background-color: var(--color-white);
    padding: 6rem 1rem 8rem;
}

.empathy-inner {
    max-width: 1000px; /* Slightly wider so text breathes better */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.empathy-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.2rem);
    color: var(--color-primary);
    font-weight: 500; /* Stronger empathy title */
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.empathy-text p {
    font-size: 1.15rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.empathy-text a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.3s ease;
}

.empathy-text a:hover {
    opacity: 0.6;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
}

/* --- 6 & 7. Process & Outcomes --- */
.process-outcomes-section {
    background-color: var(--color-surface);
    padding: 8rem 1rem;
}

.process-grid {
    max-width: 1000px;
    margin: 0 auto 6rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.process-step .step-num {
    font-family: 'Jost', sans-serif; /* Clean geometric numbers */
    font-weight: 300;
    font-size: 4rem;
    color: var(--color-primary); /* Ensuring no orange here */
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.process-step h4 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.process-step p {
    color: var(--color-text);
    opacity: 0.85;
    line-height: 1.6;
}

.outcomes-box {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 4rem;
    border-radius: 12px;
    text-align: center;
}

.outcomes-box h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-primary);
    font-weight: 600; /* Stronger outcomes title */
    margin-bottom: 2rem;
}

.outcomes-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: left;
    list-style: none;
    padding: 0;
}

.outcomes-list li {
    font-size: 1.1rem;
    color: var(--color-text);
    opacity: 0.9;
    padding-left: 1.5rem;
    position: relative;
}

.outcomes-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* --- 9. Pricing Preview --- */
.pricing-preview {
    background-color: var(--color-white);
    padding: 6rem 1rem;
    text-align: center;
}

.pricing-inner {
    max-width: 600px;
    margin: 0 auto;
}

.pricing-inner h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary);
    font-weight: 600; /* Stronger pricing title */
    margin-bottom: 1.5rem;
}

.pricing-inner a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.3s ease;
}

.pricing-inner a:hover {
    opacity: 0.6;
}

/* --- 10. Final CTA --- */
.final-cta {
    background-color: var(--color-primary);
    color: var(--color-surface);
    padding: 8rem 1rem;
    text-align: center;
}

.final-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-surface);
    font-weight: 400; /* Stronger CTA title */
    margin-bottom: 1.5rem;
}

.final-cta p {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .empathy-inner, .process-grid, .outcomes-list {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions a { width: 100%; text-align: center; }
    .outcomes-box { padding: 3rem 2rem; }
}