:root {
    --text-color: #1a1a1a;
    --text-secondary: #666666;
    --bg-color: #ffffff;
    --bg-gray: #f9fafb;
    --card-bg: #ffffff;
    --accent: #0066ff;
    --primary-50: #eff6ff;
    --primary-500: #0066ff;
    --primary-600: #0052cc;
    --border: rgba(0, 0, 0, 0.2);
    --border-light: #e5e7eb;
    --sidebar-bg: #ffffff;
    --green-50: #f0fdf4;
    --green-500: #22c55e;
    --green-100: #dcfce7;
    --green-700: #15803d;
    --blue-50: #eff6ff;
    --blue-500: #3b82f6;
    --blue-100: #dbeafe;
    --blue-700: #1d4ed8;
    --purple-50: #faf5ff;
    --purple-500: #a855f7;
    --amber-100: #fef3c7;
    --amber-700: #b45309;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-gray);
    font-size: 16px;
}

header {
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem;
    background: var(--bg-color);
}

header nav {
    margin: 0 auto;
    max-width: 64rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header nav > a {
    text-decoration: none;
    font-weight: 500;
    color: var(--text-color);
}

header nav a strong {
    font-family: "Inter", sans-serif !important;
    font-size: 1.75rem !important;
    font-weight: 900 !important;
    letter-spacing: -2.9px !important;
    line-height: 1.4em !important;
    font-style: normal !important;
    font-display: swap;
}

.nav-center {
    display: flex;
    gap: 1rem;
    flex: 1;
    justify-content: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.nav-link:hover {
    background-color: var(--card-bg);
    border-color: var(--accent);
}

.nav-link.active {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Search functionality */
.search-container {
    position: relative;
}

.search-container .feather {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
    z-index: 1;
    pointer-events: none;
}

#search {
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border: 1px solid #d1d5da;
    border-radius: 6px;
    width: 250px;
    font-size: 14px;
}

#search:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

#search-results {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 400px;
    background: #fff;
    border: 1px solid #d1d5da;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.search-result {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e1e4e8;
    position: relative;
    transition: all 0.2s ease;
}

.search-result:last-child {
    border-bottom: none;
}

.search-result a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.search-result:hover {
    background-color: #f6f8fa;
}

.search-result-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #0366d6;
}

.search-result-snippet {
    font-size: 0.875rem;
    color: #586069;
    line-height: 1.4;
}

.search-no-results {
    padding: 1rem;
    text-align: center;
    color: #586069;
    font-style: italic;
}

/* Enhanced search styling for title vs content matches */
.search-result.title-match {
    border-left: 3px solid var(--accent);
    background-color: rgba(0, 102, 255, 0.02);
}

.search-result.title-match .search-result-title {
    font-weight: 700;
    color: var(--accent);
}

.search-result.content-match {
    border-left: 3px solid #ccc;
}


.search-result mark {
    background-color: #ffeb3b;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600;
}

mark {
    background-color: #fff3cd;
    padding: 0 2px;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    gap: 1.5rem;
}

.sidebar {
    flex: 0 0 250px;
    background: var(--sidebar-bg);
    border-radius: 16px;
    padding: 1rem;
    height: fit-content;
    border: 1px solid var(--border);
}

.nav-section {
    margin-bottom: 1.5rem;
}

.nav-section:last-child {
    margin-bottom: 0;
}

.nav-section h3 {
    color: #24292e;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.nav-section ul {
    list-style: none;
}

.nav-section li {
    margin-bottom: 0.5rem;
}

.nav-section a {
    color: #586069;
    text-decoration: none;
    padding: 0.25rem 0;
    display: block;
    border-radius: 3px;
    transition: color 0.2s;
}

.nav-section a:hover {
    color: #0366d6;
}

.nav-subsection {
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.nav-subsection h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #24292e;
}

.nav-subsection h4 a {
    color: #0366d6;
    text-decoration: none;
    font-weight: 600;
}

.nav-subsection h4 a:hover {
    text-decoration: underline;
}

.nav-subsection ul {
    margin-left: 0.5rem;
}

.nav-subsection li {
    margin-bottom: 0.25rem;
}

.nav-subsection a {
    color: #6a737d;
    font-size: 0.875rem;
}

.content {
    flex: 1;
    background: var(--bg-color);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    min-height: 500px;
}

.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 600;
}

.content h1:first-child, .content h2:first-child, .content h3:first-child {
    margin-top: 0;
}

.content h1 {
    font-size: 2rem;
    font-weight: 700;
}

.content h2 {
    font-size: 1.5rem;
}

.content p {
    margin-bottom: 1rem;
}

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

