/* Custom Design System for Policy Care Solutions */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
    --brand-blue: #0284c7;
    --brand-navy: #0f172a;
    --brand-teal: #0d9488;
    --brand-star-gold: #f59e0b;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(226, 232, 240, 0.8);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism Card Style */
.glass-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
}

.glass-card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(2, 132, 199, 0.15), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
    border-color: rgba(14, 165, 233, 0.4);
}

/* Star Health Gradient & Glow */
.hero-gradient {
    background: radial-gradient(100% 100% at 50% 0%, #0369a1 0%, #0f172a 100%);
}

.star-gold-gradient {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.accent-glow {
    position: relative;
}

.accent-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #0284c7, #0d9488, #f59e0b);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accent-glow:hover::before {
    opacity: 0.8;
}

/* Custom Floating Sticky Bar for Mobile */
.sticky-bottom-bar {
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Age Highlight Badge */
.age-badge {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0369a1;
    animation: fadeInScale 0.3s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Instagram Post Grid Card Styling */
.insta-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insta-card:hover {
    transform: scale(1.02);
}

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

/* Active Form Radio Pills */
.radio-pill {
    transition: all 0.2s ease;
}
.radio-pill-active {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* Floating Pulsing WhatsApp Button */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.pulse-whatsapp {
    animation: pulseGlow 2s infinite;
}
