:root {
    --background: 210 40% 98%;
    --foreground: 222 47% 11%;

    --card: 0 0% 100%;
    --card-foreground: 222 47% 11%;

    --popover: 0 0% 100%;
    --popover-foreground: 222 47% 11%;

    --primary: 199 89% 42%;
    --primary-foreground: 0 0% 100%;

    --secondary: 210 40% 96%;
    --secondary-foreground: 222 47% 11%;

    --muted: 210 40% 96%;
    --muted-foreground: 215 20% 45%;

    --accent: 35 92% 50%;
    --accent-foreground: 0 0% 100%;

    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 100%;

    --border: 214 32% 91%;
    --input: 214 32% 91%;
    --ring: 199 89% 42%;

    --radius: 0.75rem;

    --navy: 222 47% 20%;
    --navy-light: 222 40% 30%;
    --cyan: 199 89% 42%;
    --cyan-glow: 199 89% 55%;
    --amber: 35 92% 50%;
    --amber-glow: 35 92% 60%;

    --gradient-primary: linear-gradient(135deg, hsl(199 89% 42%), hsl(199 89% 55%));
    --gradient-hero: linear-gradient(180deg, hsl(210 40% 98%) 0%, hsl(210 40% 96%) 100%);
    --gradient-card: linear-gradient(135deg, hsl(0 0% 100%) 0%, hsl(210 40% 98%) 100%);
    --gradient-accent: linear-gradient(135deg, hsl(35 92% 50%), hsl(25 90% 45%));
    --gradient-glow: radial-gradient(ellipse at center, hsl(199 89% 42% / 0.1) 0%, transparent 70%);

    --shadow-glow: 0 0 60px hsl(199 89% 42% / 0.2);
    --shadow-card: 0 4px 24px hsl(222 47% 11% / 0.08);
    --shadow-button: 0 4px 20px hsl(199 89% 42% / 0.3);

    --sidebar-background: 0 0% 100%;
    --sidebar-foreground: 222 47% 11%;
    --sidebar-primary: 199 89% 42%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 210 40% 96%;
    --sidebar-accent-foreground: 222 47% 11%;
    --sidebar-border: 214 32% 91%;
    --sidebar-ring: 199 89% 42%;
}

* {
    box-sizing: border-box;
    border-color: hsl(var(--border));
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: 'Prompt', 'Space Grotesk', sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Prompt', sans-serif;
}

.text-gradient {
    background-image: linear-gradient(135deg, hsl(199 89% 48%), hsl(199 89% 70%));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
    background-image: linear-gradient(135deg, hsl(35 92% 55%), hsl(35 92% 70%));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.bg-glow {
    background-image: var(--gradient-glow);
}

.card-gradient {
    background: var(--gradient-card);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

.shadow-button {
    box-shadow: var(--shadow-button);
}

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

.animate-pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

.animate-fade-up {
    animation: fade-up 0.6s ease-out forwards;
}

.animate-slide-in {
    animation: slide-in 0.5s ease-out forwards;
}

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

@keyframes pulse-glow {
    0%,
    100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: hsl(210 40% 96%);
}

::-webkit-scrollbar-thumb {
    background: hsl(214 32% 80%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: hsl(199 89% 42%);
}

.ql-toolbar.ql-snow {
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem 0.75rem 0 0;
    background: hsl(var(--secondary));
}

.ql-container.ql-snow {
    border: 1px solid hsl(var(--border));
    border-top: none;
    border-radius: 0 0 0.75rem 0.75rem;
    background: hsl(var(--background));
}

.ql-editor {
    min-height: 220px;
    font-family: 'Prompt', 'Space Grotesk', sans-serif;
    color: hsl(var(--foreground));
}

.ql-editor img {
    max-width: 100%;
    border-radius: 0.75rem;
}
