/* TempFile Help/FAQ Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    min-height: 100vh;
    transition: all 0.3s ease;
}

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

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
    margin-bottom: 40px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #000000;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    letter-spacing: -0.025em;
}

.tagline {
    font-size: 0.9rem;
    color: #666666;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.nav-section {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: #000000;
    color: #000000;
    transform: translateY(-1px);
}

.nav-icon {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Navigation Anchors */
.nav-anchors {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.anchor-btn {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid transparent;
    border-radius: 6px;
    text-decoration: none;
    color: #666666;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.anchor-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: #000000;
    color: #000000;
}

/* Content */
.content {
    padding: 0 0 10px 0;
}

.content h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.content h1 .nav-icon {
    width: 32px;
    height: 32px;
}

/* FAQ Sections */
.faq-section {
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e5e5;
}

.faq-item {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question:after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

.faq-answer ul {
    margin: 10px 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 5px;
}

/* FAQ Links */
.faq-answer a {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid rgba(0,0,0,0.2);
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.faq-answer a:hover {
    color: #111;
    border-bottom-color: #000;
}

.encryption-tip {
    background: rgba(0, 0, 0, 0.05);
    padding: 15px;
    border-radius: 6px;
    margin-top: 10px;
    border-left: 4px solid #000000;
}

/* Highlight Box */
.highlight-box {
    background: #f8f8f8;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin: 40px 0;
    margin-left: auto;
    margin-right: auto;
}

.highlight-box h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
}

.highlight-box p {
    color: #666666;
    font-size: 1rem;
}

/* Contact Section */
.contact-section {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 30px;
}

.contact-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-section p {
    margin-bottom: 10px;
    color: #333333;
}

.contact-section a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
}

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

/* Footer */
.footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
    text-align: center;
    color: #666666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e5e5;
    border-radius: 50px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #000000;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.theme-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 12px;
    }

    .header-top {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav-section {
        justify-content: center;
    }

    .nav-anchors {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 20px 0 10px 0;
    }
    
    .nav-btn {
        padding: 10px 6px;
    }

    .content h1 {
        font-size: 1.6rem;
        flex-direction: row;
        gap: 8px;
    }

    .faq-question {
        padding: 15px;
        font-size: 0.95rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }

    .faq-item.active .faq-answer {
        padding: 15px;
    }

    .highlight-box,
    .contact-section {
        padding: 20px;
        margin: 30px 0;
    }

    .theme-toggle {
        bottom: 15px;
        right: 15px;
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}

/* Dark Mode Styles */
body.dark-theme {
    background-color: #1a1a1a;
    color: #ffffff;
}

body.dark-theme .header {
    background: #1a1a1a;
    border-bottom: 1px solid #404040;
}

body.dark-theme .logo-icon {
    stroke: #ffffff;
}

body.dark-theme .logo h1 {
    color: #ffffff;
}

body.dark-theme .tagline {
    color: #cccccc;
}

body.dark-theme .nav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #cccccc;
    border: 2px solid transparent;
}

body.dark-theme .nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff;
}

body.dark-theme .nav-anchors {
    border-top: 1px solid #404040;
}

body.dark-theme .anchor-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #cccccc;
    border: 1px solid transparent;
}

body.dark-theme .anchor-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff;
}

body.dark-theme .content h1 {
    color: #ffffff;
}

body.dark-theme .faq-category h2 {
    color: #ffffff;
    border-bottom: 2px solid #404040;
}

body.dark-theme .faq-item {
    background: #2d2d2d;
    border: 1px solid #404040;
}

body.dark-theme .faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark-theme .faq-question {
    color: #ffffff;
    border-bottom: 1px solid #404040;
}

body.dark-theme .faq-answer {
    color: #cccccc;
}

body.dark-theme .encryption-tip {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #ffffff;
}

body.dark-theme .highlight-box {
    background: #2d2d2d;
    border: 2px solid #404040;
}

body.dark-theme .highlight-box h3 {
    color: #ffffff;
}

body.dark-theme .highlight-box p {
    color: #cccccc;
}

body.dark-theme .contact-section {
    background: #2d2d2d;
    border: 1px solid #404040;
}

body.dark-theme .contact-section h3 {
    color: #ffffff;
}

body.dark-theme .contact-section p {
    color: #cccccc;
}

body.dark-theme .contact-section a {
    color: #ffffff;
}

body.dark-theme .footer {
    border-top: 1px solid #404040;
    color: #cccccc;
}

body.dark-theme .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #404040;
    color: #ffffff;
}

body.dark-theme .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

/* Dark mode */
body.dark-theme .faq-answer a {
    color: #fff;
    border-bottom: 2px solid rgba(255,255,255,0.3);
}

body.dark-theme .faq-answer a:hover {
    color: #fff;
    border-bottom-color: #fff;
}