


/* Header Styles */
.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

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

.header-title {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 600;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 24px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-secondary);
}

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

.section-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 600;
}

/* Policy Highlights */
.policy-highlights {
    margin-bottom: 32px;
}

.faq-container {
    margin-top: 15px;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 15px;
}

.faq-answer {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

.policy-title {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 600;
}

.policy-list {
    list-style: none;
}

.policy-item {
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.policy-label {
    font-weight: 600;
    color: var(--text-secondary);
}

/* Calculator Form */
.calculator-form {
    margin-bottom: 32px;
    padding: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.child-input-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.2);
}

.btn {
    display: inline-block;
    height: 36px;
    padding: 0 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin-bottom: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0E4CD3;
    transform: translateY(-2px);
}

/* Result Section */
.result-section {
    margin-bottom: 32px;
}

.result-card {
    background-color: rgba(22, 93, 255, 0.05);
}

.result-title {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.total-amount {
    margin-bottom: 16px;
}

.amount-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.amount-value {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 600;
}

.toggle-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

.toggle-link:hover {
    text-decoration: underline;
}

.details-content {
    margin-top: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
}

.year-group {
    margin-top: 16px;
}

/* Application Guide */
.application-guide {
    margin-bottom: 32px;
}

.guide-card {
}

.guide-item {
    margin-bottom: 24px;
}

.guide-title {
    color: var(--secondary-color);
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.guide-content {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.guide-note {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* Policy Explanation */
.policy-explanation {
    margin-bottom: 32px;
}

.policy-details {
    list-style: none;
}

.policy-detail {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.policy-link {
    color: var(--primary-color);
    text-decoration: none;
}

.policy-link:hover {
    text-decoration: underline;
    opacity: 0.9;
}

/* Related Tools */
.related-tools {
    margin-bottom: 32px;
}

.tools-container {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.tool-card {
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tools-note {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* Footer */
.footer {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.copyright {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.footer-links {
    font-size: 12px;
    color: var(--text-tertiary);
}

.footer-link {
    color: var(--text-tertiary);
    text-decoration: none;
    margin: 0 8px;
}

.footer-link:hover {
    color: var(--primary-color);
}

.separator {
    margin: 0 8px;
}

.friendship-links {
    display: inline-block;
}

.links-label {
    margin-right: 8px;
}

.friend-link {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 4px;
}

.friend-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .tools-container {
        flex-direction: column;
    }

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

@media (min-width: 768px) and (max-width: 1024px) {
    .calculator-form {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .calculator-form .section-title {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .main-content .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .policy-highlights, .calculator-form, .application-guide {
        grid-column: 1;
    }

    .result-section, .policy-explanation, .related-tools {
        grid-column: 2;
    }
}