
/* FAQ Styles - stellasdayztools.com */
:root {
    --primary-color: #00ffff;
    --secondary-color: #ff6b6b;
    --accent-color: #4ecdc4;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #cccccc;
    --border-color: #333333;
    --glow-color: #00ffff;
    --hover-color: #ff6b6b;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Particle Background */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Header Styles */
.faq-header {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.faq-header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px var(--glow-color);
    animation: glow 2s ease-in-out infinite alternate;
}

.faq-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

@keyframes glow {
    from { text-shadow: 0 0 20px var(--glow-color); }
    to { text-shadow: 0 0 30px var(--glow-color), 0 0 40px var(--glow-color); }
}

/* Main Container */
.faq-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    min-height: 100vh;
}

/* FAQ Section Styles */
.faq-section {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.faq-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.2);
}

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
    text-shadow: 0 0 10px var(--primary-color);
}

.stellabot-section h2 {
    color: var(--primary-color);
}

.tools-section h2 {
    color: var(--secondary-color);
}

/* Search and Controls */
.search-controls {
    margin-bottom: 2rem;
}

.search-box {
    width: 100%;
    padding: 1rem;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.search-box:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

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

.control-btn {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 25px;
    color: var(--bg-dark);
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
}

/* FAQ Items */
.faq-item {
    background: var(--bg-dark);
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.faq-item.hidden {
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
    margin-bottom: 0;
    border: none;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: rgba(0, 255, 255, 0.1);
    color: var(--primary-color);
}

.faq-question h3 {
    font-size: 1.1rem;
    flex-grow: 1;
    margin-right: 1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: rgba(0, 255, 255, 0.05);
}

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

.faq-answer-content {
    padding: 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.faq-answer-content ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.faq-answer-content li {
    margin-bottom: 0.5rem;
}

.faq-answer-content code {
    background: var(--bg-card);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
}

/* Category Tags */
.category-tag {
    display: inline-block;
    background: var(--accent-color);
    color: var(--bg-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .faq-header h1 {
        font-size: 2rem;
    }

    .faq-section {
        padding: 1.5rem;
    }

    .control-buttons {
        flex-direction: column;
    }

    .filter-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .faq-header h1 {
        font-size: 1.8rem;
    }

    .faq-section h2 {
        font-size: 1.5rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .control-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

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

.faq-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}
