:root {
    /* Typography */
    --font-family-primary: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    --font-family-mono: 'Fira Code', 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
    --font-family-fallback: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;

    /* Brand Colors */
    --primary-color: #ed8936;
    --primary-color-light: #e69627;
    --primary-color-dark: #d69227;
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-light) 100%);
    --primary-gradient-hover: linear-gradient(135deg, var(--primary-color-light) 0%, var(--primary-color-dark) 100%);

    /* Secondary Colors */
    --secondary-color: #fed7aa;
    --secondary-color-light: #fdba74;
    --secondary-gradient: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-color-light) 100%);

    /* Text Colors */
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #7f8c8d;
    --text-dark: #2c3e50;
    --text-light: #555;
    --text-white: #ffffff;
    --text-orange-dark: #9a3412;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-muted: #f7fafc;
    --bg-light-gray: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    --card-gradient: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    --coming-soon-gradient: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);

    /* Status Colors */
    --success-color: #28a745;
    --success-bg: #d4edda;
    --success-border: #c3e6cb;
    --success-text: #155724;
    --warning-color: #856404;
    --warning-bg: #fff3cd;
    --warning-border: #ffeaa7;
    --error-color: #e74c3c;
    --error-bg: #fdf2f2;
    --error-border: #f5c6cb;
    --info-bg: #e8f5e8;
    --info-border: #d4edda;

    /* Neutral Colors */
    --neutral-light: #ecf0f1;
    --neutral-medium: #95a5a6;
    --neutral-dark: #7f8c8d;
    --neutral-darker: #34495e;
    --neutral-darkest: #2c3e50;

    /* Interactive Colors */
    --overlay-light: rgba(255, 255, 255, 0.2);
    --overlay-medium: rgba(255, 255, 255, 0.25);
    --shadow-dark: rgba(0, 0, 0, 0.2);

    /* Shadow Colors */
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-heavy: rgba(0, 0, 0, 0.15);
    --shadow-primary: rgba(237, 137, 54, 0.2);
    --shadow-primary-light: rgba(237, 137, 54, 0.1);
    --shadow-primary-heavy: rgba(237, 137, 54, 0.3);
    --shadow-primary-stronger: rgba(237, 137, 54, 0.4);

    /* Border Colors */
    --border-light: #ecf0f1;
    --border-medium: #e9ecef;
    --border-primary: rgba(237, 137, 54, 0.1);
    --border-primary-medium: rgba(237, 137, 54, 0.2);
    --border-primary-heavy: rgba(237, 137, 54, 0.3);
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    background: var(--bg-gradient);
    min-height: 100vh;
}

/* Navigation */
.navbar {
    background: var(--primary-gradient);
    box-shadow: 0 4px 20px var(--shadow-primary-heavy);
    padding: 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}


.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin-right: 40px;
    text-shadow: 0 2px 4px var(--shadow-dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    backdrop-filter: blur(10px);
}

.nav-links a:hover {
    background-color: var(--overlay-light);
    transform: translateY(-1px);
}

.nav-links a.active {
    background-color: var(--overlay-medium);
    box-shadow: 0 2px 8px var(--shadow-dark);
}

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

/* Page content */
.page-content {
    display: none;
}

.page-content.active {
    display: block;
}

.page-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Package grid */
/* Search container */
.search-container {
    margin: 30px 0 40px 0;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 45px;
    font-size: 16px;
    font-family: var(--font-family-primary);
    border: 2px solid var(--border-medium);
    border-radius: 25px;
    background-color: var(--bg-white);
    color: var(--text-dark);
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-color-light);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 16px;
    pointer-events: none;
}

.clear-search-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.clear-search-btn:hover {
    background-color: var(--neutral-light);
    color: var(--text-dark);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Package card styles */
.package-card {
    background: var(--card-gradient);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-primary);
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px var(--shadow-primary);
    border-color: var(--border-primary-heavy);
}

.package-name {
    margin: 0 0 20px 0;
    color: var(--text-primary);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}

.package-maintainer {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 14px;
}

.package-description {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.5;
}

.package-homepage {
    margin-bottom: 15px;
}

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

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

.package-topics {
    margin-bottom: 20px;
}

.package-license {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 14px;
}

.label {
    font-weight: bold;
    color: var(--text-dark);
    margin-right: 8px;
}

.topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.topic-tag {
    background: var(--secondary-gradient);
    color: var(--text-orange-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 4px var(--shadow-primary);
    border: 1px solid var(--border-primary-medium);
}

.package-versions {
    border-top: 1px solid var(--border-light);
    padding-top: 15px;
}

.versions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.version-button {
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow-primary-heavy);
    border: 1px solid var(--border-primary-heavy);
}

