/* ========== Font Imports ========== */
/* Satoshi for headings - geometric, modern, distinctive */
/* Plus Jakarta Sans for body - warm, readable, premium feel */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ========== Refined Color System ========== */
/* Light theme: Clean, modern with vibrant emerald green */
:root {
    --background: 150 20% 98%;
    --foreground: 160 30% 8%;
    --muted: 150 15% 93%;
    --muted-foreground: 160 10% 42%;
    --popover: 0 0% 100%;
    --popover-foreground: 160 30% 8%;
    --card: 0 0% 100%;
    --card-foreground: 160 30% 8%;
    --border: 150 15% 88%;
    --input: 150 15% 88%;
    --primary: 152 76% 42%;
    --primary-foreground: 0 0% 100%;
    --secondary: 150 20% 96%;
    --secondary-foreground: 160 30% 15%;
    --accent: 168 72% 38%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 100%;
    --ring: 152 76% 42%;
    --radius: 0.75rem;
    --success: 142 71% 45%;
    --warning: 38 92% 50%;

    /* Extended palette */
    --surface-1: 150 20% 99%;
    --surface-2: 150 15% 96%;
    --surface-3: 150 12% 93%;
    --glow-primary: 152 76% 42%;
    --glow-accent: 168 72% 38%;

    /* Gradient variables - all green tones */
    --gradient-start: 152 76% 42%;
    --gradient-mid: 160 70% 38%;
    --gradient-end: 168 65% 35%;
    --glow: 152 76% 42%;
}

/* Dark theme: Deep forest with emerald accents */
[data-theme="dark"],
.dark {
    --background: 160 30% 6%;
    --foreground: 150 15% 96%;
    --muted: 160 25% 12%;
    --muted-foreground: 150 12% 58%;
    --popover: 160 30% 8%;
    --popover-foreground: 150 15% 96%;
    --card: 160 28% 9%;
    --card-foreground: 150 15% 96%;
    --border: 160 22% 16%;
    --input: 160 22% 16%;
    --primary: 152 76% 50%;
    --primary-foreground: 160 30% 6%;
    --secondary: 160 22% 14%;
    --secondary-foreground: 150 15% 88%;
    --accent: 168 65% 45%;
    --accent-foreground: 160 30% 6%;
    --destructive: 0 72% 55%;
    --destructive-foreground: 0 0% 100%;
    --ring: 152 76% 50%;
    --success: 142 60% 50%;
    --warning: 38 90% 55%;

    /* Extended palette */
    --surface-1: 160 28% 8%;
    --surface-2: 160 25% 11%;
    --surface-3: 160 22% 14%;
    --glow-primary: 152 76% 50%;
    --glow-accent: 168 65% 45%;

    --gradient-start: 152 76% 50%;
    --gradient-mid: 160 65% 45%;
    --gradient-end: 168 60% 42%;
    --glow: 152 76% 50%;
}

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

html {
    font-size: 100%;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    position: relative;
    overflow-x: hidden;
    transition: background-color 300ms ease, color 200ms ease;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
    font-family: 'Satoshi', 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
}

code,
pre,
.font-mono {
    font-family: 'IBM Plex Mono', monospace;
}

/* ========== Ambient Background ========== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 90% 60% at 15% 25%, hsla(var(--glow-primary) / 0.25), transparent 55%),
        radial-gradient(ellipse 70% 70% at 85% 15%, hsla(var(--glow-accent) / 0.18), transparent 50%),
        radial-gradient(ellipse 60% 90% at 75% 85%, hsla(var(--gradient-end) / 0.15), transparent 55%),
        radial-gradient(ellipse 50% 50% at 25% 75%, hsla(var(--primary) / 0.12), transparent 45%);
    animation: meshMove 25s ease-in-out infinite;
    z-index: -20;
    pointer-events: none;
}

/* Dot grid pattern overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at center, hsl(var(--foreground) / 0.025) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    z-index: -19;
    pointer-events: none;
}

[data-theme="dark"] body::before,
.dark body::before {
    background:
        radial-gradient(ellipse 90% 60% at 15% 25%, hsla(var(--glow-primary) / 0.3), transparent 55%),
        radial-gradient(ellipse 70% 70% at 85% 15%, hsla(var(--glow-accent) / 0.22), transparent 50%),
        radial-gradient(ellipse 60% 90% at 75% 85%, hsla(var(--gradient-end) / 0.18), transparent 55%),
        radial-gradient(ellipse 50% 50% at 25% 75%, hsla(var(--primary) / 0.15), transparent 45%);
}

[data-theme="dark"] body::after,
.dark body::after {
    background-image:
        radial-gradient(circle at center, hsl(var(--foreground) / 0.03) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* ========== Utility classes matching shadcn/ui ========== */
