/* =========================================
   1. FUENTES Y VARIABLES GLOBALES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap');

:root {
    --akux-bg-dark: #121212;
    --akux-bg-card: #1e1e24;
    --akux-green: #00e676;
    --akux-purple: #a855f7; /* Morado vibrante */
    --discord-color: #5865F2;
    --text-main: #ffffff;
    --text-secondary: #d4d4d4;
}

/* =========================================
   2. ESTILOS GENERALES
   ========================================= */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--akux-bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-weight: 700;
}

/* Clases utilitarias de color */
.text-green { color: var(--akux-green) !important; }
.text-purple { color: var(--akux-purple) !important; }
.text-danger { color: #dc3545 !important; }

/* Legibilidad */
p, .lead { color: var(--text-secondary); }
.text-muted { color: #b0b0b0 !important; opacity: 1 !important; }

/* =========================================
   3. BARRA DE NAVEGACIÓN
   ========================================= */
.navbar {
    background-color: rgba(18, 18, 18, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main) !important;
}

/* Degradado del Logo */
.brand-logo-text {
    background: linear-gradient(90deg, var(--akux-green) 0%, var(--akux-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Badge Beta */
.navbar-brand .badge {
    font-size: 0.7rem;
    background-color: #ffc107 !important;
    color: #000000 !important;
    -webkit-text-fill-color: initial !important; 
}

.nav-link { color: rgba(255, 255, 255, 0.9) !important; font-weight: 500; margin-left: 10px; transition: color 0.3s; }
.nav-link:hover { color: var(--akux-green) !important; }

/* Botón Discord Navbar */
.btn-discord-nav {
    background-color: rgba(88, 101, 242, 0.2);
    color: #fff !important;
    border: 1px solid var(--discord-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}
.btn-discord-nav:hover {
    background-color: var(--discord-color);
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.5);
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero-section {
    padding: 140px 0 100px;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.2), transparent 45%),
                radial-gradient(circle at 20% 80%, rgba(0, 230, 118, 0.15), transparent 45%);
    overflow: hidden; /* Para contener la animación */
}
.hero-title { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.5rem; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 2.5rem; font-weight: 400; max-width: 90%; }
.hero-section small { display: block; margin-top: 1rem; color: #777 !important; font-weight: 500; }

/* =========================================
   5. NUEVO ELEMENTO: VISUALIZADOR ANIMADO
   ========================================= */
.akux-signal-visualizer {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, rgba(124, 77, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.signal-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Anillos */
.ring-outer-1 {
    width: 380px; height: 380px;
    border-top-color: var(--akux-green); border-bottom-color: var(--akux-purple);
    opacity: 0.5; animation: spin-right 12s linear infinite; filter: blur(1px);
}
.ring-outer-2 {
    width: 300px; height: 300px;
    border-left-color: var(--akux-purple); border-right-color: rgba(168, 85, 247, 0.3);
    animation: spin-left 8s linear infinite; box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}
.ring-inner-1 {
    width: 220px; height: 220px;
    border: 3px solid transparent; border-top-color: var(--akux-green); border-left-color: rgba(0, 230, 118, 0.4);
    animation: spin-right 5s linear infinite; box-shadow: inset 0 0 15px rgba(0, 230, 118, 0.3);
}

/* Núcleo */
.signal-core {
    position: absolute; width: 100px; height: 100px;
    background: linear-gradient(45deg, var(--akux-green), var(--akux-purple));
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 3rem; color: white; z-index: 10;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}
.signal-core-glow {
    position: absolute; width: 100px; height: 100px; border-radius: 50%; background: inherit;
    box-shadow: 0 0 60px 20px rgba(0, 230, 118, 0.5), 0 0 60px 20px rgba(168, 85, 247, 0.5);
    animation: pulse-glow 3s ease-in-out infinite alternate;
}

/* Animaciones */
@keyframes spin-right { 100% { transform: rotate(360deg); } }
@keyframes spin-left { 100% { transform: rotate(-360deg); } }
@keyframes pulse-glow { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.2); opacity: 1; } }

/* =========================================
   6. BOTONES PRINCIPALES
   ========================================= */

/* --- Botón Windows: Degradado Akux --- */
.btn-akux-primary {
    background: linear-gradient(90deg, var(--akux-green) 0%, var(--akux-purple) 100%);
    border: none;
    color: #ffffff !important;
    font-weight: 800;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3), 0 4px 15px rgba(168, 85, 247, 0.3);
}

.btn-akux-primary i { color: #ffffff !important; }

.btn-akux-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 230, 118, 0.5), 0 0 25px rgba(168, 85, 247, 0.5);
    background: linear-gradient(90deg, var(--akux-green) -10%, var(--akux-purple) 110%);
}

/* --- Botón Mac: Outline Blanco --- */
.btn-akux-outline {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    font-weight: 600;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-akux-outline:hover {
    border-color: var(--akux-purple);
    background-color: rgba(168, 85, 247, 0.15); 
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    transform: translateY(-3px);
}

/* =========================================
   7. CARDS Y FOOTER
   ========================================= */
.features-section { padding: 100px 0; background-color: #0a0a0a; }
.feature-card {
    background-color: var(--akux-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    height: 100%;
    transition: transform 0.3s, border-color 0.3s, background-color 0.3s;
}
.feature-card:hover { transform: translateY(-10px); border-color: rgba(255, 255, 255, 0.3); background-color: #26262d; }
.feature-icon { font-size: 3rem; margin-bottom: 1.5rem; display: inline-block; padding: 15px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); }
.feature-card p { color: var(--text-secondary) !important; font-size: 1rem; }

footer { background-color: #050505; padding: 60px 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); }
footer h4 { color: #fff; margin-bottom: 1rem; }
footer p { color: #999; margin-bottom: 1.5rem; }
footer small { display: block; margin-top: 2rem; color: #666; }
footer a { text-decoration: none; color: #fff; font-size: 1.5rem; margin: 0 10px; transition: color 0.3s; }
footer a:hover { color: var(--akux-green); }

/* RESPONSIVE */
@media (max-width: 991px) {
    .hero-title { font-size: 2.8rem; }
    .hero-section { text-align: center; padding-top: 120px; }
    .hero-section .d-flex { justify-content: center; align-items: center; }
    .akux-signal-visualizer { transform: scale(0.7); margin-top: 3rem; }
    .btn-akux-primary, .btn-akux-outline { width: 100%; margin-bottom: 10px; }
}