.version-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-primary-stronger);
    background: var(--primary-gradient-hover);
}

/* Loading and error states */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 500;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

.package-card.animate-entrance {
    animation: fadeInUp 0.6s ease-out;
}

.error {
    text-align: center;
    padding: 60px 20px;
    color: var(--error-color);
    background-color: var(--error-bg);
    border-radius: 8px;
    border: 1px solid var(--error-border);
}

/* Coming soon styles */
.coming-soon {
    text-align: center;
    padding: 80px 20px;
    background: var(--coming-soon-gradient);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-light);
    border: 1px solid var(--border-primary);
    position: relative;
    overflow: hidden;
}

.coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.coming-soon h2 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.coming-soon p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
}

.support-email {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.support-email:hover {
    color: var(--primary-color-light);
    text-decoration: underline;
}

/* footer1 */
.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border-light);
    background-color: var(--bg-primary);
}

.company-logo {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Download page styles */
.download-section {
    background-color: var(--bg-primary);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px var(--shadow-medium);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.platform-card {
    background-color: var(--bg-light-gray);
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s;
}

.platform-card:hover {
    box-shadow: 0 4px 12px var(--shadow-heavy);
}

.platform-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.platform-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.architecture-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-btn {
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 2px 8px var(--shadow-primary);
}

.download-btn:hover {
    background: var(--primary-gradient-hover);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-primary-heavy);
}

.download-btn.secondary {
    background-color: var(--neutral-medium);
}

.download-btn.secondary:hover {
    background-color: var(--neutral-dark);
}

.installation-steps {
    background-color: var(--bg-muted);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 20px 0;
}

.installation-steps h4 {
    margin-top: 0;
    color: var(--text-dark);
}

.installation-steps ol {
    margin: 15px 0;
    padding-left: 20px;
}

.installation-steps ol li {
    margin-bottom: 8px;
}

.code-block {
    background-color: var(--neutral-darkest);
    color: var(--neutral-light);
    padding: 15px;
    border-radius: 6px;
    font-family: var(--font-family-mono);
    margin: 10px 0;
    overflow-x: auto;
}

.code-block code {
    font-family: var(--font-family-mono);
}

.warning-box {
    background-color: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;
    color: var(--warning-color);
}

.info-box {
    background-color: var(--success-bg);
    border: 1px solid var(--success-border);
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;
    color: var(--success-text);
}

.latest-version {
    display: inline-block;
    background-color: var(--success-color);
    color: var(--text-white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    margin-left: 10px;
    vertical-align: text-bottom;
}

.tab-container {
    margin: 30px 0;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid var(--border-medium);
    margin-bottom: 20px;
}

.tab-button {
    background: none;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-button.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .search-container {
        padding: 0 15px;
    }

    .search-input {
        padding: 12px 45px 12px 40px;
        font-size: 14px;
    }

    .search-icon {
        left: 12px;
        font-size: 14px;
    }

    .clear-search-btn {
        right: 12px;
        width: 28px;
        height: 28px;
    }
    
    .package-card {
        padding: 20px;
    }
    
    .versions-list {
        justify-content: center;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
}

/* User Guide page styles */
.guide-section {
    background-color: var(--bg-primary);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px var(--shadow-medium);
}

.guide-section h2 {
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-light);
}

.guide-section h3 {
    color: var(--neutral-darker);
    margin-top: 25px;
    margin-bottom: 15px;
}

.step-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.step-list > li {
    counter-increment: step-counter;
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
}

.step-list > li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--primary-color);
    color: var(--text-white);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.command-example {
    background-color: var(--bg-light-gray);
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    font-family: var(--font-family-mono);
    overflow-x: auto;
}

.command-example.with-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.command-example.with-copy code {
    flex: 1;
}

.copy-button {
    background-color: var(--neutral-medium);
    border: 1px solid var(--border-medium);
    border-radius: 4px;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
}

.copy-button:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.copy-button:active {
    transform: scale(0.95);
}

.package-install {
    margin: 15px 0;
}

.package-install .label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

/* Validation badges */
.validation-badge-container {
    margin-top: 1px;
    margin-bottom: 12px;
}

.validation-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: default;
}

