/* Import pixel font */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');

/* Reset y variables CSS */
:root {
    --bitcoin-orange: #f7931a;
    --cashu-purple: #7b3ff2;
    --lightning-blue: #0099ff;
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --light-text: #ffffff;
    --gray-text: #b0b0b0;
    --card-bg: #2a2a2a;
    --border-color: #444;
    --success-green: #00d4aa;
    --warning-yellow: #ffd700;
    --pixel-font: 'Orbitron', monospace;
}

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

body {
    font-family: var(--pixel-font);
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: 0.5px;
}

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

/* Header y Navegación */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem 20px;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
    padding: 5px 0;
}

.logo {
    height: 40px;
    width: auto;
}

.hero-logo {
    text-align: center;
    margin: 2rem 0;
}

.hero-logo-image {
    height: 480px;
    width: auto;
    max-width: 90%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.project-name {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--bitcoin-orange), var(--cashu-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.9rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bitcoin-orange);
    transition: width 0.3s ease;
}

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

.language-selector {
    position: relative;
    margin-left: 2rem;
}

.selected-language {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.selected-language:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.flag {
    font-size: 1.5rem;
}

.dropdown-arrow {
    font-size: 0.8rem;
    color: var(--gray-text);
    transition: transform 0.3s ease;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 150px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.language-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.lang-text {
    font-size: 0.9rem;
    color: var(--light-text);
}

.selected-language.active .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--cashu-purple), var(--bitcoin-orange));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, var(--cashu-purple)20, transparent 50%),
                      radial-gradient(circle at 80% 20%, var(--bitcoin-orange)20, transparent 50%);
    opacity: 0.1;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge {
    margin-bottom: 2rem;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid var(--bitcoin-orange);
    border-radius: 20px;
    color: var(--bitcoin-orange);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 
        2px 2px 0px rgba(0, 0, 0, 0.8),
        4px 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    text-align: center;
    position: relative;
}