.bg-background {
    background-color: hsl(var(--background));
}

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

.bg-card {
    background-color: hsl(var(--card));
}

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

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

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

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

.bg-muted {
    background-color: hsl(var(--muted));
}

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

.bg-accent {
    background-color: hsl(var(--accent));
}

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

.border-border {
    border-color: hsl(var(--border));
}

.border-input {
    border-color: hsl(var(--input));
}

.ring-ring {
    --tw-ring-color: hsl(var(--ring));
}

.ring-offset-background {
    --tw-ring-offset-color: hsl(var(--background));
}

/* ========== Keyframe Animations ========== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes card-fade-slide {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px -6px hsla(var(--glow-primary) / 0.3);
    }

    50% {
        box-shadow: 0 0 35px -4px hsla(var(--glow-primary) / 0.5);
    }
}

@keyframes float {

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

    25% {
        transform: translateY(-10px) rotate(1deg);
    }

    75% {
        transform: translateY(5px) rotate(-1deg);
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes scale-in {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce-subtle {

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

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

@keyframes glow-breathe {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes pulse-slow {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes meshMove {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.02) rotate(0.5deg);
    }

    50% {
        transform: scale(1) rotate(-0.5deg);
    }

    75% {
        transform: scale(0.98) rotate(0.5deg);
    }
}

/* Animation utility classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.animate-card-in {
    animation: card-fade-slide 400ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-shimmer {
    background: linear-gradient(90deg,
            hsla(var(--muted) / 0) 0%,
            hsla(var(--muted) / 0.5) 50%,
            hsla(var(--muted) / 0) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

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

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

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

.animate-gradient-shift {
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
}

.animate-scale-in {
    animation: scale-in 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-bounce-subtle {
    animation: bounce-subtle 2s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse-slow 8s ease-in-out infinite;
}

/* Staggered animation delays */
.animate-fade-in-up:nth-child(1) {
    animation-delay: 0s;
}

.animate-fade-in-up:nth-child(2) {
    animation-delay: 0.08s;
}

.animate-fade-in-up:nth-child(3) {
    animation-delay: 0.16s;
}

.animate-fade-in-up:nth-child(4) {
    animation-delay: 0.24s;
}

.delay-1000 {
    animation-delay: 2s;
}

.delay-2000 {
    animation-delay: 4s;
}

/* ========== Gradient Utilities ========== */

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

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

.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Hero gradient text */
.bg-gradient-to-r {
    background: linear-gradient(135deg,
            hsl(var(--primary)),
            hsl(var(--accent)),
            hsl(var(--gradient-end)));
    -webkit-background-clip: text;
    background-clip: text;
}

/* CTA section gradient */
.bg-gradient-to-br.from-primary {
    background: linear-gradient(135deg,
            hsl(var(--primary)),
            hsl(var(--accent)),
            hsl(var(--gradient-end)));
}

/* CTA section */
.cta-section {
    position: relative;
    isolation: isolate;
    background: linear-gradient(155deg,
            hsl(var(--primary) / 0.65),
            hsl(var(--accent) / 0.58),
            hsl(var(--primary) / 0.62));
    border-top: 1px solid hsl(var(--border) / 0.45);
    border-bottom: 1px solid hsl(var(--border) / 0.4);
}

.cta-gradient {
    background: linear-gradient(135deg,
            hsla(var(--primary) / 0.22),
            hsla(var(--accent) / 0.2),
            hsla(var(--primary) / 0.18));
    filter: saturate(1.05);
}

[data-theme="dark"] .cta-gradient,
.dark .cta-gradient {
    background: linear-gradient(135deg,
            hsla(var(--primary) / 0.38),
            hsla(var(--accent) / 0.32),
            hsla(var(--primary) / 0.3));
}

.cta-overlay {
    background:
        linear-gradient(180deg,
            hsla(var(--foreground) / 0.18),
            hsla(var(--foreground) / 0.22)),
        radial-gradient(80% 80% at 20% 20%, hsla(var(--primary) / 0.16), transparent 60%),
        radial-gradient(90% 90% at 75% 10%, hsla(var(--accent) / 0.14), transparent 65%),
        radial-gradient(70% 70% at 60% 80%, hsla(var(--gradient-end) / 0.12), transparent 65%);
    opacity: 0.95;
}

