/* ==========================================
   Variables y Configuración General
   ========================================== */
:root {
    /* Colores extraídos del logo */
    --primary-purple: #9b28b0;
    --secondary-cyan: #00bcd4;
    --dark-blue: #08203c; /* Azul oscuro del texto del logo */
    --light-bg: #ffffff;
    --light-grey: #f8f9fa;
    --text-muted: #6c757d;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-blue);
    -webkit-font-smoothing: antialiased;
}

/* ==========================================
   Navegación (Navbar)
   ========================================== */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-link {
    color: var(--dark-blue) !important;
    font-weight: 600;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-purple) !important;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    min-height: 100vh;
    padding-top: 80px; /* Compensa el navbar fijo */
    background: radial-gradient(circle at top, rgba(155, 40, 176, 0.03), transparent 50%);
}

.hero-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
}

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

/* ==========================================
   Redes Sociales
   ========================================== */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--light-grey);
    color: var(--dark-blue);
    border-radius: 50%;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icons a:hover {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-cyan));
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(155, 40, 176, 0.3);
}

/* ==========================================
   Botón de Contacto
   ========================================== */
.btn-contact {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-purple));
    color: white !important;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn-contact::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-cyan));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-contact:hover::before {
    opacity: 1;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 188, 212, 0.3) !important;
}

/* ==========================================
   Secciones Generales y Tarjetas
   ========================================== */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-cyan));
    border-radius: 2px;
}

.custom-card {
    border-radius: 20px;
    transition: all 0.3s ease;
    background-color: white;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

.icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(155, 40, 176, 0.05);
    color: var(--primary-purple);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.hover-lift:hover .icon-box {
    background: var(--primary-purple);
    color: white;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background-color: var(--dark-blue);
    border-top: 5px solid var(--primary-purple);
}

/* ==========================================
   Animaciones Básicas
   ========================================== */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

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