/* GeoRastreamento Premium Styles */

:root {
    --primary: #0F2940;
    --secondary: #F00000;
    --tertiary: #263e56;
    --background: #f8f9fb;
    --on-background: #191c1e;
    --surface: #ffffff;
    --surface-variant: #e0e3e5;
    --outline: #72777f;
    --primary-container: #29567f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--on-background);
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-headline {
    font-family: 'Metropolis', sans-serif;
}

/* Premium Glassmorphism */
.glass-panel {
    background: rgba(15, 41, 64, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

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

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-soft {
    0% { box-shadow: 0 0 0 0 rgba(240, 0, 0, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(240, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(240, 0, 0, 0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-bounce-slow {
    animation: bounce-slow 3s ease-in-out infinite;
}

.pulse-animation {
    animation: pulse-soft 2s infinite;
}

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, #0F2940 0%, #071624 100%);
}

/* Benefit Cards */
.benefit-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Sobre Cards Refinement */
#sobre .relative.overflow-hidden {
    box-shadow: 0 10px 30px rgba(15, 41, 64, 0.08);
    background-image: linear-gradient(165deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
}

#sobre .relative.overflow-hidden:hover {
    box-shadow: 0 25px 50px rgba(15, 41, 64, 0.15);
}

#sobre .bg-slate-100 .tech-grid {
    background-image: radial-gradient(rgba(15, 41, 64, 0.1) 1px, transparent 1px);
}

#sobre .bg-primary .tech-grid,
#sobre .bg-secondary .tech-grid,
#sobre .bg-primary-container .tech-grid {
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
}


/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Tech Grid Pattern */
.tech-grid {
    background-image: radial-gradient(rgba(240, 0, 0, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
}

header {
    background: 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;
}

header.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Form Styles */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary) !important;
    box-shadow: 0 0 0 4px rgba(240, 0, 0, 0.1) !important;
}
/* Hero Slider Transitions */
.hero-slide {
    will-change: opacity;
}

.slide-content {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-content.opacity-0 {
    transform: translateX(-20px);
}

.slide-content.opacity-100 {
    transform: translateX(0);
}

.slider-dot {
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background-color: rgba(240, 0, 0, 0.5);
}

/* Slider Arrows Hover Visibility */
#prev-slide, #next-slide {
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

#home:hover #prev-slide,
#home:hover #next-slide {
    opacity: 1;
    visibility: visible;
}

