/* index.css - Arda Systems */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --color-bg-primary: #0A0F1D;
    --color-bg-secondary: #121A2D;
    --color-bg-card: rgba(18, 26, 45, 0.75);
    --color-neon-cyan: #00E5FF;
    --color-neon-magenta: #FF00A2;
    --color-neon-purple: #8E00FF;
    --color-neon-green: #00F5A0;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
    background-color: var(--color-bg-primary);
    color: #E8EBF0;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Outfit', 'Montserrat', sans-serif;
}

/* Texto con degradado Neon */
.text-gradient-neon {
    background-image: linear-gradient(135deg, #00E5FF 0%, #7000FF 50%, #FF00A2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
    background-image: linear-gradient(135deg, #00E5FF 0%, #0088FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background-image: linear-gradient(135deg, #B536FF 0%, #FF00A2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Botones con degradado Neon */
.bg-gradient-neon {
    background-image: linear-gradient(135deg, #00E5FF 0%, #FF00A2 100%);
}

.bg-gradient-software {
    background-image: linear-gradient(135deg, #00E5FF 0%, #7000FF 100%);
}

.bg-gradient-iot {
    background-image: linear-gradient(135deg, #FF00A2 0%, #8E00FF 100%);
}

/* Card de fondo con blur para el efecto Glassmorphism */
.card-glass {
    background-color: rgba(18, 26, 45, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-glass-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-glass-hover:hover {
    transform: translateY(-4px);
    background-color: rgba(22, 33, 58, 0.85);
    border-color: rgba(0, 229, 255, 0.35);
    box-shadow: 0 10px 30px -10px rgba(0, 229, 255, 0.2);
}

/* Efecto de Cuadrícula Sutil Futurista */
.bg-grid-pattern {
    background-image: 
        linear-gradient(to right, rgba(0, 229, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
}

/* Glow effects */
.glow-cyan {
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.35);
}

.glow-magenta {
    box-shadow: 0 0 25px rgba(255, 0, 162, 0.35);
}

.glow-purple {
    box-shadow: 0 0 25px rgba(142, 0, 255, 0.35);
}

/* Estilo para las pestañas activas */
.tab-button {
    position: relative;
    transition: all 0.25s ease;
}

.tab-button.active {
    box-shadow: 0 4px 20px -2px rgba(0, 229, 255, 0.4);
    border-color: var(--color-neon-cyan);
    color: #ffffff;
    background-color: rgba(0, 229, 255, 0.12);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #00E5FF, #FF00A2);
    border-radius: 4px;
}

/* Estilos específicos para la sección de Casos de Éxito (Acordeón) */
.case-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out, opacity 0.3s ease-out;
    padding: 0 1.5rem;
    opacity: 0;
}

.case-content.open {
    max-height: 600px;
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
    opacity: 1;
}

/* Animaciones sutiles */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 229, 255, 0.8), 0 0 45px rgba(255, 0, 162, 0.3);
    }
}

.animate-pulse-glow {
    animation: pulseGlow 3s infinite ease-in-out;
}

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

.animate-float {
    animation: floatAnim 4s ease-in-out infinite;
}

/* Badges con gradiente */
.badge-tech {
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.4);
    color: #00E5FF;
}

.badge-software {
    background: rgba(255, 0, 162, 0.12);
    border: 1px solid rgba(255, 0, 162, 0.4);
    color: #FF00A2;
}

.badge-free {
    background: rgba(0, 245, 160, 0.15);
    border: 1px solid rgba(0, 245, 160, 0.5);
    color: #00F5A0;
}

/* Modal de descargas */
.modal-overlay {
    background: rgba(5, 10, 20, 0.85);
    backdrop-filter: blur(8px);
}

/* Menú móvil desplegable con soporte universal */
#mobile-menu {
    display: none;
}

#mobile-menu.open {
    display: block !important;
    animation: fadeInDown 0.25s ease-out forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
