/* help.css - orbits8 Help Center */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2962ff;
    --accent: #00e676;
    --dark-bg: #0a0f1c;
    --card-bg: rgba(18, 28, 45, 0.95);
    --border-light: rgba(68, 255, 170, 0.15);
    --text-white: #ffffff;
    --text-gray: #a0aec0;
    --error-red: #ff4757;
    --success-green: #00e676;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-white);
    overflow-x: hidden;
}

/* Animated Graph Background */
.graph-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.help-wrapper {
    position: relative;
    z-index: 1;
}

/* Header Styles */
.help-header {
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(12px);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-link {
    text-decoration: none;
}

.logo-area h1 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header-nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.header-nav a:hover {
    color: var(--accent);
}

.btn-outline-nav {
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent) !important;
}

.btn-primary-nav {
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    background: var(--accent);
    color: var(--dark-bg) !important;
    font-weight: 600;
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    z-index: 1002;
}

/* Mobile Navigation */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.mobile-nav-dropdown {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: linear-gradient(135deg, #0f172a, #0a0f1c);
    z-index: 1001;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-dropdown.show {
    right: 0;
}

.mobile-nav-dropdown a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-light);
}

.close-mobile-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.help-hero {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.05), rgba(41, 98, 255, 0.05));
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.search-container {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.search-container i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
}

.search-container input {
    width: 100%;
    padding: 1rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    color: var(--text-white);
    font-size: 1rem;
    transition: 0.3s;
}

.search-container input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 230, 118, 0.1);
}

.search-container button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--dark-bg);
    transition: 0.3s;
}

.search-container button:hover {
    transform: translateY(-50%) scale(1.05);
}

.popular-searches {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--text-gray);
}

.popular-searches a {
    color: var(--accent);
    text-decoration: none;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 230, 118, 0.1);
    border-radius: 20px;
    transition: 0.3s;
}

.popular-searches a:hover {
    background: var(--accent);
    color: var(--dark-bg);
}

/* Categories Section */
.categories-section {
    padding: 4rem 2rem;
}

.categories-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 230, 118, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.category-icon i {
    font-size: 2rem;
    color: var(--accent);
}

.category-card h3 {
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-count {
    font-size: 0.8rem;
    color: var(--accent);
}

/* FAQ Section */
.faq-section {
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.3);
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-category h3 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.faq-category h3 i {
    color: var(--accent);
}

.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    padding: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: 0.3s;
}

.accordion-header:hover {
    background: rgba(0, 230, 118, 0.05);
}

.accordion-header i {
    transition: 0.3s;
    color: var(--accent);
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.2rem;
}

.accordion-content.active {
    max-height: 500px;
    padding: 0 1.2rem 1.2rem;
}

.accordion-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Videos Section */
.videos-section {
    padding: 4rem 2rem;
}

.videos-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.video-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.video-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumbnail i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.8;
    transition: 0.3s;
}

.video-card:hover .video-thumbnail i {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card h4 {
    padding: 1rem 1rem 0.5rem;
}

.video-card p {
    padding: 0 1rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.duration {
    display: inline-block;
    padding: 0.5rem 1rem 1rem;
    color: var(--accent);
    font-size: 0.8rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.05), rgba(41, 98, 255, 0.05));
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-container h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-container > p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.contact-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.contact-card span {
    font-size: 0.85rem;
    color: var(--accent);
}

.chat-btn {
    margin-top: 1rem;
    background: var(--accent);
    color: var(--dark-bg);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
}

/* Footer */
.footer {
    background: rgba(5, 10, 20, 0.98);
    padding: 3rem 2rem 1rem;
    border-top: 1px solid var(--border-light);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-column a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--dark-bg);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 968px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    
    .mobile-menu-icon {
        display: block;
    }
    
    .help-hero {
        padding: 2rem 1rem;
    }
    
    .categories-section,
    .faq-section,
    .videos-section,
    .contact-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .popular-searches {
        gap: 0.5rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
}