.content li {
    margin-bottom: 0.25rem;
}

/* Inline code styling */
.content code:not([class*="language-"]) {
    background-color: rgba(175, 184, 193, 0.2);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Fira Code', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
    font-size: 0.875em;
    color: #d73a49;
    border: 1px solid rgba(175, 184, 193, 0.3);
}

/* Override default code block styles for Prism */
.content pre {
    background-color: #2d2d2d !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    overflow-x: auto !important;
    border: none !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    position: relative !important;
}

.content pre code {
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: #f8f8f2 !important;
    font-family: 'Fira Code', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    border: none !important;
}

/* Prism toolbar styling */
.content div.code-toolbar {
    position: relative !important;
    margin-bottom: 1.5rem !important;
}

.content div.code-toolbar > .toolbar {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.content div.code-toolbar:hover > .toolbar {
    opacity: 1 !important;
}

.content div.code-toolbar > .toolbar .toolbar-item button {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px !important;
    color: #f8f8f2 !important;
    padding: 4px 8px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.content div.code-toolbar > .toolbar .toolbar-item button:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.content blockquote {
    border-left: 4px solid #dfe2e5;
    padding-left: 1rem;
    color: #586069;
    margin-bottom: 1rem;
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.content th, .content td {
    border: 1px solid #d1d5da;
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.content th {
    background-color: #f6f8fa;
    font-weight: 600;
}

.content img {
    max-width: 100%;
    height: auto;
}

.content figure {
    margin: 1.5rem 0;
    text-align: center;
}

.content figure img {
    display: block;
    margin: 0 auto;
}

.content figcaption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #586069;
    font-style: italic;
    text-align: center;
}

/* Header link anchors */
.header-link {
    opacity: 0;
    margin-left: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: normal;
    transition: opacity 0.2s ease;
    cursor: pointer;
    font-size: 0.8em;
}

.content h1:hover .header-link,
.content h2:hover .header-link,
.content h3:hover .header-link,
.content h4:hover .header-link {
    opacity: 1;
}

.header-link:hover {
    opacity: 1 !important;
}

/* Version/Release Information */
.version-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.version-info .version {
    font-weight: 600;
    color: var(--accent);
}

.version-info .date {
    color: #666;
}

.release-version {
    display: inline-block;
    margin-left: 0.75rem;
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Simplified header navigation - old nav styles removed */

/* Landing Page Styles */
.landing-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.landing-header {
    text-align: center;
    margin-bottom: 4rem;
}

.landing-header h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: -1px;
}

.landing-description {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Product Cards */
.product-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #24292e;
    border-bottom: 2px solid #e1e4e8;
    padding-bottom: 0.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.product-card:hover {
    border-color: var(--accent);
    background: var(--bg-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.product-title {
    margin-bottom: 1rem;
}

.product-title a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 600;
}

.product-title a:hover {
    color: var(--accent);
}

.product-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
    padding-left: 0;
}

.product-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.product-actions {
    margin-top: auto;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-500);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-600);
}

/* Guide Topic Cards */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.topic-card {
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.2s ease;
    text-align: left;
}

.topic-card:hover {
    border-color: var(--accent);
    background: var(--bg-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.topic-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.topic-icon {
    font-size: 2rem;
}

.topic-title {
    color: var(--text-color);
    font-size: 1.25rem;
    margin: 0;
    font-weight: 600;
}

.topic-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.topic-guides h4 {
    font-size: 0.9rem;
    color: #24292e;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.guide-list {
    list-style: none;
}

.guide-list li {
    margin-bottom: 0.5rem;
}

.guide-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.guide-link:hover {
    text-decoration: underline;
}

.coming-soon {
    color: #6a737d;
    font-style: italic;
}

/* All Guides Section */
.all-guides-section {
    border-top: 1px solid #e1e4e8;
    padding-top: 3rem;
}

.all-guides-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #24292e;
}

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

.guide-card {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.guide-card:hover {
    border-color: #0366d6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.guide-card h4 {
    margin-bottom: 0.75rem;
}

.guide-card h4 a {
    color: #24292e;
    text-decoration: none;
    font-size: 1.1rem;
}

.guide-card h4 a:hover {
    color: #0366d6;
}

.guide-excerpt {
    color: #586069;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.guide-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #f1f3f4;
    color: #5f6368;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Navigation Categories */
.nav-category {
    margin-bottom: 0.25rem;
}

.nav-category h4 {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

/* Collapsible Navigation Categories */
.nav-category.collapsible {
    margin-bottom: 0.5rem;
}

.nav-category-header {
    margin-bottom: 0.25rem;
}

.nav-category-header a {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-category-header a:hover {
    color: var(--accent);
}

.nav-category.active .nav-category-header a {
    color: var(--accent);
    font-weight: 600;
}

.expand-icon {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
    font-weight: bold;
}

.nav-category-content {
    margin-left: 1rem;
}

.nav-category-content.expanded {
    margin-bottom: 1rem;
}

.nav-category ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.nav-category li {
    margin-bottom: 0.5rem;
}

.nav-category li.active > a {
    background-color: var(--card-bg);
    color: var(--accent);
    font-weight: 600;
}

.nav-category a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    border-radius: 6px;
    text-decoration: none;
    color: #666;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.nav-category a:hover {
    background-color: var(--card-bg);
    color: var(--accent);
}

.nav-category.active .nav-category-header a {
    color: var(--accent);
    font-weight: 600;
}

.nav-article a.active {
    background-color: var(--accent);
    color: white;
    font-weight: 600;
}

.nav-articles {
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.nav-article {
    margin-bottom: 0.15rem;
}

.nav-article a {
    display: block;
    padding: 0.2rem 0;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.nav-article a:hover {
    background-color: var(--card-bg);
    color: var(--accent);
}

/* Special styling for collapsible navigation links */
.nav-category.collapsible a {
    margin-left: 0;
    border-radius: 4px;
    font-size: 0.85rem;
}

.nav-category.collapsible li.active > a {
    background-color: var(--accent);
    color: white;
}

.nav-category.collapsible a:hover {
    background-color: var(--card-bg);
    color: var(--accent);
}

.nav-category.collapsible li.active > a:hover {
    background-color: var(--accent);
    color: white;
}

/* Full width content for landing pages */
.content.full-width {
    max-width: none;
    padding: 0;
    border: none;
    background: transparent;
}

/* Home page navigation cards */
.home-navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.home-nav-card {
    background: var(--card-bg);
    color: var(--text-color);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.home-nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    border-color: var(--accent);
    background: var(--bg-color);
}

.home-nav-card h2 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
    border: none;
    padding: 0;
    color: var(--text-color);
}

.home-nav-card p {
    margin-bottom: 2rem;
    color: #666;
    font-size: 1.1rem;
}

.home-nav-card .btn-primary {
    background: var(--accent);
    border: 2px solid var(--accent);
    color: white;
}

.home-nav-card .btn-primary:hover {
    background: transparent;
    color: var(--accent);
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .sidebar {
        flex: none;
    }
    
    header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav {
        order: 2;
    }
    
    .search-container {
        order: 3;
        width: 100%;
    }
    
    #search {
        width: 100%;
    }
    
    #search-results {
        width: 100%;
        right: auto;
        left: 0;
    }
    
    .landing-header h1 {
        font-size: 2rem;
    }
    
    .landing-description {
        font-size: 1.1rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .topic-grid {
        grid-template-columns: 1fr;
    }
    
    .all-guides-grid {
        grid-template-columns: 1fr;
    }
}

/* Topic page styles */
.topic-articles {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.article-card {
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
    background: var(--bg-color);
}

.article-card h3 {
    margin-bottom: 0.75rem;
}

.article-card h3 a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.article-card h3 a:hover {
    text-decoration: underline;
}

.article-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

.article-excerpt {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

.empty-topic {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
}

.empty-topic p {
    margin-bottom: 1rem;
}

.empty-topic a {
    color: var(--accent);
    text-decoration: none;
}

.empty-topic a:hover {
    text-decoration: underline;
}

/* Home page styles */
.home-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.home-hero {
    text-align: center;
}

.home-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -2.9px;
    background: linear-gradient(135deg, var(--accent) 0%, #0052cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-hero > p {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Home search styles */
.home-search-container {
    max-width: 600px;
    margin: 0 auto 4rem auto;
    position: relative;
}

.home-search-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.home-search-wrapper .feather {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 20px;
    z-index: 1;
    pointer-events: none;
}

#home-search {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.5rem;
    font-size: 1.1rem;
    border: 2px solid var(--border);
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#home-search:focus {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.15);
}

#home-search::placeholder {
    color: #999;
}

.search-hint {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
    margin-top: 0.5rem;
}

#home-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    margin-top: 0.5rem;
}

/* Home navigation cards */
.home-navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.home-nav-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.home-nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.home-nav-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent);
}

.home-nav-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #0052cc;
    transform: translateY(-1px);
}

/* Home sections with category grids */
.home-sections {
    margin-bottom: 4rem;
}

.home-section {
    margin-bottom: 4rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    /*border-bottom: 1px solid var(--border);*/
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent);
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.section-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.section-link:hover {
    color: #0052cc;
    text-decoration: underline;
}

.home-content {
    max-width: 800px;
    margin: 0 auto;
}

.home-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.home-content ul {
    list-style: none;
    padding: 0;
}

.home-content li {
    margin-bottom: 0.75rem;
}

.home-content li a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.home-content li a:hover {
    color: #0052cc;
    text-decoration: underline;
}

.home-content li a::before {
    content: "→";
    margin-right: 0.5rem;
    color: var(--accent);
    font-weight: bold;
}

/* Responsive design for home page */
@media (max-width: 768px) {
    .home-hero h1 {
        font-size: 2.5rem;
    }
    
    .home-hero > p {
        font-size: 1.1rem;
    }
    
    .home-navigation {
        grid-template-columns: 1fr;
    }
    
    .home-nav-card {
        padding: 1.5rem;
    }
    
    #home-search {
        font-size: 1rem;
        padding: 0.9rem 1.2rem;
    }
}

/* Feedback Section Styles */
.feedback-section {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}

.feedback-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.feedback-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.feedback-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    font-weight: 500;
    min-width: 100px;
}

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

.feedback-yes {
    border-color: #22c55e;
    color: #22c55e;
}

.feedback-yes:hover {
    background: #22c55e;
    color: white;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.feedback-no {
    border-color: #ef4444;
    color: #ef4444;
}

.feedback-no:hover {
    background: #ef4444;
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.feedback-icon {
    font-size: 1.2rem;
}

.feedback-thanks {
    text-align: center;
}

.feedback-thanks h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #22c55e;
    margin-bottom: 1rem;
}

.feedback-thanks p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.feedback-thanks a {
    color: var(--accent);
    text-decoration: none;
}

.feedback-thanks a:hover {
    text-decoration: underline;
}

/* Responsive feedback design */
@media (max-width: 768px) {
    .feedback-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .feedback-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .feedback-section {
        margin-top: 2rem;
        padding: 1.5rem;
    }
}

/* Footer Styles */
footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    margin-top: 2rem;
    padding: 1rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-content p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

.footer-content a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.footer-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    footer {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
}

/* Category Grid and Cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


.category-icon.bg-primary {
    background-color: var(--primary-50);
    color: var(--primary-500);
}

.category-icon.bg-green {
    background-color: var(--green-50);
    color: var(--green-500);
}

.category-icon.bg-purple {
    background-color: var(--purple-50);
    color: var(--purple-500);
}

.category-icon.bg-blue {
    background-color: var(--blue-50);
    color: var(--blue-500);
}

.category-icon.bg-amber {
    background-color: #fef3c7;
    color: var(--amber-700);
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.status-badge.active {
    background-color: var(--green-100);
    color: var(--green-700);
}

.status-badge.beta {
    background-color: var(--amber-100);
    color: var(--amber-700);
}

.status-badge.coming-soon {
    background-color: #f3f4f6;
    color: #6b7280;
}

.category-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.category-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.category-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    line-height: 1.4;
}


.category-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.875rem;
    flex-grow: 1;
}

.card-actions {
    margin-top: auto;
}

.category-actions {
    margin-top: auto;
    padding-top: 0.5rem;
}

/* Category Articles */
.category-articles {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.category-content {
    margin-top: 2rem;
}

.empty-category {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    background: var(--card-bg);
    border-radius: 12px;
    margin: 2rem 0;
}

.empty-category p {
    margin-bottom: 1rem;
}

.empty-category a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.empty-category a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .category-icon {
        font-size: 2.5rem;
    }
}

/* Modern Typography from Tools Page */
.heading-modern {
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text-color);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 640px) {
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.text-gray-600 {
    color: var(--text-secondary);
}

/* Article List Styling */
.article-item {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.article-item:hover {
    color: var(--accent);
}

.article-item:last-child {
    border-bottom: none;
}

.article-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.article-title {
    font-size: 1rem;
    font-weight: 500;
    color: inherit;
    margin: 0 !important;
    margin-bottom: 0 !important;
    flex: 1;
    line-height: 1.4;
}

.article-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.article-type {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    background-color: var(--primary-50);
    color: var(--primary-500);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.2s ease;
}

.article-item:hover .article-type {
    opacity: 1;
    transform: translateX(0);
}

.article-actions i {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.article-item:hover .article-actions i {
    color: var(--accent);
    transform: translateX(2px);
}

/* Article Groups */
.article-group {
    margin-bottom: 0;
}

.article-group:last-child {
    margin-bottom: 0;
}

.article-group-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-group-content {
    margin-left: 0;
}