@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Troop Telecom Brand Colors */
    --troop-blue-950: 213 70% 15%;
    --troop-blue-900: 213 70% 22%;
    --troop-blue-800: 213 65% 30%;
    --troop-blue-700: 213 68% 38%;
    --troop-blue-600: 213 72% 45%;
    --troop-cyan-500: 199 85% 48%;
    --troop-cyan-400: 195 90% 55%;

    --background: 210 20% 98%;
    --foreground: 220 20% 14%;

    --card: 0 0% 100%;
    --card-foreground: 220 20% 14%;

    --popover: 0 0% 100%;
    --popover-foreground: 220 20% 14%;

    --primary: 213 72% 45%;
    --primary-foreground: 0 0% 100%;

    --secondary: 199 85% 48%;
    --secondary-foreground: 0 0% 100%;

    --muted: 210 20% 96%;
    --muted-foreground: 215 16% 47%;

    --accent: 199 85% 48%;
    --accent-foreground: 0 0% 100%;

    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 100%;

    --border: 214 32% 91%;
    --input: 214 32% 91%;
    --ring: 213 72% 45%;

    --radius: 0.75rem;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(213 70% 22%) 0%, hsl(213 72% 45%) 50%, hsl(199 85% 48%) 100%);
    --gradient-card: linear-gradient(135deg, hsl(213 72% 45%) 0%, hsl(199 85% 48%) 100%);
}

.dark {
    --background: 220 20% 10%;
    --foreground: 210 20% 98%;

    --card: 220 20% 14%;
    --card-foreground: 210 20% 98%;

    --popover: 220 20% 14%;
    --popover-foreground: 210 20% 98%;

    --primary: 187 85% 43%;
    --primary-foreground: 220 20% 10%;

    --secondary: 200 80% 33%;
    --secondary-foreground: 0 0% 100%;

    --muted: 220 20% 18%;
    --muted-foreground: 215 20% 65%;

    --accent: 187 85% 43%;
    --accent-foreground: 220 20% 10%;

    --border: 220 20% 20%;
    --input: 220 20% 20%;
    --ring: 187 85% 43%;
}

* {
    border-color: hsl(var(--border));
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Animations that are hard to do with just Tailwind utilities */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes scale-in {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px hsl(199 85% 48% / 0.4);
    }

    50% {
        box-shadow: 0 0 40px hsl(199 85% 48% / 0.6);
    }
}

/* Custom Classes */
.glass {
    background-color: rgb(255 255 255 / 0.8);
    backdrop-filter: blur(24px);
    border: 1px solid rgb(255 255 255 / 0.2);
}

.gradient-text {
    background: linear-gradient(to right, hsl(var(--troop-blue-600)), hsl(var(--troop-cyan-500)));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-gradient {
    background: linear-gradient(135deg, hsl(213 70% 20%) 0%, hsl(213 72% 40%) 40%, hsl(199 85% 48%) 100%);
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fade-in-up 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Utility for animation delays */
.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

.delay-500 {
    animation-delay: 500ms;
}