/* ===================================
   CSS Variables (Héroes Digitales Brand Colors)
   =================================== */

:root {
    /* Colors */
    --background: oklch(0.99 0.002 90);
    --foreground: oklch(0.25 0.02 250);
    --card: oklch(1 0 0);
    --card-foreground: oklch(0.25 0.02 250);
    --primary: oklch(0.7 0.18 45);
    --primary-foreground: oklch(1 0 0);
    --secondary: oklch(0.65 0.15 195);
    --secondary-foreground: oklch(1 0 0);
    --muted: oklch(0.96 0.01 90);
    --muted-foreground: oklch(0.45 0.02 250);
    --accent: oklch(0.75 0.14 195);
    --accent-foreground: oklch(0.2 0.02 250);
    --destructive: oklch(0.577 0.245 27.325);
    --destructive-foreground: oklch(0.577 0.245 27.325);
    --border: oklch(0.9 0.01 90);
    --input: oklch(0.9 0.01 90);
    --ring: oklch(0.7 0.18 45);
    --chart-1: oklch(0.7 0.18 45);
    --chart-2: oklch(0.65 0.15 195);
    --chart-3: oklch(0.55 0.12 280);
    --chart-4: oklch(0.75 0.16 140);
    --chart-5: oklch(0.65 0.2 30);
    --radius: 12px;
}

/* ===================================
   Base Styles
   =================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ===================================
   Utility Classes
   =================================== */

.hidden {
    display: none;
}

.text-primary {
    color: var(--primary);
}

.text-white {
    color: white;
}