.validation-badge.validated {
    background-color: var(--success-bg, #d4edda);
    color: var(--success-color, #155724);
    border: 1px solid var(--success-border, #c3e6cb);
}

.validation-badge.validation-warnings {
    background-color: var(--warning-bg, #fff3cd);
    color: var(--warning-color, #856404);
    border: 1px solid var(--warning-border, #ffeaa7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.validation-badge.validation-warnings:hover {
    background-color: var(--warning-color, #856404);
    color: var(--text-white);
}

.validation-badge.validation-failed {
    background-color: var(--error-bg, #f8d7da);
    color: var(--error-color, #721c24);
    border: 1px solid var(--error-border, #f5c6cb);
    cursor: pointer;
    transition: all 0.3s ease;
}

.validation-badge.validation-failed:hover {
    background-color: var(--error-color, #721c24);
    color: var(--text-white);
}

.validation-badge i {
    font-size: 10px;
}

/* Disable body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Error modal */
.error-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.error-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: fadeInUp 0.3s ease-out;
}

.error-modal-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.error-modal-header.warning-header {
    background: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%);
    color: #212529;
}

.error-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.error-modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.error-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.error-modal-header.warning-header .error-modal-close {
    color: #212529;
}

.error-modal-header.warning-header .error-modal-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.error-modal-body {
    padding: 25px;
    max-height: 60vh;
    overflow-y: auto;
    background-color: #ffffff;
}

.error-log {
    background-color: var(--bg-light-gray);
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    padding: 15px;
    font-family: var(--font-family-mono);
    font-size: 14px;
    line-height: 1.5;
    white-space: pre;
    color: var(--text-dark);
    max-height: 400px;
    overflow: auto;
}

/* Highlighting for error and warning keywords in validation reports */
.error-highlight {
    color: var(--error-color, #721c24);
    font-weight: 600;
    background-color: var(--error-bg, #f8d7da);
    padding: 1px 3px;
    border-radius: 3px;
}

.warning-highlight {
    color: var(--warning-color, #856404);
    font-weight: 600;
    background-color: var(--warning-bg, #fff3cd);
    padding: 1px 3px;
    border-radius: 3px;
}

/* Mobile responsiveness for modal */
@media screen and (max-width: 768px) {
    .error-modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 75vh;
        background-color: #ffffff;
    }

    .error-modal-header {
        padding: 15px 20px;
        background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
    }

    .error-modal-header.warning-header {
        background: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%);
        color: #212529;
    }

    .error-modal-body {
        padding: 20px;
        background-color: #ffffff;
    }

    .error-log {
        font-size: 12px;
        padding: 12px;
    }
}

.tip-box {
    background-color: var(--info-bg);
    border: 1px solid var(--info-border);
    border-left: 4px solid var(--success-color);
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;
}

.tip-box .tip-title {
    font-weight: bold;
    color: var(--success-text);
    margin-bottom: 8px;
}

.warning-box .warning-title {
    font-weight: bold;
    color: var(--warning-color);
    margin-bottom: 8px;
}

.table-of-contents {
    background-color: var(--bg-light-gray);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.table-of-contents h3 {
    margin-top: 0;
    color: var(--text-dark);
}

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

.toc-links li {
    margin-bottom: 8px;
}

.toc-links a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.toc-links a:hover {
    background-color: var(--neutral-light);
}

/* footer1 content layout */
.footer1 {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.footer1 > div {
    flex: 1;
}

.footer1 h1 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-dark);
    text-align: left;
}

.footer1 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer1 ul li {
    margin-bottom: 8px;
}

.footer1 ul li a {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    transition: color 0.3s;
    text-align: left;
}

.footer1 ul li a:hover {
    color: var(--primary-color);
}

.footer1 svg {
    width: 16px;
    height: 16px;
}

.github-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

.footer1 i {
    width: 16px;
    text-align: center;
}

/* Footer copyright */
.footer-copyright {
    padding: 20px;
    text-align: center;
    background-color: var(--bg-primary);
}

.footer-copyright::before {
    content: '';
    display: block;
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background-color: var(--border-light);
    margin: 0 auto 20px auto;
}

.footer-copyright p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
}

/* Code of Conduct specific styles */
.conduct-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.conduct-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.conduct-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.moderation-list {
    counter-reset: moderation-counter;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.moderation-list li {
    counter-increment: moderation-counter;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.moderation-list li::before {
    content: counter(moderation-counter) ".";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    width: 20px;
}

.contact-info {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.contact-info p {
    margin: 0;
    color: var(--text-dark);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.help-links {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.help-links li {
    margin-bottom: 10px;
}

.help-links a {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.help-links a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Responsive footer1 */
@media screen and (max-width: 768px) {
    .footer1 {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer1 h1 {
        text-align: left;
    }
}