:root {
    --bg-deep: #05080f;
    --bg-warm: #0a0f1c; /* Cooler, more premium dark */
    --accent-blue: #22c55e;
    --accent-cyan: #10b981;
    --accent-indigo: #16a34a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-highlight: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Atmospheric Layer */
.impact-ambient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, #0d1627 0%, #05080f 80%);
}

.impact-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    pointer-events: none;
    mix-blend-mode: screen;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 12rem 0; /* More breathing room */
    position: relative;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 300;
    letter-spacing: -0.02em;
}

.hero-impact {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.impact-title {
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 2rem;
    font-weight: 400;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.impact-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-inline: auto;
    line-height: 1.6;
    font-weight: 300;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent-cyan);
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 600;
}

/* Philosophy Section */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.philosophy-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 300;
}

/* Feature Cards */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
}

.impact-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3.5rem 2.5rem;
    border-radius: 32px;
    backdrop-filter: blur(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    will-change: transform, opacity, filter, box-shadow;
}

.diagram-step, .story-image, .story-content, .impact-grid > div {
    will-change: transform, opacity, filter;
}

.animated-path, .svg-progress, .diagram-ring, .parallax-element, .growth-line, .topo-line, .hero-matrix-svg {
    will-change: transform, stroke-dashoffset;
}

/* SVG Path Animation overrides if needed by GSAP */
.svg-progress {
    transition: stroke-dashoffset 0.1s ease-out;
}

.impact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.impact-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-highlight);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 40px rgba(34, 197, 94,0.1);
}

.impact-card:hover::before {
    opacity: 1;
}

.impact-card i {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.impact-card:hover i {
    transform: scale(1.1) rotate(-5deg);
}

/* Equity Model Section */
.equity-diagram {
    background: linear-gradient(180deg, var(--glass-bg), transparent);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 6rem;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.diagram-step {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.diagram-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-weight: 500;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Storytelling Layout */
.story-layout {
    display: flex;
    flex-direction: column;
    gap: 12rem;
}

.story-row {
    display: flex;
    align-items: center;
    gap: 8rem;
}

.story-row.reverse {
    flex-direction: row-reverse;
}

.story-image {
    flex: 1.2;
    height: 650px;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), transparent);
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.story-content {
    flex: 1;
}

/* CTA */
.impact-cta {
    text-align: center;
    padding: 12rem 0;
    position: relative;
}

.cta-glow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    background: #fff;
    color: var(--bg-deep);
    border-radius: 100px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.cta-glow-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transition: left 0.6s ease;
}

.cta-glow-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(255, 255, 255, 0.25);
}

.cta-glow-btn:hover::after {
    left: 100%;
}

@media (max-width: 900px) {
    .philosophy-grid, .story-row { flex-direction: column; gap: 4rem; }
    .story-row.reverse { flex-direction: column; }
    .story-image { height: 450px; width: 100%; }
    .equity-diagram { padding: 3rem; }
}
