/* ===================================
   EXOSDATA360 - LANDING PAGE STYLES
   =================================== */

/* Importar fuente moderna */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Variables CSS - Paleta Azul, Naranja, Blanco */
:root {
    /* Azules */
    --primary-color: #2563eb;        /* Azul principal */
    --primary-dark: #1e40af;         /* Azul oscuro */
    --primary-light: #3b82f6;       /* Azul claro */
    --primary-lighter: #60a5fa;      /* Azul muy claro */
    --blue-gradient-start: #1e3a8a;  /* Inicio gradiente azul */
    --blue-gradient-end: #3b82f6;     /* Fin gradiente azul */
    
    /* Naranjas */
    --orange-color: #f97316;         /* Naranja principal */
    --orange-dark: #ea580c;          /* Naranja oscuro */
    --orange-light: #fb923c;         /* Naranja claro */
    --orange-lighter: #fdba74;      /* Naranja muy claro */
    --orange-gradient-start: #ea580c; /* Inicio gradiente naranja */
    --orange-gradient-end: #fb923c;   /* Fin gradiente naranja */
    
    /* Neutros */
    --white: #ffffff;
    --light-color: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --dark-color: #0f172a;
    
    /* Otros */
    --secondary-color: #64748b;
    --success-color: #10b981;
    --info-color: #06b6d4;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --font-primary: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    padding-top: 70px; /* Espacio para navbar fixed */
}

/* Importar fuente moderna si está disponible */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Tipograf�a */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Enlaces */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

    a:hover {
        color: var(--primary-dark);
        text-decoration: underline;
    }

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
    transition: transform 0.3s ease;
}

    .navbar-brand:hover {
        transform: scale(1.05);
    }

    .navbar-brand i {
        font-size: 1.8rem;
        vertical-align: middle;
    }

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

    .nav-link:hover {
        color: var(--white) !important;
        background-color: rgba(255,255,255,0.1);
        border-radius: 5px;
    }

    .nav-link.active {
        color: var(--white) !important;
        font-weight: 700;
    }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--blue-gradient-start) 0%, var(--primary-color) 50%, var(--orange-color) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(249, 115, 22, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat;
        background-size: cover;
        background-position: bottom;
    }

    .hero-section .container {
        position: relative;
        z-index: 1;
    }

.hero-illustration i {
    font-size: 15rem;
    animation: float 3s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-orange {
    background: linear-gradient(135deg, var(--orange-color) 0%, var(--orange-dark) 100%);
    color: var(--white);
    border: none;
}

.btn-orange:hover {
    background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

    .btn-outline-primary:hover {
        background: var(--primary-color);
        color: var(--white);
        border-color: var(--primary-color);
    }

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
    font-weight: 600;
}

    .btn-light:hover {
        background-color: var(--orange-color);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
    }

.btn-outline-orange {
    border: 2px solid var(--orange-color);
    color: var(--orange-color);
    background: transparent;
}

    .btn-outline-orange:hover {
        background: var(--orange-color);
        color: var(--white);
        border-color: var(--orange-color);
    }

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hover-card {
    transition: all 0.3s ease;
}

    .hover-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
    }

.feature-icon {
    transition: all 0.3s ease;
    display: inline-block;
}

.hover-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Feature icons con colores azul y naranja */
.feature-icon.blue {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    color: var(--primary-color);
}

.feature-icon.orange {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(251, 146, 60, 0.1) 100%);
    color: var(--orange-color);
}

/* Stats */
.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Pricing Cards */
.pricing-card {
    border-radius: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
}

    .pricing-card:hover {
        transform: scale(1.03);
        box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    }

    .pricing-card.featured {
        border: 3px solid var(--primary-color);
        position: relative;
        transform: scale(1.05);
    }

    .pricing-card .badge {
        position: absolute;
        top: -15px;
        right: 20px;
        z-index: 10;
    }

    .pricing-card ul li {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

        .pricing-card ul li:last-child {
            border-bottom: none;
        }

/* Forms */
.form-control, .form-select, .form-control:focus, .form-select:focus {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    }

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--dark-color) 100%);
    color: var(--white);
    margin-top: 4rem;
    border-top: 4px solid var(--orange-color);
}

    footer h5, footer h6 {
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

    footer a {
        color: rgba(255,255,255,0.7);
        transition: all 0.3s ease;
    }

        footer a:hover {
            color: var(--white);
            transform: translateX(5px);
            text-decoration: none;
        }

    footer .social-links a {
        display: inline-block;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        border-radius: 50%;
        background-color: rgba(255,255,255,0.1);
        transition: all 0.3s ease;
    }

        footer .social-links a:hover {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--orange-color) 100%);
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
        }

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

    .section-title h2 {
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .section-title p {
        font-size: 1.2rem;
        color: var(--secondary-color);
    }

/* Background variants */
.bg-light-gradient {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--light-color) 100%);
}

.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.bg-orange-gradient {
    background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange-color) 100%);
}

.bg-blue-orange-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--orange-color) 100%);
}

/* Step numbers */
.step-number {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--orange-color) 100%);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading spinner */
.spinner-border-custom {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 0.2em;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-section {
        min-height: 70vh;
    }

    .hero-illustration i {
        font-size: 8rem;
    }

    .stat-item h3 {
        font-size: 1.75rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    section {
        padding: 3rem 0;
    }

    .btn {
        padding: 0.6rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 60vh;
    }

    .hero-illustration {
        display: none;
    }
}

/* Utilidades */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--orange-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-orange {
    color: var(--orange-color) !important;
}

.bg-orange {
    background-color: var(--orange-color) !important;
}

.border-orange {
    border-color: var(--orange-color) !important;
}

.shadow-soft {
    box-shadow: 0 5px 25px rgba(0,0,0,0.1) !important;
}

.rounded-xl {
    border-radius: 20px !important;
}

/* Añadir efectos de hover mejorados para las cards */
.hover-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2) !important;
}

/* Animación para números de estadísticas */
.stat-item h3 {
    transition: all 0.3s ease;
}

.stat-item:hover h3 {
    transform: scale(1.1);
    color: var(--orange-color);
}

/* Mejoras adicionales de hover */
.stat-item h3 {
    transition: all 0.3s ease;
}

.stat-item:hover h3 {
    transform: scale(1.1);
    color: var(--orange-color);
}
