* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
}

/* 更新全局颜色变量 */
:root {
    --primary: #3b82f6;          /* 更柔和的蓝色 */
    --primary-light: #60a5fa;    /* 浅蓝色 */
    --primary-dark: #2563eb;     /* 深蓝色 */
    --text-dark: #334155;        /* 柔和的深色文字 */
    --text-gray: #64748b;        /* 柔和的灰色文字 */
    --text-light: #f8fafc;       /* 浅色文字 */
    --border-color: #e2e8f0;     /* 边框颜色 */
    --bg-light: #f8fafc;         /* 背景色 */
    --bg-white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.03);
}

header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(180%) blur(8px);
    box-shadow: 0 1px 3px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    transition: all 0.4s ease;
}

header:hover {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
}

.logo img {
    height: 60px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 5px 15px rgba(0, 123, 255, 0.2));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

/* 导航栏基础样式 */
.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
    transition: all 0.3s ease;
    position: relative;
}

/* 统一下划线效果 */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 70%;
}

/* 下拉菜单样式 */
.has-dropdown {
    position: relative;
}

.nav-links .has-dropdown > a {
    padding-right: 2.5rem;
}

/* 下拉箭头 */
.nav-links .has-dropdown > a::before {
    content: '▾';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: var(--text-gray);
}

.nav-links .has-dropdown:hover > a::before {
    transform: translateY(-50%) rotate(180deg);
    color: var(--primary);
}

/* 移除下拉菜单的下划线 */
.nav-links .has-dropdown > a::after,
.dropdown-menu a::after {
    display: none;
}

/* 下拉菜单容器 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-white);
    border-radius: 12px;
    padding: 0.8rem;
    min-width: 180px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 1rem;
    z-index: 1000;
    border: 1px solid var(--border-color);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0.5rem;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: left;
    white-space: nowrap;
    border-radius: 8px;
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
    transform: translateX(5px);
}

/* 登录按钮样式 */
.login-btn {
    background: var(--primary);
    color: white;
    padding: 0.8rem 2rem !important;
    border-radius: 25px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.login-btn:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    color: white !important;
}

.login-btn::after {
    display: none !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin: 0.5rem 0;
        padding: 0.5rem;
        opacity: 1;
        visibility: visible;
        display: none;
        border: none;
        min-width: auto;
    }

    .has-dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .login-btn {
        padding: 0.6rem 1.5rem !important;
    }
}

main {
    margin-top: 80px;
}

/* 更新首页背景渐变 */
.hero {
    text-align: center;
    padding: 8rem 1rem;
    background: linear-gradient(
        rgba(59, 130, 246, 0.3),  /* 从0.45降到0.3 */
        rgba(37, 99, 235, 0.4)    /* 从0.55降到0.4 */
    ),
    url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 加强文字阴影以保持可读性 */
.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);  /* 进一步加强阴影 */
    animation: fadeInDown 1s ease;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    max-width: 800px;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);  /* 进一步加强阴影 */
    animation: fadeInUp 1s ease 0.3s;
    opacity: 0.95;
    animation-fill-mode: forwards;
}

/* 更新按钮样式 */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    animation: fadeInUp 1s ease 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background-color: transparent;
    border-color: white;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 服务项目部分重新设计 */
.services {
    padding: 2rem 1.5rem;
    background: #fff;
}

.services h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    letter-spacing: 0.5px;
}

/* 更新分隔线颜色 */
.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-card {
    padding: 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.4s ease;
    text-align: center;
    cursor: pointer;
    min-height: 200px;
}

/* 更新卡片悬停效果 */
.service-card:hover {
    border-color: var(--primary-light);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 240px;
    margin: 0 auto;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 2rem 1rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        min-height: 180px;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .services h2,
    .about h2,
    .team-intro h3,
    .contact h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

/* 联系我们部分样式 */
.contact {
    padding: 2rem 1.5rem;
    background: #fff;
}

.contact h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    letter-spacing: 0.5px;
}

/* 更新分隔线颜色 */
.contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-info p:last-child {
    border-bottom: none;
}

/* 更新图标颜色 */
.contact-info i {
    font-size: 1.2rem;
    color: var(--primary);
    width: 20px;
    text-align: center;
}

footer {
    text-align: center;
    padding: 2.5rem;
    background: var(--text-dark);
    color: var(--text-light);
    letter-spacing: 0.3px;
}

footer p {
    font-size: 1rem;
    opacity: 0.9;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #555;
}

/* 关于我们部分样式重新设计 */
.about {
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* 统一所有主标题样式 */
.about h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    position: relative;
    letter-spacing: 0.5px;
    font-weight: 700;
}

