/* CSS for Reusable Side Tabs */

.side-tab {
    background-color: rgba(29, 31, 36, 0.92);
    width: 100px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.side-tab.visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.side-tab-title {
    color: var(--text);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    transform: rotate(-90deg);
    white-space: nowrap;
    margin: 0;
    text-align: center;
    text-shadow: 0 0 6px var(--accent), 0 0 16px var(--accent-glow), 0 0 32px rgba(45, 107, 255, 0.9);
}

/* 
  Apply common layout styles to all pages that will have a side tab.
*/
#product-page,
#solutions-page,
#how-it-works-page,
#security-page,
#faq-page {
    background-color: var(--surface);
    padding-left: 120px;
    padding-top: 4rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
    height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
}

#faq-page {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 1rem;
    padding-right: 0;
    overflow: hidden;
}

/* Make paragraph text on general pages larger and bolder */
.page-header p {
    font-size: 1.3rem;
    font-weight: 600;
}

/* Add more top padding specifically to the FAQ content container */
.faq-container {
    padding-top: 0;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    width: 100%;
    align-self: stretch;
    padding-right: 2rem;
    box-sizing: border-box;
}

/* Make FAQ question text larger and bolder */
.faq-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
}

/* Style for FAQ answer text */
.faq-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: normal;
    color: var(--text-muted);
}

/* 
  Ensure the close button is always visible and clickable on these pages.
*/
#product-page .close-btn,
#solutions-page .close-btn,
#how-it-works-page .close-btn,
#security-page .close-btn,
#faq-page .close-btn {
    position: fixed;
    top: 15px;
    right: 25px;
    z-index: 1001;
}

