/* Common CSS for Kredo Labs Project
 * This file contains shared styles used across multiple HTML files
 * to reduce duplication and improve maintainability
 */

/* CSS Custom Properties (Variables) */
:root {
    /* Colors */
    --color-navy: #1e3a5f;
    --color-green: #2d5f3f;
    --color-yellow: #fbbf24;
    --color-yellow-300: #fde047;
    --color-yellow-400: #facc15;
    --color-yellow-500: #eab308;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    --color-white: #ffffff;
    --color-emerald-400: #34d399;
    --color-emerald-600: #059669;
    --color-teal-400: #2dd4bf;
    --color-teal-600: #0d9488;
    --color-green-500: #22c55e;
    --color-green-600: #16a34a;
    
    /* Spacing */
    --spacing-unit: 1rem;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-2xl: 1.5rem;
    --border-radius-3xl: 2rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index layers */
    --z-base: 1;
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Skip to main content link for accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1em;
    background: #000;
    color: #fff;
    text-decoration: none;
}

.skip-link:focus {
    left: 0;
    top: 0;
}

/* Screen reader only - hide visually but keep accessible */
/* Enhanced Focus Indicators for Accessibility (WCAG 2.1 AA) */
*:focus-visible {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
}

/* Skip Link Styles */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #3b82f6;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #d47aff);
    background-size: 200% 100%;
    z-index: 9999;
    transform-origin: left;
    transition: transform 0.1s ease-out;
    animation: progress-shimmer 2s linear infinite;
}

@keyframes progress-shimmer {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

/* Basic Navigation Styles (can be extended per file) */
.main-nav {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0;
    position: relative;
    z-index: 1000;
    overflow-x: visible;
    overflow-y: hidden;
    box-sizing: border-box;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Common transitions */
* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button:active, a:active {
    transform: scale(0.98);
}

/* Chat container height for demo pages */
.chat-container-height {
    height: 700px;
}

/* Body font family */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Improved text readability */
p {
    line-height: 1.75;
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* Better spacing for long text blocks */
.text-long {
    line-height: 1.8;
}

.text-long p {
    margin-bottom: 1.25rem;
}

/* Color utilities - using CSS variables */
.text-navy {
    color: var(--color-navy);
}

.text-green {
    color: var(--color-green);
}

.bg-navy {
    background-color: var(--color-navy);
}

.bg-green {
    background-color: var(--color-green);
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

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

.card-hover > * {
    position: relative;
    z-index: 1;
}

/* Scroll progress bar width */
.scroll-progress {
    width: 0%;
}

/* Gradient text for headings */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section divider - optimized spacing */
.section-divider {
    position: relative;
    margin: 0;
}

@media (min-width: 768px) {
    .section-divider {
        margin: 4px 0;
    }
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
    animation: expandLine 1.5s ease-out forwards;
}

@keyframes expandLine {
    to {
        width: 80%;
    }
}

/* Fade-on-scroll animations */
.fade-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .fade-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Enhanced Navigation */
nav.bg-white\/95 {
    transition: all 0.3s ease;
}

nav.bg-white\/95.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom-color: rgba(102, 126, 234, 0.2);
}

/* Enhanced Logo Hover */
nav a.flex.items-center.gap-3 {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

nav a.flex.items-center.gap-3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

nav a.flex.items-center.gap-3:hover::after {
    width: 100%;
}

nav a.flex.items-center.gap-3:hover {
    transform: translateX(2px) scale(1.02);
}

nav a.flex.items-center.gap-3:hover img {
    transform: rotate(5deg) scale(1.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Nav Links */
nav a.text-gray-700 {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 4px 0;
}

nav a.text-gray-700::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

nav a.text-gray-700:hover::after {
    width: 100%;
}

nav a.text-gray-700:hover {
    transform: translateY(-2px) scale(1.05);
}

/* Enhanced Contact Button */
nav a.bg-navy {
    position: relative;
    overflow: hidden;
}

nav a.bg-navy::after {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
    background: linear-gradient(89.99deg, #1997aa, #d47aff);
    position: absolute;
    right: 0;
    top: 0;
    transition: all 0.3s ease-in-out;
    z-index: 0;
}

nav a.bg-navy:hover::after {
    width: 2.5rem;
    height: 2.5rem;
    aspect-ratio: 1;
}

nav a.bg-navy span {
    position: relative;
    z-index: 1;
}

nav a.bg-navy:hover {
    transform: scale(1.05);
}

nav a.bg-navy:active {
    transform: scale(0.95);
}

/* Mobile Menu Styles */
#mobile-menu-button svg:first-child {
    display: block;
}

#mobile-menu-button svg:last-child {
    display: none;
}

#mobile-menu-button[aria-expanded="true"] svg:first-child {
    display: none;
}

#mobile-menu-button[aria-expanded="true"] svg:last-child {
    display: block;
}

#mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

#mobile-menu.show {
    transform: translateX(0);
}

#mobile-menu[aria-hidden="false"] {
    transform: translateX(0);
}

#mobile-menu[aria-hidden="true"] {
    transform: translateX(100%);
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Mobile menu animations with reduced motion support */
@media (prefers-reduced-motion: reduce) {
    #mobile-menu-overlay,
    #mobile-menu {
        transition: none;
    }
}

