/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f7f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #4a7c59 0%, #5d8c3e 100%);
    color: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Main Content */
main {
    padding: 3rem 0;
}

section {
    background: white;
    padding: 3rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

h2 {
    color: #4a7c59;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #5d8c3e;
    padding-bottom: 0.5rem;
}

h3 {
    color: #5d8c3e;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    color: #4a7c59;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f1e8 0%, #e8dcc4 100%);
    border-left: 5px solid #d4a574;
}

.lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #555;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat-card {
    background: linear-gradient(135deg, #5d8c3e 0%, #4a7c59 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.95;
}

/* Problem Details */
.problem-details {
    margin-top: 2rem;
}

.problem-details ul {
    list-style: none;
    padding-left: 0;
}

.problem-details li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: #f9f7f4;
    border-left: 4px solid #d4a574;
    border-radius: 4px;
}

.problem-details strong {
    color: #4a7c59;
}

/* Help Grid */
.section-intro {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.help-card {
    background: #f9f7f4;
    padding: 2rem;
    border-radius: 8px;
    border-top: 4px solid #5d8c3e;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.help-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.note {
    margin-top: 1rem;
    padding: 0.8rem;
    background: white;
    border-left: 3px solid #d4a574;
    font-size: 0.9rem;
    border-radius: 4px;
}

/* Impact Section */
.impact ul {
    list-style: none;
    padding-left: 0;
}

.impact li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
}

.impact li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #5d8c3e;
    font-weight: bold;
    font-size: 1.2rem;
}

.callout {
    background: #fff8e1;
    border-left: 5px solid #d4a574;
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 4px;
}

.callout p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Action Section */
.action-box {
    background: #f9f7f4;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border-left: 5px solid #5d8c3e;
}

.action-box.primary {
    background: linear-gradient(135deg, #f5f1e8 0%, #e8dcc4 100%);
    border-left: 5px solid #d4a574;
}

.action-box h3 {
    margin-top: 0;
}

.action-box ul {
    margin-top: 1rem;
}

.action-box li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.action-box li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #5d8c3e;
    font-weight: bold;
}

/* Share Section */
.share {
    text-align: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0a66c2;
}

.share-btn.email {
    background: #5d8c3e;
}

/* Resources */
.resource-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.resource {
    background: #f9f7f4;
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 3px solid #5d8c3e;
}

.resource h4 {
    margin-bottom: 0.8rem;
}

.resource p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #2d3e2d;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer p {
    text-align: center;
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    section {
        padding: 2rem 1.5rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .stats-grid,
    .help-grid,
    .resource-list {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .share-btn {
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    header,
    footer {
        background: none;
        color: black;
    }
    
    .help-card,
    .action-box,
    .resource {
        page-break-inside: avoid;
    }
    
    .share-buttons {
        display: none;
    }
}
