:root {
    --primary-color: #7D0090;
    --primary-dark: #220071;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --dark-bg: #220071;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
   box-sizing: border-box;
}

html, body {
   overflow-x: hidden;
   width: 100%;
   max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: #495057;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* Typography & Utilities */
.text-gradient {
    background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 50%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tracking-wide {
    letter-spacing: 0.1em;
}

.section-padding {
    padding: 100px 0;
}

.bg-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-hover-effect {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-hover-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.icon-sm {
    width: 35px;
    height: 35px;
}

.transition {
    transition: all 0.3s ease;
}

.hover-primary:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* Navbar */
.glass-nav {
    background: rgba(18, 20, 29, 0.85) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    background: rgba(18, 20, 29, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.custom-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.custom-link:hover,
.custom-link.active {
    color: #fff !important;
}

.custom-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.logo-hover {
    transition: transform 0.3s ease;
}

.logo-hover:hover {
    transform: scale(1.05) rotate(5deg);
}

/* Hero Section */
.hero-section {
    background-color: var(--dark-bg);
    min-height: 100vh;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(13, 110, 253, 0.15) 0%, transparent 50%),
        radial-gradient(circle at bottom left, rgba(108, 117, 125, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-blobs {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    border-radius: 50%;
    animation: float 10s infinite ease-in-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(13, 110, 253, 0.3);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(111, 66, 193, 0.2);
    bottom: 100px;
    left: -100px;
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.badge-premium {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Dashboard Mockup Pattern */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-panel:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.dashboard-mockup {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-skeleton {
    height: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.dash-chart-box {
    height: 120px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0.05));
    border-radius: 8px;
    border: 1px solid rgba(13, 110, 253, 0.2);
    position: relative;
    overflow: hidden;
}

.dash-chart-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(13, 110, 253, 0.5), transparent);
    border-radius: 0 0 8px 8px;
    clip-path: polygon(0 100%, 0 50%, 25% 40%, 50% 60%, 75% 30%, 100% 50%, 100% 100%);
}

.dash-chart-wide {
    height: 180px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.dash-chart-wide::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 60%;
    top: 20%;
    left: 10%;
    border-bottom: 2px solid rgba(111, 66, 193, 0.5);
    border-left: 2px solid rgba(111, 66, 193, 0.5);
}

.dash-chart-wide::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 50%;
    bottom: 20%;
    left: 10%;
    background: linear-gradient(90deg, transparent 0%, rgba(13, 110, 253, 0.2) 50%, transparent 100%);
    animation: slideRight 3s infinite linear;
}

@keyframes slideRight {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Quem Somos Section */
.decor-box {
    width: 100%;
    height: 100%;
    top: 20px;
    left: -20px;
    z-index: 0;
    opacity: 0.1;
}

.company-img {
    transition: transform 0.5s ease;
    cursor: pointer;
}

.company-img:hover {
    transform: scale(1.02);
}

/* Serviços Section */
.services-bg-ornament {
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: rgba(13, 110, 253, 0.5) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
}

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

.service-icon-box {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon-box {
    transform: scale(1.1) rotate(10deg);
}

/* Clientes */
.divider {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.client-carousel .carousel-inner {
    padding: 40px 0;
}

.client-logo {
    max-height: 140px;
    max-width: 3000px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.custom-carousel-ctrl {
    width: 5%;
    opacity: 0.7;
}

.custom-carousel-ctrl:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* Contact Form */
.form-control {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
}

.contact-item {
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

/* Animations classes for JS */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered load */
.card-stagger {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.card-stagger.visible {
    opacity: 1;
    transform: translateY(0);
}

.text-primary {
    color: var(--primary-color) !important;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: var(#FFF);
    background-color: var(--primary-color);
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.btn-primary {
    color: var(--bs-btn-hover-color);
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-primary:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

@media (max-width: 520px) {
.hero-section {
    top: 60px;
}