/* DRUID Tech Hub Custom Styles */

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

:root {
    --druid-primary: #3b82f6;
    --druid-primary-light: #60a5fa;
    --druid-secondary: #64748b;
    --druid-success: #22c55e;
    --druid-warning: #fbbf24;
    --druid-danger: #ef4444;
    --druid-info: #06b6d4;
    --druid-teal: #14b8a6;
    --druid-blue: #3b82f6;
    --druid-indigo: #6366f1;
    --druid-purple: #8b5cf6;
    --druid-dark: #1e293b;
    --druid-light: #f8fafc;
    --druid-gray-50: #f9fafb;
    --druid-gray-100: #f3f4f6;
    --druid-gray-200: #e5e7eb;
    --druid-gray-300: #d1d5db;
    --druid-gray-400: #9ca3af;
    --druid-gray-500: #6b7280;
    --druid-gray-600: #4b5563;
    --druid-gray-700: #374151;
    --druid-gray-800: #1f2937;
    --druid-gray-900: #111827;
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--druid-gray-700);
    background-color: #f8f9fa;
}

/* Ensure all card bodies have white backgrounds */
.card-body {
    background-color: #ffffff !important;
    color: var(--druid-gray-700) !important;
}

/* Ensure all cards have white backgrounds */
.card {
    background-color: #ffffff !important;
}

/* Modal styling for readability */
.modal-body {
    background-color: #ffffff !important;
    color: var(--druid-gray-700) !important;
}

/* Text color improvements for better readability */
h6.text-success {
    color: #16a34a !important; /* Dark green */
}

.customer-value {
    color: var(--druid-gray-700) !important;
}

.h4.text-primary {
    color: var(--druid-gray-700) !important;
}

/* Tab navigation styling for better readability */
.nav-tabs {
    border-bottom: 2px solid var(--druid-gray-200);
}

.nav-tabs .nav-link {
    background-color: var(--druid-gray-100);
    color: var(--druid-gray-600);
    border: 1px solid var(--druid-gray-300);
    border-bottom: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    background-color: var(--druid-gray-200);
    color: var(--druid-gray-700);
    border-color: var(--druid-gray-400);
}

.nav-tabs .nav-link.active {
    background-color: #ffffff;
    color: var(--druid-gray-800);
    border-color: var(--druid-gray-300);
    border-bottom-color: #ffffff;
    font-weight: 600;
}

.card.border-left-warning,
.card.border-left-primary,
.card.border-left-success,
.card.border-left-info,
.card.border-left-danger {
    background-color: #ffffff !important;
}

/* Admin Dashboard Professional Styling */
.text-gray-800 {
    color: var(--druid-gray-800) !important;
}

.text-gray-300 {
    color: var(--druid-gray-300) !important;
}

.shadow {
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
}

.border-left-primary {
    border-left: 0.25rem solid var(--druid-blue) !important;
}

.border-left-success {
    border-left: 0.25rem solid var(--druid-teal) !important;
}

.border-left-info {
    border-left: 0.25rem solid var(--druid-indigo) !important;
}

.border-left-warning {
    border-left: 0.25rem solid var(--druid-purple) !important;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.text-xs {
    font-size: 0.75rem !important;
}

/* Admin Card Styling */
.card {
    border: none;
    border-radius: 0.5rem;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

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

.card-header {
    background: linear-gradient(135deg, var(--druid-blue) 0%, var(--druid-primary-light) 100%);
    color: white;
    border-bottom: none;
    border-radius: 0.5rem 0.5rem 0 0 !important;
    padding: 1rem 1.25rem;
}

.card-header h6 {
    color: white !important;
    font-weight: 600;
    margin: 0;
}

/* Card Body Styling - White Background with Dark Text */
.card-body.p-3 {
    background: white !important;
    color: var(--druid-gray-900) !important;
}

.card-body.p-3 h6,
.card-body.p-3 h5,
.card-body.p-3 h4,
.card-body.p-3 p,
.card-body.p-3 div,
.card-body.p-3 span,
.card-body.p-3 .card-title,
.card-body.p-3 .card-text {
    color: var(--druid-gray-900) !important;
}

.card-body.p-3 .text-muted {
    color: var(--druid-gray-600) !important;
}

.card-body.p-3 small {
    color: var(--druid-gray-500) !important;
}

/* Admin Dashboard Stats Cards */
.border-left-primary .card-body {
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
}

.border-left-success .card-body {
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
}

.border-left-info .card-body {
    background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 100%);
}

.border-left-warning .card-body {
    background: linear-gradient(135deg, #fdf4ff 0%, #ffffff 100%);
}

.table th {
    border-top: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--druid-gray-600);
}

/* Breadcrumb Styling */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--druid-gray-400);
    font-weight: 600;
}

