@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* --- Premium Palette (HSL) --- */
    /* Primary: Electric Indigo */
    --primary: 245 80% 65%;
    /* #7464eb */
    --primary-dark: 245 80% 55%;
    --primary-light: 245 90% 85%;
    --primary-foreground: 0 0% 100%;

    /* Secondary: Vibrant Violet */
    --secondary: 270 80% 60%;
    --secondary-foreground: 0 0% 100%;

    /* Accent: Coral / Success */
    --accent: 340 85% 60%;
    --success: 150 80% 40%;

    /* Neutral / Surface */
    --background: 220 30% 98%;
    /* Very light cool gray */
    --surface: 0 0% 100%;
    /* Pure White */
    --surface-alt: 220 20% 96%;
    /* Off-white */

    /* Text */
    --foreground: 225 30% 15%;
    /* Deep Navy for text */
    --foreground-muted: 225 20% 45%;

    /* Borders */
    --border: 220 20% 90%;
    --border-hover: 245 60% 85%;

    /* --- Glassmorphism --- */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: 20px;
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);

    /* --- Spacing & Radius --- */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* --- Shadows --- */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 20px rgba(116, 100, 235, 0.3);
}

.dark {
    --background: 230 25% 10%;
    /* Deep Void */
    --surface: 230 25% 14%;
    /* Dark Gray */
    --surface-alt: 230 25% 18%;
    --foreground: 220 30% 98%;
    --foreground-muted: 220 20% 70%;
    --border: 230 20% 25%;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* --- Resets & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: hsl(var(--foreground));
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Utility Classes --- */

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utilities */
.text-gradient {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.text-muted {
    color: hsl(var(--foreground-muted));
}

.font-heading {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Premium Card */
.premium-card {
    background: hsl(var(--surface));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: hsl(var(--border-hover));
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
    color: hsl(var(--primary-foreground));
    border: none;
    box-shadow: 0 4px 12px rgba(116, 100, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(116, 100, 235, 0.5);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid hsl(var(--border));
    color: hsl(var(--foreground));
}

.btn-outline:hover {
    border-color: hsl(var(--primary));
    color: hsl(var(--primary));
    background: hsla(var(--primary), 0.05);
}

/* Section Spacing */
.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Badge */
.badge {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: hsla(var(--primary), 0.1);
    color: hsl(var(--primary));
}

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

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

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

@keyframes float {

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

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

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

/* Decorative Blobs (optional usage in backgrounds) */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: float 8s infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: hsl(var(--primary));
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: hsl(var(--secondary));
    bottom: -50px;
    right: -50px;
    animation-delay: -2s;
}