/* ===================================
   TrivoxTech - Base Styles
   Variables, Resets, Utilities, and Global Animations
   =================================== */

:root {
    /* Color Palette - RosterInsight Theme */
    --primary-color: #1a9cb0;
    --primary-dark: #157a8a;
    --primary-light: #3db5c7;
    --secondary-color: #e67e22;
    --accent-color: #16a085;

    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #1a9cb0 0%, #16a085 100%);
    --gradient-secondary: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
    --gradient-accent: linear-gradient(135deg, #3db5c7 0%, #1abc9c 100%);
    --gradient-dark: linear-gradient(135deg, #0e5a66 0%, #1a9cb0 100%);

    /* Dark Theme Colors (Default) */
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-card: #1e293b;
    --text-light: #f8fafc;
    --text-gray: #cbd5e1;
    --text-muted: #94a3b8;

    /* Spacing */
    --section-padding: 100px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
    --glow: 0 0 30px rgba(26, 156, 176, 0.5);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Light Theme Variables */
body.light-theme {
    --bg-dark: #f1f5f9;
    --bg-darker: #ffffff;
    --bg-card: #ffffff;
    --text-light: #0f172a;
    --text-gray: #475569;
    --text-muted: #64748b;

    /* Light theme shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Global resets & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-darker);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* Utility Classes */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.section-description {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Global Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, 50px) scale(1.1);
    }

    50% {
        transform: translate(-30px, 80px) scale(0.9);
    }

    75% {
        transform: translate(40px, -40px) scale(1.05);
    }
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}