.breadcrumb-item.active {
    color: var(--druid-gray-600);
}

/* Button Enhancements - Match DRUID Design System */
.btn-success {
    background-color: var(--druid-success);
    border-color: var(--druid-success);
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.btn-success:hover {
    background-color: #16a34a;
    border-color: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(34, 197, 94, 0.3);
}

.btn-warning {
    background-color: var(--druid-warning);
    border-color: var(--druid-warning);
    color: #92400e;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.btn-warning:hover {
    background-color: #f59e0b;
    border-color: #f59e0b;
    color: #92400e;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(251, 191, 36, 0.3);
}

.btn-outline-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.btn-outline-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(34, 197, 94, 0.3);
}

.btn-primary {
    background-color: var(--druid-blue);
    border-color: var(--druid-blue);
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

/* Status Badges - DRUID Style */
.badge {
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
}

.badge.bg-primary {
    background-color: var(--druid-blue) !important;
}

.badge.bg-success {
    background-color: var(--druid-success) !important;
}

.badge.bg-warning {
    background-color: var(--druid-warning) !important;
    color: #92400e !important;
}

.badge.bg-info {
    background-color: var(--druid-info) !important;
}

.badge.bg-light.text-dark.small {
    background-color: #21c45d !important;
    color: white !important;
}

.badge.bg-light.text-dark.badge-sm {
    background-color: #21c45d !important;
    color: white !important;
}

/* Feature/Knowledge Cards with DRUID styling */
.feature-card, .knowledge-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: white;
    transition: all 0.2s ease;
}

.feature-card:hover, .knowledge-card:hover {
    border-color: var(--druid-blue);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

/* Admin table styling to match DRUID design */
.table {
    border-radius: 0.5rem;
    overflow: hidden;
}

.table-light th {
    background: linear-gradient(135deg, #f8faff 0%, #f1f5f9 100%);
    color: var(--druid-gray-700);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Admin Layout Improvements */
.list-group-item {
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0;
}

.list-group-item:hover {
    background-color: var(--druid-gray-50);
    transform: translateX(2px);
    transition: all 0.2s ease;
}

.list-group-item.active {
    background-color: var(--druid-primary);
    border-color: var(--druid-primary);
}

/* Form Styling */
.form-control:focus {
    border-color: var(--druid-primary);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--druid-gray-700);
    margin-bottom: 0.5rem;
}

/* Table Improvements */
.table-hover tbody tr:hover {
    background-color: rgba(37, 99, 235, 0.05);
}

/* Animation for loading states */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.3s ease-out;
}

/* Professional spacing */
.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

/* Responsive admin improvements */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .table-responsive {
        border: none;
    }
    
    .btn-group-sm > .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--druid-gray-900), var(--druid-gray-800));
}

/* Navigation */
/* Enhanced Navbar Styling */
.navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--druid-gray-200);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--druid-gray-900) !important;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.navbar-brand:hover {
    transform: translateX(2px);
}

.brand-logo {
    height: 28px;
    width: auto;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-logo {
    transform: scale(1.05);
}

.brand-text {
    background: linear-gradient(135deg, var(--druid-gray-900) 0%, var(--druid-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav Items Styling */
.navbar-nav {
    gap: 0.5rem;
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--druid-gray-600) !important;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.nav-icon {
    font-size: 1rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--druid-primary) !important;
    background: rgba(0, 102, 204, 0.08);
    transform: translateY(-1px);
}

.navbar-nav .nav-link:hover .nav-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Active State Indicator */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--druid-primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 30px;
}

/* Dropdown Styling */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin-top: 0.5rem;
    padding: 0.5rem;
    min-width: 200px;
    animation: dropdownFade 0.2s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background: rgba(0, 102, 204, 0.08);
    color: var(--druid-primary);
    transform: translateX(2px);
}

.dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.1;
}

