/* Fonts imported in HTML for performance */

:root {
    /* Colors */
    --primary-h: 221;
    --primary-s: 83%;
    --primary-l: 53%;
    --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --primary-hover: hsl(var(--primary-h), var(--primary-s), calc(var(--primary-l) - 5%));

    --accent-h: 262;
    --accent-s: 83%;
    --accent-l: 58%;
    --accent: hsl(var(--accent-h), var(--accent-s), var(--accent-l));

    --bg-light: #f8fafc;
    --bg-dark: #0f172a;

    --surface-light: #ffffff;
    --surface-dark: #1e293b;

    --text-light: #1e293b;
    --text-dark: #f1f5f9;

    --text-muted-light: #64748b;
    --text-muted-dark: #94a3b8;

    /* Layout */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2.5rem;
}

.dark {
    --bg: var(--bg-dark);
    --surface: var(--surface-dark);
    --text: var(--text-dark);
    --text-muted: var(--text-muted-dark);
    --border: rgba(255, 255, 255, 0.1);
}

:root:not(.dark) {
    --bg: var(--bg-light);
    --surface: var(--surface-light);
    --text: var(--text-light);
    --text-muted: var(--text-muted-light);
    --border: rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--text);
}

/* Utilities */
.glass {
    background: rgba(var(--surface-rgb), 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
}

.dark .glass {
    background: rgba(30, 41, 59, 0.7);
}

:root:not(.dark) .glass {
    background: rgba(255, 255, 255, 0.7);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.shadow-premium {
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.dark .shadow-premium {
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

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

/* Custom UI Components */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background-color: var(--primary);
    color: white;
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: var(--primary-hover);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.4);
}

.card {
    background-color: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}