:root {
    --bg: #0a0a0f;
    --bg-secondary: #12121a;
    --text: #e4e4e7;
    --text-muted: #71717a;
    --accent: #8b5cf6;
    --accent-hover: #a78bfa;
    --border: #27272a;
    --success: #22c55e;
    --error: #ef4444;
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navigation */
header {
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 100;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
    max-height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
    font-size: 0.9375rem;
}

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

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero */
.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* Tools grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.tool-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
}

.tool-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.tool-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.tool-card h2 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Tool page layout */
.tool-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.tool-page h1 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.tool-page .description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.9375rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

/* Form elements */
.tool-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.input-group {
    margin-bottom: 1rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

textarea, input[type="text"], input[type="number"] {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
    resize: vertical;
}

textarea:focus, input:focus {
    outline: none;
    border-color: var(--accent);
}

textarea {
    min-height: 150px;
}

/* Buttons */
.btn-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

button, .btn {
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

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

.btn-secondary {
    background: var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    background: #3f3f46;
}

/* Output */
.output-area {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
    white-space: pre-wrap;
    word-break: break-all;
    min-height: 100px;
    max-height: 400px;
    overflow-y: auto;
}

.output-area.success {
    border-color: var(--success);
}

.output-area.error {
    border-color: var(--error);
    color: var(--error);
}

/* Status messages */
.status {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.status.success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.status.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 4rem;
}

/* ============================
   SEO / Blog Content Styles
   ============================ */

.seo-content {
    margin-top: 2rem;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.seo-content h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem 0;
    font-weight: 600;
}

.seo-content h2:first-child {
    margin-top: 0;
}

.seo-content h3 {
    font-size: 1.25rem;
    margin: 2rem 0 0.875rem 0;
    font-weight: 600;
}

.seo-content p {
    margin-bottom: 1.5rem;
    line-height: 1.75;
    font-size: 1.0625rem;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.seo-content ul, .seo-content ol {
    margin-left: 1.25rem;
    margin-bottom: 1.75rem;
    padding-left: 0.5rem;
    line-height: 1.75;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.seo-content li {
    margin-bottom: 0.625rem;
    max-width: 100%;
}

.seo-content pre {
    background: var(--bg-secondary);
    padding: 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.75rem 0;
    border: 1px solid var(--border);
    max-width: 100%;
}

.seo-content code {
    background: var(--bg-secondary);
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 0.875em;
    color: var(--accent);
}

.seo-content pre code {
    background: none;
    padding: 0;
    color: var(--text);
}

.seo-content a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

.seo-content a:hover {
    color: var(--accent-hover);
}

.seo-content strong {
    font-weight: 600;
    color: var(--text);
}

/* Tables */
.seo-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    display: block;
    overflow-x: auto;
}

.seo-content thead tr {
    background: rgba(139, 92, 246, 0.1);
    border-bottom: 2px solid var(--accent);
}

.seo-content tbody tr {
    border-bottom: 1px solid var(--border);
}

.seo-content tbody tr:last-child {
    border-bottom: none;
}

.seo-content tbody tr:hover {
    background: rgba(139, 92, 246, 0.05);
}

.seo-content th,
.seo-content td {
    padding: 0.75rem 1rem;
    text-align: left;
    white-space: nowrap;
}

.seo-content th {
    font-weight: 600;
    color: var(--text);
}

.seo-content td {
    color: var(--text-muted);
}

.seo-content td code {
    background: var(--bg);
    color: var(--accent);
}

/* Blog-specific */
.blog-back {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.blog-back a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-back a:hover {
    color: var(--accent);
}

/* Callout boxes */
.callout {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-left: 4px solid var(--accent);
    padding: 1.75rem;
    margin: 2.5rem 0;
    border-radius: 8px;
}

.callout h3 {
    margin-top: 0;
    color: var(--accent);
    font-size: 1.125rem;
}

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

.callout a {
    font-weight: 500;
}

/* ============================
   Blog Index List
   ============================ */

.blog-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    gap: 1.5rem;
}

.blog-item {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.blog-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.blog-item-content h2 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    line-height: 1.3;
}

.blog-item-content h2 a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-item-content h2 a:hover {
    color: var(--accent);
}

.blog-item-content > p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.blog-item-meta {
    display: flex;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* ============================
   Recommended Cards
   ============================ */

.rec-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.rec-card h3 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
}

.rec-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.rec-card .home-card-tags {
    margin-bottom: 1rem;
}

.rec-button-wrapper {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.rec-card .btn-primary,
.rec-card .btn-secondary {
    display: inline-block;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rec-card .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.rec-card .btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: #3f3f46;
}

.rec-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.rec-badge-green {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ============================
   Homepage
   ============================ */

.home-page {
    max-width: 100%;
    padding: 0;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

.home-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    display: block;
}

.home-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.home-card-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.home-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.home-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

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

.home-card-tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: var(--bg);
    border-radius: 4px;
}

.home-card-tags .tag-free {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.home-card-soon {
    opacity: 0.6;
    position: relative;
    cursor: default;
}

.home-card-soon:hover {
    border-color: var(--border);
    transform: none;
}

.home-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ============================
   Responsive — Mobile
   ============================ */

@media (max-width: 480px) {
    header {
        padding: 0.75rem 1rem;
    }

    .logo {
        font-size: 1.1rem;
    }
    
    .logo img {
        height: 32px;
        max-height: 32px;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.8125rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

    main {
        padding: 1rem;
    }

    .tool-page {
        padding: 1rem;
    }

    .tool-page h1 {
        font-size: 1.625rem;
    }

    .tool-container {
        padding: 1rem;
    }

    .btn-row {
        gap: 0.5rem;
    }

    button, .btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }

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

    .seo-content h3 {
        font-size: 1.125rem;
    }

    .seo-content p {
        font-size: 1rem;
    }

    .seo-content pre {
        padding: 0.875rem;
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .seo-content ul, .seo-content ol {
        margin-left: 0.75rem;
        padding-left: 0.5rem;
    }

    .blog-list {
        padding: 1rem;
        gap: 1rem;
    }

    .blog-item {
        padding: 1.25rem;
    }

    .blog-item-content h2 {
        font-size: 1.25rem;
    }

    .callout {
        padding: 1.25rem;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .home-grid {
        padding: 0 1rem 1rem;
        gap: 1rem;
    }

    .home-card {
        padding: 1.5rem;
    }

    .home-card h2 {
        font-size: 1.25rem;
    }

    .rec-card-header {
        flex-direction: column;
    }

    footer {
        padding: 1.5rem 1rem;
    }
}

/* ============================
   Responsive — Tablet
   ============================ */

@media (min-width: 481px) and (max-width: 768px) {
    header {
        padding: 0.875rem 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    main {
        padding: 1.5rem;
    }

    .tool-page {
        padding: 1.5rem;
    }

    .tool-page h1 {
        font-size: 1.875rem;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .seo-content pre {
        padding: 1rem;
    }

    .seo-content ul, .seo-content ol {
        margin-left: 1rem;
    }

    .blog-list {
        padding: 1.5rem;
    }

    .blog-item {
        padding: 1.5rem;
    }
}

/* ============================
   Responsive — Tablet (Medium)
   ============================ */

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .blog-list {
        padding: 2rem;
    }

    .blog-item {
        padding: 1.75rem;
    }

    .tool-page {
        padding: 2rem;
    }

    .seo-content table {
        font-size: 0.9rem;
    }

    .rec-card {
        padding: 1.5rem;
    }
}

/* ============================
   Responsive — Mobile/Small Tablet
   ============================ */

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }

    /* Recommended page responsive */
    .rec-card {
        padding: 1rem;
    }

    .rec-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .rec-badge-green {
        align-self: flex-start;
    }

    .rec-button-wrapper {
        margin-top: 0.75rem;
        flex-direction: column;
    }

    .rec-card .btn-primary,
    .rec-card .btn-secondary {
        display: block;
        width: 100%;
        text-align: center;
        margin-right: 0 !important;
    }
}

/* Share Buttons */
.share-buttons {
    margin: 3rem 0 2rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.share-buttons h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--text);
}

.share-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    margin-right: 0.75rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s;
}

.share-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.share-btn.twitter {
    background: #000000;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.copy {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
}

/* Related Tools */
.related-tools {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.related-tools h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--text);
}

.related-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.related-tool-card {
    display: block;
    padding: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
}

.related-tool-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

/* Article Meta */
.article-meta {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0.5rem 0 2rem;
    font-style: italic;
}

/* Newsletter Signup */
.newsletter-signup {
    margin: 3rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg));
    border: 1px solid var(--accent);
    border-radius: 8px;
    max-width: 1000px;
    text-align: center;
}

.newsletter-signup h3 {
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.newsletter-signup p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0.75rem 2rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.newsletter-form button:hover {
    background: var(--accent-hover);
}

/* Dark Mode Toggle */
.theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: var(--bg-secondary);
    color: var(--text);
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    z-index: 1001;
}

.theme-toggle:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Light Mode Variables */
body.light-mode {
    --bg: #ffffff;
    --bg-secondary: #f4f4f5;
    --text: #18181b;
    --text-muted: #71717a;
    --border: #e4e4e7;
}

/* Site Search */
.site-search {
    margin: 2rem 0;
    max-width: 600px;
}

.site-search input {
    width: 100%;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
}

.site-search input:focus {
    outline: none;
    border-color: var(--accent);
}

.search-results {
    margin-top: 1rem;
}

.search-result-item {
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.search-result-item h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.search-result-item p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .share-btn {
        width: 100%;
        margin-right: 0;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .theme-toggle {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* DISABLED - Navbar Search/* Navbar Search */
.nav-search {
    position: relative;
    flex: 1;
    max-width: 600px;
    margin: 0 2rem;
}

.nav-search input {
    width: 100%;
    padding: 0.625rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.nav-search input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg);
}

.nav-search input::placeholder {
    color: var(--text-muted);
}

.nav-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-search-result {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

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

.nav-search-result:hover {
    background: var(--bg);
}

.nav-search-result strong {
    color: var(--accent);
    margin-bottom: 0.25rem;
    font-size: 0.9375rem;
}

.nav-search-result span {
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.4;
}

/* Mobile: Hide search on small screens */
@media (max-width: 768px) {
    .nav-search {
        display: none;
    }
    
    nav {
        flex-wrap: wrap;
    }
}
*/

/* Tablet: Reduce search width */
@media (max-width: 1024px) {
    .nav-search {
        max-width: 350px;
        margin: 0 1rem;
    }
}
