/* ==================== VARIABLES ==================== */
:root {
    /* African tech palette with Bitcoin orange */
    --bitcoin-orange: #F7931A;
    --vibrant-orange: #FF6600;
    --african-gold: #FFB800;
    --deep-purple: #6B2D5C;
    --teal-accent: #00D9C0;
    --earthy-brown: #8B4513;
    --dark-bg: #0A0A0A;
    --card-bg: #141414;
    --border-color: #252525;
    --text-primary: #FFFFFF;
    --text-secondary: #999999;
    --accent: #F7931A;
    --gradient: linear-gradient(135deg, #F7931A 0%, #FF6600 100%);
    --african-gradient: linear-gradient(135deg, #F7931A 0%, #FFB800 50%, #FF6600 100%);
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
}

/* African pattern background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(247, 147, 26, 0.1) 35px, rgba(247, 147, 26, 0.1) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255, 184, 0, 0.1) 35px, rgba(255, 184, 0, 0.1) 70px);
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', -apple-system, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2px;
    line-height: 1.2;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(247, 147, 26, 0.3);
    transition: all 0.3s ease;
}

.logo-img:hover {
    border-color: var(--bitcoin-orange);
    transform: rotate(5deg) scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    background: linear-gradient(135deg, #F7931A 0%, #FFB800 50%, #FF6600 100%);
    color: #FFF;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(247, 147, 26, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(247, 147, 26, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 184, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 0%, rgba(0, 217, 192, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F7931A' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.3);
    padding: 8px 20px;
    border-radius: 100px;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(48px, 7vw, 84px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.highlight {
    background: linear-gradient(135deg, #F7931A 0%, #FFB800 50%, #FF6600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #F7931A 0%, #FFB800 50%, #FF6600 100%);
    opacity: 0.3;
}

.hero-text {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #F7931A 0%, #FFB800 50%, #FF6600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Space Mono', monospace;
    text-shadow: 0 0 40px rgba(247, 147, 26, 0.3);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -10px); }
}

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

/* ==================== SECTIONS ==================== */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.dark-section {
    background: 
        linear-gradient(180deg, transparent 0%, rgba(247, 147, 26, 0.03) 50%, transparent 100%),
        repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(255, 184, 0, 0.02) 100px, rgba(255, 184, 0, 0.02) 200px);
    position: relative;
}

.dark-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 217, 192, 0.03) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(255, 184, 0, 0.03) 0%, transparent 30%);
    pointer-events: none;
}

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

