/* Base Styles */
:root {
    --primary-color: #4285f4;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #757575;
    --text-color: #333333;
    --section-bg: #f9f9f9;
    --section-border: #e6e6e6;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 30px 0;
    text-align: center;
}

header h1 {
    margin-bottom: 5px;
    font-size: 2.5rem;
}

header .tagline {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Navigation Styles */
.main-nav {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.tab-navigation {
    display: flex;
    justify-content: center;
    padding: 15px 0;
}

.tab-button {
    background: none;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
}

.tab-button:hover {
    background-color: var(--light-gray);
}

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

/* Search Styles */
.search-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: white;
}

#show-search:checked ~ .search-container {
    max-height: 100px;
}

#show-search {
    display: none;
}

.search-icon {
    position: absolute;
    top: 15px;
    right: 25px;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.search-wrapper {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 25px;
    margin: 15px 0;
}

.search-wrapper input {
    flex: 1;
    border: none;
    background: none;
    padding: 8px 12px;
    font-size: 1rem;
    outline: none;
}

.search-wrapper i {
    color: var(--dark-gray);
    padding: 0 10px;
}

#clearSearch {
    cursor: pointer;
}

/* Search Results */
#searchResults {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#searchResults h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.highlight {
    background-color: rgba(255, 255, 0, 0.3);
    padding: 2px 0;
}

/* Tab Content Styles */
.tab-content {
    display: none;
    padding: 20px 0;
}

.tab-content.active {
    display: block;
}

/* Quick Start Guide Styles */
.help-section {
    background-color: var(--section-bg);
    border-radius: 12px;
    margin-bottom: 25px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.section-header i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

.section-header h3 {
    font-size: 1.3rem;
    color: var(--text-color);
}

.help-section ol {
    padding-left: 40px;
}

.help-section li {
    margin-bottom: 8px;
    position: relative;
}

/* User Guide Styles */
.user-guide-section {
    border: 1px solid var(--section-border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.section-toggle {
    padding: 15px;
    background-color: white;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
}

.section-toggle h3 {
    flex: 1;
    margin-right: 10px;
    color: var(--primary-color);
}

.section-toggle p {
    flex: 100%;
    margin-top: 5px;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.toggle-icon {
    position: absolute;
    right: 15px;
    top: 15px;
    transition: transform 0.3s;
}

.section-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.section-content {
    display: none;
    padding: 0 15px 15px;
    background-color: var(--section-bg);
}

.section-content.active {
    display: block;
}

.how-to-guide {
    margin-bottom: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--section-border);
}

.how-to-guide:first-child {
    border-top: none;
}

.how-to-guide h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.how-to-guide ol {
    padding-left: 25px;
}

.how-to-guide li {
    margin-bottom: 5px;
}

/* FAQ Styles */
.faq-section {
    margin-bottom: 30px;
}

.faq-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--section-border);
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid var(--section-border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 15px;
    background-color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 15px;
    background-color: var(--section-bg);
    border-top: 1px solid var(--section-border);
}

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

/* Footer Styles */
footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
}

footer p {
    margin: 10px 0;
}

footer a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

footer a:hover {
    border-bottom-color: white;
}

.app-link {
    display: inline-block;
    margin-top: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    border: none;
    transition: background-color 0.3s;
}

.app-link:hover {
    background-color: #3367d6;
    border: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .section-toggle h3 {
        flex: 100%;
        margin-bottom: 5px;
    }
    
    .toggle-icon {
        top: 10px;
    }
    
    .tab-navigation {
        flex-wrap: wrap;
    }
    
    .tab-button {
        flex: 1 0 auto;
        margin-bottom: 5px;
    }
    
    .help-section ol {
        padding-left: 25px;
    }
}