/* Custom animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes subtleBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(161, 44, 47, 0.3); }
    50% { box-shadow: 0 0 50px rgba(161, 44, 47, 0.5); }
}

/* Custom component styles */
.gradient-professional {
    background: linear-gradient(135deg, #A12C2F 0%, #1a1a1a 50%, #333333 100%);
}

.gradient-subtle {
    background: linear-gradient(135deg, rgba(161, 44, 47, 0.05) 0%, rgba(55, 65, 81, 0.05) 100%);
}

.glass-professional {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.card-enterprise {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.card-enterprise:hover {
    transform: translateY(-12px);
    border-color: rgba(161, 44, 47, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.text-professional {
    background: linear-gradient(135deg, #A12C2F 0%, #E4A853 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.icon-wrapper {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid rgba(161, 44, 47, 0.1);
}

.stats-card {
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(161, 44, 47, 0.1);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #E4A853, transparent);
    transition: left 0.5s ease;
}

.stats-card:hover::before {
    left: 100%;
}

.enterprise-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(161, 44, 47, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(228, 168, 83, 0.03) 0%, transparent 50%);
}

/* Blog post specific styles */
.blog-post {
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.blog-post .container {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .blog-post .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .blog-post .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.blog-post-header {
    margin-bottom: 3rem;
}

.blog-breadcrumb {
    font-size: 0.875rem;
    color: #4B5563;
    margin-bottom: 1.5rem;
}

.blog-breadcrumb a {
    color: #A12C2F;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.blog-breadcrumb a:hover {
    color: rgba(161, 44, 47, 0.8);
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 1.5rem;
}

.meta-separator {
    color: #9CA3AF;
}

.blog-post-title {
    font-size: 2.25rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .blog-post-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .blog-post-title {
        font-size: 3.75rem;
    }
}

.blog-post-summary {
    font-size: 1.25rem;
    color: #4B5563;
    line-height: 1.6;
}

.blog-post-content {
    margin-bottom: 4rem;
}

/* Prose styles for markdown content */
.prose {
    max-width: none;
    color: #374151;
}

.prose h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
}

.prose h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.prose h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.prose p {
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.125rem;
}

.prose ul {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
    list-style-type: disc;
}

.prose ul li {
    margin-bottom: 0.5rem;
}

.prose ol {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
    list-style-type: decimal;
}

.prose ol li {
    margin-bottom: 0.5rem;
}

.prose li {
    color: #374151;
    line-height: 1.6;
    font-size: 1.125rem;
}

.prose blockquote {
    border-left: 4px solid rgba(161, 44, 47, 0.3);
    padding-left: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-style: italic;
    color: #374151;
    margin-top: 2rem;
    margin-bottom: 2rem;
    background-color: #F9FAFB;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.prose code {
    background-color: #F3F4F6;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    color: #A12C2F;
}

.prose pre {
    background-color: #111827;
    color: #F3F4F6;
    padding: 1.5rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
}

.prose pre code {
    background-color: transparent;
    padding: 0;
    color: #F3F4F6;
}

.prose a {
    color: #A12C2F;
    text-decoration: underline;
    transition: color 0.15s ease-in-out;
}

.prose a:hover {
    color: rgba(161, 44, 47, 0.8);
}

.prose strong {
    font-weight: 600;
    color: #111827;
}

.prose em {
    font-style: italic;
}

.prose img {
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
    margin-top: 2rem;
    margin-bottom: 2rem;
    width: 100%;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.prose th {
    background-color: #F3F4F6;
    border: 1px solid #D1D5DB;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: left;
    font-weight: 600;
    color: #111827;
}

.prose td {
    border: 1px solid #D1D5DB;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    color: #374151;
}

.prose hr {
    margin-top: 3rem;
    margin-bottom: 3rem;
    border-color: #E5E7EB;
}

/* Blog post footer */
.blog-post-footer {
    border-top: 1px solid #E5E7EB;
    padding-top: 2rem;
}

.post-navigation {
    margin-bottom: 2rem;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    color: #A12C2F;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.back-to-blog:hover {
    color: rgba(161, 44, 47, 0.8);
}

.share-section {
    background-color: #F9FAFB;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.share-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.share-btn {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    border: none;
    cursor: pointer;
}

.share-btn.twitter {
    background-color: #A12C2F;
    color: white;
}

.share-btn.twitter:hover {
    background-color: #8B2325;
}

.share-btn.linkedin {
    background-color: #E4A853;
    color: white;
}

.share-btn.linkedin:hover {
    background-color: #D39743;
}

.share-btn.copy {
    background-color: #E5E7EB;
    color: #374151;
}

.share-btn.copy:hover {
    background-color: #D1D5DB;
}

.opacity-0 { 
    opacity: 0; 
}

.animate-in { 
    animation: slideUp 0.8s ease-out forwards; 
}