/* Mobile Menu Enhancement */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.navbar-toggler:hover {
    background: var(--druid-gray-100);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

/* Admin Badge */
.nav-link .fa-user-cog {
    color: var(--druid-accent);
}

/* Prevent nav links from being disabled */
.navbar-nav .nav-link {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.navbar-nav .nav-link.active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.navbar-nav .nav-link:visited {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.navbar-nav .nav-link:focus {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Hero Section - Compact */
.hero-section {
    min-height: 40vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #f1f5f9 50%, #ffffff 100%);
    border-bottom: 1px solid var(--druid-gray-200);
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: none;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--druid-gray-900) 0%, var(--druid-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--druid-gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--druid-primary) 0%, #1d4ed8 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    color: white;
    text-decoration: none;
}

/* Search Form */
.search-section {
    background-color: var(--druid-gray-50);
    border-bottom: 1px solid var(--druid-gray-200);
}

.search-form .input-group {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    background: white;
}

.search-form .form-control {
    border: none;
    padding: 16px 20px;
    font-size: 1rem;
    background: transparent;
}

.search-form .form-control::placeholder {
    color: var(--druid-gray-400);
}

.search-form .form-select {
    border: none;
    border-left: 1px solid var(--druid-gray-200);
    padding: 16px 16px;
    background: transparent;
    color: var(--druid-gray-600);
}

.search-form .btn {
    border: none;
    padding: 16px 24px;
    background-color: var(--druid-primary);
    color: white;
    font-weight: 500;
}

.search-form .btn:hover {
    background-color: #1d4ed8;
}

/* Category Cards */
.category-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 16px;
    border: 1px solid var(--druid-gray-200);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--druid-primary), var(--druid-info), var(--druid-success));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.2);
}

.category-icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--druid-primary) 0%, var(--druid-info) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon i {
    transform: scale(1.1);
}

.category-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--druid-gray-900);
    margin-bottom: 0.75rem;
}

.category-card .card-text {
    color: var(--druid-gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 16px;
    border: 1px solid var(--druid-gray-200);
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.2);
}

.feature-icon i {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--druid-primary) 0%, var(--druid-info) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
}

.feature-badges .badge {
    margin-left: 0.25rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.feature-card .card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--druid-gray-900);
    margin-bottom: 0.75rem;
}

