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

:root {
    --primary-color: #6366f1;
    --secondary-color: #ec4899;
    --accent-color: #f59e0b;
    --bg-color: #0f172a;
    --surface-color: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --border-color: #334155;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    animation: fadeInSmooth 0.8s ease-out;
}

@keyframes fadeInSmooth {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============ 背景动画 ============ */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* ============ 背景图 ============ */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 2;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    top: -50px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.blob-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    bottom: -50px;
    right: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, -50px);
    }
    50% {
        transform: translate(-20px, 20px);
    }
    75% {
        transform: translate(50px, 50px);
    }
}

/* ============ 主内容 ============ */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 60px 20px;
    gap: 60px;
    position: relative;
    z-index: 10;
}

/* ============ 头部 ============ */
.header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.language-switcher {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 20;
}

.language-btn {
    background: #ffffff;
    color: #000000;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    padding: 8px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.language-btn:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.25);
}

.language-btn:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.5);
}

.language-btn i {
    font-size: 0.8rem;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 30;
    margin-top: 8px;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 0.9rem;
}

.language-option:hover {
    background: rgba(99, 102, 241, 0.05);
    color: var(--primary-color);
}

.language-option .fa-check {
    color: var(--primary-color);
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.language-btn .fa-chevron-down {
    transition: transform 0.3s ease;
}

.language-btn.active .fa-chevron-down {
    transform: rotate(180deg);
}



.title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.title-word {
    display: inline-block;
    animation: wordBounce 0.6s ease-in-out infinite;
}

.title-word:nth-child(2) {
    animation-delay: 0.1s;
}

.title-word:nth-child(3) {
    animation-delay: 0.2s;
}

.title-word:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes wordBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.subtitle-cn {
    font-size: 2.5rem;
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
    display: inline-block;
    padding: 8px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

/* ============ 主体网格 ============ */
.contact-info-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

/* ============ 联系卡片 ============ */
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    background: #ffffff;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
}

.contact-card:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.25);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.contact-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-weight: 600;
}

.card-content p {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 20px;
    word-break: break-all;
}

/* ============ 电话列表样式 ============ */
.phone-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 0;
}

.phone-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.phone-item:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

.phone-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #1a1a1a;
    font-weight: 500;
}

.phone-item .contact-link {
    padding: 6px 12px;
    font-size: 0.85rem;
    margin: 0;
}

.contact-link {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.contact-link:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}



/* ============ 页脚 ============ */
.site-footer {
    text-align: center;
    padding: 30px 20px;
    color: #64748b;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
    line-height: 1.8;
}

/* ============ 网站信息框 ============ */
.website-box {
    text-align: center;
    margin: 40px auto;
    max-width: 600px;
    padding: 20px;
    background: #ffffff;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.website-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.25);
}

.website-box a {
    font-size: 1.2rem;
    color: var(--primary-color);
    text-decoration: none;
    margin: 0;
    transition: color 0.3s ease;
}

.website-box a:hover {
    color: var(--secondary-color);
}

/* ============ 响应式设计 ============ */
@media (max-width: 768px) {
    .contact-info-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .subtitle-cn {
        font-size: 1.8rem;
        margin-bottom: 6px;
        padding: 6px 14px;
        border-radius: 12px;
    }

    .content {
        padding: 40px 20px;
        gap: 40px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .card-icon {
        font-size: 2.5rem;
    }

    .phone-list {
        gap: 14px;
    }

    .phone-item {
        padding: 6px 10px;
    }

    .phone-item p {
        font-size: 0.9rem;
    }

    .phone-item .contact-link {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .blob-1 {
        width: 200px;
        height: 200px;
    }

    .blob-2 {
        width: 150px;
        height: 150px;
    }

    .blob-3 {
        width: 120px;
        height: 120px;
    }

    /* 手机端语言切换器优化 */
    .language-switcher {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 20px;
        text-align: center;
    }

    .language-btn {
        padding: 10px 16px;
        font-size: 1rem;
    }

    .language-dropdown {
        position: static;
        margin-top: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transform: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .language-dropdown.active {
        opacity: 1;
        visibility: visible;
        max-height: 200px;
    }

    .language-option {
        padding: 14px 16px;
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .contact-info-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .background-image {
        background-image: url('2.png');
    }

    .title {
        font-size: 1.8rem;
    }

    .subtitle-cn {
        font-size: 1.4rem;
        margin-bottom: 4px;
        padding: 8px 14px;
        border-radius: 10px;
    }

    .contact-info-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-card {
        padding: 20px 15px;
    }

    .card-icon {
        font-size: 2rem;
    }

    .card-content h3 {
        font-size: 1.1rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }

    .contact-link {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .phone-list {
        gap: 12px;
    }

    .phone-item {
        padding: 5px 8px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .phone-item p {
        font-size: 0.85rem;
    }

    .phone-item .contact-link {
        padding: 4px 8px;
        font-size: 0.75rem;
        align-self: flex-end;
    }
}