/* footprint.bar - Forest Nature Organic Brand */

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #e8f0e8;
    background-color: #1a3a2a;
    overflow-x: hidden;
}

/* Subtle organic leaf pattern at 3% opacity */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 5 C30 5 45 20 45 32 C45 42 38 48 30 48 C22 48 15 42 15 32 C15 20 30 5 30 5Z' fill='none' stroke='%234ade80' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 60px 60px;
}

/* === Typography === */
h1, h2, h3 {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
}

/* === Section: Forest Hero === */
.section-forest {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1a3a2a;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.brand-name {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    color: #e8f0e8;
    letter-spacing: -0.02em;
}

.brand-dot {
    color: #4ade80;
}

/* Footprint icon: two small ovals */
.footprint-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
}

.foot-oval {
    display: block;
    background-color: #a3714f;
    border-radius: 50%;
}

.foot-oval-1 {
    width: 14px;
    height: 20px;
}

.foot-oval-2 {
    width: 10px;
    height: 14px;
}

/* Leaf icon */
.leaf-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #4ade80;
    border-radius: 2px 12px 2px 12px;
    transform: rotate(45deg);
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: #e8f0e8;
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto;
}

/* Tree line silhouette */
.tree-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.tree-svg {
    display: block;
    width: 100%;
    height: auto;
    min-height: 200px;
}

/* === Section: Measure === */
.section-measure {
    position: relative;
    z-index: 1;
    background-color: #244434;
    padding: 100px 20px 120px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #e8f0e8;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #e8f0e8;
    opacity: 0.7;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.impact-panel {
    background-color: #2d5440;
    border-radius: 20px;
    padding: 36px 30px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.impact-panel.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Progress Ring */
.progress-ring {
    position: relative;
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    background: conic-gradient(#4ade80 0% 0%, #2d5440 0% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring::before {
    content: '';
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #2d5440;
}

.ring-value {
    position: relative;
    z-index: 1;
    font-family: 'Source Code Pro', monospace;
    font-weight: 600;
    font-size: 0.85rem;
    color: #4ade80;
}

.panel-content {
    flex: 1;
}

.metric-label {
    font-size: 1.1rem;
    color: #e8f0e8;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Leaf marker beside metric labels */
.leaf-marker {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #4ade80;
    border-radius: 1px 6px 1px 6px;
    transform: rotate(45deg);
    flex-shrink: 0;
}

.metric-desc {
    font-size: 0.95rem;
    color: #e8f0e8;
    opacity: 0.75;
    line-height: 1.6;
}

.metric-data {
    font-family: 'Source Code Pro', monospace;
    font-weight: 600;
    color: #4ade80;
}

/* === Wavy Dividers === */
.wavy-divider {
    position: relative;
    z-index: 1;
    margin-top: -1px;
}

.wavy-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

.wavy-divider-1 {
    background-color: #244434;
}

.wavy-divider-2 {
    background-color: #1a3a2a;
}

/* === Section: Insights === */
.section-insights {
    position: relative;
    z-index: 1;
    background-color: #1a3a2a;
    padding: 80px 20px 120px;
}

.insights-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.insight-block {
    background-color: #244434;
    border-radius: 20px;
    padding: 32px 28px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.insight-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.insight-block.warning {
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.insight-icon {
    margin-bottom: 16px;
}

.insight-title {
    font-size: 1.15rem;
    color: #e8f0e8;
    margin-bottom: 10px;
}

.insight-data {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.data-value {
    font-family: 'Source Code Pro', monospace;
    font-weight: 600;
    font-size: 2rem;
    color: #4ade80;
}

.warning .data-value {
    color: #f59e0b;
}

.data-unit {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.85rem;
    color: #e8f0e8;
    opacity: 0.6;
}

.insight-text {
    font-size: 0.95rem;
    color: #e8f0e8;
    opacity: 0.7;
    margin-bottom: 18px;
    line-height: 1.65;
}

/* Insight bar */
.insight-bar {
    height: 6px;
    background-color: #2d5440;
    border-radius: 3px;
    overflow: hidden;
}

.insight-bar-fill {
    height: 100%;
    width: 0%;
    background-color: #4ade80;
    border-radius: 3px;
    transition: width 1.2s ease;
}

.insight-bar-fill.high {
    background-color: #f59e0b;
}

.insight-bar-fill.good {
    background-color: #4ade80;
}

/* === Section: Grow === */
.section-grow {
    position: relative;
    z-index: 1;
    background-color: #244434;
    padding: 100px 20px 0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.grow-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.grow-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #e8f0e8;
    margin-bottom: 16px;
}

.grow-message {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #e8f0e8;
    opacity: 0.8;
    margin-bottom: 50px;
}

.grow-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Source Code Pro', monospace;
    font-weight: 600;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #4ade80;
}

.stat-label {
    font-size: 0.85rem;
    color: #e8f0e8;
    opacity: 0.6;
    margin-top: 6px;
}

.tree-line-grow {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.tree-svg-grow {
    display: block;
    width: 100%;
    height: auto;
    min-height: 250px;
}

/* === Footer === */
.site-footer {
    position: relative;
    z-index: 1;
    background-color: #0d1f15;
    padding: 30px 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-brand {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    color: #e8f0e8;
    font-size: 0.95rem;
}

.footer-sep {
    color: #4ade80;
}

.footer-note {
    font-size: 0.9rem;
    color: #e8f0e8;
    opacity: 0.5;
}

/* === Responsive === */
@media (max-width: 600px) {
    .impact-panel {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .metric-label {
        justify-content: center;
    }

    .grow-stats {
        gap: 30px;
    }

    .brand {
        flex-wrap: wrap;
    }
}