[data-theme="dark"] .cta-overlay,
.dark .cta-overlay {
    background:
        linear-gradient(180deg,
            hsla(var(--background) / 0.55),
            hsla(var(--background) / 0.35)),
        radial-gradient(80% 80% at 20% 20%, hsla(var(--primary) / 0.18), transparent 60%),
        radial-gradient(90% 90% at 75% 10%, hsla(var(--accent) / 0.16), transparent 65%),
        radial-gradient(70% 70% at 60% 80%, hsla(var(--gradient-end) / 0.14), transparent 65%);
    opacity: 1;
}

.cta-ring {
    border: 1px solid hsla(var(--primary) / 0.22);
    opacity: 0.9;
}

.cta-glow {
    background: hsla(var(--primary) / 0.14);
}

[data-theme="dark"] .cta-glow,
.dark .cta-glow {
    background: hsla(var(--primary) / 0.2);
}

/* ========== Language selector styling ========== */
.language-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2316a34a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1em 1em;
    padding-right: 2.5rem;
}

[data-theme="dark"] .language-select,
.dark .language-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2322c55e' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

/* ========== Card Styles ========== */
.rounded-xl {
    border-radius: calc(var(--radius) + 0.25rem);
}

/* Glass card with gradient border */
.glass-card {
    position: relative;
    background: linear-gradient(135deg,
            hsl(var(--card) / 0.9),
            hsl(var(--card) / 0.7));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid hsl(var(--border) / 0.5);
    box-shadow:
        0 25px 50px -12px hsl(var(--primary) / 0.08),
        0 0 0 1px hsl(var(--primary) / 0.05),
        inset 0 1px 0 hsl(var(--card) / 0.5);
    transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
            hsl(var(--primary) / 0.2),
            hsl(var(--accent) / 0.1),
            hsl(var(--gradient-end) / 0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 30px 60px -15px hsl(var(--primary) / 0.12),
        0 0 0 1px hsl(var(--primary) / 0.1),
        inset 0 1px 0 hsl(var(--card) / 0.5);
}

/* Card hover effects */
.card-hover {
    transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 250ms ease, border-color 200ms ease;
}

.card-hover:hover {
    transform: translateY(-3px);
    box-shadow:
        0 20px 40px -15px hsla(var(--primary) / 0.1),
        0 8px 16px -8px hsla(0 0% 0% / 0.05);
    border-color: hsla(var(--primary) / 0.15);
}

/* Hover glow effect */
.hover-glow {
    position: relative;
}

.hover-glow::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, hsla(var(--primary) / 0.3), hsla(var(--accent) / 0.3));
    opacity: 0;
    filter: blur(12px);
    transition: opacity 300ms ease;
    z-index: -1;
}

.hover-glow:hover::before {
    opacity: 0.5;
}

/* Shine effect */
.shine {
    position: relative;
    overflow: hidden;
}

.shine::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right,
            transparent,
            hsla(0 0% 100% / 0.1),
            transparent);
    transform: rotate(30deg) translateX(-100%);
    transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.shine:hover::after {
    transform: rotate(30deg) translateX(50%);
}

/* ========== Enhanced pill/badge styling ========== */
.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: hsl(var(--muted) / 0.9);
    backdrop-filter: blur(8px);
    color: hsl(var(--foreground));
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid hsl(var(--border) / 0.8);
    cursor: text;
    user-select: text;
    transition: all 0.2s ease;
    text-align: center;
    line-height: 1.4;
}

.pill--wide {
    min-width: 160px;
    width: auto;
    justify-content: center;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg,
            hsl(var(--primary) / 0.12),
            hsl(var(--accent) / 0.08));
    color: hsl(var(--foreground));
    border: 1px solid hsl(var(--primary) / 0.2);
    font-weight: 600;
    box-shadow: 0 2px 10px hsl(var(--primary) / 0.1);
}

/* ========== Metric and Stat Cards ========== */
.stat-chip {
    display: inline-flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.85rem 1.1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg,
            hsl(var(--muted) / 0.8),
            hsl(var(--card) / 0.9));
    border: 1px solid hsl(var(--border) / 0.8);
    box-shadow: 0 4px 20px hsl(var(--primary) / 0.05);
}

