/* Custom Styles for BioBalance Care */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: hsl(215, 25%, 27%);
    background: white;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Classes */
.analyst-note {
    border-left: 4px solid hsl(210, 60%, 50%);
    background: hsl(204, 45%, 96%);
    padding: 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.habit-plan-get-btn {
    background: hsl(210, 100%, 40%);
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.habit-plan-get-btn:hover {
    background: hsl(210, 100%, 35%);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.habit-plan-get-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.myth-fact-card {
    background: white;
    border: 1px solid hsl(204, 20%, 88%);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s;
}

.myth-fact-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid hsl(204, 20%, 88%);
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: hsl(210, 100%, 40%);
    box-shadow: 0 0 0 3px hsla(210, 100%, 40%, 0.1);
}

input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    border-radius: 0.25rem;
    border: 1px solid hsl(204, 20%, 88%);
    cursor: pointer;
}

label {
    cursor: pointer;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .habit-plan-get-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Loading state */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Color variables */
:root {
    --color-denim: hsl(210, 100%, 40%);
    --color-sky: hsl(199, 89%, 48%);
    --color-breathable: hsl(204, 30%, 95%);
    --color-foreground: hsl(215, 25%, 27%);
    --color-muted-foreground: hsl(215, 15%, 50%);
}