.text-white-muted {
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   Button Styles
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.btn-secondary:hover {
    opacity: 0.9;
}

.btn-green {
    background-color: var(--chart-4);
    color: white;
}

.btn-green:hover {
    opacity: 0.9;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid rgba(0, 0, 0, 0.2);
    color: var(--foreground);
}

.btn-outline:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.btn-lg {
    font-size: 1.125rem;
    padding: 1rem 2rem;
    height: 3.5rem;
}

.btn-full {
    width: 100%;
}

/* ===================================
   Header Styles
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

@media (min-width: 768px) {
    .header-content {
        height: 5rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--foreground);
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
}

.logo-text {
    font-weight: 700;
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .logo-text {
        font-size: 1.25rem;
    }
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
        align-items: center;
    }
}

.nav-link {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--foreground);
}

.cta-desktop {
    display: none;
}

@media (min-width: 768px) {
    .cta-desktop {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
}

.menu-toggle {
    display: flex;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.nav-mobile {
    padding: 1rem 0;
    border-top: 1px solid var(--border);
}

.nav-mobile nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-link-mobile {
    color: var(--muted-foreground);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.nav-link-mobile:hover {
    color: var(--foreground);
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(101, 163, 157, 0.1), var(--background), rgba(229, 115, 68, 0.05));
}

.hero-gradient-1 {
    position: absolute;
    top: 5rem;
    right: 0;
    width: 600px;
    height: 600px;
    background-color: rgba(229, 115, 68, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.hero-gradient-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background-color: rgba(101, 163, 157, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.hero-container {
    position: relative;
    padding: 4rem 1rem;
}

@media (min-width: 768px) {
    .hero-container {
        padding: 6rem 1.5rem;
    }
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: rgba(101, 163, 157, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(101, 163, 157, 0.2);
    width: fit-content;
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.pulse-dot {
    position: relative;
    display: flex;
    height: 0.5rem;
    width: 0.5rem;
}

.pulse-ring {
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background-color: var(--secondary);
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pulse-core {
    position: relative;
    display: inline-flex;
    border-radius: 50%;
    height: 0.5rem;
    width: 0.5rem;
    background-color: var(--secondary);
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.75;
    max-width: 40rem;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 1rem;
}

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

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
}

.stat-value-secondary {
    color: var(--secondary);
}

.stat-value-primary {
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.hero-visual-wrapper {
    position: relative;
}

.hero-visual-glow {
    position: absolute;
    inset: -1rem;
    background: linear-gradient(to right, rgba(229, 115, 68, 0.2), rgba(101, 163, 157, 0.2));
    border-radius: 1.5rem;
    filter: blur(32px);
}

.hero-visual {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(101, 163, 157, 0.05), rgba(229, 115, 68, 0.05));
    padding: 2rem;
    aspect-ratio: 4 / 3;
}

.network-viz {
    position: relative;
    width: 100%;
    height: 100%;
}

.network-node {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.network-node-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6rem;
    height: 6rem;
    background: linear-gradient(135deg, var(--primary), rgba(229, 115, 68, 0.7));
    box-shadow: 0 10px 30px rgba(229, 115, 68, 0.3);
}

.network-node-1 {
    top: 8%;
    left: 25%;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--secondary), rgba(101, 163, 157, 0.7));
    box-shadow: 0 10px 30px rgba(101, 163, 157, 0.3);
}

.network-node-2 {
    top: 12%;
    right: 8%;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--chart-4), rgba(115, 193, 129, 0.7));
    box-shadow: 0 10px 30px rgba(115, 193, 129, 0.3);
}

.network-node-3 {
    bottom: 16%;
    left: 8%;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--chart-5), rgba(207, 114, 68, 0.7));
    box-shadow: 0 10px 30px rgba(207, 114, 68, 0.3);
}

.network-node-4 {
    bottom: 8%;
    right: 25%;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, rgba(229, 115, 68, 0.8), rgba(229, 115, 68, 0.5));
    box-shadow: 0 10px 30px rgba(229, 115, 68, 0.3);
}

.network-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.network-line {
    stroke: var(--secondary);
    stroke-width: 2;
    stroke-dasharray: 4 4;
    opacity: 0.4;
}

.network-dot {
    position: absolute;
    border-radius: 50%;
}

.network-dot-1 {
    top: 25%;
    right: 33%;
    width: 0.75rem;
    height: 0.75rem;
    background-color: rgba(101, 163, 157, 0.4);
}

.network-dot-2 {
    bottom: 33%;
    left: 33%;
    width: 0.5rem;
    height: 0.5rem;
    background-color: rgba(229, 115, 68, 0.4);
}

.network-dot-3 {
    top: 33%;
    left: 12%;
    width: 0.5rem;
    height: 0.5rem;
    background-color: rgba(115, 193, 129, 0.4);
}

.hero-floating-card {
    margin-top: 1.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
}

.floating-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(101, 163, 157, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.floating-card-title {
    font-weight: 600;
    color: var(--foreground);
}

.floating-card-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ===================================
   Section Styles
   =================================== */

.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.badge-primary {
    background-color: rgba(229, 115, 68, 0.1);
    color: var(--primary);
}

.badge-secondary {
    background-color: rgba(101, 163, 157, 0.1);
    color: var(--secondary);
}

.badge-white {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.badge-white-outline {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.75;
}

/* ===================================
   Problem Section
   =================================== */

.problem-section {
    padding: 5rem 0;
    background-color: rgba(0, 0, 0, 0.02);
}

@media (min-width: 768px) {
    .problem-section {
        padding: 8rem 0;
    }
}

.problem-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .problem-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.problem-card {
    background-color: var(--background);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.problem-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.problem-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: transform 0.3s;
}

.problem-card:hover .problem-icon {
    transform: scale(1.1);
}

.icon-primary {
    background-color: rgba(229, 115, 68, 0.1);
    color: var(--primary);
}

.icon-secondary {
    background-color: rgba(101, 163, 157, 0.1);
    color: var(--secondary);
}

.icon-destructive {
    background-color: rgba(220, 38, 38, 0.1);
    color: var(--destructive);
}

.icon-muted {
    background-color: var(--muted);
    color: var(--muted-foreground);
}

.problem-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.problem-text {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ===================================
   What We Do Section
   =================================== */

.what-we-do-section {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .what-we-do-section {
        padding: 8rem 0;
    }
}

.what-we-do-grid {
    display: grid;
    gap: 4rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .what-we-do-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

.what-we-do-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .what-we-do-left {
        position: sticky;
        top: 8rem;
    }
}

.community-visual {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(101, 163, 157, 0.1), var(--background), rgba(229, 115, 68, 0.1));
    border: 1px solid var(--border);
    padding: 2rem;
    aspect-ratio: 16 / 9;
}

.community-center {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.community-hub {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--secondary), rgba(101, 163, 157, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(101, 163, 157, 0.3);
    color: white;
}

.pulse-animation {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.signal-wave {
    position: absolute;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    opacity: 0.3;
    animation: ping 2s ease-in-out infinite;
}

.signal-wave-1 {
    inset: -1rem;
    animation-duration: 2s;
}

.signal-wave-2 {
    inset: -2rem;
    animation-duration: 2.5s;
}

.signal-wave-3 {
    inset: -3rem;
    animation-duration: 3s;
}

.community-node {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.community-node-1 {
    top: 1rem;
    left: 2rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), rgba(229, 115, 68, 0.7));
}

.community-node-2 {
    top: 2rem;
    right: 3rem;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--chart-4), rgba(115, 193, 129, 0.7));
}

.community-node-3 {
    bottom: 2rem;
    left: 3rem;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--chart-5), rgba(207, 114, 68, 0.7));
}

