/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal: #1A9980;
    --white: #FFFFFF;
    --black: #000000;
    --dark-gray: #0a0a0a;
    --light-gray: #f5f5f5;
    --teal-glow: rgba(26, 153, 128, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26, 153, 128, 0.2);
    transition: var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo img {
    height: 70px;
    width: auto;
    filter: brightness(1.2) contrast(1.3) saturate(1.2);
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.nav-logo span {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--teal);
}

/* Text-based Logo Styles */
.logo-text {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1px;
    transition: var(--transition);
}

.logo-text:hover {
    opacity: 0.9;
}

.logo-line {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.logo-watts {
    color: var(--teal);
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: lowercase;
}

.logo-bolt {
    color: var(--teal);
    font-size: 1.3rem;
    line-height: 1;
    transform: translateY(-2px);
    display: inline-block;
}

.logo-unknown {
    color: var(--white) !important;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: lowercase;
    margin-top: -2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-logo .logo-text {
    font-size: 0.9rem;
}

.nav-logo .logo-watts {
    font-size: 1.3rem;
}

.nav-logo .logo-bolt {
    font-size: 1.1rem;
}

.nav-logo .logo-unknown {
    font-size: 1.3rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--teal);
    color: var(--teal);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--teal);
    color: var(--black);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-burger span {
    width: 25px;
    height: 3px;
    background: var(--teal);
    transition: var(--transition);
}

.nav-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-burger.active span:nth-child(2) {
    opacity: 0;
}

.nav-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile menu overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#hero-canvas {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 20px var(--teal-glow)); }
    50% { filter: drop-shadow(0 0 40px var(--teal)); }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: 8px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-new {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    margin-bottom: 3rem;
    color: var(--light-gray);
    letter-spacing: 2px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--teal);
    color: var(--black);
    box-shadow: 0 4px 20px var(--teal-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--teal);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--teal);
}

.btn-secondary:hover {
    background: var(--teal);
    color: var(--black);
}

.btn-instagram {
    background: linear-gradient(135deg, #833AB4 0%, #C13584 50%, #E1306C 100%);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(193, 53, 132, 0.6);
}

.btn-instagram svg {
    width: 20px;
    height: 20px;
}

.btn-small {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--teal);
    border-radius: 20px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

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

/* Stats Bar */
.stats-bar {
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-gray) 100%);
    padding: 4rem 0;
    border-bottom: 1px solid rgba(26, 153, 128, 0.2);
}

.stats-bar .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat {
    padding: 2rem;
    position: relative;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--teal);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--dark-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--teal);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.focus-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.focus-tag {
    background: rgba(26, 153, 128, 0.1);
    border: 1px solid var(--teal);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    color: var(--teal);
    transition: var(--transition);
}

.focus-tag:hover {
    background: var(--teal);
    color: var(--black);
}

.about-image {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 153, 128, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
}

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

.energy-pulse {
    width: 200px;
    height: 200px;
    border: 3px solid var(--teal);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.3;
    }
}

/* Quick Links Section */
.quick-links-section {
    padding: 8rem 0;
    background: var(--black);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.quick-link-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(26, 153, 128, 0.2);
    border-left: 4px solid var(--teal);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 153, 128, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.quick-link-card:hover {
    transform: translateY(-10px);
    border-color: var(--teal);
    box-shadow: 0 10px 40px rgba(26, 153, 128, 0.3);
}

.quick-link-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 153, 128, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.quick-link-card:hover .card-icon {
    transform: scale(1.1);
    background: rgba(26, 153, 128, 0.2);
}

.link-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: grayscale(0.2);
}

.quick-link-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.quick-link-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

/* Map Section */
.map-section {
    padding: 8rem 0;
    background: var(--dark-gray);
}

.map-toggle {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 3rem 0;
}