/* Focus styles for mobile menu buttons */
#mobile-menu-button:focus-visible,
#mobile-menu-close:focus-visible {
    outline: 2px solid #1e3a5f;
    outline-offset: 2px;
}

/* Mobile menu link focus styles */
#mobile-menu a:focus-visible {
    outline: 2px solid #1e3a5f;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Enhanced Focus Indicators for Accessibility */
/* Focus styles for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--color-navy);
    outline-offset: 2px;
    border-radius: var(--border-radius-md);
}

/* Focus styles for navigation links */
nav a:focus-visible {
    outline: 2px solid var(--color-navy);
    outline-offset: 2px;
}

/* Focus styles for buttons */
button:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--color-navy);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.2);
}

/* Focus styles for form inputs */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-navy);
    outline-offset: 2px;
    border-color: var(--color-navy);
}

/* Focus styles for language switcher buttons */
.language-switcher button:focus-visible {
    outline: 2px solid var(--color-navy);
    outline-offset: 2px;
}

/* Skip link focus */
.skip-link:focus {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    padding: 1em;
    background: var(--color-navy);
    color: var(--color-white);
    text-decoration: none;
    outline: 3px solid var(--color-white);
    outline-offset: 2px;
}

/* Card standard - for process steps */
.card-standard {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-standard:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Primary button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Secondary button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: white;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Subtle pulse animations */
@keyframes subtle-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

.animate-subtle-pulse {
    animation: subtle-pulse 3s ease-in-out infinite;
}

.animate-subtle-pulse-delay-1 {
    animation: subtle-pulse 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.animate-subtle-pulse-delay-2 {
    animation: subtle-pulse 3s ease-in-out infinite;
    animation-delay: 1s;
}

@media (prefers-reduced-motion: reduce) {
    .animate-subtle-pulse,
    .animate-subtle-pulse-delay-1,
    .animate-subtle-pulse-delay-2 {
        animation: none;
    }
}

/* Card hover lift effect */
.card-hover-lift {
    transition: all 0.3s ease;
}

.card-hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

/* Ringing animation for phone icon */
@keyframes ringing {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: rotate(-10deg);
    }
    20%, 40%, 60%, 80% {
        transform: rotate(10deg);
    }
}

.animate-ringing {
    animation: ringing 2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .animate-ringing {
        animation: none;
    }
}

/* ============================================
   BLOG ARTICLE STYLES
   ============================================ */

/* Article prose styles */
.article-prose {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #374151;
}

.article-prose h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
    line-height: 1.3;
}

.article-prose h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
    line-height: 1.4;
}

.article-prose h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #374151;
}