/* Cursor parpadeante para efecto de escritura */
.hero-title:not(.typing-complete)::after {
    content: '|';
    color: var(--bitcoin-orange);
    animation: blink 1s infinite;
    font-weight: 300;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Animación final cuando termina la escritura */
.hero-title.typing-complete {
    animation: titleComplete 0.5s ease-out;
}

@keyframes titleComplete {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.highlight {
    background: linear-gradient(45deg, #ffffff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 
        2px 2px 0px rgba(123, 63, 242, 0.8),
        4px 4px 0px rgba(247, 147, 26, 0.6);
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.hero-focus {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.focus-badge {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid var(--bitcoin-orange);
    border-radius: 30px;
    color: var(--bitcoin-orange);
    font-size: 1.4rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 280px;
    width: 280px;
    height: 120px;
    text-align: left;
    box-sizing: border-box;
}

.focus-icon {
    width: 80px;
    height: 80px;
    image-rendering: pixelated;
    filter: brightness(1.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    border: 1px solid rgba(247, 147, 26, 0.3);
    flex-shrink: 0;
    margin: 0;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center;
}

/* Bordes redondos para todos los íconos de focus badges */
.focus-badge:nth-child(1) .focus-icon,
.focus-badge:nth-child(2) .focus-icon,
.focus-badge:nth-child(3) .focus-icon {
    border-radius: 50%;
}

/* Alineación perfecta de los iconos focus */
.focus-badge {
    position: relative;
}

.focus-badge .focus-icon {
    position: relative;
    left: 0;
    top: 0;
    display: block;
}

/* Asegurar que todos los iconos tengan exactamente la misma posición */
.focus-badge:nth-child(1) .focus-icon {
    margin-left: 0;
    margin-right: 0;
}

.focus-badge:nth-child(2) .focus-icon {
    margin-left: 0;
    margin-right: 0;
}

.focus-badge:nth-child(3) .focus-icon {
    margin-left: 0;
    margin-right: 0;
}

.focus-badge:hover {
    background: var(--bitcoin-orange);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.focus-badge:hover .focus-icon {
    border-color: var(--dark-bg);
    background: rgba(26, 26, 26, 0.2);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--bitcoin-orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #2a2a2a;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.4);
}

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

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--bitcoin-orange);
    color: var(--dark-bg);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--bitcoin-orange);
    color: var(--bitcoin-orange);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border-color: var(--cashu-purple);
    color: var(--cashu-purple);
}

.btn-secondary:hover {
    background: var(--cashu-purple);
    color: var(--light-text);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Secciones */
.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 
        2px 2px 0px rgba(0, 0, 0, 0.8),
        4px 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    line-height: 1.2;
}

/* Problem Section */
.problem {
    padding: 5px 0 80px 0;
    background: var(--dark-bg);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.problem-item {
    background: var(--card-bg);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Fondos específicos para cada problem-item */
.problem-surveillance {
    background: 
        linear-gradient(rgba(42, 42, 42, 0.65), rgba(42, 42, 42, 0.65)),
        url('../images/icons/4.0.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.problem-infrastructure {
    background: 
        linear-gradient(rgba(42, 42, 42, 0.65), rgba(42, 42, 42, 0.65)),
        url('../images/icons/5.0.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.problem-mints {
    background: 
        linear-gradient(rgba(42, 42, 42, 0.65), rgba(42, 42, 42, 0.65)),
        url('../images/icons/6.0.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.problem-item:hover {
    transform: translateY(-5px);
    border-color: var(--bitcoin-orange);
    box-shadow: 0 10px 30px rgba(247, 147, 26, 0.3);
}

/* Efectos hover específicos para items con fondo */
.problem-surveillance:hover {
    background: 
        linear-gradient(rgba(42, 42, 42, 0.50), rgba(42, 42, 42, 0.50)),
        url('../images/icons/4.0.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.problem-infrastructure:hover {
    background: 
        linear-gradient(rgba(42, 42, 42, 0.50), rgba(42, 42, 42, 0.50)),
        url('../images/icons/5.0.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.problem-mints:hover {
    background: 
        linear-gradient(rgba(42, 42, 42, 0.50), rgba(42, 42, 42, 0.50)),
        url('../images/icons/6.0.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.problem-icon-img {
    width: 48px;
    height: 48px;
    image-rendering: pixelated;
    filter: brightness(1.1);
}

.problem-item h3 {
    color: var(--bitcoin-orange);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.problem-item p {
    color: var(--light-text);
    line-height: 1.7;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.9),
        2px 2px 4px rgba(0, 0, 0, 0.7),
        1px 1px 2px rgba(255, 215, 0, 1),
        2px 2px 4px rgba(255, 215, 0, 0.8),
        0 0 10px rgba(255, 215, 0, 0.6);
    font-weight: 500;
    font-size: 1.2rem;
}

/* Solution Section */
.solution {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--cashu-purple), var(--bitcoin-orange));
}

.solution-subtitle {
    font-size: 1.3rem;
    color: #000000;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
    text-align: center;
    letter-spacing: 0.5px;
}

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

.solution-text h3 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 
        2px 2px 0px rgba(0, 0, 0, 0.8),
        4px 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.solution-text p {
    color: #1a1a1a;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 600;
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.solution-features {
    list-style: none;
    display: inline-block;
    text-align: left;
    margin-bottom: 3rem;
}

.solution-features li {
    margin-bottom: 0.8rem;
    color: var(--gray-text);
    font-weight: 500;
}

/* Stack Carousel */
.stack-carousel {
    margin-top: 3rem;
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.5),
        inset 0 0 50px rgba(255, 255, 255, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
}

.carousel-item {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    text-align: center;
}

.carousel-item {
    min-width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 2rem 4rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    gap: 4rem;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    z-index: 1;
    border-radius: 1.5rem;
}

/* Lightning Network - Azul eléctrico hacia blanco */
.carousel-item:nth-child(1) {
    background: linear-gradient(135deg, #0099ff, #1e90ff, #87ceeb, #ffffff);
    border-color: #87ceeb;
    box-shadow: 
        0 0 20px rgba(0, 153, 255, 0.4),
        inset 0 0 30px rgba(135, 206, 235, 0.1);
}


/* LNbits - Morado y rosa */
.carousel-item:nth-child(2) {
    background: linear-gradient(135deg, #ff1ee6, #9c2ffb, #7b3ff2);
    border-color: #ff69b4;
    box-shadow: 
        0 0 20px rgba(255, 30, 230, 0.4),
        inset 0 0 30px rgba(156, 47, 251, 0.1);
}


/* Cashu/Nutshell - Morado Cashu */
.carousel-item:nth-child(3) {
    background: linear-gradient(135deg, #7b3ff2, #9c5fff, #8b4ff3);
    border-color: var(--cashu-purple);
    box-shadow: 
        0 0 20px rgba(123, 63, 242, 0.4),
        inset 0 0 30px rgba(156, 95, 255, 0.1);
}


/* LaChispa - Degradado solo con tonos oscuros */
.carousel-item:nth-child(4) {
    background: linear-gradient(135deg, #000033 30%, #004080 70%, #001a33 100%);
    border-color: #004080;
    box-shadow: 
        0 0 20px rgba(0, 64, 128, 0.4),
        inset 0 0 30px rgba(0, 26, 51, 0.1);
}


/* Orchard - Degradado naranja a rojo */
.carousel-item:nth-child(5) {
    background: linear-gradient(135deg, #FFFF00 0%, #FF8000 60%, #FF4500 85%, #8B0000 100%);
    border-color: #FF4500;
    box-shadow: 
        0 0 20px rgba(255, 69, 0, 0.4),
        inset 0 0 30px rgba(255, 128, 0, 0.1);
}


.carousel-item > * {
    position: relative;
    z-index: 2;
}

.carousel-item a {
    display: block;
    transition: all 0.3s ease;
    text-decoration: none;
}

.carousel-item img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    margin: 0 1.5rem;
    transition: all 0.3s ease;
    image-rendering: auto;
    padding: 0;
    border-radius: 15px;
    flex-shrink: 0;
    cursor: pointer;
}

/* Icono de Cashu con marco redondo */
.carousel-item:nth-child(3) img {
    border-radius: 50%;
}

/* Icono de LaChispa con bordes muy redondeados para eliminar bordes negros */
.carousel-item:nth-child(4) img {
    border-radius: 80px;
}

.carousel-item:hover img,
.carousel-item:hover a img {
    transform: scale(1.15);
}

.carousel-item:hover::before {
    opacity: 0.25;
    transition: opacity 0.3s ease;
}

.carousel-item:hover {
    transform: translateY(-5px);
    border-color: var(--cashu-purple);
    box-shadow: 
        0 0 25px rgba(247, 147, 26, 0.5),
        inset 0 0 40px rgba(123, 63, 242, 0.2);
    transition: all 0.3s ease;
}

/* Efectos adicionales por herramienta */
.carousel-item:nth-child(1):hover {
    box-shadow: 0 10px 30px rgba(0, 153, 255, 0.3);
}

.carousel-item:nth-child(2):hover {
    box-shadow: 0 10px 30px rgba(255, 30, 230, 0.3);
}

.carousel-item:nth-child(3):hover {
    box-shadow: 0 10px 30px rgba(123, 63, 242, 0.3);
}

.carousel-item:nth-child(4):hover {
    box-shadow: 0 10px 30px rgba(0, 64, 128, 0.3);
}

.carousel-item:nth-child(5):hover {
    box-shadow: 0 10px 30px rgba(247, 147, 26, 0.3);
}

.carousel-item span {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(247, 147, 26, 0.8);
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #ffffff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.carousel-item p {
    color: #ffffff;
    font-size: 1.3rem;
    line-height: 1.6;
    max-width: 350px;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        1px 1px 8px rgba(0, 0, 0, 0.7);
    font-weight: 500;
    position: relative;
    z-index: 3;
    margin: 0;
    flex: 0 0 350px;
}

/* Patrón alternado - slides pares (LNbits, LaChispa) - imagen a la derecha */
.carousel-item:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

/* Slides impares (Lightning, Nutshell, Orchard) - imagen a la izquierda */
.carousel-item:nth-child(odd) {
    flex-direction: row;
    text-align: left;
}

/* Efecto glitch sutil en hover */
@keyframes subtle-glitch {
    0% { text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8), 0 0 10px rgba(247, 147, 26, 0.5); }
    25% { text-shadow: -1px 1px 0px rgba(123, 63, 242, 0.8), 0 0 10px rgba(247, 147, 26, 0.5); }
    50% { text-shadow: 1px -1px 0px rgba(247, 147, 26, 0.8), 0 0 10px rgba(123, 63, 242, 0.5); }
    75% { text-shadow: -1px -1px 0px rgba(0, 153, 255, 0.8), 0 0 10px rgba(247, 147, 26, 0.5); }
    100% { text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8), 0 0 10px rgba(247, 147, 26, 0.5); }
}

.carousel-item:hover span {
    animation: subtle-glitch 0.6s ease-in-out;
    background: linear-gradient(45deg, #ff8800, #ffdd00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(247, 147, 26, 0.8);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    z-index: 11;
}

.carousel-btn:hover {
    background: var(--bitcoin-orange);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active,
.dot:hover {
    background: var(--bitcoin-orange);
}

/* Impact Section */
.impact {
    padding: 80px 0;
    background: var(--darker-bg);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}


/* Communities Section */
.communities {
    padding: 80px 0;
    background: var(--dark-bg);
}



/* Impact Section - Grid 2x2 Layout */
.impact {
    padding: 80px 24px;
    background: #000000;
}

.impact-grid-four {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.impact-item {
    display: flex;
    align-items: center;
    min-height: 300px;
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.impact-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.8);
}

/* Sección Ícono */
.impact-icon-section {
    flex: 0 0 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 60px;
}

.impact-icon {
    width: 400px;
    height: 400px;
    image-rendering: auto;
    transition: all 0.4s ease;
    border-radius: 20px;
}

.impact-item:hover .impact-icon {
    transform: scale(1.05);
}

/* Sección Texto */
.impact-text-section {
    flex: 1;
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.impact-text-section h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFFFFF;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.impact-text-section p {
    font-size: 20px;
    line-height: 1.8;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
}

/* Colores temáticos específicos con glow masivo */
.impact-resistance .impact-icon {
    box-shadow: 
        0 0 40px rgba(255, 20, 147, 0.6),
        0 0 80px rgba(255, 20, 147, 0.3),
        0 20px 60px rgba(255, 20, 147, 0.2);
}

.impact-resistance .impact-text-section h3 {
    color: #FF1493;
    text-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}

.impact-resistance:hover .impact-icon {
    box-shadow: 
        0 0 60px rgba(255, 20, 147, 0.8),
        0 0 120px rgba(255, 20, 147, 0.5),
        0 30px 80px rgba(255, 20, 147, 0.3);
}

.impact-privacy .impact-icon {
    box-shadow: 
        0 0 40px rgba(139, 92, 246, 0.6),
        0 0 80px rgba(139, 92, 246, 0.3),
        0 20px 60px rgba(139, 92, 246, 0.2);
}

.impact-privacy .impact-text-section h3 {
    color: #8B5CF6;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.impact-privacy:hover .impact-icon {
    box-shadow: 
        0 0 60px rgba(139, 92, 246, 0.8),
        0 0 120px rgba(139, 92, 246, 0.5),
        0 30px 80px rgba(139, 92, 246, 0.3);
}

.impact-global .impact-icon {
    box-shadow: 
        0 0 40px rgba(0, 191, 255, 0.6),
        0 0 80px rgba(0, 191, 255, 0.3),
        0 20px 60px rgba(0, 191, 255, 0.2);
}

.impact-global .impact-text-section h3 {
    color: #00BFFF;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

.impact-global:hover .impact-icon {
    box-shadow: 
        0 0 60px rgba(0, 191, 255, 0.8),
        0 0 120px rgba(0, 191, 255, 0.5),
        0 30px 80px rgba(0, 191, 255, 0.3);
}

.impact-model .impact-icon {
    box-shadow: 
        0 0 40px rgba(255, 20, 147, 0.6),
        0 0 80px rgba(255, 20, 147, 0.3),
        0 20px 60px rgba(255, 20, 147, 0.2);
}

.impact-model .impact-text-section h3 {
    color: #FF1493;
    text-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}

.impact-model:hover .impact-icon {
    box-shadow: 
        0 0 60px rgba(255, 20, 147, 0.8),
        0 0 120px rgba(255, 20, 147, 0.5),
        0 30px 80px rgba(255, 20, 147, 0.3);
}

/* Responsive - Desktop grande */
@media (max-width: 1400px) {
    .impact-icon-section {
        flex: 0 0 350px;
        margin-right: 50px;
    }
    
    .impact-icon {
        width: 350px;
        height: 350px;
    }
}

/* Responsive - Tablet */
@media (max-width: 1200px) {
    .impact-icon-section {
        flex: 0 0 300px;
        margin-right: 40px;
    }
    
    .impact-icon {
        width: 300px;
        height: 300px;
    }
    
    .impact-text-section h3 {
        font-size: 32px;
    }
    
    .impact-text-section p {
        font-size: 18px;
    }
}

@media (max-width: 1024px) {
    .impact-grid-four {
        padding: 0 20px;
        gap: 50px;
    }
    
    .impact-icon-section {
        flex: 0 0 280px;
        margin-right: 30px;
    }
    
    .impact-icon {
        width: 280px;
        height: 280px;
    }
    
    .impact-item {
        padding: 30px;
        min-height: 250px;
    }
}

/* Responsive - Móvil */
@media (max-width: 768px) {
    .impact-grid-four {
        gap: 40px;
        width: 95%;
        padding: 0 15px;
    }
    
    .impact-item {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        min-height: auto;
    }
    
    .impact-icon-section {
        flex: none;
        width: 100%;
        margin-bottom: 25px;
        margin-right: 0;
    }
    
    .impact-icon {
        width: 280px;
        height: 280px;
    }
    
    .impact-text-section {
        width: 100%;
        padding-right: 0;
    }
    
    .impact-text-section h3 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .impact-text-section p {
        font-size: 18px;
    }
}

/* Communities Section */
.communities {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--cashu-purple), var(--bitcoin-orange));
    text-align: center;
}

.communities .section-title {
    color: #ffffff;
}

.communities-subtitle {
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.communities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.community-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.community-card {
    background: var(--darker-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.community-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--bitcoin-orange), var(--cashu-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.community-card:hover {
    border-color: var(--bitcoin-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(247, 147, 26, 0.2);
}

.community-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    transition: all 0.3s ease;
}

.community-card:hover .community-logo {
    border-color: var(--bitcoin-orange);
    transform: scale(1.05);
}

.community-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-name {
    font-size: 0.88rem;
    color: var(--light-text);
    margin-bottom: 1rem;
    font-weight: 600;
}

.community-country {
    font-size: 1rem;
    color: var(--gray-text);
    margin-bottom: 0;
}

/* Locked Slots - Game Style */
.community-locked {
    background: rgba(26, 26, 26, 0.5);
    border: 2px dashed var(--border-color);
    cursor: default;
    opacity: 0.6;
}

.community-locked:hover {
    transform: none;
    border-color: var(--border-color);
    box-shadow: none;
}

.community-locked::before {
    display: none;
}

.locked-slot {
    background: var(--darker-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    position: relative;
}

.lock-icon {
    font-size: 3rem;
    opacity: 0.3;
    filter: grayscale(100%);
}

.community-locked .community-name {
    color: var(--gray-text);
    font-weight: 400;
}

.community-card-argentina .community-name {
    font-size: 0.67rem;
}

.community-card-argentina .community-country {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.community-card-satoshi .community-name {
    font-size: 0.7rem;
}

.community-card-satoshi .community-country {
    font-size: 0.75rem;
    margin-bottom: 0;
}

.community-locked .community-country {
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}


/* Timeline Section - Horizontal Compact Design */
.timeline {
    padding: 60px 0;
    background: var(--darker-bg);
    overflow-x: hidden;
}

.timeline-horizontal {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

.timeline-track {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.timeline-line {
    position: absolute;
    top: 60px;
    left: 0%;
    right: 0%;
    height: 6px;
    background: var(--timeline-pending);
    border-radius: 3px;
    z-index: 1;
    overflow: hidden;
}

.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--timeline-completed), var(--timeline-current));
    border-radius: 3px;
    transition: width 1s ease-in-out;
    animation: progressFlow 3s infinite;
}

/* Progreso dinámico por fase */
.timeline-line.progress-0::before { width: 0%; }
.timeline-line.progress-10::before { width: 14.3%; }  
.timeline-line.progress-20::before { width: 28.6%; }  
.timeline-line.progress-30::before { width: 42.9%; }  
.timeline-line.progress-40::before { width: 57.2%; }  
.timeline-line.progress-50::before { width: 71.5%; }  
.timeline-line.progress-60::before { width: 85.8%; }  
.timeline-line.progress-70::before { width: 100%; }

@keyframes progressFlow {
    0%, 100% { 
        box-shadow: 0 0 0px rgba(16, 185, 129, 0);
    }
    50% { 
        box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    }
}

.timeline-phase {
    flex: 1;
    min-width: 180px;
    max-width: 200px;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: phaseAppear 0.6s ease-out forwards;
}

.timeline-phase:nth-child(1) { animation-delay: 0.1s; }
.timeline-phase:nth-child(2) { animation-delay: 0.2s; }
.timeline-phase:nth-child(3) { animation-delay: 0.3s; }
.timeline-phase:nth-child(4) { animation-delay: 0.4s; }
.timeline-phase:nth-child(5) { animation-delay: 0.5s; }
.timeline-phase:nth-child(6) { animation-delay: 0.6s; }
.timeline-phase:nth-child(7) { animation-delay: 0.7s; }

/* Timeline Status Colors */
:root {
    --timeline-completed: #10B981;
    --timeline-current: #F7931A;
    --timeline-pending: #6B7280;
}

.phase-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border: 3px solid var(--darker-bg);
    transition: all 0.3s ease;
    z-index: 3;
    position: relative;
}

/* Estado Completado - Verde */
.phase-completed .phase-icon {
    background: var(--timeline-completed);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.phase-completed .phase-icon::after {
    content: "✓";
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.phase-completed:hover .phase-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* Estado Actual - Naranja */
.phase-current .phase-icon {
    background: var(--timeline-current);
    box-shadow: 0 4px 15px rgba(247, 147, 26, 0.3);
    animation: currentPulse 2s infinite;
}

.phase-current .phase-icon::after {
    content: "⚡";
    color: white;
    font-size: 1.3rem;
}

.phase-current:hover .phase-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(247, 147, 26, 0.5);
}

/* Estado Pendiente - Gris */
.phase-pending .phase-icon {
    background: var(--timeline-pending);
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.phase-pending .phase-icon::after {
    content: "●";
    color: white;
    font-size: 1rem;
}

.phase-pending:hover .phase-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.4);
}

@keyframes currentPulse {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(247, 147, 26, 0.3);
    }
    50% { 
        box-shadow: 0 6px 25px rgba(247, 147, 26, 0.6);
        transform: scale(1.02);
    }
}

.phase-content {
    background: var(--card-bg);
    padding: 20px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Content styles por estado */
.phase-completed .phase-content {
    border-color: var(--timeline-completed);
}

.phase-completed:hover .phase-content {
    border-color: var(--timeline-completed);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
}

.phase-current .phase-content {
    border-color: var(--timeline-current);
    background: rgba(247, 147, 26, 0.05);
}

.phase-current:hover .phase-content {
    border-color: var(--timeline-current);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(247, 147, 26, 0.2);
}

.phase-pending .phase-content {
    border-color: var(--timeline-pending);
    opacity: 0.7;
}

.phase-pending:hover .phase-content {
    border-color: var(--timeline-pending);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.2);
    opacity: 0.9;
}

.phase-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
    text-align: center;
}

.phase-completed .phase-content h3 {
    color: var(--timeline-completed);
}

.phase-current .phase-content h3 {
    color: var(--timeline-current);
}

.phase-pending .phase-content h3 {
    color: var(--timeline-pending);
}

/* Título más pequeño para palabras largas */
.title-small {
    font-size: 0.95rem !important;
}

.phase-date {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

.phase-completed .phase-date {
    color: var(--timeline-completed);
}

.phase-current .phase-date {
    color: var(--timeline-current);
}

.phase-pending .phase-date {
    color: var(--timeline-pending);
}

.phase-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    word-wrap: break-word;
}

.phase-completed .phase-content p,
.phase-current .phase-content p {
    color: var(--gray-text);
}

.phase-pending .phase-content p {
    color: rgba(107, 114, 128, 0.8);
}

@keyframes phaseAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Metrics Section */
.metrics {
    padding: 60px 0;
    background: var(--dark-bg);
}

.metrics-compact {
    max-width: 900px;
    margin: 0 auto;
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.metric-row:last-child {
    margin-bottom: 0;
}

.metric-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-3px);
    border-color: var(--bitcoin-orange);
    box-shadow: 0 8px 25px rgba(247, 147, 26, 0.2);
}

.metric-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--bitcoin-orange);
    margin-bottom: 0.5rem;
}

.metric-desc {
    color: var(--gray-text);
    font-size: 1rem;
    line-height: 1.4;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--dark-bg);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--cashu-purple);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(123, 63, 242, 0.05);
}

.faq-question h3 {
    color: var(--light-text);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-toggle {
    color: var(--cashu-purple);
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--gray-text);
    line-height: 1.6;
    margin: 0;
}

/* Header CTA Section */
.header-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--cashu-purple), var(--bitcoin-orange));
    text-align: center;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--darker-bg);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--bitcoin-orange);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--bitcoin-orange);
}

.sponsor {
    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    flex-direction: column;
}

.sponsor p {
    color: var(--gray-text);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.sponsor-link {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    text-decoration: none;
    width: auto;
}

.sponsor-logo {
    height: 60px;
    width: auto;
    transition: opacity 0.3s ease;
}

.sponsor-link:hover .sponsor-logo {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* Small mobile devices (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0.8rem 15px;
        gap: 1rem;
    }

    .project-name {
        font-size: 1.2rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 65px;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(15px);
        width: 100%;
        height: calc(100vh - 65px);
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 1rem;
        display: block;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(247, 147, 26, 0.1);
        color: var(--bitcoin-orange);
    }

    .nav-toggle {
        display: flex;
        order: 3;
    }

    .language-selector {
        order: 2;
        margin-left: auto;
        margin-right: 1rem;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero optimizations for small screens */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }

    .hero-focus {
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

    .focus-badge {
        padding: 12px 15px;
        font-size: 1rem;
        flex-direction: row;
        gap: 10px;
        min-width: 240px;
        width: 240px;
        height: 80px;
        justify-content: flex-start;
        align-items: center;
        box-sizing: border-box;
    }

    .focus-icon {
        width: 40px;
        height: 40px;
        padding: 6px;
        flex-shrink: 0;
        margin: 0;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    /* Logo responsive para móvil pequeño */
    .hero-logo-image {
        height: 280px;
        max-width: 85%;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 200px;
    }

    .btn-large {
        padding: 12px 30px;
        font-size: 1rem;
        min-width: 220px;
    }

    /* Section titles */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }

    /* Problem section mobile */
    .problem {
        padding: 40px 0 60px 0;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .problem-item {
        padding: 2rem 1.5rem;
        min-height: 220px;
    }

    .problem-item h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .problem-item p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Carousel mobile optimizations */
    .carousel-container {
        border-radius: 15px;
        border-width: 2px;
    }

    .carousel-item {
        flex-direction: column;
        padding: 1rem 0.6rem;
        gap: 1rem;
        text-align: center;
    }

    .carousel-item img {
        width: 120px;
        height: 120px;
        margin: 0;
    }

    .carousel-item p {
        font-size: 1.1rem;
        max-width: 100%;
        flex: none;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }

    .carousel-nav {
        padding: 0 0.5rem;
    }

    /* Impact section mobile */
    .impact {
        padding: 60px 15px;
    }

    .impact-grid-four {
        gap: 30px;
        width: 100%;
        padding: 0;
    }

    .impact-item {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        min-height: auto;
    }

    .impact-icon-section {
        flex: none;
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
    }

    .impact-icon {
        width: 200px;
        height: 200px;
    }

    .impact-text-section {
        width: 100%;
        padding-right: 0;
    }

    .impact-text-section h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .impact-text-section p {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Communities mobile */
    .communities {
        padding: 60px 0;
    }

    .communities-subtitle {
        font-size: 1rem;
        padding: 0 15px;
        margin-bottom: 2rem;
    }

    .communities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }

    .community-card {
        padding: 1.5rem 1rem;
        max-width: 300px;
        margin: 0 auto;
        width: 100%;
    }

    .community-logo {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }

    .community-name {
        font-size: 0.93rem;
    }

    .community-country {
        font-size: 0.9rem;
    }

    .lock-icon {
        font-size: 2.5rem;
    }

    /* Timeline mobile */
    .timeline {
        padding: 40px 0;
    }

    .timeline-horizontal {
        padding: 20px 10px;
    }

    .timeline-track {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .timeline-line {
        display: none;
    }

    .timeline-phase {
        width: 100%;
        max-width: 280px;
    }

    .phase-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .phase-content {
        height: 130px;
        padding: 15px 12px;
    }

    .phase-content h3 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .phase-date {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }

    .phase-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    /* FAQ mobile */
    .faq {
        padding: 60px 0;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }

    .faq-question {
        padding: 1.2rem;
    }

    .faq-question h3 {
        font-size: 1rem;
        line-height: 1.4;
    }

    .faq-item.active .faq-answer {
        max-height: 300px;
        padding: 0 1.2rem 1.2rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Footer mobile */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .footer-section ul li {
        margin-bottom: 0.4rem;
    }

    .sponsor-logo {
        height: 50px;
    }
}

/* Carousel responsive improvements */
@media (max-width: 1200px) {
    .carousel-item {
        padding: 1.8rem;
        gap: 1.5rem;
    }
    
    .carousel-item img {
        width: 240px;
        height: 240px;
        max-width: 40%;
        min-width: 180px;
    }
    
    .carousel-item p {
        font-size: 1.2rem;
        max-width: 350px;
        flex: 0 0 350px;
    }
}

@media (max-width: 1000px) {
    .carousel-item {
        padding: 1.6rem;
        gap: 1.3rem;
    }
    
    .carousel-item img {
        width: 220px;
        height: 220px;
        max-width: 42%;
        min-width: 170px;
    }
    
    .carousel-item p {
        font-size: 1.15rem;
        max-width: 350px;
        flex: 0 0 350px;
    }
}

@media (max-width: 900px) {
    .carousel-container {
        max-width: 100%;
        margin: 0 10px;
    }
    
    .carousel-item {
        padding: 1.5rem;
        gap: 1.2rem;
        min-height: 280px;
    }
    
    .carousel-item img {
        width: 200px;
        height: 200px;
        max-width: 45%;
        min-width: 160px;
    }
    
    .carousel-item p {
        font-size: 1.1rem;
        max-width: 300px;
        flex: 0 0 300px;
    }
}

/* Regla especial para asegurar visibilidad en pantallas estrechas */
@media (max-width: 800px) {
    .carousel-item {
        gap: 1rem;
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
    }
    
    .carousel-item img {
        width: 180px;
        height: 180px;
        margin: 0;
    }
    
    /* Logos específicos más pequeños en móvil estándar */
    .carousel-item:nth-child(1) img { /* LND */
        width: 80px;
        height: 80px;
    }
    
    .carousel-item:nth-child(3) img { /* Cashu - redondo como Orchard */
        width: 170px;
        height: 170px;
        border-radius: 50%;
    }
    
    .carousel-item:nth-child(3) { /* Cashu - reducir espacio entre logo y texto */
        gap: 0.6rem;
    }
    
    .carousel-item:nth-child(4) img { /* LaChispa - más grande con bordes redondeados */
        width: 175px;
        height: 175px;
        border-radius: 80px;
    }
    
    .carousel-item:nth-child(4) { /* LaChispa - reducir espacio entre logo y texto */
        gap: 0.5rem;
    }
    
    .carousel-item p {
        font-size: 1rem;
        flex: none;
        max-width: 100%;
        line-height: 1.4;
        padding: 0.8rem;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 8px;
        backdrop-filter: blur(5px);
    }
    
    /* Reposicionar flechas para pantallas estrechas */
    .carousel-nav {
        padding: 0 0.2rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
        background: rgba(247, 147, 26, 0.95);
    }
}

/* Pantallas extremadamente estrechas */
@media (max-width: 600px) {
    .carousel-container {
        margin: 0 5px;
        border-radius: 15px;
    }
    
    .carousel-item {
        flex-direction: column !important;
        gap: 1rem;
        padding: 1rem 0.6rem;
        text-align: center;
        justify-content: center;
        min-height: auto;
    }
    
    .carousel-item img {
        width: 200px;
        height: 200px;
        margin: 0 auto;
        order: 1;
    }
    
    /* Logos específicos más pequeños en móvil */
    .carousel-item:nth-child(1) img { /* LND */
        width: 100px;
        height: 100px;
    }
    
    .carousel-item:nth-child(3) img { /* Cashu - redondo como Orchard */
        width: 190px;
        height: 190px;
        border-radius: 50%;
    }
    
    .carousel-item:nth-child(3) { /* Cashu - reducir espacio entre logo y texto */
        gap: 0.7rem;
    }
    
    .carousel-item:nth-child(4) img { /* LaChispa - más grande con bordes redondeados */
        width: 195px;
        height: 195px;
        border-radius: 80px;
    }
    
    .carousel-item:nth-child(4) { /* LaChispa - reducir espacio entre logo y texto */
        gap: 0.6rem;
    }
    
    .carousel-item p {
        font-size: 1.1rem;
        max-width: 100%;
        flex: none;
        order: 2;
        margin: 0 auto;
        text-align: center;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.4);
        border-radius: 10px;
        backdrop-filter: blur(8px);
        line-height: 1.5;
    }
    
    /* Forzar layout vertical para todas las slides */
    .carousel-item:nth-child(even),
    .carousel-item:nth-child(odd) {
        flex-direction: column !important;
        text-align: center;
    }
    
    /* Flechas más pequeñas para pantallas muy estrechas */
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.4rem;
    }
    
    .carousel-nav {
        padding: 0 0.1rem;
    }
}

/* Pantallas ultra estrechas (móviles muy pequeños) */
@media (max-width: 400px) {
    .carousel-item {
        padding: 0.6rem 0.4rem;
        gap: 0.6rem;
    }
    
    .carousel-item img {
        width: 160px;
        height: 160px;
    }
    
    /* Logos específicos aún más pequeños en pantallas ultra estrechas */
    .carousel-item:nth-child(1) img { /* LND */
        width: 70px;
        height: 70px;
    }
    
    .carousel-item:nth-child(3) img { /* Cashu - redondo como Orchard */
        width: 150px;
        height: 150px;
        border-radius: 50%;
    }
    
    .carousel-item:nth-child(3) { /* Cashu - reducir espacio entre logo y texto */
        gap: 0.5rem;
    }
    
    .carousel-item:nth-child(4) img { /* LaChispa - más grande con bordes redondeados */
        width: 155px;
        height: 155px;
        border-radius: 80px;
    }
    
    .carousel-item:nth-child(4) { /* LaChispa - reducir espacio entre logo y texto */
        gap: 0.4rem;
    }
    
    .carousel-item p {
        font-size: 1rem;
        padding: 0.8rem;
        background: rgba(0, 0, 0, 0.5);
    }
    
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
}

/* Mobile and tablet focus badges - stack vertically */
@media (max-width: 1024px) {
    .hero-focus {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .focus-badge {
        width: 100%;
        max-width: 350px;
        min-width: 300px;
        justify-content: flex-start;
    }

    /* Problem grid should also stack vertically to match focus badges */
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Medium mobile devices (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    /* Logo responsive para tablet */
    .hero-logo-image {
        height: 350px;
        max-width: 80%;
    }

    .carousel-item {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 2rem;
        text-align: center;
    }

    .carousel-item img {
        width: 150px;
        height: 150px;
        margin: 0;
    }

    .carousel-item p {
        max-width: 100%;
        flex: none;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .problem-grid,
    .impact-grid,
    .impact-grid-four,
    .metrics-grid {
        grid-template-columns: 1fr;
    }

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

    .timeline-horizontal {
        padding: 20px 10px;
    }

    .timeline-track {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .timeline-line {
        display: none;
    }

    .timeline-phase {
        width: 100%;
        max-width: 350px;
    }

    .phase-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .phase-content {
        height: 140px;
        padding: 18px 15px;
    }

    .phase-content h3 {
        font-size: 1rem;
    }

    .phase-date {
        font-size: 0.8rem;
    }

    .phase-content p {
        font-size: 0.85rem;
    }

    /* Communities tablet */
    .communities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
        padding: 0 20px;
    }

    .community-card {
        padding: 1.8rem 1.2rem;
    }

    .community-logo {
        width: 110px;
        height: 110px;
    }
}

/* Tablet responsive (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }

    .nav-container {
        padding: 1rem 30px;
    }

    /* Hero section tablet */
    .hero {
        padding: 110px 0 70px;
    }

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

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

    /* Logo responsive para tablet grande */
    .hero-logo-image {
        height: 400px;
        max-width: 75%;
    }

    .hero-focus {
        gap: 0.8rem;
    }

    .focus-badge {
        padding: 14px 18px;
        font-size: 1.2rem;
        min-width: 260px;
        width: 260px;
        height: 100px;
        justify-content: flex-start;
        align-items: center;
        box-sizing: border-box;
    }

    .focus-icon {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
        margin: 0;
    }

    /* Problem section tablet - keep single column for consistency with focus badges */
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 600px;
        margin: 0 auto;
    }

    .problem-item {
        padding: 2.5rem 2rem;
        min-height: 250px;
    }

    /* Solution carousel tablet */
    .carousel-item {
        padding: 2.5rem 3rem;
        gap: 3rem;
    }

    .carousel-item img {
        width: 200px;
        height: 200px;
    }

    .carousel-item p {
        font-size: 1.2rem;
        max-width: 300px;
    }

    /* Impact section tablet */
    .impact {
        padding: 70px 20px;
    }

    .impact-grid-four {
        gap: 50px;
        padding: 0 20px;
    }

    .impact-icon-section {
        flex: 0 0 300px;
        margin-right: 40px;
    }

    .impact-icon {
        width: 300px;
        height: 300px;
    }

    .impact-text-section h3 {
        font-size: 32px;
    }

    .impact-text-section p {
        font-size: 18px;
    }

    /* Timeline tablet */
    .timeline-track {
        gap: 15px;
    }

    .phase-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .phase-content {
        padding: 18px 12px;
        height: 140px;
    }

    .phase-content h3 {
        font-size: 1rem;
    }

    .phase-date {
        font-size: 0.8rem;
    }

    .phase-content p {
        font-size: 0.85rem;
    }

    /* FAQ tablet */
    .faq-grid {
        grid-template-columns: 1fr;
        max-width: 800px;
    }

    /* Communities tablet */
    .communities-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    /* Footer tablet */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Large tablet and small desktop (1025px - 1200px) */
@media (max-width: 1200px) and (min-width: 1025px) {
    .container {
        max-width: 1100px;
        padding: 0 40px;
    }

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

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

    .problem-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .impact-icon-section {
        flex: 0 0 350px;
        margin-right: 50px;
    }

    .impact-icon {
        width: 350px;
        height: 350px;
    }

    .timeline-track {
        gap: 18px;
    }

    .timeline-phase {
        min-width: 170px;
        max-width: 190px;
    }

    /* Communities 1200px */
    .communities-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* Extra responsive utilities */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }

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

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

    .container {
        padding: 0 10px;
    }

    .nav-container {
        padding: 0.8rem 10px;
    }

    .project-name {
        font-size: 1.1rem;
    }

    .focus-badge {
        padding: 10px 12px;
        font-size: 0.9rem;
        min-width: 200px;
        width: 200px;
        height: 70px;
        justify-content: flex-start;
        align-items: center;
        box-sizing: border-box;
    }

    .focus-icon {
        width: 35px;
        height: 35px;
        flex-shrink: 0;
        margin: 0;
    }

    .problem-item {
        padding: 1.8rem 1.2rem;
    }

    .impact-icon {
        width: 180px;
        height: 180px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        min-width: 180px;
    }

    .btn-large {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 200px;
    }

    /* Logo responsive para pantallas muy pequeñas */
    .hero-logo-image {
        height: 220px;
        max-width: 90%;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Mobile-first improvements */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Better touch targets for mobile */
@media (max-width: 768px) {
    .btn, .nav-link, .faq-question, .carousel-btn, .dot, .language-option {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-link {
        padding: 12px 16px;
    }
    
    .carousel-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .dot {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .dot::before {
        content: '';
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--border-color);
        transition: background 0.3s ease;
    }
    
    .dot.active::before,
    .dot:hover::before {
        background: var(--bitcoin-orange);
    }
}

/* Improved focus states for accessibility */
.btn:focus,
.nav-link:focus,
.carousel-btn:focus,
.dot:focus,
.faq-question:focus,
.language-option:focus {
    outline: 2px solid var(--bitcoin-orange);
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--bitcoin-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Performance optimizations */
.carousel-item,
.problem-item,
.impact-item,
.faq-item {
    will-change: transform;
    backface-visibility: hidden;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero {
        transform: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --bitcoin-orange: #ff8800;
        --cashu-purple: #8855ff;
        --light-text: #ffffff;
        --dark-bg: #000000;
        --card-bg: #1a1a1a;
        --border-color: #666666;
    }
}

/* Print styles */
@media print {
    .header,
    .nav-toggle,
    .carousel-nav,
    .carousel-dots,
    .btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero,
    .solution,
    .communities,
    .header-cta {
        background: white !important;
        color: black !important;
    }
    
    .section-title,
    .hero-title {
        color: black !important;
        text-shadow: none !important;
    }
}

/* ============================================
   COMMUNITY PAGES STYLES
   ============================================ */

/* Community Hero Section */
.community-hero {
    padding: 120px 0 80px;
    background: var(--darker-bg);
    text-align: center;
}

.community-hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.community-hero-logo {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--bitcoin-orange);
    box-shadow: 0 10px 40px rgba(247, 147, 26, 0.3);
}

.community-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-hero-name {
    font-size: 3rem;
    color: var(--light-text);
    margin-bottom: 1rem;
    font-weight: 700;
}

.community-hero-location {
    font-size: 1.5rem;
    color: var(--gray-text);
    margin-bottom: 1.5rem;
}

/* Community Contact Links */
.community-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.community-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--darker-bg);
    border: 2px solid var(--border-color);
    color: var(--gray-text);
    transition: all 0.3s ease;
    text-decoration: none;
}

.community-link:hover {
    border-color: var(--bitcoin-orange);
    color: var(--bitcoin-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(247, 147, 26, 0.2);
}

.community-link svg {
    width: 20px;
    height: 20px;
}

.community-link-nostr {
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-icon-img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

/* Infrastructure Section */
.community-infrastructure {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--cashu-purple), var(--bitcoin-orange));
}

.community-infrastructure .section-title {
    color: #ffffff;
}

.back-to-communities {
    text-align: center;
    margin-top: 4rem;
}

.back-to-communities .btn {
    background: var(--cashu-purple);
    border: 2px solid var(--cashu-purple);
    color: var(--light-text);
}

.back-to-communities .btn:hover {
    background: var(--bitcoin-orange);
    border-color: var(--bitcoin-orange);
    color: var(--darker-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(247, 147, 26, 0.4);
}

.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.infrastructure-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.infrastructure-title {
    font-size: 1.3rem;
    color: var(--light-text);
    margin-bottom: 1rem;
    font-weight: 600;
}

.infrastructure-lock-icon {
    font-size: 3.5rem;
    opacity: 0.3;
    filter: grayscale(100%);
    margin-bottom: 1.5rem;
}

.infrastructure-status-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

.infrastructure-locked {
    background: rgba(15, 15, 15, 0.7);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    opacity: 0.7;
    cursor: default;
}

.infrastructure-locked .infrastructure-title {
    color: var(--gray-text);
    font-weight: 400;
}

.infrastructure-locked:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

/* Infrastructure Card - Active State */
.infrastructure-card:not(.infrastructure-locked) {
    border-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
}

.infrastructure-card:not(.infrastructure-locked):hover {
    border-color: rgba(247, 147, 26, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(247, 147, 26, 0.4), 0 10px 40px rgba(0, 0, 0, 0.5);
}

.infrastructure-active-badge {
    display: none;
}

.infrastructure-service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.infrastructure-service-icon svg {
    color: var(--bitcoin-orange);
    filter: drop-shadow(0 0 10px rgba(247, 147, 26, 0.4));
    transition: all 0.3s ease;
}

.infrastructure-card:hover .infrastructure-service-icon svg {
    filter: drop-shadow(0 0 20px rgba(247, 147, 26, 0.6));
    transform: scale(1.1);
}

.infrastructure-url {
    margin-top: 1.5rem;
    width: 100%;
}

.infrastructure-url a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bitcoin-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.3);
}

.infrastructure-url a:hover {
    color: #fff;
    background: rgba(247, 147, 26, 0.2);
    border-color: var(--bitcoin-orange);
    transform: translateY(-2px);
}

.btn-visit {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.8rem;
    background: var(--bitcoin-orange);
    color: var(--darker-bg);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-visit:hover {
    background: var(--cashu-purple);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 63, 242, 0.3);
}

/* Responsive - Community Pages */
@media (max-width: 768px) {
    .community-hero {
        padding: 100px 0 60px;
    }

    .community-hero-logo {
        width: 150px;
        height: 150px;
    }

    .community-hero-name {
        font-size: 2rem;
    }

    .community-hero-location {
        font-size: 1.2rem;
    }

    .community-links {
        gap: 0.8rem;
    }

    .community-link {
        width: 36px;
        height: 36px;
    }

    .infrastructure-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .infrastructure-card {
        min-height: auto;
    }

    .back-to-communities {
        margin-top: 3rem;
    }
}

@media (max-width: 480px) {
    .community-hero-logo {
        width: 120px;
        height: 120px;
    }

    .community-hero-name {
        font-size: 1.8rem;
    }

    .community-hero-location {
        font-size: 1.1rem;
    }

    .community-links {
        gap: 0.6rem;
    }

    .community-link {
        width: 34px;
        height: 34px;
    }

    .community-link svg {
        width: 18px;
        height: 18px;
    }

    .infrastructure-title {
        font-size: 1.2rem;
    }

    .infrastructure-lock-icon {
        font-size: 3rem;
    }

    .infrastructure-card {
        min-height: 240px;
        padding: 2rem 1.5rem;
    }

    .back-to-communities {
        margin-top: 2.5rem;
    }
}

/* ============================================
   TUTORIALS STYLES
   ============================================ */

/* Tutorial Hero */
.tutorial-hero {
    padding: 120px 0 40px;
    background: linear-gradient(135deg, var(--cashu-purple), var(--bitcoin-orange));
    text-align: center;
}

.tutorial-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8);
}

.tutorial-meta {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Tutorial Content */
.tutorial-content {
    padding: 3rem 0;
    font-family: 'Inter', sans-serif;
}

.tutorial-content .container {
    max-width: 900px;
}

.tutorial-content h2 {
    font-family: var(--pixel-font);
    font-size: 1.5rem;
    color: var(--bitcoin-orange);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.tutorial-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #6ee7b7;
    margin: 2rem 0 0.75rem;
}

.tutorial-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-text);
    margin: 1.5rem 0 0.5rem;
}

.tutorial-content p {
    color: #d1d5db;
    margin-bottom: 1rem;
    line-height: 1.85;
    font-size: 1rem;
}

.tutorial-content ul,
.tutorial-content ol {
    color: #d1d5db;
    margin: 0.75rem 0 1.25rem 1.5rem;
    font-size: 1rem;
    line-height: 1.85;
}

.tutorial-content li {
    margin-bottom: 0.5rem;
}

.tutorial-content strong {
    color: #f3f4f6;
    font-weight: 600;
}

.tutorial-content a {
    color: var(--bitcoin-orange);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tutorial-content a:hover {
    color: #fbbf24;
}

/* Code blocks */
.tutorial-content pre {
    background: #111318;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.25rem;
    margin: 1rem 0 1.5rem;
    overflow-x: auto;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #a5d6a7;
}

.tutorial-content pre code {
    background: none;
    padding: 0;
    border: none;
    color: inherit;
    font-size: inherit;
    font-family: inherit;
}

.tutorial-content code {
    background: rgba(247, 147, 26, 0.12);
    color: #fbbf24;
    padding: 2px 7px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.88rem;
}

/* Tip/Note boxes */
.tutorial-tip {
    background: rgba(247, 147, 26, 0.06);
    border-left: 4px solid var(--bitcoin-orange);
    padding: 1rem 1.25rem;
    margin: 1rem 0 1.5rem;
    border-radius: 0 8px 8px 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #d1d5db;
    line-height: 1.75;
}

.tutorial-tip strong {
    color: var(--bitcoin-orange);
    font-weight: 600;
}

/* Tutorial images */
.tutorial-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin: 1rem 0 1.5rem;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Tutorial video */
.tutorial-content video {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin: 1rem 0 1.5rem;
    display: block;
}

/* Tutorial tables */
.tutorial-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.tutorial-content th {
    background: #111318;
    color: var(--bitcoin-orange);
    padding: 0.75rem 1rem;
    text-align: left;
    border: 1px solid #333;
    font-weight: 700;
}

.tutorial-content td {
    padding: 0.75rem 1rem;
    border: 1px solid #333;
    color: #d1d5db;
}

.tutorial-content tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

/* Tutorial navigation (prev/next) */
.tutorial-nav {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 1rem;
    padding: 2.5rem 0 4rem;
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
    font-family: 'Inter', sans-serif;
}

.tutorial-nav a {
    text-decoration: none;
    color: #d1d5db;
    padding: 1rem 1.25rem;
    border: 1px solid #333;
    border-radius: 8px;
    transition: all 0.2s ease;
    max-width: 45%;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tutorial-nav a:hover {
    border-color: var(--bitcoin-orange);
    background: rgba(247, 147, 26, 0.06);
}

.tutorial-nav .nav-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.tutorial-nav .nav-title {
    font-size: 0.95rem;
    color: var(--bitcoin-orange);
    font-weight: 600;
}

.tutorial-nav .nav-prev {
    text-align: left;
}

.tutorial-nav .nav-next {
    text-align: right;
    margin-left: auto;
}

.tutorial-nav .nav-center {
    text-align: center;
    align-self: center;
}

@media (max-width: 768px) {
    .tutorial-nav {
        flex-direction: column;
    }

    .tutorial-nav a {
        max-width: 100%;
    }
}

/* Back to tutorials button */
.back-to-tutorials {
    text-align: center;
    padding: 2rem 0 4rem;
}

/* Tutorials Index Page */
.tutorials-index {
    font-family: 'Inter', sans-serif;
}

.tutorials-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    counter-reset: tutorial-counter;
}

.tutorials-list li {
    counter-increment: tutorial-counter;
    margin-bottom: 0;
}

.tutorials-list li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    text-decoration: none;
    color: #d1d5db;
    border-bottom: 1px solid #2a2a2a;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.tutorials-list li a:hover {
    background: rgba(247, 147, 26, 0.06);
    color: var(--light-text);
    padding-left: 1.5rem;
}

.tutorials-list li a::before {
    content: counter(tutorial-counter) ".";
    color: var(--bitcoin-orange);
    font-weight: 700;
    font-size: 1rem;
    min-width: 28px;
    font-family: var(--pixel-font);
}

.tutorials-list li a .list-description {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-left: auto;
    text-align: right;
    flex-shrink: 0;
}

.tutorials-section-title {
    font-family: var(--pixel-font);
    font-size: 1.2rem;
    color: var(--bitcoin-orange);
    margin: 3rem 0 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.tutorials-section-title:first-of-type {
    margin-top: 1.5rem;
}

/* Tutorial index subtitle */
.tutorials-subtitle {
    color: #9ca3af;
    text-align: center;
    font-size: 1rem;
    margin-top: 1rem;
    font-family: 'Inter', sans-serif;
}

/* Responsive tutorials */
@media (max-width: 768px) {
    .tutorial-title {
        font-size: 1.8rem;
    }

    .tutorial-content h2 {
        font-size: 1.3rem;
    }

    .tutorial-content h3 {
        font-size: 1.05rem;
    }

    .tutorial-content pre {
        font-size: 0.8rem;
        padding: 1rem;
    }

    .tutorials-list li a {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .tutorials-list li a .list-description {
        margin-left: 28px;
        text-align: left;
    }
}