/* Global Styles & Variables from index.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --background: 80 25% 97%;
    --foreground: 150 30% 15%;

    --card: 0 0% 100%;
    --card-foreground: 150 30% 15%;

    --popover: 0 0% 100%;
    --popover-foreground: 150 30% 15%;

    --primary: 142 52% 36%;
    --primary-foreground: 0 0% 100%;

    --secondary: 80 30% 92%;
    --secondary-foreground: 150 30% 20%;

    --muted: 80 20% 94%;
    --muted-foreground: 150 10% 45%;

    --accent: 43 96% 56%;
    --accent-foreground: 30 40% 15%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 100%;

    --border: 140 20% 88%;
    --input: 140 20% 88%;
    --ring: 142 52% 36%;

    --radius: 0.75rem;

    /* Extended palette */
    --forest-deep: 148 50% 22%;
    --forest-dark: 145 48% 28%;
    --forest-medium: 142 45% 38%;
    --forest-light: 138 40% 55%;
    --forest-pale: 135 35% 75%;
    
    --earth-dark: 30 35% 25%;
    --earth-medium: 28 30% 40%;
    --earth-light: 32 25% 65%;
    
    --golden: 43 96% 56%;
    --golden-dark: 38 80% 45%;
    --golden-light: 45 90% 70%;
    
    --cream: 45 30% 96%;
    --cream-dark: 40 20% 90%;

    /* Gradients */
    --gradient-hero: linear-gradient(180deg, hsl(80 25% 97%) 0%, hsl(135 35% 92%) 100%);
    --gradient-forest: linear-gradient(135deg, hsl(148 50% 22%) 0%, hsl(142 45% 38%) 100%);
    --gradient-golden: linear-gradient(135deg, hsl(43 96% 56%) 0%, hsl(38 80% 45%) 100%);
    --gradient-card: linear-gradient(180deg, hsl(0 0% 100%) 0%, hsl(80 30% 98%) 100%);
    --gradient-badge-section: linear-gradient(180deg, hsl(140 25% 95%) 0%, hsl(135 30% 90%) 100%);
    
    /* Shadows */
    --shadow-soft: 0 4px 20px -4px hsl(142 52% 36% / 0.15);
    --shadow-card: 0 8px 30px -8px hsl(142 52% 36% / 0.12);
    --shadow-elevated: 0 20px 50px -12px hsl(142 52% 36% / 0.2);
    --shadow-golden: 0 8px 30px -8px hsl(43 96% 56% / 0.35);

    --sidebar-background: 0 0% 98%;
    --sidebar-foreground: 240 5.3% 26.1%;
    --sidebar-primary: 240 5.9% 10%;
    --sidebar-primary-foreground: 0 0% 98%;
    --sidebar-accent: 240 4.8% 95.9%;
    --sidebar-accent-foreground: 240 5.9% 10%;
    --sidebar-border: 220 13% 91%;
    --sidebar-ring: 217.2 91.2% 59.8%;
}

.dark {
    --background: 150 30% 8%;
    --foreground: 80 20% 95%;

    /* ... omitted other dark mode vars for brevity, assuming light mode default for now as per localhost */
    /* If dark mode is essential, I'd need to copy all values */
}


body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
}


/* Custom Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px hsl(142 52% 36% / 0.3); }
    50% { box-shadow: 0 0 40px hsl(142 52% 36% / 0.5); }
}

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

@keyframes grow {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Utility classes for animations */
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-slow { animation: float-slow 6s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
.animate-grow { animation: grow 0.6s ease-out forwards; }
.animate-shimmer {
    background: linear-gradient(90deg, transparent 0%, hsl(43 96% 56% / 0.3) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

/* Stagger utilities */
.animation-delay-100 { animation-delay: 100ms; }
.animation-delay-200 { animation-delay: 200ms; }
.animation-delay-300 { animation-delay: 300ms; }
.animation-delay-400 { animation-delay: 400ms; }
.animation-delay-500 { animation-delay: 500ms; }

/* Custom utility classes mimicking CSS variables usage */
.bg-gradient-hero { background: var(--gradient-hero); }
.bg-gradient-forest { background: var(--gradient-forest); }
.bg-gradient-golden { background: var(--gradient-golden); }
.bg-gradient-card { background: var(--gradient-card); }
.bg-gradient-badge-section { background: var(--gradient-badge-section); }

.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-card { box-shadow: var(--shadow-card); }
.shadow-elevated { box-shadow: var(--shadow-elevated); }
.shadow-golden { box-shadow: var(--shadow-golden); }

.glass {
    backdrop-filter: blur(24px);
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Tooltip styles */
.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-text {
    visibility: hidden;
    width: 250px;
    background-color: hsl(var(--card));
    color: hsl(var(--card-foreground));
    text-align: center;
    border-radius: 0.5rem;
    padding: 0.75rem;
    position: absolute;
    z-index: 50;
    bottom: 125%; /* Position above */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: var(--shadow-elevated);
    border: 1px solid hsl(var(--border));
    font-size: 0.875rem;
    line-height: 1.5;
    pointer-events: none;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: hsl(var(--card)) transparent transparent transparent;
}