.tag {
    display: inline-block;
    background: rgba(247, 147, 26, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 100px;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 16px;
}

.lead {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ==================== ABOUT SECTION ==================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.about-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(247, 147, 26, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.about-card:hover::before {
    top: 150%;
    right: 150%;
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(247, 147, 26, 0.5);
    box-shadow: 0 20px 60px rgba(247, 147, 26, 0.15);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-mission {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-content h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.mission-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.check-list {
    list-style: none;
}

.check-list li {
    padding: 12px 0;
    padding-left: 32px;
    color: var(--text-secondary);
    position: relative;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.tech-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tech-badge {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.tech-badge:hover {
    border-color: var(--accent);
    transform: scale(1.05);
}

/* ==================== ECOSYSTEM SECTION ==================== */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.eco-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s;
}

.eco-card:hover {
    transform: translateY(-8px);
    border-color: rgba(247, 147, 26, 0.5);
}

.eco-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.eco-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.eco-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.eco-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.eco-card li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    padding-left: 20px;
    position: relative;
}

.eco-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.eco-count {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(247, 147, 26, 0.1);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

/* ==================== PROGRAMS SECTION ==================== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.program-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s;
}

.program-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.05) 0%, transparent 100%);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.program-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--gradient);
    color: #FFF;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.program-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.program-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.program-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.program-highlights {
    margin-bottom: 20px;
}

.highlight-item {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.program-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
}

.btn-program,
.btn-program-secondary {
    width: 100%;
    padding: 14px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-program {
    background: var(--gradient);
    border: none;
    color: #FFF;
}

.btn-program-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-program:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(247, 147, 26, 0.3);
}

.btn-program-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ==================== EVENTS SECTION ==================== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.event-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s;
}

.event-card.upcoming {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.05) 0%, transparent 100%);
}

.event-status {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--gradient);
    color: #FFF;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.3);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    width: fit-content;
}

.event-date .month {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
}

.event-date .day {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.event-date .year {
    font-size: 12px;
    color: var(--text-secondary);
}

.event-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.event-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.event-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.btn-event {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-event:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.events-cta {
    text-align: center;
}

/* ==================== RESOURCES SECTION ==================== */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.resource-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: block;
}

.resource-card:hover {
    transform: translateY(-8px);
    border-color: rgba(247, 147, 26, 0.5);
}

.resource-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.resource-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.resource-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.resource-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
}

/* ==================== COMMUNITY SECTION ==================== */
.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.comm-stat {
    text-align: center;
}

.comm-number {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comm-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.community-benefits {
    margin: 32px 0;
}

.benefit {
    padding: 12px 0;
    color: var(--text-secondary);
}

.social-platforms h4 {
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.social-btn {
    padding: 10px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.social-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.community-visual {
    position: relative;
}

.africa-map-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 40px;
}

.africa-map {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(247, 147, 26, 0.3));
}

.africa-path {
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.8;
        filter: drop-shadow(0 0 10px rgba(247, 147, 26, 0.5));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(247, 147, 26, 0.8));
    }
}

.city-dot {
    animation: pulse-dot 2s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-dot:hover {
    r: 6;
    filter: drop-shadow(0 0 10px currentColor);
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

.connection-line {
    stroke-dasharray: 5, 5;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -100;
    }
}

.floating-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.float-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.float-card:nth-child(2) {
    animation-delay: -2s;
}

.float-card:nth-child(3) {
    animation-delay: -4s;
}

.float-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.float-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.float-count {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

/* ==================== CONTACT SECTION ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 24px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    font-size: 24px;
}

.info-text h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.info-text p {
    color: var(--text-secondary);
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    border-radius: 6px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

/* ==================== NEWSLETTER ==================== */
.newsletter {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h3 {
    font-size: 32px;
    margin-bottom: 12px;
}

.newsletter-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 15px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark-bg);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(247, 147, 26, 0.3);
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-badges {
    display: flex;
    gap: 12px;
}

.footer-badges span {
    background: rgba(247, 147, 26, 0.1);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .about-mission,
    .community-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .programs-grid,
    .events-grid,
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ==================== NEW SECTIONS STYLING ==================== */

/* About Grid 3 columns */
.about-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.about-card-large {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
    transition: all 0.3s;
}

.about-card-large:hover {
    border-color: rgba(247, 147, 26, 0.5);
    transform: translateY(-4px);
}

.about-card-large h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--bitcoin-orange);
}

/* Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.pillar-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    transition: all 0.3s;
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: rgba(247, 147, 26, 0.5);
    box-shadow: 0 20px 60px rgba(247, 147, 26, 0.15);
}

.pillar-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.pillar-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.pillar-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.pillar-list {
    list-style: none;
    padding: 0;
}

.pillar-list li {
    padding: 10px 0;
    padding-left: 24px;
    color: var(--text-secondary);
    position: relative;
    font-size: 14px;
}

.pillar-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--bitcoin-orange);
    font-weight: bold;
}

/* Event Cards Large */
.event-card-large {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s;
}

.event-card-large:hover {
    transform: translateY(-8px);
    border-color: rgba(247, 147, 26, 0.5);
}

.event-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #F7931A 0%, #FFB800 50%, #FF6600 100%);
    color: #FFF;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.event-meta {
    display: flex;
    gap: 20px;
    margin: 16px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.event-card-large h3 {
    font-size: 26px;
    margin-bottom: 12px;
}

/* Program Benefits */
.program-benefits {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.program-benefits li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.1) 0%, rgba(255, 184, 0, 0.05) 100%);
    border: 1px solid rgba(247, 147, 26, 0.3);
    padding: 60px 40px;
    border-radius: 16px;
    text-align: center;
    margin-top: 60px;
}

.cta-box h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Partners Logos Grid */
.partners-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.partner-logo-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-logo-card:hover {
    border-color: var(--bitcoin-orange);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(247, 147, 26, 0.2);
}

.partner-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 24px;
    border-radius: 12px;
}

.partner-logo-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.partner-logo-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: rgba(247, 147, 26, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-initial {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F7931A 0%, #FF6600 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: #FFF;
}

.testimonial-author h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.testimonial-author p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Impact Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.impact-card {
    text-align: center;
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s;
}

.impact-card:hover {
    border-color: rgba(247, 147, 26, 0.5);
    transform: translateY(-4px);
}

.impact-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #F7931A 0%, #FFB800 50%, #FF6600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Space Mono', monospace;
    margin-bottom: 12px;
}

.impact-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.impact-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(247, 147, 26, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    border: 2px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.gallery-placeholder:hover {
    border-color: var(--bitcoin-orange);
    background: rgba(247, 147, 26, 0.05);
}

.gallery-placeholder span {
    font-size: 48px;
    margin-bottom: 12px;
}

.gallery-placeholder p {
    color: var(--text-secondary);
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

.gallery-note {
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.3);
    padding: 24px;
    border-radius: 8px;
    text-align: center;
}

.gallery-note p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* Involvement Grid */
.involvement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.involvement-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.involvement-card:hover {
    border-color: rgba(247, 147, 26, 0.5);
    transform: translateY(-8px);
}

.involvement-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.involvement-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-involvement {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-involvement:hover {
    background: linear-gradient(135deg, #F7931A 0%, #FF6600 100%);
    border-color: transparent;
    transform: scale(1.02);
}

/* Footer Social Links */
.social-links-footer {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links-footer a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.social-links-footer a:hover {
    background: linear-gradient(135deg, #F7931A 0%, #FF6600 100%);
    border-color: transparent;
    color: #FFF;
    transform: translateY(-4px);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--bitcoin-orange);
}

.info-text a {
    color: var(--bitcoin-orange);
    text-decoration: none;
    transition: color 0.3s;
}

.info-text a:hover {
    color: var(--african-gold);
}

/* Responsive Updates */
@media (max-width: 768px) {
    .about-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
