/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --blue-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --purple-gradient: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    --green-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --orange-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #374151;
    scroll-behavior: smooth;
    background-color: #000000;
}

/* Matrix background integration */
.min-h-screen {
    position: relative;
    background-color: #000000;
}

/* Matrix canvas as background */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: #000;
}

/* Semi-transparent overlays for readability */
.bg-white {
    background-color: rgba(0, 0, 0, 0.85) !important;
    border: 1px solid #00ff00 !important;
    backdrop-filter: blur(10px);
}

.bg-gray-50 {
    background-color: rgba(0, 0, 0, 0.9) !important;
}

/* Update text colors for Matrix background */
.text-gray-900 {
    color: #00ff00 !important;
}

.text-gray-700 {
    color: #00cc00 !important;
}

.text-gray-600 {
    color: #00aa00 !important;
}

/* Header styling for Matrix background */
header {
    background-color: rgba(0, 0, 0, 0.9) !important;
    border-bottom: 1px solid #00ff00 !important;
    backdrop-filter: blur(15px);
}

header h1 {
    color: #00ff00 !important;
}

header h1 a {
    color: #00ff00 !important;
    background: linear-gradient(45deg, #00ff00, #00cc00);
    background-clip: text;
    -webkit-background-clip: text;
}

header p {
    color: #00cc00 !important;
}

.site-nav {
    border: 1px solid rgba(0, 255, 0, 0.35);
    border-radius: 0.9rem;
    background: linear-gradient(90deg, rgba(0, 20, 0, 0.8), rgba(0, 0, 0, 0.75));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35), 0 0 24px rgba(0, 255, 0, 0.08);
}

.brand-lockup {
    min-width: 0;
}

.nav-actions {
    flex-shrink: 0;
}

.nav-pill {
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 9999px;
    padding: 0.38rem 0.85rem;
    background-color: rgba(0, 255, 0, 0.05);
    transition: border-color 0.2s, background-color 0.2s, transform 0.2s, color 0.2s;
}

.nav-pill:hover {
    border-color: rgba(0, 255, 0, 0.55);
    background-color: rgba(0, 255, 0, 0.14);
    transform: translateY(-1px);
}

.nav-badge {
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #052d05 !important;
    background: linear-gradient(135deg, #7dff7d, #22c55e);
    border-radius: 9999px;
    padding: 0.42rem 0.9rem;
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.38);
}

.nav-badge:hover {
    color: #021702 !important;
    transform: translateY(-1px);
}

/* Navigation links */
header nav a {
    color: #00ff00 !important;
}

header nav a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 10px #00ff00;
}

/* Theme toggle button */
#theme-toggle {
    background-color: rgba(0, 255, 0, 0.1) !important;
    border: 1px solid #00ff00 !important;
}

#theme-toggle:hover {
    background-color: rgba(0, 255, 0, 0.2) !important;
}

/* Feature cards with Matrix styling */
.feature-card {
    background-color: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid #00ff00 !important;
    backdrop-filter: blur(10px);
}

.feature-card h3 {
    color: #00ff00 !important;
}

.feature-card p {
    color: #00cc00 !important;
}

.feature-card a {
    color: #00ff00 !important;
}

.feature-card a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 5px #00ff00;
}

/* Blog posts with Matrix styling */
.blog-post {
    background-color: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid #00ff00 !important;
    backdrop-filter: blur(10px);
}

.blog-post h3 {
    color: #00ff00 !important;
}

.blog-post h3 a {
    color: #00ff00 !important;
}

.blog-post h3 a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 10px #00ff00;
}

.blog-post .excerpt {
    color: #00cc00 !important;
}

.blog-post .date {
    color: #00aa00 !important;
    background-color: rgba(0, 255, 0, 0.1) !important;
    border: 1px solid #00ff00 !important;
}