.community-node-4 {
    bottom: 1rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, rgba(229, 115, 68, 0.8), rgba(229, 115, 68, 0.5));
}

.community-dot {
    position: absolute;
    border-radius: 50%;
}

.community-dot-1 {
    top: 25%;
    left: 25%;
    width: 0.5rem;
    height: 0.5rem;
    background-color: rgba(101, 163, 157, 0.6);
}

.community-dot-2 {
    bottom: 25%;
    right: 25%;
    width: 0.5rem;
    height: 0.5rem;
    background-color: rgba(229, 115, 68, 0.6);
}

.community-dot-3 {
    top: 33%;
    right: 33%;
    width: 0.375rem;
    height: 0.375rem;
    background-color: rgba(115, 193, 129, 0.6);
}

.activities-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.activity-card {
    position: relative;
    background-color: var(--background);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    overflow: hidden;
}

.activity-card:hover {
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.activity-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.activity-card:hover::before {
    opacity: 0.03;
}

.activity-secondary::before {
    background: linear-gradient(to right, var(--secondary), rgba(101, 163, 157, 0.7));
}

.activity-primary::before {
    background: linear-gradient(to right, var(--primary), rgba(229, 115, 68, 0.7));
}

.activity-green::before {
    background: linear-gradient(to right, var(--chart-4), rgba(115, 193, 129, 0.7));
}

.activity-orange::before {
    background: linear-gradient(to right, var(--chart-5), rgba(207, 114, 68, 0.7));
}

.activity-header {
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.activity-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover .activity-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.activity-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 2.5;
}

.icon-gradient-secondary {
    background: linear-gradient(135deg, #65a39d 0%, #4a8f8a 100%);
    position: relative;
}

.icon-gradient-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    opacity: 0.5;
}

.icon-gradient-primary {
    background: linear-gradient(135deg, #e57344 0%, #d95e30 100%);
    position: relative;
}

.icon-gradient-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    opacity: 0.5;
}

.icon-gradient-green {
    background: linear-gradient(135deg, #73c181 0%, #5fb06d 100%);
    position: relative;
}

.icon-gradient-green::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    opacity: 0.5;
}

.icon-gradient-orange {
    background: linear-gradient(135deg, #cf7244 0%, #b85e30 100%);
    position: relative;
}

.icon-gradient-orange::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    opacity: 0.5;
}

.activity-icon svg {
    position: relative;
    z-index: 1;
}

.activity-content {
    position: relative;
}

.activity-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
    line-height: 1.3;
}

.activity-description {
    color: var(--foreground);
    margin-bottom: 0.75rem;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.activity-output {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--secondary);
}

.activity-output svg {
    flex-shrink: 0;
}

/* ===================================
   Impact Section
   =================================== */

.impact-section {
    position: relative;
    padding: 5rem 0;
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    overflow: hidden;
}

@media (min-width: 768px) {
    .impact-section {
        padding: 8rem 0;
    }
}

.impact-bg-decoration {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.impact-glow-1 {
    position: absolute;
    top: 0;
    left: 25%;
    width: 24rem;
    height: 24rem;
    background-color: white;
    border-radius: 50%;
    filter: blur(80px);
}

.impact-glow-2 {
    position: absolute;
    bottom: 0;
    right: 25%;
    width: 24rem;
    height: 24rem;
    background-color: white;
    border-radius: 50%;
    filter: blur(80px);
}

.impact-container {
    position: relative;
}

.impact-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 640px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .impact-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.impact-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s;
}

.impact-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.impact-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
}

@media (min-width: 640px) {
    .impact-value {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .impact-value {
        font-size: 3.75rem;
    }
}

.impact-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.impact-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   Theory of Change Section
   =================================== */

.theory-section {
    padding: 5rem 0;
    background-color: rgba(0, 0, 0, 0.015);
}

@media (min-width: 768px) {
    .theory-section {
        padding: 8rem 0;
    }
}

.theory-grid-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .theory-grid-desktop {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

.theory-grid-mobile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .theory-grid-mobile {
        display: none;
    }
}

.theory-stage {
    position: relative;
}

.theory-stage-mobile {
    position: relative;
}

.theory-header {
    padding: 1rem 1.5rem;
    border-radius: 0.75rem 0.75rem 0 0;
}

.theory-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    text-align: center;
}

