@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

:root {
    --primary-color: #1e40af;
    --secondary-color: #0f172a;
    --accent-color: #f97316;
    --text-color: #1f2937;
    --light-bg: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    /* Plugin accent colors */
    --anziutils-accent: #3b82f6;
    --anziutils-glow: rgba(59, 130, 246, 0.3);
    --reconnect-accent: #10b981;
    --reconnect-glow: rgba(16, 185, 129, 0.3);
}

/* Dark mode overrides */
[data-theme="dark"] {
    --primary-color: #3b82f6;
    --secondary-color: #0f172a;
    --accent-color: #f97316;
    --text-color: #ffffff;
    --light-bg: #0f172a;
    --white: #1e293b;
    --border-color: #334155;
    --glass-bg: rgba(0, 0, 0, 0.3);
    --glass-border: rgba(255, 255, 255, 0.08);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: var(--light-bg);
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================== NAVBAR ===================== */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

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

/* Theme Toggle */
.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
    padding: 0;
    line-height: 1;
    text-align: center;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: inline;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: inline;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

/* Breadcrumb */
.breadcrumb {
    padding: 0.75rem 20px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    font-size: 0.85rem;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

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

.breadcrumb .sep {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .current {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* ===================== HERO ===================== */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #1e40af 100%);
    color: #ffffff;
    padding: 6rem 20px 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(249, 115, 22, 0.06) 0%, transparent 50%);
    animation: heroShimmer 15s ease-in-out infinite;
}

@keyframes heroShimmer {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-2%, -1%);
    }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.discord-widget {
    flex-shrink: 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.description {
    font-size: 1.05rem;
    max-width: 700px;
    margin-bottom: 2rem;
    opacity: 1;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tester-callout {
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.3);
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.tester-callout .badge {
    background: var(--accent-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 0.25rem;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.tester-callout a {
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
}

.tester-callout a:hover {
    text-decoration: underline;
}

.badge-new {
    background: #10b981;
    color: white;
    padding: 0.1rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* ===================== CHANGELOG ===================== */
.changelog-section {
    background: var(--white);
    padding: 4rem 0;
}

.changelog-card {
    background: var(--light-bg);
    border-radius: 1rem;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto;
}

.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.changelog-header h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.changelog-version {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.changelog-body h4 {
    color: var(--primary-color);
    margin: 1.5rem 0 0.75rem;
    font-size: 1.1rem;
}

.changelog-body ul {
    list-style: none;
    padding-left: 0.5rem;
}

.changelog-body li {
    padding: 0.4rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.changelog-body li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ===================== BUTTONS ===================== */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

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

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===================== PLUGIN CARDS (HUB) ===================== */
.plugins-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.plugins-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.plugins-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.plugin-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.plugin-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--border-color);
    position: relative;
}

.plugin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-accent, var(--accent-color));
    transition: height 0.3s ease;
}

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

.plugin-card:hover::before {
    height: 6px;
}

.plugin-card.anziutils {
    --card-accent: var(--anziutils-accent);
}

.plugin-card.reconnect {
    --card-accent: var(--reconnect-accent);
}

.plugin-card-header {
    padding: 2rem 2rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.plugin-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.06));
}

.plugin-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.3px;
}

.plugin-card-header .platform-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.badge-paper {
    background: rgba(59, 130, 246, 0.1);
    color: var(--anziutils-accent);
}

.badge-velocity {
    background: rgba(16, 185, 129, 0.1);
    color: var(--reconnect-accent);
}

.plugin-card-body {
    padding: 0 2rem 1.5rem;
}

.plugin-card-body .card-tagline {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.plugin-card-body .feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.plugin-card-body .feature-list li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plugin-card-body .feature-list li::before {
    content: '✓';
    color: var(--card-accent, var(--accent-color));
    font-weight: 700;
    font-size: 0.85rem;
}

.plugin-card-footer {
    padding: 1rem 2rem 2rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.plugin-card-footer .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 0.5rem;
}

.btn-card-primary {
    background: var(--card-accent, var(--primary-color));
    color: #ffffff;
}

.btn-card-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-card-secondary {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-card-secondary:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

/* ===================== SECTIONS ===================== */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* ===================== FEATURES ===================== */
.features {
    background: var(--light-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.feature-card li:last-child {
    border-bottom: none;
}

/* ===================== COMMANDS TABLE ===================== */
.commands {
    background: var(--white);
}

.commands-table-wrapper {
    overflow-x: auto;
}

.commands-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.commands-table thead {
    background: var(--primary-color);
    color: var(--white);
}

.commands-table th,
.commands-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.commands-table tbody tr:hover {
    background: var(--light-bg);
}

.commands-table code {
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    color: #d946ef;
}

/* ===================== PLACEHOLDERS ===================== */
.placeholders {
    background: var(--light-bg);
}

.placeholders>.container>p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.placeholder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.placeholder-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.placeholder-item code {
    display: block;
    background: #1f2937;
    color: #10b981;
    padding: 0.75rem;
    border-radius: 0.25rem;
    margin-bottom: 0.75rem;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
}

.placeholder-item p {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* ===================== INSTALLATION ===================== */
.installation {
    background: var(--white);
}

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

.step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-color);
}

.step code {
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
}

/* ===================== WHY CHOOSE ===================== */
.why-choose {
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
}

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

.why-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.why-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===================== CONFIG SECTION ===================== */
.config-section {
    background: var(--light-bg);
}

.config-block {
    background: #1e293b;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.config-block-header {
    background: rgba(255, 255, 255, 0.06);
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Courier New', monospace;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.config-block pre {
    margin: 0;
    padding: 1.5rem;
    background: transparent;
    color: #10b981;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
    line-height: 1.6;
    font-size: 0.9rem;
}

.config-block pre code {
    background: none;
    color: #10b981;
    padding: 0;
}

/* ===================== CONTACT ===================== */
.contact {
    background: linear-gradient(135deg, var(--primary-color), #1e293b);
    color: #ffffff;
    text-align: center;
    padding: 4rem 20px;
}

.contact h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ===================== FOOTER ===================== */
.footer {
    background: var(--secondary-color);
    color: #ffffff;
    text-align: center;
    padding: 2rem 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer a {
    color: var(--accent-color);
    text-decoration: none;
    margin: 0 0.5rem;
}

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

/* ===================== DOCS LAYOUT ===================== */
.docs-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
}

.docs-sidebar {
    width: 280px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 2rem;
    position: sticky;
    top: 90px;
    height: calc(100vh - 90px);
    overflow-y: auto;
    flex-shrink: 0;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    border-left: 3px solid transparent;
    padding-left: 0.75rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.sidebar-menu a:hover {
    color: var(--accent-color);
    border-left-color: var(--accent-color);
}

.docs-content {
    flex: 1;
    padding: 3rem;
    background: var(--white);
    min-width: 0;
}

/* Reset global section styles inside docs */
.docs-content section {
    padding: 0;
    margin-bottom: 2rem;
}

.docs-content section h2 {
    text-align: left;
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.docs-content h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.docs-content h3 {
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

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

.docs-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.docs-content code {
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    color: #d946ef;
    font-size: 0.9em;
}

.docs-content pre {
    background: #1e293b;
    color: #10b981;
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
    line-height: 1.5;
    font-size: 0.9rem;
}

.docs-content pre code {
    background: none;
    color: #10b981;
    padding: 0;
}

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

.docs-content table th {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem;
    text-align: left;
}

.docs-content table td {
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem;
}

.docs-content table tr:hover {
    background: var(--light-bg);
}

.docs-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.docs-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.docs-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: rgba(30, 64, 175, 0.3);
    transition: color 0.2s;
}

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

/* Reconnect docs accent */
.docs-sidebar.reconnect-sidebar {
    border-right: 3px solid var(--reconnect-accent);
}

.docs-sidebar.reconnect-sidebar .sidebar-title {
    color: var(--reconnect-accent);
}

.docs-sidebar.reconnect-sidebar a:hover {
    color: var(--reconnect-accent);
    border-left-color: var(--reconnect-accent);
}

/* ===================== DARK MODE OVERRIDES ===================== */
[data-theme="dark"] .navbar {
    background: rgba(2, 6, 23, 0.95);
}

[data-theme="dark"] .breadcrumb {
    background: rgba(2, 6, 23, 0.7);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #020617 0%, #0f172a 40%, #1e3a5f 100%);
}

[data-theme="dark"] .feature-card,
[data-theme="dark"] .plugin-card,
[data-theme="dark"] .why-item,
[data-theme="dark"] .placeholder-item {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .plugin-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .plugin-card-body .card-tagline {
    color: #94a3b8;
}

[data-theme="dark"] .commands-table {
    background: #1e293b;
}

[data-theme="dark"] .commands-table code {
    background: #334155;
    color: #c084fc;
}

[data-theme="dark"] .docs-content code {
    background: #334155;
    color: #c084fc;
}

[data-theme="dark"] .step code {
    background: #334155;
    color: #c084fc;
}

[data-theme="dark"] .placeholder-item code {
    background: #0f172a;
}

[data-theme="dark"] .config-block {
    background: #0f172a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .why-choose {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

[data-theme="dark"] .contact {
    background: linear-gradient(135deg, #1e3a5f, #020617);
}

[data-theme="dark"] .footer {
    background: #020617;
    border-top-color: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .docs-sidebar {
    background: #020617;
}

[data-theme="dark"] .docs-content {
    background: #0f172a;
}

[data-theme="dark"] .plugins-section {
    background: #0f172a;
}

[data-theme="dark"] .plugins-subtitle {
    color: #94a3b8;
}

[data-theme="dark"] .theme-toggle {
    color: #fbbf24;
}

[data-theme="dark"] .changelog-section,
[data-theme="dark"] .problem-section {
    background: #0f172a;
}

[data-theme="dark"] .changelog-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .changelog-header {
    border-bottom-color: #334155;
}

/* Dark mode text fixes */
[data-theme="dark"] section h2 {
    color: #e2e8f0;
}

[data-theme="dark"] .plugins-section h2 {
    color: #e2e8f0;
}

[data-theme="dark"] .plugin-card-header h3,
[data-theme="dark"] .feature-card h3,
[data-theme="dark"] .why-item h3,
[data-theme="dark"] .step h3 {
    color: #e2e8f0;
}

[data-theme="dark"] .step p,
[data-theme="dark"] .feature-card li,
[data-theme="dark"] .plugin-card-body .feature-list li,
[data-theme="dark"] .placeholder-item p,
[data-theme="dark"] .changelog-body li,
[data-theme="dark"] .problem-content p {
    color: #cbd5e1;
}

[data-theme="dark"] .changelog-header h3,
[data-theme="dark"] .changelog-body h4,
[data-theme="dark"] .problem-content h2 {
    color: #e2e8f0;
}



[data-theme="dark"] .stat-card {
    background: linear-gradient(135deg, #1e293b, #1e293b);
    border-color: #334155;
}

[data-theme="dark"] .stat-card .stat-label {
    color: #94a3b8;
}

[data-theme="dark"] .docs-content h1,
[data-theme="dark"] .docs-content section h2 {
    color: #93c5fd;
}

[data-theme="dark"] .docs-content h3 {
    color: #e2e8f0;
}

[data-theme="dark"] .docs-content p,
[data-theme="dark"] .docs-content li {
    color: #cbd5e1;
}

[data-theme="dark"] .docs-intro {
    color: #94a3b8;
}

[data-theme="dark"] .docs-content a {
    color: #93c5fd;
    text-decoration-color: rgba(147, 197, 253, 0.3);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--secondary-color);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        z-index: 100;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        padding: 0;
    }

    .nav-menu.active {
        max-height: 400px;
        padding: 1rem 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    [data-theme="dark"] .nav-menu {
        background: #020617;
    }

    .hero {
        padding: 4rem 20px 3rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.15rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    section h2 {
        font-size: 1.75rem;
    }

    .plugin-cards {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .commands-table {
        font-size: 0.9rem;
    }

    .commands-table th,
    .commands-table td {
        padding: 0.75rem 0.5rem;
    }

    .docs-container {
        flex-direction: column;
    }

    .docs-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        height: auto;
        border-bottom: 1px solid var(--border-color);
    }

    .docs-content {
        padding: 1.5rem;
    }

    .docs-content h1 {
        font-size: 1.75rem;
    }

    .docs-content section h2 {
        font-size: 1.35rem;
    }
}