/* NovaDrop Custom Styles & Animations */
:root {
    --primary: #00448c;
    --primary-container: #0b5bb5;
    --secondary: #006399;
    --secondary-container: #42b0ff;
    --tertiary: #4CAF2E;
    --surface: #faf9ff;
    --deep-navy: #001944;
}

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

body {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
    background-color: #faf9ff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #00448c;
}

/* Water Ripple Pulse Animation */
@keyframes waterPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(11, 91, 181, 0.4);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(11, 91, 181, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(11, 91, 181, 0);
    }
}

.water-pulse {
    animation: waterPulse 2.5s infinite;
}

/* Floating animation for hero bottles and badges */
@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

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

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 238, 248, 0.8);
}

.glass-panel-dark {
    background: rgba(10, 42, 94, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Slider Styling */
input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: #e2e8f0;
    border-radius: 9999px;
}
input[type=range]::-webkit-slider-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #00448c;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    margin-top: -8px;
    box-shadow: 0 2px 8px rgba(0, 68, 140, 0.4);
    transition: transform 0.15s ease;
}
input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Active Nav Links */
.nav-link.active {
    color: #00448c !important;
    font-weight: 700 !important;
    background-color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

/* Notification Toast */
#toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 320px;
    max-width: 440px;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 25, 68, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.3s ease;
}

.toast-success {
    background: #ffffff;
    color: #001944;
    border-left: 5px solid #4CAF2E;
}