.metric-card {
    border-radius: 1rem;
    padding: 1rem;
    background: linear-gradient(145deg,
            hsl(var(--card)),
            hsl(var(--muted) / 0.3));
    border: 1px solid hsl(var(--border) / 0.8);
    box-shadow:
        0 10px 40px hsl(var(--primary) / 0.04),
        inset 0 1px 0 hsl(var(--card) / 0.8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 15px 50px hsl(var(--primary) / 0.08),
        inset 0 1px 0 hsl(var(--card) / 0.8);
}

/* ========== Page Hero ========== */
.page-hero {
    position: relative;
    border-radius: 2rem;
    padding: 3rem;
    overflow: hidden;
    background: linear-gradient(135deg,
            hsl(var(--card) / 0.95),
            hsl(var(--muted) / 0.8));
    border: 1px solid hsl(var(--border) / 0.7);
    box-shadow:
        0 25px 80px hsl(var(--primary) / 0.06),
        0 0 0 1px hsl(var(--primary) / 0.03);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 50%;
    height: 150%;
    background: radial-gradient(ellipse, hsl(var(--primary) / 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 1.5rem;
    border-radius: 1.5rem;
    border: 1px dashed hsl(var(--primary) / 0.15);
    pointer-events: none;
}

.hero-cover {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg,
            hsla(var(--background) / 0.78),
            hsla(var(--background) / 0.9)),
        url('images/homepage.jpeg');
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: hsl(var(--background));
    filter: blur(8px) saturate(1.15);
    transform: scale(1.02);
    opacity: 0.55;
    z-index: -15;
}

.hero-content {
    transition: background-color 250ms ease, box-shadow 250ms ease;
}

.hero-badge {
    background: linear-gradient(135deg,
            hsla(var(--background) / 0.95),
            hsla(var(--muted) / 0.9));
    border-color: hsl(var(--border) / 0.9);
    color: hsl(var(--foreground));
    box-shadow: 0 14px 38px hsla(var(--foreground) / 0.08), 0 0 0 1px hsla(var(--foreground) / 0.04);
}

.hero-cta-primary {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
    color: hsl(var(--primary-foreground));
    box-shadow: 0 15px 45px hsla(var(--primary) / 0.18), 0 8px 18px hsla(var(--foreground) / 0.08);
}

@media (max-width: 640px) {
    .hero-section .hero-cover {
        opacity: 0.16;
        filter: blur(12px) saturate(1.1);
    }

    .hero-content {
        background: linear-gradient(165deg,
                hsla(var(--background) / 0.95),
                hsla(var(--muted) / 0.92));
        border: 1px solid hsl(var(--border) / 0.9);
        border-radius: 1.25rem;
        padding: 1.5rem;
        box-shadow: 0 20px 70px hsla(var(--foreground) / 0.12);
        backdrop-filter: blur(10px);
    }

    .hero-badge {
        background: linear-gradient(135deg,
                hsla(var(--background) / 0.98),
                hsla(var(--muted) / 0.95));
        color: hsl(var(--foreground));
        border-color: hsl(var(--border));
    }

    .hero-cta-primary {
        box-shadow: 0 18px 55px hsla(var(--primary) / 0.22);
    }
}

/* ========== Media Frames (Slider + Feature pages) ========== */
/* Screenshot Carousel */
#screenshotCarousel {
    overflow: hidden;
}

#carouselTrack {
    display: flex;
}

#carouselTrack > .min-w-full {
    min-width: 100%;
    flex-shrink: 0;
}

/* Carousel image container - maintain 16:9 aspect ratio */
#screenshotCarousel .rounded-xl {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 250ms ease, border-color 200ms ease;
    will-change: transform;
    cursor: zoom-in;
}

#screenshotCarousel .rounded-xl img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: hsl(var(--muted) / 0.3);
    transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1), filter 200ms ease;
}

#screenshotCarousel .rounded-xl:hover,
#screenshotCarousel .rounded-xl:focus-within {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 25px 60px hsla(var(--primary) / 0.12);
    border-color: hsl(var(--primary) / 0.35);
}

#screenshotCarousel .rounded-xl:hover img,
#screenshotCarousel .rounded-xl:focus-within img {
    transform: scale(1.05);
    filter: drop-shadow(0 10px 35px hsla(var(--foreground) / 0.1));
}

@media (max-width: 640px) {
    #screenshotCarousel .rounded-xl {
        padding-bottom: 82%;
    }

    #screenshotCarousel .rounded-xl img {
        background: hsl(var(--muted) / 0.2);
    }

    #screenshotCarousel .p-4 {
        padding: 0.75rem;
    }
}

/* Feature page images */
#feature-image-section img#feature-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

@media (max-width: 640px) {
    #feature-image-section img#feature-image {
        max-height: 85vh;
    }
}

