/* 
   RedposAnalytics - Custom Styles
   Company: RedposAnalytics.es
   Theme: Modern AI Tech (Premium Dark Mode)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #00d2ff;
    --primary-rgb: 0, 210, 255;
    --secondary: #9d50bb;
    --secondary-rgb: 157, 80, 187;
    --heading-font: 'Outfit', sans-serif;
    --body-font: 'Inter', sans-serif;
    --bg-dark: #050a18;
    --bg-surface: #0d1224;
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    --gradient-1: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --glass-bg: rgba(13, 18, 36, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--body-font);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
}

/* Navbar Customization */
.navbar {
    background: transparent;
    transition: all 0.4s ease;
    padding: 1.5rem 0;
    z-index: 1000;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 500;
    margin-left: 1.5rem;
    position: relative;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 120px;
    background-image: linear-gradient(rgba(5, 10, 24, 0.8), rgba(5, 10, 24, 0.7)), url('img/hero-bg.png');
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.badge-ai {
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff 0%, #a0aec0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-premium {
    background: var(--gradient-1);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
    color: white;
}

.btn-outline-premium {
    background: transparent;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--glass-border);
    transition: all 0.3s ease;
}

.btn-outline-premium:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    color: white;
}

/* Services / Features */
.section-padding {
    padding: 100px 0;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 24px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(var(--primary-rgb), 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.icon-box i {
    font-size: 1.8rem;
    color: var(--primary);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* About / Stats */
.stats-box {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-form-container {
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    color: white;
    box-shadow: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Animation */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .navbar {
        background: var(--bg-dark);
        padding: 1rem 0;
    }
}
