/* --- 变量定义 --- */
:root {
    --primary-color: #e359d3;
    --secondary-color: #8059f6;
    --dark-color: #2c3e50;
    --light-gray: #f0f0f0;
    --text-color: #333;
    --text-muted: #555;
}

/* --- 全局样式 --- */
body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    background-color: var(--light-gray);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    padding-top: 56px; /* 为 fixed-top navbar 留出空间 */
}

/* --- 导航栏 --- */
.navbar-custom {
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.navbar-custom .navbar-brand img {
    height: 30px;
    width: auto;
}
.navbar-custom .nav-link {
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
    color: rgba(255, 255, 255, 0.75);
}

/* --- Header --- */
.intro {
    height: 100vh;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* 更新后的静态背景图 */
    background-image: url('https://ae01.alicdn.com/kf/S38cae857cffd4c8a9f0360f70e8691acf.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 添加视差滚动效果 */
}
.intro .backdrop {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Removed background overlay */
    z-index: 0;
}
.intro .content-container {
    position: relative;
    z-index: 1;
}
.intro h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}
.intro .intro-text {
    font-size: 2rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* --- 通用区块样式 --- */
.section {
    padding: 80px 0;
}
.section-title h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.section-title p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* --- 功能卡片 --- */
.service {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.service i {
    font-size: 50px;
    color: var(--primary-color);
}
.service h4 {
    color: var(--primary-color);
    margin-top: 15px;
    font-weight: 600;
}

/* --- About 区块 --- */
.about-text h4 {
    color: var(--primary-color);
    margin-top: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
}
#magicCarousel .carousel-inner {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}


/* --- LinkStart 按钮 --- */
.btn-pink {
    background: var(--secondary-color);
    color: #fff;
    border-radius: 30px;
    padding: 12px 35px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.btn-pink:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    background: #906cff; /* 悬停时颜色变亮 */
    color: #fff;
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 40px 20px;
}
.footer .social-icons a {
    color: white;
    margin: 0 12px;
    font-size: 24px;
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer .social-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}
.footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* --- 响应式 --- */
@media(max-width: 768px) {
    body {
        padding-top: 56px;
    }
    .intro h1 {
        font-size: 2.5rem;
    }
    .intro .intro-text {
        font-size: 1.5rem;
    }
    .section {
        padding: 60px 0;
    }
    /* 在小屏幕上禁用背景视差效果，因为在移动设备上支持不佳 */
    .intro {
        background-attachment: scroll;
    }
}