.contact-cover {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg,
            hsla(var(--background) / 0.78),
            hsla(var(--background) / 0.94)),
        url('images/contact.jpeg');
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: hsl(var(--background));
    filter: blur(14px) saturate(1.15);
    transform: scale(1.02);
    opacity: 0.5;
    z-index: -15;
}

.carousel-lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: hsla(0 0% 0% / 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
    z-index: 60;
    cursor: zoom-out;
}

.carousel-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-lightbox__frame {
    width: 100%;
    max-width: 96vw;
    background: hsl(var(--card));
    border-radius: 1.25rem;
    box-shadow: 0 35px 120px hsla(var(--foreground) / 0.3);
    border: 1px solid hsl(var(--border));
    overflow: hidden;
    transform: translateY(12px) scale(0.98);
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms ease;
    display: flex;
    flex-direction: column;
}

.carousel-lightbox.active .carousel-lightbox__frame {
    transform: translateY(0) scale(1);
    box-shadow: 0 25px 80px hsla(var(--foreground) / 0.25);
}

.carousel-lightbox__frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(90vh - 2rem);
    object-fit: contain;
}

.carousel-lightbox__description {
    padding: 1.1rem 1.25rem 1.35rem;
    background: hsl(var(--muted) / 0.4);
    border-top: 1px solid hsl(var(--border) / 0.8);
    display: grid;
    gap: 0.35rem;
}

.carousel-lightbox__title {
    font-size: 1rem;
    font-weight: 700;
    color: hsl(var(--foreground));
}

.carousel-lightbox__text {
    font-size: 0.95rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.5;
}

.carousel-lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card) / 0.9);
    color: hsl(var(--foreground));
    box-shadow: 0 14px 30px hsla(var(--foreground) / 0.15);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.carousel-lightbox__arrow:hover {
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 18px 40px hsla(var(--foreground) / 0.2);
    background: hsl(var(--card));
}

.carousel-lightbox__arrow--prev {
    left: clamp(1rem, 3vw, 2.5rem);
}

.carousel-lightbox__arrow--next {
    right: clamp(1rem, 3vw, 2.5rem);
}

/* ========== Section and Content Cards ========== */
.section-card {
    border-radius: 1.25rem;
    padding: 1.75rem;
    border: 1px solid hsl(var(--border) / 0.7);
    background: linear-gradient(145deg,
            hsl(var(--card)),
            hsl(var(--muted) / 0.2));
    box-shadow:
        0 15px 50px hsl(var(--primary) / 0.04),
        inset 0 1px 0 hsl(var(--card) / 0.8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-card:hover {
    border-color: hsl(var(--primary) / 0.3);
    box-shadow:
        0 20px 60px hsl(var(--primary) / 0.08),
        inset 0 1px 0 hsl(var(--card) / 0.8);
}

.content-layout {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .content-layout {
        grid-template-columns: minmax(260px, 320px) 1fr;
    }
}

.content-aside {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 110px;
}

.content-panel {
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid hsl(var(--border) / 0.7);
    background: linear-gradient(145deg,
            hsl(var(--card) / 0.98),
            hsl(var(--muted) / 0.5));
    box-shadow:
        0 25px 70px hsl(var(--primary) / 0.06),
        inset 0 1px 0 hsl(var(--card) / 0.9);
}

.content-panel .prose {
    color: hsl(var(--foreground));
}

.content-panel .prose p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.content-panel .prose h2,
.content-panel .prose h3 {
    color: hsl(var(--foreground));
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-panel .prose ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
    color: hsl(var(--muted-foreground));
    list-style: disc;
}

.content-panel .prose li {
    margin-bottom: 0.35rem;
}

.content-panel .prose strong {
    color: hsl(var(--foreground));
}

.content-panel .prose a {
    color: hsl(var(--primary));
    text-decoration: underline;
}

.callout {
    border-radius: 1.25rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid hsl(var(--primary) / 0.2);
    background: linear-gradient(135deg,
            hsl(var(--primary) / 0.06),
            hsl(var(--accent) / 0.04));
    color: hsl(var(--foreground));
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.muted-surface {
    background: linear-gradient(145deg,
            hsl(var(--muted) / 0.9),
            hsl(var(--card) / 0.8));
    border: 1px solid hsl(var(--border) / 0.7);
    border-radius: 1.25rem;
    padding: 1.25rem 1.5rem;
}

/* ========== Buttons ========== */
.soft-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 1rem;
    padding: 0.85rem 1.5rem;
    border: 1px solid hsl(var(--primary) / 0.25);
    background: linear-gradient(135deg,
            hsl(var(--primary) / 0.1),
            hsl(var(--accent) / 0.08));
    color: hsl(var(--primary));
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.soft-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px hsl(var(--primary) / 0.2);
    background: linear-gradient(135deg,
            hsl(var(--primary) / 0.15),
            hsl(var(--accent) / 0.12));
}

.btn-glow {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
    position: relative;
    overflow: hidden;
    transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms ease;
}

.btn-glow::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, hsla(0 0% 100% / 0.15), transparent 50%);
    opacity: 0;
    transition: opacity 200ms ease;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px -8px hsla(var(--primary) / 0.4),
        0 4px 6px -2px hsla(var(--primary) / 0.2);
}