.map-btn {
    background: transparent;
    border: 2px solid var(--teal);
    color: var(--teal);
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.map-btn.active,
.map-btn:hover {
    background: var(--teal);
    color: var(--black);
}

.map-btn-link {
    text-decoration: none;
    display: inline-block;
}

.map-btn-link:hover {
    background: var(--teal);
    color: var(--black);
}

.map-container {
    display: none;
    margin-top: 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(26, 153, 128, 0.2);
    min-height: 600px;
}

.map-container.active {
    display: block;
}

/* Ensure Leaflet tiles load properly */
.leaflet-container {
    height: 100%;
    width: 100%;
    background: #0a0a0a;
    border-radius: 20px;
}

.map {
    height: 600px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.map-note {
    text-align: center;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* Custom Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
    background: rgba(0, 0, 0, 0.95);
    color: var(--white);
    border: 1px solid var(--teal);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(26, 153, 128, 0.3);
}

.leaflet-popup-content {
    margin: 1rem;
}

.leaflet-popup-tip {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid var(--teal);
}

/* Listen Section */
.listen-section {
    padding: 8rem 0;
    background: var(--dark-gray);
    text-align: center;
}

.listen-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.listen-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-listen {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
}

.btn-listen svg {
    width: 28px;
    height: 28px;
}

.interviews-link {
    margin-top: 3rem;
}

.rss-feed {
    text-align: center;
    margin-top: 4rem;
}

.rss-link {
    color: var(--teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--teal);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    transition: var(--transition);
}

.rss-link:hover {
    background: var(--teal);
    color: var(--black);
}

/* Manifesto Section */
.manifesto {
    padding: 10rem 0;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.manifesto-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

#manifesto-canvas {
    width: 100%;
    height: 100%;
}

.manifesto .container {
    position: relative;
    z-index: 2;
}

.manifesto-text {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.manifesto-text::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

/* Support Section */
.support {
    padding: 8rem 0;
    background: var(--dark-gray);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.support-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(26, 153, 128, 0.2);
    border-left: 4px solid var(--teal);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 153, 128, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.support-card:hover {
    transform: translateY(-10px);
    border-color: var(--teal);
    box-shadow: 0 10px 40px var(--teal-glow);
}

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

.support-card .card-icon {
    margin: 0 auto 1.5rem;
}

.support-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.support-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Join Section */
.join {
    padding: 8rem 0;
    background: var(--black);
}

.join-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.join-form {
    max-width: 600px;
    margin: 0 auto 4rem;
    display: flex;
    gap: 1rem;
}

.join-form input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: 2px solid var(--teal);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.join-form input:focus {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px var(--teal-glow);
}

.join-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2rem;
    border: 2px solid rgba(26, 153, 128, 0.3);
    border-radius: 50px;
    transition: var(--transition);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    border-color: var(--teal);
    background: rgba(26, 153, 128, 0.1);
    transform: translateY(-3px);
}

.social-link span {
    font-weight: 600;
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: var(--dark-gray);
    position: relative;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.footer-background svg {
    width: 100%;
    height: 100%;
    color: var(--teal);
}

.footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-logo {
    width: 150px;
    height: auto;
    filter: brightness(1.2) contrast(1.3) saturate(1.2);
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a svg {
    width: 24px;
    height: 24px;
}

.footer-socials a:hover {
    color: var(--teal);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-left {
        align-items: center;
    }
}

@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 88px;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: calc(100vh - 88px);
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 0;
        transition: right 0.3s ease;
        border-left: 2px solid rgba(26, 153, 128, 0.3);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(26, 153, 128, 0.2);
        font-size: 1.1rem;
    }

    .nav-links a::after {
        display: none;
    }

    .lang-btn {
        margin-top: 1rem;
        width: 100%;
    }

    .nav-burger {
        display: flex;
        z-index: 1000;
    }

    .nav-logo img {
        height: 60px; /* Slightly smaller on mobile */
    }

    .footer-logo {
        width: 120px; /* Slightly smaller on mobile */
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .episodes-grid {
        grid-template-columns: 1fr;
    }

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

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

    .nav-container {
        padding: 1rem;
    }

    .stats-bar .container {
        grid-template-columns: 1fr;
    }

    .map {
        height: 400px;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


