/* 
   Wellness Center - Premium Design System 
   Theme: Modern Health & Technology
   Author: Antigravity/Gemini
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette - HSL */
    --primary-hue: 175;
    /* Teal/Turquoise */
    --primary-sat: 65%;
    --primary-light: 45%;

    --secondary-hue: 220;
    /* Deep Blue */

    --color-primary: hsl(var(--primary-hue), var(--primary-sat), var(--primary-light));
    --color-primary-dark: hsl(var(--primary-hue), var(--primary-sat), 35%);
    --color-primary-light: hsl(var(--primary-hue), var(--primary-sat), 90%);

    --color-accent: hsl(35, 95%, 60%);
    /* Gold/Amber for actions */

    --color-bg-base: hsl(210, 20%, 98%);
    --color-bg-surface: hsl(0, 0%, 100%);
    --color-text-main: hsl(220, 30%, 15%);
    /* Darker for better contrast */
    --color-text-muted: hsl(220, 20%, 40%);
    /* Darkened from 50% */

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(175, 65%, 45%) 0%, hsl(220, 40%, 40%) 100%);
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));

    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --glass-blur: blur(12px);

    /* Spacing & Radius - Serious/Square Look */
    /* Spacing & Radius - Serious/Square Look */
    --radius-sm: 0.125rem;
    --radius-md: 0.25rem;
    --radius-lg: 4px;
    /* Sharp 4px */
    --radius-full: 4px;
    /* Square buttons */
    /* Buttons are now squarish */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

/* Components */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(0, 150, 136, 0.39);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    /* transform: translateY(-2px); REMOVED per user request */
    box-shadow: 0 4px 12px rgba(0, 150, 136, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary-light);
    /* transform: translateY(-2px); REMOVED per user request */
}

/* Glass Cards */
/* Glass Cards */
.glass-card {
    background: white;
    /* Solid white for readability */
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

/* Primary Color Card (High Contrast) */
.card-primary {
    background: #0f172a !important;
    /* Dark Slate background */
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-primary h3,
.card-primary .stat-value,
.card-primary .stat-label {
    color: white !important;
    opacity: 1 !important;
}

.glass-card:hover {
    /* No float, just subtle shadow */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 255, 255, 1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: background 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    font-size: 1.05rem;
}

.nav-link:hover {
    color: var(--color-primary);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 0 4px var(--color-primary-light);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Utilities */
.text-gradient {
    background: var(--gradient-hero);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --- Mobile Responsive --- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-main);
    cursor: pointer;
}

@media (max-width: 768px) {

    /* Navbar */
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        text-align: center;
        animation: slideUp 0.3s ease forwards;
    }

    .nav-links.mobile-active {
        display: flex;
    }

    /* Hero */
    .hero {
        min-height: 80vh;
        /* Reduce height slightly */
    }

    .hero-content {
        padding: 6rem 1.5rem 2rem 1.5rem;
        /* More top padding for header overlap */
    }

    h1 {
        font-size: 2.5rem;
        /* Cap hero title size */
    }

    /* Stack Grids */
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1.5rem;
    }

    .chat-header {
        padding: 1rem;
    }
}

/* Footer Links */
.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    transition: all 0.2s;
    text-decoration: none;
}

.footer-link:hover {
    color: white;
    padding-left: 4px;
    /* Subtle movement */
}