/* Footer with Matrix styling */
footer {
    background: linear-gradient(to bottom, rgba(0, 10, 0, 0.9), rgba(0, 0, 0, 0.9)) !important;
    border-top: 1px solid #00ff00 !important;
}

footer h3 {
    color: #00ff00 !important;
}

footer p {
    color: #00cc00 !important;
}

footer a {
    color: #00ff00 !important;
}

footer a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 5px #00ff00;
}

/* Enhanced hover effects */
.feature-card:hover {
    border-color: #ffffff !important;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5) !important;
    transform: translateY(-2px);
}

.blog-post:hover {
    border-color: #ffffff !important;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5) !important;
    transform: translateY(-2px);
}

/* Mobile menu styling */
#mobile-menu {
    background-color: rgba(0, 0, 0, 0.9) !important;
    border-top: 1px solid #00ff00 !important;
}

#mobile-menu a {
    color: #00ff00 !important;
}

#mobile-menu a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 5px #00ff00;
}

/* Font fallback - ensure styles work even if Inter doesn't load */
@supports not (font-family: 'Inter') {
    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    }
}

/* Matrix theme styles */
.matrix-theme {
    background-color: #000000;
    color: #00ff00;
}

.matrix-theme .bg-white {
    background-color: rgba(0, 20, 0, 0.9);
    border: 1px solid #00ff00;
}

.matrix-theme .bg-gray-50 {
    background-color: #000000;
}

.matrix-theme .text-gray-900 {
    color: #00ff00;
}

.matrix-theme .text-gray-700 {
    color: #00cc00;
}

.matrix-theme .text-gray-600 {
    color: #00aa00;
}

.matrix-theme .border-gray-100 {
    border-color: #00ff00;
}

.matrix-theme .border-gray-200 {
    border-color: #00cc00;
}

.matrix-theme .shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 255, 0, 0.3);
}

.matrix-theme .feature-card {
    background-color: rgba(0, 20, 0, 0.9);
    border-color: #00ff00;
    box-shadow: 0 1px 2px 0 rgba(0, 255, 0, 0.3);
}

.matrix-theme .blog-post {
    background-color: rgba(0, 20, 0, 0.9);
    border-color: #00ff00;
    box-shadow: 0 1px 2px 0 rgba(0, 255, 0, 0.3);
}

.matrix-theme .blog-post h3 {
    color: #00ff00;
}