/* 统一标题下划线样式 */
.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-section {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 5rem;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.about-intro {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 6rem;
    padding: 0 1rem;
}

.about-intro p {
    font-size: 1.3rem;
    color: var(--text-gray);
    line-height: 2;
    margin-bottom: 1.5rem;
}

.service-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin: 4rem 0 6rem;
}

@media (max-width: 1200px) {
    .service-categories {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

.service-category {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 3rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-category h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.service-category h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.service-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-grow: 1;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.8rem;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
    background: linear-gradient(to right, #ffffff, #f8f9fa);
}

.checkmark {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.1);
}

.service-item span:last-child {
    color: #2c3e50;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.5;
}

.company-motto {
    font-size: 1.4rem;
    color: var(--text-gray);
    line-height: 2;
    text-align: center;
    max-width: 1000px;
    margin: 1rem auto 0;
    padding: 1.2rem;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    border: 1px solid var(--border-color);
}

.company-motto::before,
.company-motto::after {
    content: '"';
    position: absolute;
    font-size: 5rem;
    background: linear-gradient(135deg, #007bff, #00a0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.15;
    font-family: Georgia, serif;
}

.company-motto::before {
    top: 25px;
    left: 25px;
}

.company-motto::after {
    bottom: -10px;
    right: 25px;
}

/* 简化团队介绍部分样式 */
.team-intro {
    margin: 0 0 1rem;
    padding: 1.2rem;
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
}

/* 统一所有主标题样式 */
.team-intro h3 {
    color: var(--text-dark);
    font-size: 2.4rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
    font-weight: 700;
}

/* 统一标题下划线样式 */
.team-intro h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.team-description {
    font-size: 1.25rem;
    color: var(--text-gray);
    line-height: 2;
    margin: 3rem auto;
    max-width: 1000px;
    text-align: justify;
    padding: 0 1rem;
}

/* 调整团队数据布局 */
.team-stats {
    display: flex;
    justify-content: space-between;  /* 改为space-between */
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: nowrap;  /* 禁止换行 */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.stat-item {
    flex: 1;  /* 让每个项目平均分配空间 */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.8rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* 更新团队数据卡片 */
.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    padding-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.stat-item:hover .stat-number::after {
    width: 60px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 500;
    text-align: center;
}

.stat-item:hover .stat-label {
    color: var(--primary);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .team-stats {
        flex-wrap: wrap;  /* 小屏幕时允许换行 */
        justify-content: center;
        gap: 2rem;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 1rem);  /* 两列布局 */
        min-width: 160px;
    }
}

@media (max-width: 576px) {
    .stat-item {
        flex: 0 0 100%;  /* 一列布局 */
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .service-grid,
    .team-stats {
        gap: 0.8rem;
    }
    
    .service-card,
    .stat-item {
        padding: 2rem 1.5rem;
    }

    .team-intro {
        margin: 0 0 1rem;
        padding: 1rem;
    }

    .company-motto {
        margin: 1rem auto 0;
        padding: 1rem;
    }

    .contact {
        padding: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .contact-info p {
        margin: 1rem 0;
        padding: 0.5rem 0;
    }
}

/* 右侧固定联系方式样式 */
.float-contact {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.float-item i {
    font-size: 20px;
    color: var(--primary);
}

.float-item:hover {
    transform: translateY(-3px);
    background: var(--primary);
}

.float-item:hover i {
    color: white;
}

/* 弹出框样式 */
.float-popup,
.qrcode {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 15px;
    color: var(--text-dark);
}

.float-item:hover .float-popup,
.float-item:hover .qrcode {
    opacity: 1;
    visibility: visible;
}

.qrcode img {
    width: 130px;
    height: 130px;
    display: block;
    border-radius: 8px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .float-contact {
        right: 15px;
    }
    
    .float-item {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    .float-item i {
        font-size: 16px;
    }
    
    .float-popup {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .qrcode img {
        width: 110px;
        height: 110px;
    }
}

/* 页面容器样式 */
.page-container {
    min-height: calc(100vh - 160px); /* 减去header和footer的高度 */
    display: flex;
    flex-direction: column;
}

/* 调整招聘页面的样式 */
.jobs {
    flex: 1;  /* 让内容区域占满剩余空间 */
    padding: 4rem 1.5rem;  /* 增加上下内边距 */
    background: #fff;
}

.jobs h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    letter-spacing: 0.5px;
}

.jobs h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.jobs-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.job-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.job-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.job-details p {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.job-details ul {
    list-style: none;
    padding-left: 1rem;
}

.job-details li {
    color: var(--text-gray);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.job-details li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .page-container {
        min-height: calc(100vh - 140px);
    }
    
    .jobs {
        padding: 3rem 1.5rem;
    }
    
    .jobs h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .job-card {
        padding: 1.5rem;
    }
    
    .job-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 998;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top i {
    font-size: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top i {
        font-size: 18px;
    }
} 