
.bg-yingguo-color{
    background-color: #FF896D;
}
.bg-aozhou-color{
    background-color: #FFD439;
}
.bg-meiguo-color{
    background-color: #4643DF;
}
.bg-jianada-color{
    background-color: #FFC328;
}
.bg-aierlan-color{
    background-color: #FFE70B;
}
.bg-yingguo-color:hover{
    background-color: #D02020;
}
.bg-aozhou-color:hover{
    background-color: #FF7A00;
}
.bg-meiguo-color:hover{
    background-color: #0B0A47;
}
.bg-jianada-color:hover{
    background-color: #E20000;
}
.bg-aierlan-color:hover{
    background-color: #27B643;
}
.hero-card {
    grid-column: span 12;
    grid-row: span 3;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.comparison-card {
    grid-column: span 6;
    grid-row: span 2;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.uk-card {
    grid-column: span 3;
    grid-row: span 2;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.au-card {
    grid-column: span 3;
    grid-row: span 2;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.policy-card {
    grid-column: span 4;
    grid-row: span 2;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.employment-card {
    grid-column: span 4;
    grid-row: span 2;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.safety-card {
    grid-column: span 4;
    grid-row: span 2;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.contact-card {
    grid-column: span 6;
    grid-row: span 2;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

.migration-card {
    grid-column: span 6;
    grid-row: span 2;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ask-logo{
    width: 200px;
}
.qa-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.qa-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.qa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.question-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.answer-content {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.author-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-questions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.related-question {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-question:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.success-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.success-case {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.success-case:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

/* 分页样式 */
.pagination-container {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-btn {
    min-width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
}

.pagination-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.pagination-btn.inactive {
    background: #f8fafc;
    color: #64748b;
    border-color: #e2e8f0;
}

.pagination-btn.inactive:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.pagination-btn.disabled {
    background: #f1f5f9;
    color: #cbd5e1;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

.pagination-ellipsis {
    color: #64748b;
    font-weight: 600;
    padding: 0 8px;
}

.pagination-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.pagination-stats {
    color: #64748b;
    font-size: 14px;
}

.pagination-per-page {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pagination-select {
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #475569;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 16px;
        padding: 16px;
    }

    .bento-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 200px;
    }

    .hero-number {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }


    .pagination {
        gap: 4px;
    }

    .pagination-btn {
        min-width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .pagination-info {
        flex-direction: column;
        align-items: flex-start;
    }
}