:root {
    --primary-color: #2c6ecb;
    --primary-light: #eef5ff;
    --primary-dark: #1a478a;
    --secondary-color: #34b1aa;
    --accent-color: #ffc107;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 20px 0;
    box-shadow: var(--box-shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.logo p {
    font-size: 1rem;
    opacity: 0.9;
}

.header-icon {
    font-size: 3rem;
    margin-right: 20px;
}

/* Hero Section */
.hero {
    background-color: var(--primary-light);
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--gray-300);
}

.hero h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--text-light);
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.search-box input {
    flex-grow: 1;
    padding: 12px 20px;
    border: 2px solid var(--gray-300);
    border-right: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--primary-color);
}

.search-box button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 25px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background-color: var(--primary-dark);
}

/* Navigation Styles */
.navigation {
    background-color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.nav-tabs {
    display: flex;
    list-style: none;
    border-bottom: 2px solid var(--gray-300);
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.nav-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.nav-tabs li {
    margin-right: 10px;
}

.nav-tabs a {
    display: inline-block;
    padding: 10px 20px;
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-tabs a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Main Content */
.main-content {
    padding: 40px 0 80px;
}

.section {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    overflow: hidden;
}

.section-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.section-header h3 {
    font-size: 1.3rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.section-header h3 i {
    margin-right: 12px;
    font-size: 1.5rem;
}

.section-header .toggle-icon {
    transition: var(--transition);
}

.section-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.section.active .section-content {
    padding: 25px;
    max-height: none; /* Arbitrary large value */
}

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

.subsection {
    margin-bottom: 25px;
    border-left: 3px solid var(--primary-light);
    padding-left: 20px;
}

.subsection:last-child {
    margin-bottom: 0;
}

.subsection h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.subsection h4 i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* Process Steps */
.process-steps {
    counter-reset: step-counter;
    margin: 15px 0;
}

.step {
    position: relative;
    padding-left: 45px;
    margin-bottom: 20px;
    counter-increment: step-counter;
}

.step:last-child {
    margin-bottom: 0;
}

.step::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step p {
    margin-bottom: 8px;
    color: var(--text-color);
}

.step-details {
    margin-top: 10px;
    padding-left: 20px;
    border-left: 2px dashed var(--gray-300);
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Notice & Tips */
.notice {
    background-color: var(--primary-light);
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.notice strong {
    display: block;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.notice ul {
    padding-left: 15px;
}

.notice ul li {
    margin-bottom: 10px;
}

.tip {
    background-color: #fff8e6;
    border-left: 4px solid var(--accent-color);
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.tip strong {
    display: block;
    margin-bottom: 5px;
    color: #d9a40a;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background-color: var(--gray-100);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: var(--gray-200);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 15px 20px;
    max-height: 200px;
}

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

/* Helper Classes */
.text-primary {
    color: var(--primary-color);
}

.text-accent {
    color: var(--accent-color);
}

.mb-10 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.mb-20 {
    margin-bottom: 20px;
}

.highlight {
    background-color: #fffbea;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: 500;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 20px;
    border-top: 3px solid var(--primary-color);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

/* Process Diagram */
.process-diagram {
    margin: 30px 0;
    position: relative;
}

.diagram-step {
    display: flex;
    margin-bottom: 15px;
    position: relative;
}

.diagram-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 20px;
    width: 2px;
    height: calc(100% + 15px);
    background-color: var(--gray-300);
}

.diagram-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1;
    margin-right: 15px;
    flex-shrink: 0;
}

.diagram-content {
    background-color: var(--white);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
}

.diagram-content h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

/* Image Gallery Styles */
.section-gallery {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed var(--gray-300);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    margin: 10px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: var(--white);
    transition: var(--transition);
    width: 280px;
    cursor: pointer;
    border: 2px solid var(--gray-200);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background-color: var(--gray-100);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gray-500);
    font-size: 3rem;
}

.gallery-caption {
    padding: 12px 15px;
    background-color: var(--white);
    color: var(--text-color);
    font-size: 0.9rem;
    text-align: center;
    border-top: 1px solid var(--gray-200);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    margin: 0 auto;
}

.lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    border: 3px solid var(--white);
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.lightbox-close {
    position: absolute;
    top: -20px;
    right: -20px;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.lightbox-close:hover {
    background-color: rgba(255, 0, 0, 0.8);
    transform: rotate(90deg);
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    padding: 15px;
    font-size: 1rem;
    margin-top: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: var(--border-radius);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 30px 0;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
}

.footer-links a {
    color: var(--white);
    margin-left: 20px;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        margin-top: 15px;
    }

    .footer-links a {
        margin: 0 10px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        width: calc(100% - 20px);
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

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

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

