/* tanso.club — Design: non-profit humanist warm */

/* === Reset === */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* === Base === */
body {
    background: #F7F3ED;
    color: #2C3E50;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

/* === Typography === */
.section-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    color: #2D5016;
    text-align: center;
    margin-bottom: 2rem;
}

/* === Blobs (decorative background accents) === */
.blob {
    position: absolute;
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
    background: #4A7C29;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}
.blob-hero {
    width: 400px;
    height: 400px;
    top: -120px;
    right: -80px;
}
.blob-impact {
    width: 350px;
    height: 350px;
    bottom: -100px;
    left: -60px;
    border-radius: 40% 60% 50% 50% / 60% 40% 50% 50%;
}
.blob-stories {
    width: 300px;
    height: 300px;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50% 50% 40% 60% / 40% 60% 50% 50%;
}

/* === Leaf Icon === */
.leaf-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    flex-shrink: 0;
}

/* === Hero Section === */
.hero {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
    text-align: center;
}
.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    color: #2D5016;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}
.hero-sub {
    font-size: 1rem;
    color: #2C3E50;
    margin-bottom: 2rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* === Stat Badges === */
.stat-badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.stat-badge {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.2s ease;
}
.stat-badge:hover {
    transform: scale(1.03);
}
.badge-num {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #4A7C29;
    display: block;
}
.badge-label {
    font-size: 0.75rem;
    color: #95A5A6;
}

/* === CTA Button === */
.cta-btn {
    display: inline-block;
    background: #4A7C29;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 2.2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    z-index: 1;
}
.cta-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(74,124,41,0.3);
}

/* === Impact Section === */
.impact {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: #FFF8E7;
    border-radius: 16px;
}

/* === Impact Dashboard === */
.impact-dashboard {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.impact-stat-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    text-align: center;
    flex: 1;
    min-width: 140px;
    transition: transform 0.2s ease;
}
.impact-stat-card:hover {
    transform: scale(1.03);
}
.impact-num {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #E67E22;
    display: block;
    margin-top: 0.5rem;
}
.impact-label {
    font-size: 0.75rem;
    color: #95A5A6;
    display: block;
}

/* === Challenge List === */
.challenge-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.challenge-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
}
.challenge-card:hover {
    transform: scale(1.03);
}
.challenge-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #2D5016;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* === Thermometer Bars === */
.thermo-bar {
    height: 8px;
    background: #E0E0E0;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}
.thermo-fill {
    height: 100%;
    background: #4A7C29;
    border-radius: 999px;
    width: 0;
    transition: width 1.2s ease;
}

.thermo-label {
    font-size: 0.8rem;
    color: #95A5A6;
    display: block;
    margin-bottom: 0.75rem;
}

/* === Avatar Clusters === */
.avatar-cluster {
    display: flex;
    align-items: center;
}
.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E67E22, #4A7C29);
    border: 3px solid #FFFFFF;
    margin-left: -8px;
}
.avatar:first-child {
    margin-left: 0;
}
.avatar-more {
    font-size: 0.75rem;
    color: #95A5A6;
    margin-left: 8px;
}

/* === Stories Section === */
.stories {
    position: relative;
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 3rem 2rem;
}
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}
.story-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
}
.story-card:hover {
    transform: scale(1.03);
}
.story-card-offset {
    margin-top: 2rem;
}
.story-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 400px;
    justify-self: center;
}

/* === Achievement Badges === */
.achievement-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E67E22, #4A7C29);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.story-quote {
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-size: 0.95rem;
    color: #2C3E50;
    margin-bottom: 0.75rem;
}
.story-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #2D5016;
    display: block;
}
.story-stat {
    font-size: 0.8rem;
    color: #95A5A6;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* === Action Section === */
.action {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}
.action-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.action-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
}
.action-card:hover {
    transform: scale(1.03);
}
.action-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E67E22, #4A7C29);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}
.action-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #2D5016;
    margin-bottom: 0.4rem;
}
.action-desc {
    font-size: 0.9rem;
    color: #2C3E50;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}
.action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
}
.action-btn {
    display: inline-block;
    background: transparent;
    color: #4A7C29;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 1.2rem;
    border-radius: 8px;
    border: 2px solid #4A7C29;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.action-btn:hover {
    background: #4A7C29;
    color: #FFFFFF;
    transform: scale(1.03);
}

/* === Footer === */
.footer {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 3rem 2rem;
    text-align: center;
    background: #2C3E50;
    border-radius: 16px 16px 0 0;
    color: #95A5A6;
}
.member-quote {
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: #F7F3ED;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.flink {
    font-size: 0.8rem;
    color: #4A7C29;
    text-decoration: none;
    transition: color 0.2s ease;
}
.flink:hover {
    color: #E67E22;
}
.footer-copy {
    font-size: 0.7rem;
    color: #95A5A6;
}

/* === Fade-in Animation === */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Keyframe Animations === */
@keyframes thermoGrow {
    from { width: 0; }
    to { width: var(--target-width); }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.achievement-badge {
    animation: badgePulse 3s ease-in-out infinite;
}

/* === Responsive === */
@media (max-width: 640px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
    .story-card-offset {
        margin-top: 0;
    }
    .story-card:nth-child(3) {
        grid-column: auto;
        max-width: none;
    }
    .impact-dashboard {
        flex-direction: column;
    }
    .hero {
        padding: 3rem 1.5rem 2.5rem;
    }
}