.article-prose p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.article-prose ul,
.article-prose ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-prose li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.article-prose a {
    color: var(--color-navy);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.article-prose a:hover {
    color: var(--color-green);
}

.article-prose strong {
    font-weight: 600;
    color: #1f2937;
}

.article-prose blockquote {
    border-left: 4px solid var(--color-navy);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6b7280;
}

.article-prose code {
    background: #f3f4f6;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

.article-prose pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-prose pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.article-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

/* Article header */
.article-header {
    background: linear-gradient(135deg, var(--color-navy) 0%, rgba(30, 58, 95, 0.9) 100%);
    color: white;
    padding: 2rem 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .article-header {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
}

.article-header-container {
    max-width: 1200px;
    margin: 0 auto;
}

.article-breadcrumbs {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .article-breadcrumbs {
        font-size: 0.8125rem;
        margin-bottom: 0.5rem;
    }
}

.article-breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-breadcrumbs a:hover {
    color: white;
}

.article-breadcrumbs span {
    margin: 0 0.5rem;
    opacity: 0.6;
}

.article-category-badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .article-category-badge {
        font-size: 0.6875rem;
        padding: 0.375rem 0.75rem;
        margin-bottom: 0.5rem;
    }
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
}

.article-lead {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 0.75rem;
    max-width: 42rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .article-lead {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 0.75rem;
}

@media (max-width: 768px) {
    .article-meta {
        gap: 0.5rem;
        font-size: 0.8125rem;
        margin-top: 0.5rem;
    }
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Article content container */
.article-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .article-content-wrapper {
        grid-template-columns: 250px 1fr;
    }
}

/* Table of Contents */
.article-toc {
    position: sticky;
    top: 100px;
    align-self: start;
    background: #f9fafb;
    border-radius: 8px;
    padding: 1.5rem;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.article-toc h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.article-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-toc li {
    margin-bottom: 0.5rem;
}

.article-toc a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.article-toc a:hover {
    color: var(--color-navy);
}

.article-toc a.active {
    color: var(--color-navy);
    font-weight: 600;
}

/* Mobile TOC */
.article-toc-mobile {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.article-toc-mobile summary {
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem;
    color: #1f2937;
}

.article-toc-mobile ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.article-toc-mobile li {
    margin-bottom: 0.5rem;
}

.article-toc-mobile a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.article-toc-mobile a:hover {
    color: var(--color-navy);
}

/* Article navigation */
.article-nav {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .article-nav {
        padding: 0.5rem 1rem;
    }
}

.article-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-navy);
    font-weight: 700;
    font-size: 1.25rem;
}

.article-nav-logo img {
    width: 160px;
    height: 160px;
}

.article-nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.article-nav-links a {
    color: #4b5563;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.article-nav-links a:hover {
    color: var(--color-navy);
}

.article-nav-links .btn-contact {
    background: var(--color-navy);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.article-nav-links .btn-contact:hover {
    background: var(--color-green);
    color: white;
}

/* CTA Section */
.article-cta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.article-cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .article-cta-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.article-cta-main {
    background: linear-gradient(135deg, var(--color-green) 0%, rgba(45, 95, 63, 0.9) 100%);
    color: white;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-cta-main h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.article-cta-main p {
    font-size: 0.875rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

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

.article-cta-button {
    background: white;
    color: var(--color-green);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.3s ease;
}

.article-cta-button:hover {
    background: #f3f4f6;
}

.article-cta-button-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.article-cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.article-related {
    background: #f9fafb;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.article-related h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.article-related ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-related li {
    margin-bottom: 0.75rem;
}

.article-related a {
    color: var(--color-navy);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    display: block;
}

.article-related a:hover {
    color: var(--color-green);
}

/* Article Content Styles - Schedule Box, Chat Messages, Info Boxes */
.article-prose .schedule-box {
    background: #f9fafb;
    border-left: 4px solid var(--color-navy);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-prose .schedule-box p {
    margin: 0;
    color: #374151;
}

.article-prose .chat-message {
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
    border-left: 4px solid;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-prose .chat-message.client {
    background: #f3f4f6;
    border-left-color: #6b7280;
}

.article-prose .chat-message.bot {
    background: #eff6ff;
    border-left-color: #3b82f6;
}

.article-prose .chat-message p {
    margin: 0;
    line-height: 1.6;
}

.article-prose .highlight-box,
.article-prose .info-box {
    background: #f9fafb;
    border-left: 4px solid var(--color-navy);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-prose .highlight-box p,
.article-prose .info-box p {
    margin: 0;
    line-height: 1.8;
    color: #374151;
}

.article-prose .highlight-box strong,
.article-prose .info-box strong {
    color: #1f2937;
    font-weight: 600;
}

.article-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.article-prose table thead {
    background: var(--color-navy);
    color: white;
}

.article-prose table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-prose table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.article-prose table tbody tr:hover {
    background: #f9fafb;
}

.article-prose table tbody tr:last-child td {
    border-bottom: none;
}

.article-prose table tbody tr:last-child {
    background: #f0f9ff;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-lead {
        font-size: 1rem;
    }
    
    .article-nav-links {
        display: none;
    }
    
    .article-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .article-toc {
        display: none;
    }
}

