@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animated-bg {
    background: linear-gradient(-45deg, #f9f9f9, #e0f2f1, #d5e3ff, #f9f9f9);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
}

.glass-surface, .glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(0, 51, 102, 0.05);
}

.glass-card-newsletter {
    background: rgba(0, 30, 64, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 30, 64, 0.12);
}

.btn-gradient, .badge-gradient {
    background: linear-gradient(135deg, #001e40 0%, #003366 100%);
    color: white;
}

.btn-secondary-gradient {
    background: linear-gradient(135deg, #0059bb 0%, #0070ea 100%);
    color: white;
}

.animate-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Single Post Specific Styles */
.prose {
    max-width: 75ch;
    margin-left: auto;
    margin-right: auto;
}

.prose h1, .prose h2, .prose h3 {
    font-family: 'Montserrat', sans-serif;
    color: #001e40;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 0.75em;
    line-height: 1.3;
}

.prose p {
    margin-bottom: 1.5em;
    line-height: 1.8;
    color: #43474f;
}

.prose strong {
    color: #001e40;
}

.prose img {
    border-radius: 1rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

.prose blockquote {
    border-left: 4px solid #0059bb;
    padding-left: 1.5rem;
    font-style: italic;
    color: #001e40;
    margin: 2rem 0;
}
