/* 
* Safiri by Citrus - FAQ Page Stylesheet
* CSS for Platform Administrator FAQ Page
*/

/* ---------- Base Styles ---------- */
:root {
    /* Brand Colors */
    --primary-color: #1A73E8;
    --secondary-color: #FFC107;
    --accent-color: #4CAF50;
    --neutral-color: #F5F5F5;
    
    /* Additional Colors */
    --dark-blue: #0D47A1;
    --light-blue: #E3F2FD;
    --warning-color: #FF9800;
    --danger-color: #F44336;
    --success-color: #4CAF50;
    --text-dark: #212121;
    --text-medium: #757575;
    --text-light: #9E9E9E;
    --border-color: #E0E0E0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --font-accent: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #FFFFFF;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-blue);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--font-primary);
}

/* ---------- Header Styles ---------- */
.site-header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list li a {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    padding: 5px 0;
    position: relative;
}

.nav-list li a:hover {
    color: var(--primary-color);
}

.nav-list li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-list li a:hover::after {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ---------- Hero Section ---------- */
.hero-section {
    background-color: var(--light-blue);
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.tagline {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

/* ---------- FAQ Search Section ---------- */
.faq-search-section {
    padding: 40px 0;
    background-color: white;
}

.search-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

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

#faq-search {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
}

#faq-search:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.tag-label {
    color: var(--text-medium);
    font-weight: 500;
    margin-right: 10px;
}

.tag-btn {
    background-color: var(--neutral-color);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-medium);
    transition: all 0.3s ease;
}

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

/* ---------- FAQ Categories ---------- */
.faq-categories {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.category-tab {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    color: var(--text-medium);
    position: relative;
    transition: all 0.3s ease;
}

.category-tab::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.category-tab:hover {
    color: var(--primary-color);
}

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

.category-tab.active::after {
    width: 100%;
}

/* ---------- FAQ Content ---------- */
.faq-content {
    padding: 60px 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-color);
    background-color: white;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    position: relative;
}

.question-number {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 15px;
    min-width: 40px;
}

.faq-question h3 {
    flex: 1;
    margin: 0;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.toggle-btn {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    position: relative;
}

.toggle-btn i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.toggle-btn .fa-minus {
    opacity: 0;
}

.faq-item.active .toggle-btn .fa-plus {
    opacity: 0;
}

.faq-item.active .toggle-btn .fa-minus {
    opacity: 1;
}

.faq-item:hover .faq-question h3 {
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 20px 20px 75px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Answer Features */
.answer-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

/* Answer Steps */
.answer-steps {
    margin-top: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

/* Dashboard Features */
.dashboard-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-card {
    background-color: var(--neutral-color);
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.feature-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* Security Features */
.security-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.security-feature {
    background-color: var(--light-blue);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.security-feature i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.security-feature h4 {
    font-size: 0.9rem;
}

/* Responsibility List */
.responsibility-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 15px;
}

.responsibility-list li {
    margin-bottom: 10px;
}

/* Support Options */
.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.support-option {
    text-align: center;
    padding: 20px;
    background-color: var(--light-blue);
    border-radius: 8px;
}

.support-option i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.support-option h4 {
    margin-bottom: 10px;
}

.support-option p {
    color: var(--text-medium);
}

/* Support Devices & Browsers */
.support-devices-browsers {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.support-category {
    flex: 1;
    min-width: 250px;
}

.support-category h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.support-category h4 i {
    color: var(--primary-color);
}

.support-category ul {
    padding-left: 20px;
}

.support-category ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.support-category ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.support-category ul li i {
    margin-right: 8px;
}

/* ---------- Need Help Section ---------- */
.need-help-section {
    background-color: var(--light-blue);
    padding: 60px 0;
    text-align: center;
}

.help-content {
    max-width: 700px;
    margin: 0 auto;
}

.help-content h2 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.help-content p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 30px;
}

.contact-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.contact-option i {
    font-size: 1.3rem;
}

.contact-btn {
    display: inline-block;
    padding: 12px 30px;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--dark-blue);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

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

.footer-links a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
}

.website-link {
    margin-top: 15px;
}

.website-link a {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 992px) {
    .nav-list {
        gap: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .tagline {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px var(--shadow-color);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 20px 0;
        gap: 1rem;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .dashboard-features,
    .support-options {
        grid-template-columns: 1fr;
    }
    
    .security-feature {
        min-width: 120px;
    }
}

@media (max-width: 576px) {
    .header-wrapper {
        padding: 10px 0;
    }
    
    .logo {
        height: 35px;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .question-number {
        min-width: 30px;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 15px 15px 60px;
    }
    
    .contact-options {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}