/* ========== 全局重置 & 基础 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, 'Inter', sans-serif;
    background-color: #020617;
    color: #f0f3ff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0a0f2a;
}
::-webkit-scrollbar-thumb {
    background: #a855f7;
    border-radius: 10px;
}

/* 动态粒子画布背景 */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 30% 10%, #130b2c, #020617);
}

/* 主内容容器 */
.container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.8rem 2rem;
}

/* ========== 导航栏（含 Logo 区域） ========== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.8rem 2rem;
    margin-bottom: 2rem;
    background: rgba(15, 10, 35, 0.65);
    backdrop-filter: blur(16px);
    border-radius: 3rem;
    border: 1px solid rgba(168, 85, 247, 0.5);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #a855f7, #f97316);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 0 12px rgba(168,85,247,0.6);
    transition: transform 0.2s;
}

.logo-icon:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(125deg, #e2c6ff, #b366ff, #6c2bd9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
}
.logo p {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: #c084fc;
}

.nav-links a {
    color: #e9d5ff;
    margin-left: 2rem;
    text-decoration: none;
    font-weight: 500;
    transition: 0.25s;
    font-size: 1rem;
    border-bottom: 1px solid transparent;
}
.nav-links a:hover {
    color: #d8b4ff;
    border-bottom-color: #a855f7;
}

/* ========== Hero 区域 ========== */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 85vh;
    margin-bottom: 2rem;
}
.hero-badge {
    display: inline-block;
    background: rgba(168, 85, 247, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 40px;
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    width: fit-content;
    border: 1px solid #a855f780;
    margin-bottom: 1.5rem;
    color: #d9b4ff;
}
.hero h1 {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #f3e8ff, #c084fc, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}
.hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #cdb4f0;
    max-width: 700px;
    margin-bottom: 2rem;
}
.btn-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.btn {
    padding: 0.85rem 2rem;
    border-radius: 3rem;
    font-weight: 600;
    transition: 0.25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
}
.btn-primary {
    background: linear-gradient(95deg, #6d28d9, #9333ea);
    border: 1px solid #c084fc;
    color: white;
    box-shadow: 0 0 12px rgba(168,85,247,0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 22px #a855f7;
    background: linear-gradient(95deg, #7c3aed, #a855f7);
}
.btn-outline {
    border: 1px solid #a855f7;
    background: rgba(0,0,0,0.3);
    color: #e9d5ff;
}
.btn-outline:hover {
    background: #a855f720;
    box-shadow: 0 0 12px #a855f7;
}

/* ========== 通用标题 ========== */
.section-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    margin: 5rem 0 2rem;
    background: linear-gradient(125deg, #e9d5ff, #b77cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ========== 服务卡片 ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem;
}
.service-item {
    background: rgba(20, 12, 45, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(168, 85, 247, 0.3);
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.service-item:hover {
    transform: translateY(-12px) rotate(0.5deg);
    border-color: #c084fc;
    box-shadow: 0 20px 35px -12px rgba(128, 0, 255, 0.4);
    background: rgba(30, 20, 60, 0.7);
}
.service-item i {
    font-size: 3.2rem;
    color: #c084fc;
    margin-bottom: 1.2rem;
}
.service-item h3 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
}
.service-item p {
    color: #cfc2f0;
    line-height: 1.5;
}

/* ========== 企业文化区块 ========== */
.philosophy {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 3rem 0;
}
.philo-card {
    flex: 1;
    min-width: 220px;
    background: rgba(25, 15, 48, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 1.8rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(168,85,247,0.4);
}
.philo-card i {
    font-size: 2.5rem;
    color: #b366ff;
}
.philo-card h4 {
    font-size: 1.4rem;
    margin: 0.8rem 0;
}
.philo-card p {
    color: #cdbef5;
}

/* ========== 联系方式 ========== */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0 4rem;
}
.contact-block {
    background: rgba(10, 6, 28, 0.7);
    backdrop-filter: blur(14px);
    border-radius: 2rem;
    padding: 2rem;
    border: 1px solid rgba(192, 132, 252, 0.5);
    transition: 0.25s;
}
.contact-block:hover {
    border-color: #c084fc;
    box-shadow: 0 0 18px rgba(168,85,247,0.3);
}
.contact-block h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #dcc7ff;
}
.addr-detail {
    font-size: 1rem;
    line-height: 1.6;
    margin: 1rem 0;
}
.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    color: #c084fc;
    text-decoration: none;
    border-bottom: 1px dashed #a855f7;
}
.copy-mail {
    background: rgba(168,85,247,0.2);
    border: 1px solid #a855f7;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    color: #e9d5ff;
}
.copy-mail:hover {
    background: #a855f740;
    box-shadow: 0 0 8px #a855f7;
}

/* ========== Footer ========== */
.footer {
    margin-top: 5rem;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(168, 85, 247, 0.3);
    font-size: 0.85rem;
}

/* ========== Toast 通知 ========== */
.toast-notify {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #1f1a3ecc;
    backdrop-filter: blur(20px);
    border: 1px solid #b77cff;
    color: #f0e6ff;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 500;
    z-index: 9999;
    font-size: 0.9rem;
    box-shadow: 0 0 18px #a855f7;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* ========== 响应式 ========== */
@media (max-width: 780px) {
    .container {
        padding: 1rem;
    }
    .hero h1 {
        font-size: 2.6rem;
    }
    .navbar {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    .nav-links a {
        margin: 0 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .logo-area {
        gap: 0.6rem;
    }
}