.btn-glow:hover::before {
    opacity: 1;
}

.billing-toggle {
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.billing-toggle:hover {
    color: hsl(var(--foreground));
}

.billing-toggle.active {
    background: linear-gradient(135deg,
            hsl(var(--primary)),
            hsl(var(--accent)));
    color: hsl(var(--primary-foreground));
    box-shadow: 0 10px 30px hsl(var(--primary) / 0.3);
}

/* Primary button gradient */
.bg-primary:hover {
    background: linear-gradient(135deg,
            hsl(var(--primary) / 0.9),
            hsl(var(--accent) / 0.9));
}

/* ========== Focus & Accessibility ========== */
button:focus-visible,
a:focus-visible {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
}

/* ========== Custom Scrollbar ========== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: hsl(var(--muted) / 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: hsl(var(--primary) / 0.2);
    border-radius: 5px;
    border: 2px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--primary) / 0.35);
    background-clip: content-box;
}

/* Smooth horizontal scroll */
.overflow-x-auto {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.overflow-x-auto::-webkit-scrollbar {
    height: 8px;
}

.overflow-x-auto::-webkit-scrollbar-track {
    background: hsl(var(--muted));
    border-radius: 4px;
}

.overflow-x-auto::-webkit-scrollbar-thumb {
    background: hsl(var(--primary) / 0.3);
    border-radius: 4px;
}

.overflow-x-auto::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--primary) / 0.5);
}

/* Hide scrollbar on mobile but keep functionality */
@media (max-width: 768px) {
    .overflow-x-auto {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .overflow-x-auto::-webkit-scrollbar {
        display: none;
    }
}

/* ========== Responsive Adjustments ========== */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }
}