.theory-header-purple {
    background-color: var(--chart-3);
}

.theory-header-primary {
    background-color: var(--primary);
}

.theory-header-green {
    background-color: var(--chart-4);
}

.theory-header-secondary {
    background-color: var(--secondary);
}

.theory-content {
    background-color: var(--background);
    border: 2px solid var(--border);
    border-top: none;
    border-radius: 0 0 0.75rem 0.75rem;
    padding: 1.5rem;
    min-height: 200px;
}

.theory-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.theory-content li {
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.theory-content li svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.theory-content li span {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.theory-arrow {
    position: absolute;
    top: 50%;
    right: -1rem;
    transform: translate(50%, -50%);
    z-index: 10;
}

.theory-arrow svg {
    width: 2rem;
    height: 2rem;
    padding: 0.5rem;
    border-radius: 50%;
    background-color: var(--chart-3);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.theory-header-primary + .theory-content + .theory-arrow svg {
    background-color: var(--primary);
}

.theory-header-green + .theory-content + .theory-arrow svg {
    background-color: var(--chart-4);
}

.theory-arrow-mobile {
    display: flex;
    justify-content: center;
    padding: 0.5rem;
}

.theory-arrow-mobile svg {
    width: 2rem;
    height: 2rem;
    padding: 0.5rem;
    border-radius: 50%;
    background-color: var(--chart-3);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.theory-stage-mobile:nth-child(2) .theory-arrow-mobile svg {
    background-color: var(--primary);
}

.theory-stage-mobile:nth-child(3) .theory-arrow-mobile svg {
    background-color: var(--chart-4);
}

/* ===================================
   Partners Section
   =================================== */

.partners-section {
    position: relative;
    padding: 5rem 0;
    background-color: #fafafa;
    overflow: hidden;
}


.partners-section .section-header {
    margin-bottom: 3.5rem;
}

.partners-section .section-badge {
    background-color: white;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    font-weight: 600;
}

@media (min-width: 768px) {
    .partners-section {
        padding: 8rem 0;
    }
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .partners-grid {
        gap: 2rem;
    }
}

.partner-card {
    position: relative;
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.75rem 1.25rem;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

@media (min-width: 768px) {
    .partner-card {
        padding: 2rem 1.5rem;
    }
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.partner-card:hover::before {
    transform: scaleX(1);
}

.partner-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.partner-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 0.875rem;
    border-radius: 0.625rem;
    background-color: #f0f9ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .partner-icon {
        width: 4rem;
        height: 4rem;
        margin: 0 auto 1rem;
        font-size: 1.5rem;
    }
}

.partner-card:hover .partner-icon {
    background-color: var(--secondary);
    color: white;
    transform: scale(1.05);
}

.partner-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--foreground);
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .partner-name {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }
}

.partner-card:hover .partner-name {
    color: var(--secondary);
}

.partner-category {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

@media (min-width: 768px) {
    .partner-category {
        font-size: 0.8125rem;
    }
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    position: relative;
    padding: 5rem 0;
    background-color: var(--secondary);
    color: white;
    overflow: hidden;
}

.cta-section .section-title {
    color: white;
}

.cta-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
    .cta-section {
        padding: 8rem 0;
    }
}

.cta-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cta-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.cta-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    border: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .cta-card {
        padding: 2.5rem 2rem;
    }
}

.cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.cta-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .cta-icon {
        width: 4rem;
        height: 4rem;
        margin: 0 auto 1.5rem;
    }
}

.cta-card:hover .cta-icon {
    background-color: white;
    color: var(--secondary);
    transform: scale(1.05);
}

.cta-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 1.5rem;
    }
}

.cta-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .cta-description {
        font-size: 0.9375rem;
    }
}

.cta-card .btn {
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cta-card .btn:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* ===================================
   Footer Styles
   =================================== */

.footer {
    background-color: rgba(0, 0, 0, 0.02);
    border-top: 1px solid var(--border);
}

.footer .container {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.footer-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--muted-foreground);
    transition: color 0.2s;
}

.social-link:hover {
    color: var(--primary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-heading {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.footer-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--foreground);
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-contact svg {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}
