* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: #121212;
    color: #FFFFFF;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: #121212;
    border-bottom: 1px solid #1E1E1E;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.brand-title {
    font-size: 20px;
    font-weight: 700;
    color: #FFD700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #A0A0A0;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #FFD700;
}

/* BOTONES */
.btn-primary-small {
    background-color: #FFD700;
    color: #121212;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: transform 0.2s;
}

.btn-primary-small:hover {
    transform: scale(1.05);
}

/* HERO SECTION */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 8%;
    min-height: 80vh;
}

.hero-content {
    max-width: 600px;
}

.badge-tag {
    background-color: rgba(255, 215, 0, 0.1);
    color: #FFD700;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gold-text {
    color: #FFD700;
}

.hero-content p {
    color: #A0A0A0;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-gold {
    background-color: #FFD700;
    color: #121212;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #333;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.3s;
}

.btn-outline:hover {
    border-color: #FFD700;
}

/* VISUAL LOGO ANIMADO */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-effect {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255,215,0,0.25) 0%, rgba(18,18,18,0) 70%);
    z-index: 1;
}

.floating-logo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    animation: float 4s ease-in-out infinite;
}

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

/* CARACTERÍSTICAS */
.features-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 8% 80px 8%;
}

.feature-card {
    background-color: #1E1E1E;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #2A2A2A;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
}

.icon-box {
    font-size: 28px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.feature-card p {
    color: #A0A0A0;
    font-size: 14px;
    line-height: 1.5;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid #1E1E1E;
    color: #707070;
    font-size: 13px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .features-preview {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
}

/* ESTILOS PARA PÁGINAS INTERNAS */
.page-content {
    padding: 60px 8%;
    min-height: 75vh;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.lead-text {
    color: #A0A0A0;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.mission-grid, .tech-list, .steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.mission-box, .tech-item, .step-card {
    background-color: #1E1E1E;
    padding: 25px;
    border-radius: 14px;
    border: 1px solid #2A2A2A;
}

.step-card {
    position: relative;
    padding-left: 70px;
}

.step-number {
    position: absolute;
    left: 20px;
    top: 25px;
    font-size: 22px;
    font-weight: 700;
    color: #FFD700;
}

.mission-box h3, .tech-item h3, .step-card h3 {
    color: #FFF;
    margin-bottom: 8px;
    font-size: 18px;
}

.mission-box p, .tech-item p, .step-card p {
    color: #A0A0A0;
    font-size: 14px;
    line-height: 1.5;
}

.download-section {
    background: linear-gradient(145deg, #1A1A1A, #121212);
    border: 1px solid #FFD700;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.download-section h2 {
    color: #FFF;
    margin-bottom: 10px;
}

.download-section p {
    color: #A0A0A0;
    font-size: 15px;
}

/* PASARELA / CARRUSEL AJUSTADO AL ANCHO DEL CONTENEDOR */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%; /* Ajustado para ocupar el ancho total de .container-narrow */
    background-color: #1E1E1E; /* Coincide con .mission-box y .step-card */
    border: 1px solid #2A2A2A;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    margin-bottom: 40px;
}

.slide {
    display: none;
    width: 100%;
    text-align: center;
    animation: fadeIn 0.4s ease-in-out;
}

.slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.slide img {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 420px;
    border-radius: 10px;
    border: 1px solid #2A2A2A;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
    object-fit: contain;
}

.slide h3 {
    color: #FFD700;
    margin: 0.5rem 0;
    font-size: 18px;
}

.slide p {
    color: #A0A0A0;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 0 0.5rem;
}

.carousel-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 1.5rem;
    gap: 1rem;
}

button.btn {
    background-color: #e91e63;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    flex: 1;
    transition: opacity 0.2s;
}

button.btn:hover {
    opacity: 0.9;
}

button.btn:disabled {
    background-color: #2A2A2A;
    color: #707070;
    cursor: not-allowed;
}

.indicators {
    display: flex;
    gap: 6px;
    margin-top: 1rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #2A2A2A;
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background-color: #FFD700;
}

/* --- ESTILOS PARA MENÚ MÓVIL Y CORRECCIONES --- */

/* Ocultar el botón hamburguesa por defecto en escritorio */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #FFD700;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Media query para ajustar la navegación en móviles */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex; /* Mostrar el botón en celular */
    }

    .navbar {
        position: relative;
        flex-wrap: wrap;
    }

    /* Transformar el contenedor de enlaces en un menú desplegable */
    .nav-links {
        display: none; /* Oculto por defecto hasta que se active */
        flex-direction: column;
        width: 100%;
        background-color: #121212;
        padding: 20px 0;
        border-top: 1px solid #1E1E1E;
        gap: 15px;
        text-align: center;
    }

    .nav-links.active {
        display: flex; /* Se muestra cuando JavaScript activa la clase */
    }

    .nav-action {
        display: none; /* Opcional: si prefieres mantener el botón principal limpio o integrarlo dentro del menú */
    }
}

/* Corrección para evitar distorsión en botones largos (como el de Testnet) */
.download-section a.btn-gold, 
.hero-buttons a {
    white-space: normal;
    word-break: break-word;
    text-align: center;
    display: inline-block;
    max-width: 100%;
}