.matrix-theme .blog-post h3 a:hover {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.matrix-theme .blog-post .excerpt {
    color: #00cc00;
}

.matrix-theme .blog-post .date {
    color: #00aa00;
    background-color: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
}

.matrix-theme header {
    background-color: rgba(0, 10, 0, 0.95);
    border-bottom: 1px solid #00ff00;
}

.matrix-theme header h1 {
    color: #00ff00;
}

.matrix-theme header p {
    color: #00cc00;
}

.matrix-theme footer {
    background: linear-gradient(to bottom, #001100, #000000);
    border-top: 1px solid #00ff00;
}

.matrix-theme footer h3 {
    color: #00ff00;
}

.matrix-theme footer p {
    color: #00cc00;
}

.matrix-theme footer a {
    color: #00ff00;
}

.matrix-theme footer a:hover {
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

/* Matrix canvas positioning */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Matrix theme toggle button */
.matrix-theme-toggle {
    background: linear-gradient(45deg, #00ff00, #00cc00);
    border: 1px solid #00ff00;
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.matrix-theme-toggle:hover {
    background: linear-gradient(45deg, #00cc00, #00ff00);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
    transform: scale(1.05);
}

/* Enhanced hover effects for Matrix theme */
.matrix-theme .feature-card:hover {
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    transform: translateY(-2px);
}

.matrix-theme .feature-card:hover::before {
    background: linear-gradient(to right, #00ff00, #00cc00);
    opacity: 1;
}

/* Dark mode styles */
.dark {
    background-color: #0f172a;
    color: #e2e8f0;
}

.dark .bg-white {
    background-color: #1e293b;
}

.dark .bg-gray-50 {
    background-color: #0f172a;
}

.dark .text-gray-900 {
    color: #f1f5f9;
}

.dark .text-gray-700 {
    color: #cbd5e1;
}

.dark .text-gray-600 {
    color: #94a3b8;
}

.dark .border-gray-100 {
    border-color: #334155;
}

.dark .border-gray-200 {
    border-color: #334155;
}

.dark .shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
}

.dark .feature-card {
    background-color: #1e293b;
    border-color: #334155;
}

.dark .blog-post {
    background-color: #1e293b;
    border-color: #334155;
}

/* Layout utilities */
.min-h-screen {
    min-height: 100vh;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-white {
    background-color: #ffffff;
}

.bg-gray-800 {
    background-color: #1f2937;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Header styles */
header {
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: blur(10px);
}

.sticky {
    position: sticky;
    top: 0;
    z-index: 50;
}

.backdrop-blur-lg {
    backdrop-filter: blur(16px);
}

.bg-opacity-95 {
    background-color: rgba(255, 255, 255, 0.95);
}

.dark .bg-opacity-95 {
    background-color: rgba(30, 41, 59, 0.95);
}

header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

header h1 a {
    text-decoration: none;
    transition: opacity 0.2s;
}

header h1 a:hover {
    opacity: 0.8;
}

header p {
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Mobile menu */
.hidden {
    display: none;
}

@media (min-width: 768px) {
    .md\:hidden {
        display: none;
    }
    
    .md\:block {
        display: block;
    }
    
    .md\:flex {
        display: flex;
    }
    
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:mb-0 {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .md\:hidden {
        display: block;
    }
    
    .md\:block {
        display: none;
    }
    
    .md\:flex {
        display: none;
    }
}

/* Typography */
h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.875rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

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

.font-semibold {
    font-weight: 600;
}

.text-gray-900 {
    color: #111827;
}

.text-gray-800 {
    color: #1f2937;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-500 {
    color: #6b7280;
}

.text-white {
    color: #ffffff;
}

.text-blue-600 {
    color: #2563eb;
}

.text-sm {
    font-size: 0.875rem;
}

/* Links */
a {
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.2s;
}

a:hover {
    color: #1d4ed8;
}

a:not([href]) {
    color: inherit;
    text-decoration: none;
}

a:not([href]):hover {
    color: #2563eb;
}

/* Grid system */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-4 {
    gap: 1rem;
}

/* Flexbox utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-x-6 > * + * {
    margin-left: 1.5rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

/* Gradient utilities */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-blue-600 {
    --tw-gradient-from: #2563eb;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37, 99, 235, 0));
}

.to-purple-600 {
    --tw-gradient-to: #9333ea;
}

.from-blue-400 {
    --tw-gradient-from: #60a5fa;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(96, 165, 250, 0));
}

.to-purple-400 {
    --tw-gradient-to: #c084fc;
}

.from-gray-900 {
    --tw-gradient-from: #111827;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(17, 24, 39, 0));
}

.to-gray-800 {
    --tw-gradient-to: #1f2937;
}

.bg-clip-text {
    background-clip: text;
    -webkit-background-clip: text;
}

.text-transparent {
    color: transparent;
}

/* Card styles */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.border {
    border: 1px solid #e5e7eb;
}

.border-b {
    border-bottom: 1px solid #e5e7eb;
}

.border-gray-100 {
    border-color: #f3f4f6;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-gray-700 {
    border-color: #374151;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

/* Feature cards */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card .w-12 {
    transition: transform 0.3s ease;
}

.feature-card:hover .w-12 {
    transform: scale(1.1);
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-16 {
    margin-top: 4rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

/* Blog post specific styles */
.blog-post {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--blue-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.blog-post:hover::before {
    transform: scaleX(1);
}

.blog-post h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-post h3 a {
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}

.blog-post h3 a:hover {
    color: #2563eb;
}

.blog-post .excerpt {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post .date {
    color: #6b7280;
    font-size: 0.813rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background-color: #f3f4f6;
    border-radius: 9999px;
}

.blog-post .date::before {
    content: '📅';
    margin-right: 0.5rem;
}

#blog-posts {
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: 1.5rem;
}

/* Blog article styles */
.blog-article {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    padding: 2rem;
}

.blog-article h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.blog-article .date {
    color: #6b7280;
    margin-bottom: 2rem;
}

.blog-article .content {
    line-height: 1.7;
}

.blog-article .content h2 {
    font-size: 1.875rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
    margin-top: 2rem;
}

.blog-article .content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.blog-article .content p {
    color: #374151;
    margin-bottom: 1rem;
}

.blog-article .content ul,
.blog-article .content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.blog-article .content li {
    color: #374151;
    margin-bottom: 0.5rem;
}

.blog-article .content blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 1rem;
    font-style: italic;
    color: #4b5563;
    margin: 1rem 0;
}

.blog-article .content code {
    background-color: #f3f4f6;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
}

.blog-article .content pre {
    background-color: #111827;
    color: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1rem 0;
}

.blog-article .content pre code {
    background-color: transparent;
    padding: 0;
}

/* Resource links section */
.resource-links {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    margin-top: 3rem;
}

.resource-links h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.resource-links .resource-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.resource-links .resource-column h3 {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.resource-links ul {
    list-style: none;
    padding: 0;
}

.resource-links li {
    margin-bottom: 0.25rem;
}

.resource-links a {
    color: #2563eb;
    text-decoration: underline;
    font-size: 0.875rem;
}

.resource-links a:hover {
    color: #1d4ed8;
}

/* Footer */
footer {
    background-color: #1f2937;
    color: #ffffff;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer p {
    text-align: center;
}

.footer-groups h4 {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-groups h4::after {
    content: '';
    width: 1.5rem;
    height: 1px;
    background: rgba(0, 255, 0, 0.55);
}

.footer-groups ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 0.85rem;
}

.footer-groups li {
    margin: 0;
}

.footer-groups a {
    text-decoration: none;
    display: block;
    padding: 0.45rem 0.6rem;
    border-radius: 0.45rem;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid transparent;
}

.footer-groups a:hover {
    background: rgba(0, 255, 0, 0.14);
    border-color: rgba(0, 255, 0, 0.35);
}

/* Responsive design */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .site-nav {
        border-radius: 0.7rem;
    }

    .brand-lockup {
        gap: 0.75rem;
    }

    .nav-pill {
        justify-content: center;
        text-align: center;
    }

    .footer-groups ul {
        grid-template-columns: 1fr;
    }

    .resource-links .resource-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Transition utilities */
.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Utility classes */
.hover\:text-blue-600:hover {
    color: #2563eb;
}

.hover\:text-blue-800:hover {
    color: #1d4ed8;
}

.hover\:underline:hover {
    text-decoration: underline;
}

/* Additional utility classes used by page markup */
.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-md {
    max-width: 28rem;
}

.w-4 {
    width: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.w-6 {
    width: 1.5rem;
}

.w-10 {
    width: 2.5rem;
}

.w-12 {
    width: 3rem;
}

.h-4 {
    height: 1rem;
}

.h-5 {
    height: 1.25rem;
}

.h-6 {
    height: 1.5rem;
}

.h-10 {
    height: 2.5rem;
}

.h-12 {
    height: 3rem;
}

.p-2 {
    padding: 0.5rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pt-8 {
    padding-top: 2rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-20 {
    margin-top: 5rem;
}

.ml-1 {
    margin-left: 0.25rem;
}

.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

.col-span-1 {
    grid-column: span 1 / span 1;
}

@media (min-width: 768px) {
    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Back button */
.back-button {
    display: inline-block;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    background-color: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

.back-button:hover {
    background-color: #e5e7eb;
}
