/* =====================================================
   DEVELOPERS - Sitio Web Corporativo
   Estilos Principales
   ===================================================== */

/* ===== VARIABLES CSS ===== */
:root {
    /* Colores Principales */
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    
    /* Colores de Productos */
    --auraid-color: #667eea;
    --auraid-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --edux-color: #1e3c72;
    --edux-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --hydros-color: #06b6d4;
    --hydros-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --deportix-color: #f97316;
    --deportix-gradient: linear-gradient(135deg, #f97316 0%, #22c55e 100%);
    --auratime-color: #0ea5e9;
    --auratime-gradient: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    --firmaelectronica-color: #667eea;
    --firmaelectronica-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --auranexus-color: #0d9488;
    --auranexus-gradient: linear-gradient(135deg, #0d9488 0%, #6366f1 100%);
    --aurasignature-color: #4338ca;
    --aurasignature-gradient: linear-gradient(135deg, #4338ca 0%, #7c3aed 100%);
    
    /* Colores Neutrales */
    --dark: #2d3748;
    --dark-light: #4a5568;
    --gray: #718096;
    --gray-light: #a0aec0;
    --gray-lighter: #e2e8f0;
    --white: #ffffff;
    --background: #f7fafc;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Fuentes */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== BOTÓN FLOTANTE WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 998;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background: #20bd5a;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* Ajustar back-to-top para que no se solape con WhatsApp */
.back-to-top {
    bottom: 95px !important;
}

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

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

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

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--auraid-gradient);
    margin: 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--gray);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-normal);
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: var(--auraid-gradient);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--gray-lighter);
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.navbar-logo img {
    height: 50px;
    width: auto;
}

.navbar-logo-text {
    font-size: 26px;
    font-weight: 700;
    background: var(--auraid-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.navbar-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark);
    position: relative;
    padding: 8px 0;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
}

.navbar-link:hover::after,
.navbar-link.active::after {
    width: 100%;
}

.navbar-link:hover,
.navbar-link.active {
    color: var(--primary-color);
}

.navbar-toggle {
    display: none;
    background: transparent;
    font-size: 28px;
    color: var(--dark);
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--auraid-gradient);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 15px;
    opacity: 0.95;
    animation: fadeInUp 1s ease;
}

.hero-description {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 1.2s ease;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease;
}

.hero-logo {
    max-width: 300px;
    margin: 0 auto 30px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    animation: fadeInDown 1s ease;
}

/* ===== PRODUCTOS SECTION ===== */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.producto-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-normal);
    border: 2px solid var(--gray-lighter);
    position: relative;
    overflow: hidden;
}

.producto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: var(--transition-normal);
}

.producto-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.producto-card.auraid::before {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}

.producto-card.auraid:hover {
    border-color: var(--auraid-color);
}

.producto-card.edux::before {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.08) 0%, rgba(42, 82, 152, 0.08) 100%);
}

.producto-card.edux:hover {
    border-color: var(--edux-color);
}

.producto-card.hydros::before {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
}

.producto-card.hydros:hover {
    border-color: var(--hydros-color);
}

.producto-card.deportix::before {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(34, 197, 94, 0.08) 100%);
}

.producto-card.deportix:hover {
    border-color: var(--deportix-color);
}

.producto-card.auratime::before {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
}

.producto-card.auratime:hover {
    border-color: var(--auratime-color);
}

.producto-card.firmaelectronica::before {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}

.producto-card.firmaelectronica:hover {
    border-color: var(--firmaelectronica-color);
}

.producto-card.auranexus::before {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
}

.producto-card.auranexus:hover {
    border-color: var(--auranexus-color);
}

.producto-card.aurasignature::before {
    background: linear-gradient(135deg, rgba(67, 56, 202, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
}

.producto-card.aurasignature:hover {
    border-color: var(--aurasignature-color);
}

.producto-logo {
    width: 160px;
    height: 160px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.producto-logo img,
.producto-logo svg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition-normal);
}

.producto-card:hover .producto-logo img,
.producto-card:hover .producto-logo svg {
    transform: scale(1.1);
}

.producto-nombre {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.producto-card.auraid .producto-nombre {
    background: var(--auraid-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.producto-card.edux .producto-nombre {
    background: var(--edux-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.producto-card.hydros .producto-nombre {
    background: var(--hydros-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.producto-card.deportix .producto-nombre {
    background: var(--deportix-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.producto-card.auratime .producto-nombre {
    background: var(--auratime-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.producto-card.auranexus .producto-nombre {
    background: var(--auranexus-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.producto-card.firmaelectronica .producto-nombre {
    background: var(--firmaelectronica-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.producto-card.aurasignature .producto-nombre {
    background: var(--aurasignature-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.producto-descripcion {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.producto-link {
    position: relative;
    z-index: 2;
}

/* ===== FEATURES SECTION ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid var(--gray-lighter);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: var(--gray-light);
    font-size: 15px;
    line-height: 1.8;
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--dark-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--dark-light);
    padding-top: 30px;
    text-align: center;
    color: var(--gray-light);
    font-size: 14px;
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