/* ========== Container ========== */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* ========== Background Patterns ========== */
.bg-grid-pattern {
    background-image:
        linear-gradient(to right, hsl(var(--primary) / 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, hsl(var(--primary) / 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
}

.pattern-dots {
    background-image: radial-gradient(hsla(var(--muted-foreground) / 0.1) 1px, transparent 1px);
    background-size: 16px 16px;
}

.pattern-grid {
    background-image:
        linear-gradient(hsla(var(--muted-foreground) / 0.03) 1px, transparent 1px),
        linear-gradient(90deg, hsla(var(--muted-foreground) / 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Glow effect */
.glow {
    box-shadow:
        0 0 20px hsl(var(--primary) / 0.3),
        0 0 40px hsl(var(--primary) / 0.2),
        0 0 60px hsl(var(--primary) / 0.1);
}

/* ========== Logo Protection ========== */
img[src*="logo.png"],
img[src*="logo"],
img[alt*="MojTIM"],
img[alt*="mojtim"],
img[alt*="MojTIM.ba"],
#nav-logo-img,
nav img[src*="logo"],
nav img[src*="logo.png"],
nav a img,
a[href*="index"] img,
a[href*="index.html"] img,
.flex.items-center img,
.flex.items-center a img {
    filter: none !important;
    -webkit-filter: none !important;
    -moz-filter: none !important;
    -ms-filter: none !important;
    drop-shadow: none !important;
    -webkit-drop-shadow: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -ms-box-shadow: none !important;
    opacity: 1 !important;
}

nav a[href*="index"],
nav a[href*="index.html"],
#nav-logo-link,
nav .flex.items-center a,
.flex.items-center a[href*="index"] {
    filter: none !important;
    box-shadow: none !important;
    -webkit-filter: none !important;
}

nav img,
nav a img {
    filter: none !important;
    box-shadow: none !important;
    -webkit-filter: none !important;
}

img[src*="logo"].shadow-sm,
img[src*="header"].shadow-sm,
img[src*="logo"].shadow,
img[src*="header"].shadow,
img[src*="logo"].shadow-md,
img[src*="header"].shadow-md,
img[src*="logo"].shadow-lg,
img[src*="header"].shadow-lg,
img[src*="logo"].shadow-xl,
img[src*="header"].shadow-xl,
#nav-logo-img.shadow-sm,
#nav-logo-img.shadow {
    box-shadow: none !important;
    filter: none !important;
}

/* ========== Dark Mode Component Variants ========== */
[data-theme="dark"] .glass-card,
.dark .glass-card {
    background: linear-gradient(135deg,
            hsl(var(--card) / 0.85),
            hsl(222 20% 12% / 0.9));
    box-shadow:
        0 25px 50px hsl(var(--primary) / 0.12),
        0 0 0 1px hsl(var(--primary) / 0.08),
        inset 0 1px 0 hsl(var(--border) / 0.3);
    border-color: hsl(var(--border) / 0.4);
}

[data-theme="dark"] .page-hero,
.dark .page-hero {
    background: linear-gradient(135deg,
            hsl(var(--card) / 0.95),
            hsl(222 20% 10% / 0.9));
    border-color: hsl(var(--border) / 0.4);
    box-shadow:
        0 25px 80px hsl(var(--primary) / 0.1),
        0 0 0 1px hsl(var(--primary) / 0.05);
}

[data-theme="dark"] .page-hero::before,
.dark .page-hero::before {
    background: radial-gradient(ellipse, hsl(var(--primary) / 0.15) 0%, transparent 70%);
}

[data-theme="dark"] .page-hero::after,
.dark .page-hero::after {
    border-color: hsl(var(--primary) / 0.2);
}

[data-theme="dark"] .stat-chip,
.dark .stat-chip {
    background: linear-gradient(135deg,
            hsl(var(--muted) / 0.7),
            hsl(var(--card) / 0.8));
    border-color: hsl(var(--border) / 0.5);
}

[data-theme="dark"] .metric-card,
.dark .metric-card {
    background: linear-gradient(145deg,
            hsl(var(--card)),
            hsl(222 20% 10% / 0.6));
    border-color: hsl(var(--border) / 0.5);
    box-shadow:
        0 10px 40px hsl(var(--primary) / 0.08),
        inset 0 1px 0 hsl(var(--border) / 0.2);
}

[data-theme="dark"] .section-card,
.dark .section-card {
    background: linear-gradient(145deg,
            hsl(var(--card)),
            hsl(222 20% 10% / 0.5));
    border-color: hsl(var(--border) / 0.5);
    box-shadow:
        0 15px 50px hsl(var(--primary) / 0.08),
        inset 0 1px 0 hsl(var(--border) / 0.2);
}

[data-theme="dark"] .pill,
.dark .pill {
    background: hsl(var(--muted) / 0.4);
    border-color: hsl(var(--border) / 0.6);
    color: hsl(var(--muted-foreground));
}

[data-theme="dark"] .badge-soft,
.dark .badge-soft {
    background: linear-gradient(135deg,
            hsl(var(--primary) / 0.18),
            hsl(var(--accent) / 0.12));
    border-color: hsl(var(--primary) / 0.25);
}

[data-theme="dark"] .content-panel,
.dark .content-panel {
    background: linear-gradient(145deg,
            hsl(var(--card) / 0.95),
            hsl(222 20% 10% / 0.8));
    border-color: hsl(var(--border) / 0.4);
    box-shadow:
        0 25px 70px hsl(var(--primary) / 0.1),
        inset 0 1px 0 hsl(var(--border) / 0.2);
}

[data-theme="dark"] .muted-surface,
.dark .muted-surface {
    background: linear-gradient(145deg,
            hsl(var(--muted) / 0.8),
            hsl(var(--card) / 0.7));
    border-color: hsl(var(--border) / 0.4);
}

[data-theme="dark"] .callout,
.dark .callout {
    border-color: hsl(var(--primary) / 0.25);
    background: linear-gradient(135deg,
            hsl(var(--primary) / 0.1),
            hsl(var(--accent) / 0.06));
}

[data-theme="dark"] .soft-button,
.dark .soft-button {
    background: linear-gradient(135deg,
            hsl(var(--primary) / 0.15),
            hsl(var(--accent) / 0.1));
    border-color: hsl(var(--primary) / 0.3);
    color: hsl(var(--primary));
}

/* ========== Navigation Enhancement ========== */
nav {
    background: linear-gradient(to bottom,
            hsl(var(--background) / 0.95),
            hsl(var(--background) / 0.9));
}

[data-theme="dark"] nav,
.dark nav {
    background: linear-gradient(to bottom,
            hsl(var(--background) / 0.95),
            hsl(var(--background) / 0.85));
}

/* Nav visibility states for hide on scroll */
nav.nav-visible {
    transform: translateY(0);
    opacity: 1;
}

nav.nav-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* ========== Input Focus Glow ========== */
input:focus,
select:focus {
    box-shadow:
        0 0 0 3px hsl(var(--primary) / 0.15),
        0 0 20px hsl(var(--primary) / 0.1);
}

/* ========== Footer Styling ========== */
footer {
    position: relative;
    overflow: hidden;
    border-top: 1px solid hsl(var(--border) / 0.3);
    background-color: hsl(var(--muted) / 0.3);
    margin-top: auto;
}

footer::before {
    content: "";
    position: absolute;
    inset: 12% 6% auto auto;
    height: 140px;
    width: 140px;
    background: radial-gradient(ellipse at center, hsl(var(--primary) / 0.08), transparent 60%);
    opacity: 0.45;
    pointer-events: none;
    filter: blur(20px);
}

footer h3 {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

footer li + li {
    margin-top: 0.6rem;
}

footer a {
    color: hsl(var(--muted-foreground));
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, transform 0.2s ease;
}

footer a:hover {
    color: hsl(var(--foreground));
    transform: translateX(1px);
}

footer p {
    margin: 0;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

footer [data-i18n="footer.rights"],
footer .footer-note {
    font-size: 0.75rem;
}

footer .space-y-2 p:last-child,
footer .space-y-1 p:last-child {
    font-size: 0.75rem;
}

footer .flex.gap-3 a,
footer .social-icon {
    display: flex;
    height: 2.25rem;
    width: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border) / 0.5);
    color: hsl(var(--muted-foreground));
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 18px hsla(var(--foreground) / 0.04);
}

footer .flex.gap-3 a svg,
footer .social-icon svg {
    width: 1rem;
    height: 1rem;
}

footer .flex.gap-3 a:hover,
footer .social-icon:hover {
    transform: translateY(-2px);
    border-color: hsl(var(--border));
    color: hsl(var(--foreground));
    box-shadow: 0 10px 25px hsl(var(--primary) / 0.1);
}

/* Dark mode footer */
[data-theme="dark"] footer,
.dark footer {
    background-color: hsl(var(--muted) / 0.2);
    border-top-color: hsl(var(--border) / 0.4);
}

/* ========== Feature Card Enhancements ========== */
.group.rounded-xl {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.group.rounded-xl:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 50px hsl(var(--primary) / 0.1),
        0 0 0 1px hsl(var(--primary) / 0.1);
}

.group:hover .w-12.h-12 {
    transform: scale(1.1) rotate(-3deg);
}

/* Testimonial card hover */
.flex-shrink-0.w-80 {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.flex-shrink-0.w-80:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 20px 50px hsl(var(--primary) / 0.1),
        0 0 0 1px hsl(var(--primary) / 0.08);
}

/* ========== Selection Color ========== */
::selection {
    background-color: hsla(var(--primary) / 0.2);
    color: hsl(var(--foreground));
}
.lightbox-close {
    display: grid;
    place-items: center;
    line-height: 1;
    padding: 0;
}

/* ========== Category Pills (Za koga je section) ========== */
.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg,
            hsl(var(--card) / 0.95),
            hsl(var(--muted) / 0.8));
    border: 1px solid hsl(var(--border) / 0.8);
    color: hsl(var(--foreground));
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px hsl(var(--primary) / 0.05);
}

.category-pill:hover,
.category-pill:focus {
    transform: translateY(-3px);
    border-color: hsl(var(--primary) / 0.5);
    background: linear-gradient(135deg,
            hsl(var(--primary) / 0.12),
            hsl(var(--card)));
    box-shadow: 0 12px 30px hsl(var(--primary) / 0.15);
}

.category-pill:active,
.category-pill.active {
    transform: translateY(-1px);
    border-color: hsl(var(--primary) / 0.7);
    background: linear-gradient(135deg,
            hsl(var(--primary) / 0.18),
            hsl(var(--card)));
}

[data-theme="dark"] .category-pill,
.dark .category-pill {
    background: linear-gradient(135deg,
            hsl(var(--card) / 0.9),
            hsl(var(--muted) / 0.6));
    border-color: hsl(var(--border) / 0.6);
}

[data-theme="dark"] .category-pill:hover,
.dark .category-pill:hover {
    background: linear-gradient(135deg,
            hsl(var(--primary) / 0.18),
            hsl(var(--card)));
    border-color: hsl(var(--primary) / 0.5);
}