.feature-card .card-text {
    color: var(--druid-gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
}

.feature-stats small {
    line-height: 1.4;
    color: var(--druid-gray-500);
}

.feature-tags .badge {
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
    background-color: var(--druid-gray-100);
    color: var(--druid-gray-700);
    font-weight: 500;
}

.feature-card .card-footer {
    background-color: var(--druid-gray-50);
    border-top: 1px solid var(--druid-gray-200);
}

.feature-detail-btn {
    background: linear-gradient(135deg, var(--druid-primary) 0%, #1d4ed8 100%);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    border-radius: 8px;
}

.feature-detail-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, var(--druid-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* Update Cards */
.update-card {
    border-left: 3px solid var(--druid-primary);
    transition: all 0.2s ease;
    border-radius: 8px;
    border: 1px solid var(--druid-gray-200);
    background: white;
}

.update-card:hover {
    transform: translateX(3px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.update-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--druid-gray-900);
}

.update-card .card-text {
    color: var(--druid-gray-600);
    font-size: 0.9rem;
}

/* Feature Detail Modal */
.modal-content {
    background: white;
    color: var(--druid-gray-900);
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background: var(--druid-gray-900);
    color: white;
    border-bottom: none;
    padding: 1.75rem 2rem;
    border-radius: 12px 12px 0 0;
}

.modal-title {
    color: white !important;
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.modal-body {
    background: white;
    color: var(--druid-gray-900);
    padding: 2.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.modal-body h6,
.modal-body h5,
.modal-body h4 {
    color: var(--druid-gray-900) !important;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.modal-body h6 {
    font-size: 1.125rem;
    color: var(--druid-primary) !important;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-body p,
.modal-body div:not(.tab-content):not(.tab-pane):not(.nav),
.modal-body span {
    color: var(--druid-gray-700) !important;
    font-size: 1rem;
    line-height: 1.7;
}

/* Feature content specific styling */
.modal-body .sales-pitch,
.modal-body .customer-value,
.modal-body .technical-details {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--druid-gray-800) !important;
    margin-bottom: 1.5rem;
}

/* Strong text in feature values */
.modal-body .customer-value strong {
    color: var(--druid-gray-900) !important;
    font-weight: 600;
}

.feature-detail h6 {
    font-weight: 600;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.sales-pitch, .customer-value, .use-cases {
    line-height: 1.7;
}

/* Modal specific nav-tabs */
.modal-body .nav-tabs {
    border-bottom: 2px solid var(--druid-gray-200);
    margin-bottom: 2rem;
}

.modal-body .nav-tabs .nav-link {
    color: var(--druid-gray-600) !important;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.875rem 1.75rem;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.modal-body .nav-tabs .nav-link.active {
    color: var(--druid-primary) !important;
    background: transparent;
    border-bottom: 3px solid var(--druid-primary);
    font-weight: 600;
}

.modal-body .nav-tabs .nav-link:hover {
    color: var(--druid-primary) !important;
    background: rgba(0, 102, 204, 0.04);
}

/* Tab content styling for modal */
.modal-body .tab-content {
    background: white !important;
}

.modal-body .tab-pane {
    background: white !important;
    color: var(--druid-gray-700) !important;
}

/* Override Bootstrap text utilities in modal */
.modal-body .text-primary {
    color: var(--druid-primary) !important;
}

.modal-body .text-success {
    color: #28a745 !important;
}

.modal-body .text-muted {
    color: var(--druid-gray-600) !important;
}


/* Close button in dark header */
.modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

/* Content sections styling */
.modal-body .mb-4 {
    padding: 1rem 0;
    border-bottom: 1px solid var(--druid-gray-100);
}

.modal-body .mb-4:last-child {
    border-bottom: none;
}

/* Statistics section */
.modal-body .h4 {
    color: var(--druid-primary) !important;
    font-weight: 600;
}

/* Badge styling in modal */
.modal-header .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-left: 0.5rem;
}

/* List styling in modal */
.modal-body ul, .modal-body ol {
    line-height: 1.8;
    color: var(--druid-gray-700) !important;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

/* Improve readability for modal dialogs */
.modal-dialog-scrollable .modal-body {
    max-height: calc(100vh - 200px);
}

/* First paragraph emphasis */
.modal-body .tab-pane > div:first-child p:first-child {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--druid-gray-800) !important;
}

.accordion-button:not(.collapsed) {
    color: var(--druid-primary);
    background-color: rgba(0, 102, 204, 0.1);
}

/* Chatbot */
.chatbot-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
}

.btn-floating {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    border: none;
    font-size: 1.25rem;
    background-color: var(--druid-primary);
    color: white;
    transition: all 0.2s ease;
}

.btn-floating:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
    background-color: #1d4ed8;
}

.chatbot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 360px;
    max-height: 480px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--druid-gray-200);
    overflow: hidden;
}

.chatbot-header {
    background: var(--druid-gray-900);
    color: white;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h6 {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.chatbot-body {
    padding: 1.25rem;
    max-height: 320px;
    overflow-y: auto;
    background: var(--druid-gray-50);
}

.chatbot-message {
    margin-bottom: 1rem;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.bot-message {
    background: white;
    border: 1px solid var(--druid-gray-200);
    color: var(--druid-gray-700);
}

.user-message {
    background: var(--druid-primary);
    color: white;
    margin-left: 2rem;
    margin-right: 0;
}

.chatbot-suggestion {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    margin: 0.25rem 0.25rem 0.25rem 0;
    background-color: var(--druid-gray-100);
    color: var(--druid-gray-700);
    border: 1px solid var(--druid-gray-200);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.chatbot-suggestion:hover {
    background-color: var(--druid-primary);
    color: white;
    border-color: var(--druid-primary);
}

.chatbot-input {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--druid-gray-200);
    background: white;
}

.chatbot-input .form-control {
    border-radius: 8px;
    border: 1px solid var(--druid-gray-300);
    font-size: 0.9rem;
}

.chatbot-input .btn {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

/* Admin Styles */
.admin-nav {
    background: var(--druid-dark);
}

.stats-card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stats-card .card-body {
    padding: 2rem;
}

/* CKEditor Customization */
.ck-editor__editable {
    min-height: 200px;
}

/* Icon Preview */
.category-icon-preview {
    padding: 2rem;
    background: var(--druid-light);
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .chatbot-window {
        width: 320px;
        right: -10px;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .search-form .input-group {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .search-form .form-control,
    .search-form .form-select {
        border-radius: 8px;
        border: 1px solid var(--druid-gray-300);
        margin-bottom: 0.75rem;
    }
    
    .search-form .btn {
        border-radius: 8px;
    }
    
    .navbar-brand img {
        height: 20px;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(45deg, var(--druid-primary), var(--druid-info));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gray-900 {
    background-color: var(--druid-gray-900) !important;
}

.text-gray-900 {
    color: var(--druid-gray-900) !important;
}

.text-gray-600 {
    color: var(--druid-gray-600) !important;
}

.shadow-custom {
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.1);
}

.border-custom {
    border: 2px solid var(--druid-primary);
}

/* Print Styles */
@media print {
    .navbar, .chatbot-container, .btn, .modal {
        display: none !important;
    }
    
    .feature-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .bg-light {
        background-color: #2d3748 !important;
    }
    
    .text-muted {
        color: #a0aec0 !important;
    }
    
    .card {
        background-color: #4a5568;
        border-color: #718096;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .feature-card, .category-card {
        border: 2px solid #000;
    }
    
    .btn-primary {
        background-color: #000;
        border-color: #000;
    }
}

/* Compact Design Styles */
.feature-card-compact {
    border: 1px solid var(--druid-gray-200);
    border-radius: 12px;
    transition: all 0.2s ease;
    height: 100%;
    cursor: pointer;
}

.feature-card-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.12);
    border-color: var(--druid-primary);
}

.feature-icon-sm {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--druid-primary), var(--druid-info));
    border-radius: 8px;
    color: white;
    font-size: 0.875rem;
}

.category-card-compact {
    border: 1px solid var(--druid-gray-200);
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
    height: 100%;
}

.category-card-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--druid-primary);
}

.category-icon-sm {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--druid-gray-100);
    border-radius: 8px;
    color: var(--druid-primary);
    font-size: 1rem;
    margin: 0 auto;
}

.update-card-compact {
    transition: all 0.2s ease;
}

.update-card-compact:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-stats-compact small {
    font-size: 0.75rem;
}

.feature-tags-compact .badge {
    font-size: 0.7rem;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

.badge-sm {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

.perspective-toggle .btn-group {
    border-radius: 8px;
    overflow: hidden;
}

.perspective-toggle .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

/* Sales and Technical content toggle */
.sales-content, .technical-content {
    transition: opacity 0.3s ease;
}

/* Audio Guide Styles */
.audio-guide-btn {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

.audio-guide-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
    background-color: #e0a800;
    border-color: #e0a800;
}

/* DRUID Audio Modal Branding */
.druid-audio-modal {
    border-radius: 16px;
    border: none;
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.15);
}

.druid-audio-header {
    background: linear-gradient(135deg, var(--druid-primary), var(--druid-info));
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    padding: 1.5rem;
}

.druid-audio-card {
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.druid-audio-player {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.druid-audio-btn {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.druid-audio-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.druid-audio-btn:first-child {
    width: 60px;
    height: 60px;
    background: var(--druid-primary);
    border-color: var(--druid-primary);
}

.category-card-compact .audio-guide-btn {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-icon {
        animation: none;
    }
    
    .feature-card, .category-card, .feature-card-compact, .category-card-compact, .btn-floating {
        transition: none;
    }
    
    .feature-card:hover, .category-card:hover, .feature-card-compact:hover, .category-card-compact:hover {
        transform: none;
    }
}

/* Chatbot Typing Animation */
.bot-message.typing {
    background: #f0f0f0;
    padding: 8px 16px;
}

.typing-dots {
    display: inline-block;
}

.typing-dots span {
    display: inline-block;
    opacity: 0.4;
    animation: typing-animation 1.4s infinite;
    margin: 0 1px;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-animation {
    0%, 60%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    30% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Enhanced Chat Message Formatting */
.chatbot-message {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chatbot-message ul {
    list-style: disc;
    margin: 0;
    padding-left: 1rem;
}

.chatbot-message li {
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.chatbot-message .chat-paragraph {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.chatbot-message .chat-paragraph:last-child {
    margin-bottom: 0;
}

.chatbot-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}


/* Enhanced Hero Section Styles */
.hero-section {
    min-height: 50vh;
    padding: 4rem 0;
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.6s ease-out;
}

.badge-text {
    background: rgba(0, 102, 204, 0.08);
    color: var(--druid-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(0, 102, 204, 0.2);
    letter-spacing: 0.02em;
}

/* Hero Title Enhancement */
.hero-title {
    font-size: 4rem \!important;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    background: none \!important;
    -webkit-text-fill-color: unset \!important;
}

.hero-word {
    display: inline-block;
    background: linear-gradient(135deg, var(--druid-gray-900) 0%, var(--druid-gray-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.hero-word:nth-child(2) {
    animation-delay: 0.1s;
}

.hero-word.hero-accent {
    background: linear-gradient(135deg, var(--druid-primary) 0%, var(--druid-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Hero Decoration */
.hero-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.decoration-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--druid-primary) 100%);
}

.decoration-line:last-child {
    background: linear-gradient(90deg, var(--druid-primary) 0%, transparent 100%);
}

.decoration-dot {
    width: 8px;
    height: 8px;
    background: var(--druid-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

/* Hero CTA Wrapper */
.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: fadeIn 1s ease-out 0.5s forwards;
    opacity: 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--druid-primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--druid-gray-600);
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--druid-gray-300);
}

/* Hero Background Pattern */
.hero-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-background-pattern::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    top: -150px;
    left: -150px;
    animation: float 20s ease-in-out infinite;
}

.hero-background-pattern::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.03) 0%, transparent 70%);
    bottom: -200px;
    right: -200px;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem \!important;
    }
    
    .hero-word {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}
/* ===== ENHANCED WHAT'S NEW SECTION ===== */
.whats-new-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.whats-new-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(0, 102, 204, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Section Headers */
.section-header {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--druid-gray-900);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--druid-gray-600);
    margin: 0;
    font-weight: 400;
}

/* Featured Card */
.featured-update {
    position: relative;
    z-index: 1;
}

.featured-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--druid-primary), var(--druid-accent));
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.featured-card-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
}

.featured-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
}

.featured-right {
    flex: 1;
    min-width: 0;
}

.featured-badge {
    margin-bottom: 1rem;
}

.badge-new {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-updated {
    background: rgba(59, 130, 246, 0.1);
    color: var(--druid-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.featured-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--druid-primary), var(--druid-accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    color: white;
    font-size: 2rem;
}

.featured-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--druid-gray-900);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.featured-description {
    font-size: 1.1rem;
    color: var(--druid-gray-600);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.featured-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
}

.featured-date {
    color: var(--druid-gray-500);
    font-size: 1rem;
    font-weight: 500;
}

.featured-cta {
    background: var(--druid-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-cta:hover {
    background: var(--druid-accent);
    transform: translateX(2px);
    color: white;
}

/* Other Updates */
.updates-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--druid-gray-900);
    margin-bottom: 1.5rem;
}

.update-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid var(--druid-gray-200);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.update-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 102, 204, 0.2);
}

.update-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.update-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--druid-primary);
    font-size: 1.25rem;
}

.update-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.badge-new-small {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.badge-updated-small {
    background: rgba(59, 130, 246, 0.1);
    color: var(--druid-primary);
}

.update-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.update-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--druid-gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.update-description {
    color: var(--druid-gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.update-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.update-date {
    color: var(--druid-gray-500);
    font-size: 0.875rem;
    font-weight: 500;
}

.update-arrow {
    color: var(--druid-gray-400);
    transition: all 0.3s ease;
}

.update-card:hover .update-arrow {
    color: var(--druid-primary);
    transform: translateX(2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .featured-card {
        padding: 1.5rem;
    }
    
    .featured-card-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .featured-left {
        align-items: center;
    }
    
    .featured-right {
        text-align: center;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .featured-description {
        font-size: 0.95rem;
    }
    
    .featured-meta {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .featured-icon {
        width: 64px;
        height: 64px;
        font-size: 1.75rem;
    }
}/* ===== ENHANCED CAPABILITY CATEGORIES SECTION ===== */
.capabilities-section {
    background: white;
    position: relative;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.capability-card {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--druid-gray-200);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.capability-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--druid-primary), var(--druid-accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.capability-card:hover::before {
    transform: scaleX(1);
}

.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 102, 204, 0.2);
}

.capability-card-inner {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.capability-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.capability-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 168, 204, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--druid-primary);
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.capability-card:hover .capability-icon {
    background: linear-gradient(135deg, var(--druid-primary), var(--druid-accent));
    color: white;
    transform: scale(1.1);
}

.capability-count {
    background: rgba(0, 102, 204, 0.1);
    color: var(--druid-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

.capability-content {
    flex: 1;
    margin-bottom: 1.5rem;
}

.capability-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--druid-gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.capability-description {
    color: var(--druid-gray-600);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.capability-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.capability-btn-primary {
    flex: 1;
    background: var(--druid-primary);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.capability-btn-primary:hover {
    background: var(--druid-accent);
    transform: translateX(2px);
    color: white;
}

.capability-btn-primary i {
    transition: transform 0.3s ease;
}

.capability-btn-primary:hover i {
    transform: translateX(2px);
}

.capability-btn-audio {
    width: 48px;
    height: 48px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--druid-primary);
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.capability-btn-audio:hover {
    background: var(--druid-primary);
    color: white;
    transform: scale(1.05);
}

/* Grid Responsive Adjustments */
@media (max-width: 1200px) {
    .capabilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .capability-card-inner {
        padding: 1.5rem;
    }
    
    .capability-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
    
    .capability-title {
        font-size: 1.125rem;
    }
    
    .capability-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .capability-btn-audio {
        width: 100%;
        height: 40px;
    }
}/* ===== ENHANCED FEATURED CAPABILITIES SECTION ===== */
.features-section {
    background: #f8fafc;
    position: relative;
}

.features-header {
    position: relative;
    z-index: 1;
}

.features-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn-clear-filters {
    background: white;
    color: var(--druid-gray-600);
    border: 1px solid var(--druid-gray-300);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.btn-clear-filters:hover {
    background: var(--druid-gray-50);
    border-color: var(--druid-gray-400);
    color: var(--druid-gray-700);
    text-decoration: none;
}

.btn-audio-guide {
    width: 40px;
    height: 40px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--druid-primary);
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-audio-guide:hover {
    background: var(--druid-primary);
    color: white;
    transform: scale(1.05);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--druid-gray-200);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 10px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 102, 204, 0.3);
}

.feature-card-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--druid-primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--druid-primary);
    color: white;
    transform: scale(1.05);
}

.feature-status {
    flex-shrink: 0;
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.status-new {
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-updated {
    background: rgba(59, 130, 246, 0.15);
    color: var(--druid-primary);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-featured {
    background: rgba(168, 85, 247, 0.15);
    color: #7c3aed;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.feature-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--druid-gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.feature-description {
    color: var(--druid-gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    font-size: 0.95rem;
}

.feature-stats {
    margin-top: auto;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--druid-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--druid-gray-500);
    font-weight: 500;
}

.feature-footer {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.feature-category {
    color: var(--druid-gray-500);
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--druid-gray-100);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60%;
}

.feature-cta {
    background: var(--druid-primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.feature-cta:hover {
    background: var(--druid-accent);
    transform: translateX(2px);
    color: white;
}

.feature-cta i {
    transition: transform 0.3s ease;
}

.feature-cta:hover i {
    transform: translateX(2px);
}

/* No Results State */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--druid-gray-200);
}

.no-results-icon {
    width: 80px;
    height: 80px;
    background: var(--druid-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--druid-gray-400);
    font-size: 2rem;
}

.no-results-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--druid-gray-900);
    margin-bottom: 0.75rem;
}

.no-results-text {
    color: var(--druid-gray-600);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.btn-primary-cta {
    background: var(--druid-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary-cta:hover {
    background: var(--druid-accent);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .features-header .row {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .features-actions {
        justify-content: center;
    }
    
    .feature-card-header {
        padding: 1.25rem 1.25rem 0;
    }
    
    .feature-content {
        padding: 1.25rem;
    }
    
    .feature-footer {
        padding: 0 1.25rem 1.25rem;
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .feature-cta {
        justify-content: center;
    }
}

/* ===== CONSISTENT SPACING AND TYPOGRAPHY ===== */
/* Global section spacing */
.whats-new-section,
.capabilities-section,
.features-section {
    padding: 4rem 0;
}

/* Consistent section headers */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--druid-gray-900);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--druid-gray-600);
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
}

/* Section header spacing */
.section-header {
    margin-bottom: 3rem;
}

/* Simplified color palette */
:root {
    --druid-primary: #3b82f6;
    --druid-primary-light: #60a5fa;
    --druid-accent: #06b6d4;
    --druid-success: #10b981;
    --druid-warning: #f59e0b;
    --druid-gray-50: #f8fafc;
    --druid-gray-100: #f1f5f9;
    --druid-gray-200: #e2e8f0;
    --druid-gray-300: #cbd5e1;
    --druid-gray-400: #94a3b8;
    --druid-gray-500: #64748b;
    --druid-gray-600: #475569;
    --druid-gray-700: #334155;
    --druid-gray-800: #1e293b;
    --druid-gray-900: #0f172a;
}

/* Enhanced hover effects */
.featured-card,
.capability-card,
.update-card,
.feature-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-card:hover,
.capability-card:hover,
.update-card:hover,
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Consistent button styling */
.featured-cta,
.capability-btn-primary,
.feature-cta,
.btn-primary-cta {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-cta:hover,
.capability-btn-primary:hover,
.feature-cta:hover,
.btn-primary-cta:hover {
    transform: translateY(-1px);
}

/* Mobile responsive typography */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .whats-new-section,
    .capabilities-section,
    .features-section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
}

/* Visual hierarchy improvements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--druid-gray-900);
}

p {
    line-height: 1.6;
    color: var(--druid-gray-600);
}

/* Reduced visual clutter */
.badge,
.status-badge,
.update-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    border: 1px solid transparent;
}

/* Progressive disclosure for long content */
.feature-description,
.capability-description,
.update-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ===== FINAL POLISH AND PAGE FLOW OPTIMIZATION ===== */
/* Smooth section transitions */
.whats-new-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.capabilities-section {
    background: white;
}

.features-section {
    background: #f8fafc;
}

/* Page flow improvements */
body {
    line-height: 1.6;
    color: var(--druid-gray-700);
}

/* Container max-width for readability */
.container {
    max-width: 1200px;
}

/* Focus states for accessibility */
.feature-card:focus,
.capability-card:focus,
.update-card:focus,
.featured-card:focus {
    outline: 2px solid var(--druid-primary);
    outline-offset: 2px;
}

/* Scroll margin for anchor links */
.whats-new-section,
.capabilities-section,
.features-section {
    scroll-margin-top: 80px;
}

/* Loading states */
.feature-card.loading,
.capability-card.loading,
.update-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Performance optimizations */
.feature-card,
.capability-card,
.update-card,
.featured-card {
    will-change: transform;
}

/* Print styles */
@media print {
    .hero-section,
    .navbar {
        display: none;
    }
    
    .feature-card,
    .capability-card,
    .update-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--druid-gray-300);
    }
}