.toast-error {
    background: #ffffff;
    color: #ba1a1a;
    border-left: 5px solid #ba1a1a;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Modal styling */
.modal-backdrop {
    background: rgba(0, 25, 68, 0.6);
    backdrop-filter: blur(8px);
}

/* ==========================================================================
   STITCH DESIGN SYSTEM TOKENS & UTILITIES (GUARANTEED FALLBACK LAYER)
   ========================================================================== */

/* Font Families */
.font-display-lg,
.font-display-lg-mobile,
.font-headline-xl,
.font-headline-xl-mobile,
.font-headline-lg,
.font-headline-md,
.font-headline-sm,
.font-label-lg,
.font-label-md,
.font-label-sm,
.font-headline {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.font-body-xl,
.font-body-lg,
.font-body-md,
.font-body {
    font-family: 'Inter', sans-serif !important;
}

/* Font Sizes, Line Heights, Letter Spacing & Weights */
.text-display-lg {
    font-size: 56px !important;
    line-height: 64px !important;
    letter-spacing: -0.03em !important;
    font-weight: 800 !important;
}

.text-display-lg-mobile {
    font-size: 38px !important;
    line-height: 44px !important;
    letter-spacing: -0.02em !important;
    font-weight: 800 !important;
}

.text-headline-xl {
    font-size: 40px !important;
    line-height: 48px !important;
    letter-spacing: -0.025em !important;
    font-weight: 700 !important;
}

.text-headline-xl-mobile {
    font-size: 28px !important;
    line-height: 36px !important;
    letter-spacing: -0.015em !important;
    font-weight: 700 !important;
}

.text-headline-lg {
    font-size: 32px !important;
    line-height: 40px !important;
    letter-spacing: -0.02em !important;
    font-weight: 700 !important;
}

.text-headline-md {
    font-size: 24px !important;
    line-height: 32px !important;
    letter-spacing: -0.01em !important;
    font-weight: 600 !important;
}

.text-headline-sm {
    font-size: 20px !important;
    line-height: 28px !important;
    font-weight: 600 !important;
}

.text-body-xl {
    font-size: 18px !important;
    line-height: 28px !important;
    font-weight: 400 !important;
}

.text-body-lg {
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 400 !important;
}

.text-body-md {
    font-size: 14px !important;
    line-height: 20px !important;
    font-weight: 400 !important;
}

.text-label-lg {
    font-size: 14px !important;
    line-height: 20px !important;
    letter-spacing: 0.01em !important;
    font-weight: 600 !important;
}

.text-label-md {
    font-size: 12px !important;
    line-height: 16px !important;
    letter-spacing: 0.02em !important;
    font-weight: 600 !important;
}

.text-label-sm {
    font-size: 11px !important;
    line-height: 14px !important;
    letter-spacing: 0.04em !important;
    font-weight: 700 !important;
}

/* Responsive Typography Overrides */
@media (max-width: 1023px) {
    .text-headline-xl {
        font-size: 30px !important;
        line-height: 38px !important;
    }
}

@media (min-width: 1024px) {
    .lg\:text-display-lg {
        font-size: 56px !important;
        line-height: 64px !important;
        letter-spacing: -0.03em !important;
        font-weight: 800 !important;
    }
    .lg\:text-headline-xl {
        font-size: 40px !important;
        line-height: 48px !important;
        letter-spacing: -0.025em !important;
        font-weight: 700 !important;
    }
    .lg\:text-headline-lg {
        font-size: 32px !important;
        line-height: 40px !important;
        letter-spacing: -0.02em !important;
        font-weight: 700 !important;
    }
    .lg\:text-headline-md {
        font-size: 24px !important;
        line-height: 32px !important;
        letter-spacing: -0.01em !important;
        font-weight: 600 !important;
    }
    .lg\:text-body-xl {
        font-size: 18px !important;
        line-height: 28px !important;
        font-weight: 400 !important;
    }
    .lg\:px-margin {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
    .lg\:py-24 {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }
    .lg\:pb-32 {
        padding-bottom: 8rem !important;
    }
}

/* Spacings */
.px-gutter-mobile { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-margin { padding-left: 3rem !important; padding-right: 3rem !important; }
.py-space-xl { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.py-space-lg { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-space-md { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-space-sm { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }

.p-space-xl { padding: 2.5rem !important; }
.p-space-lg { padding: 1.5rem !important; }
.p-space-md { padding: 1rem !important; }
.p-space-sm { padding: 0.5rem !important; }
.p-space-xs { padding: 0.25rem !important; }

.gap-space-xl { gap: 2.5rem !important; }
.gap-space-lg { gap: 1.5rem !important; }
.gap-space-md { gap: 1rem !important; }
.gap-space-sm { gap: 0.5rem !important; }
.gap-space-xs { gap: 0.25rem !important; }
.gap-gutter { gap: 1.5rem !important; }

.mb-space-xl { margin-bottom: 2.5rem !important; }
.mb-space-lg { margin-bottom: 1.5rem !important; }
.mb-space-md { margin-bottom: 1rem !important; }
.mb-space-sm { margin-bottom: 0.5rem !important; }
.mb-space-xs { margin-bottom: 0.25rem !important; }

.mt-space-xl { margin-top: 2.5rem !important; }
.mt-space-lg { margin-top: 1.5rem !important; }
.mt-space-md { margin-top: 1rem !important; }
.mt-space-sm { margin-top: 0.5rem !important; }
.mt-space-xs { margin-top: 0.25rem !important; }

.pt-space-xl { padding-top: 2.5rem !important; }
.pt-space-lg { padding-top: 1.5rem !important; }
.pt-space-md { padding-top: 1rem !important; }
.pt-space-sm { padding-top: 0.5rem !important; }
.pt-space-xs { padding-top: 0.25rem !important; }

.pb-space-xl { padding-bottom: 2.5rem !important; }
.pb-space-lg { padding-bottom: 1.5rem !important; }
.pb-space-md { padding-bottom: 1rem !important; }
.pb-space-sm { padding-bottom: 0.5rem !important; }
.pb-space-xs { padding-bottom: 0.25rem !important; }

/* Colors */
.text-primary { color: #00448c !important; }
.text-primary-container { color: #0b5bb5 !important; }
.text-on-primary { color: #ffffff !important; }
.text-on-primary-container { color: #c4d7ff !important; }
.text-secondary { color: #006399 !important; }
.text-secondary-container { color: #42b0ff !important; }
.text-on-secondary { color: #ffffff !important; }
.text-on-secondary-fixed { color: #001d32 !important; }
.text-tertiary { color: #125100 !important; }
.text-on-surface { color: #001944 !important; }
.text-on-surface-variant { color: #424752 !important; }
.text-on-background { color: #001944 !important; }
.text-surface-container-lowest { color: #ffffff !important; }
.text-surface-container-high { color: #e1e8ff !important; }
.text-outline { color: #727783 !important; }
.text-outline-variant { color: #c2c6d4 !important; }

.bg-primary { background-color: #00448c !important; }
.bg-primary-container { background-color: #0b5bb5 !important; }
.bg-secondary { background-color: #006399 !important; }
.bg-secondary-container { background-color: #42b0ff !important; }
.bg-secondary-fixed { background-color: #cde5ff !important; }
.bg-tertiary { background-color: #125100 !important; }
.bg-tertiary-fixed { background-color: #93fb70 !important; }
.bg-surface-container-lowest { background-color: #ffffff !important; }
.bg-surface-container-low { background-color: #f1f3ff !important; }
.bg-surface-container { background-color: #e9edff !important; }
.bg-surface-container-high { background-color: #e1e8ff !important; }
.bg-surface-container-highest { background-color: #d9e2ff !important; }
.bg-background { background-color: #faf9ff !important; }
.bg-on-background { background-color: #001944 !important; }
.bg-primary-fixed { background-color: #d7e3ff !important; }

