:root {
    --primary: #0066ff;
    --primary-light: #33a6ff;
    --secondary: #00ffcc;
    --dark: #0a0e17;
    --darker: #050811;
    --light: #f0f8ff;
    --gray: #8b9db5;
    --card-bg: rgba(15, 25, 42, 0.75);
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --glow: 0 0 15px rgba(0, 102, 255, 0.7);
    
    /* 日间模式变量 */
    --light-bg: #f8fbff;
    --light-text: #333;
    --light-card: rgba(255, 255, 255, 0.85);
    --light-card-border: rgba(0, 0, 0, 0.1);
    --light-gray: #7d8591;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.5s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body.light-mode {
    background: var(--light-bg);
    color: var(--light-text);
}

.tech-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.tech-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(10, 14, 23, 0.95) 0%, rgba(5, 8, 17, 1) 100%);
}

body.light-mode .tech-bg::before {
    background: radial-gradient(ellipse at top, rgba(248, 251, 255, 0.95) 0%, rgba(235, 241, 252, 1) 100%);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.shape1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    top: 10%;
    left: 5%;
    filter: blur(60px);
}

.shape2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: 20%;
    right: 5%;
    filter: blur(50px);
}

.shape3 {
    width: 250px;
    height: 250px;
    background: var(--primary);
    top: 40%;
    left: 40%;
    filter: blur(45px);
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 102, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
}

body.light-mode .grid-lines {
    background-image: 
        linear-gradient(rgba(0, 102, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.05) 1px, transparent 1px);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 导航栏 */
.site-header {
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 102, 255, 0.2);
    transition: all 0.3s ease;
}

body.light-mode .site-header {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.logo a {
    color: var(--light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

body.light-mode .logo a {
    color: #1a1a1a;
}

.logo-icon {
    color: var(--secondary);
    font-size: 1.8rem;
}

body.light-mode .logo-icon {
    color: #0066ff;
}

.logo span {
    background: linear-gradient(to right, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .logo span {
    background: linear-gradient(to right, #0066ff, #00aaff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.main-nav a,
.main-nav .nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.light-mode .main-nav a,
body.light-mode .main-nav .nav-link {
    color: #333;
}

.main-nav a i,
.main-nav .nav-link i {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.main-nav a:hover i,
.main-nav a.active i,
.main-nav .nav-link:hover i,
.main-nav .nav-link.active i {
    opacity: 1;
    transform: scale(1.1);
}

.main-nav a:hover,
.main-nav a.active,
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--secondary);
}

body.light-mode .main-nav a:hover,
body.light-mode .main-nav a.active,
body.light-mode .main-nav .nav-link:hover,
body.light-mode .main-nav .nav-link.active {
    color: #0066ff;
}

.main-nav a::after,
.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.main-nav a:hover::after,
.main-nav a.active::after,
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    width: 100%;
}

/* 通知按钮 */
.notification-btn {
    position: relative;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
}

body.light-mode .notification-btn {
    background: rgba(0, 102, 255, 0.1);
    border-color: rgba(0, 102, 255, 0.3);
    color: #333;
}

.notification-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--secondary);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
}

body.light-mode .notification-btn:hover {
    background: rgba(0, 102, 255, 0.2);
    border-color: #0066ff;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    background: #ff3366;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0 6px;
    box-shadow: 0 2px 8px rgba(255, 51, 102, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* 公告弹窗 */
.announcements-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.announcements-modal.show {
    display: block;
}

.announcements-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.announcements-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .announcements-modal-content {
    background: var(--light-card);
    border-color: var(--light-card-border);
}

.announcements-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

body.light-mode .announcements-modal-header {
    background: linear-gradient(135deg, #0066ff, #00aaff);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.announcements-modal-header h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
}

.announcements-modal-close {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.announcements-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.announcements-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.announcement-list-item {
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

body.light-mode .announcement-list-item {
    background: rgba(0, 102, 255, 0.05);
    border-left-color: #0066ff;
}

.announcement-list-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
}

body.light-mode .announcement-list-item:hover {
    background: rgba(0, 102, 255, 0.1);
}

.announcement-list-item.unread {
    border-left-color: #ff3366;
    background: rgba(255, 51, 102, 0.1);
}

body.light-mode .announcement-list-item.unread {
    background: rgba(255, 51, 102, 0.15);
}

.announcement-list-item.unread::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 8px;
    height: 8px;
    background: #ff3366;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.announcement-list-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 8px;
    font-family: 'Orbitron', sans-serif;
}

body.light-mode .announcement-list-item-title {
    color: #333;
}

.announcement-list-item-preview {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.light-mode .announcement-list-item-preview {
    color: var(--light-gray);
}

.announcement-list-item-time {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 8px;
    opacity: 0.7;
}

body.light-mode .announcement-list-item-time {
    color: var(--light-gray);
}

.announcement-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

body.light-mode .announcement-empty {
    color: var(--light-gray);
}

.announcement-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* 公告详情弹窗 */
.announcement-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
}

.announcement-detail-modal.show {
    display: block;
}

.announcement-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.announcement-detail-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .announcement-detail-content {
    background: var(--light-card);
    border-color: var(--light-card-border);
}

.announcement-detail-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

body.light-mode .announcement-detail-header {
    background: linear-gradient(135deg, #0066ff, #00aaff);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.announcement-detail-header h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    flex: 1;
    padding-right: 20px;
}

.announcement-detail-close {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.announcement-detail-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.announcement-detail-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
    color: var(--light);
    line-height: 1.8;
}

body.light-mode .announcement-detail-body {
    color: var(--light-text);
}

.announcement-detail-body p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.announcement-detail-body p:last-child {
    margin-bottom: 0;
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 768px) {
    .notification-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .notification-badge {
        min-width: 18px;
        height: 18px;
        font-size: 0.7rem;
        top: -3px;
        right: -3px;
    }
    
    .announcements-modal-content,
    .announcement-detail-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .announcements-modal-header h3,
    .announcement-detail-header h3 {
        font-size: 1.1rem;
    }
    
    .announcement-list-item {
        padding: 12px;
    }
    
    .announcement-list-item-title {
        font-size: 1rem;
    }
    
    .header-actions {
        gap: 10px;
    }
}

/* 首页横幅 */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(5, 8, 17, 0.8), rgba(10, 14, 23, 0.7));
    z-index: 0;
}

body.light-mode .hero::after {
    background: linear-gradient(45deg, rgba(248, 251, 255, 0.7), rgba(235, 241, 252, 0.8));
}

.hero > .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.2rem;
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    color: var(--light);
}

body.light-mode .hero h1 {
    color: #1a1a1a;
}

.hero h1 span {
    background: linear-gradient(to right, #fff, var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 90%;
    font-weight: 300;
    line-height: 1.8;
}

body.light-mode .hero p {
    color: var(--light-gray);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.cta-btn, .btn {
    background: var(--card-bg);
    color: var(--secondary);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 102, 255, 0.5);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.cta-btn i, .btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.cta-btn:hover i, .btn:hover i {
    transform: translateX(3px);
}

body.light-mode .cta-btn,
body.light-mode .btn {
    background: rgba(255, 255, 255, 0.85);
    color: #0066ff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.cta-btn::before,
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.3), transparent);
    transition: 0.5s;
}

.cta-btn:hover,
.btn:hover {
    background: rgba(15, 25, 42, 0.9);
    transform: translateY(-5px);
    box-shadow: var(--glow);
    border-color: var(--primary);
}

body.light-mode .cta-btn:hover,
body.light-mode .btn:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
    border-color: #0066ff;
}

.cta-btn:hover::before,
.btn:hover::before {
    left: 100%;
}

.outline-btn {
    background: transparent;
    color: var(--secondary);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 102, 255, 0.5);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.outline-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.outline-btn:hover i {
    transform: translateX(3px);
}

body.light-mode .outline-btn {
    color: #0066ff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.outline-btn:hover {
    background: rgba(0, 102, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: var(--glow);
    border-color: var(--primary);
}

body.light-mode .outline-btn:hover {
    background: rgba(0, 102, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
}

/* 内容区块 */
.section,
.team-section,
.contact-section,
#home,
#services,
#cases,
#team,
#contact {
    scroll-margin-top: 100px;
}

.section {
    padding: 130px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 100px;
    position: relative;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.4rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    color: var(--light);
}

body.light-mode .section-title {
    color: #1a1a1a;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 4px;
}

body.light-mode .section-title::after {
    background: linear-gradient(to right, #0066ff, #00aaff);
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.3rem;
    line-height: 1.7;
}

body.light-mode .section-subtitle {
    color: var(--light-gray);
}

/* 服务项目样式 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: 15px;
    padding: 50px 40px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

body.light-mode .service-card {
    background: var(--light-card);
    border: 1px solid var(--light-card-border);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: var(--glow), 0 20px 40px rgba(0, 0, 0, 0.3);
}

body.light-mode .service-card:hover {
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.2), 0 15px 30px rgba(0, 0, 0, 0.05);
}

.service-icon-wrapper {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(0, 255, 204, 0.2));
    border-radius: 15px;
    border: 2px solid rgba(0, 102, 255, 0.3);
}

body.light-mode .service-icon-wrapper {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 170, 255, 0.1));
    border: 2px solid rgba(0, 102, 255, 0.2);
}

.service-card-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    transition: all 0.3s ease;
}

body.light-mode .service-card-icon {
    color: #0066ff;
}

.service-card:hover .service-card-icon {
    transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
    font-size: 1.9rem;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    color: var(--light);
}

body.light-mode .service-card h3 {
    color: #1a1a1a;
}

.service-card .brief {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.7;
}

body.light-mode .service-card .brief {
    color: var(--light-gray);
}

.service-items {
    list-style: none;
    margin-top: 25px;
}

.service-items li {
    margin-bottom: 16px;
    position: relative;
    padding-left: 32px;
    font-weight: 300;
    font-size: 1.05rem;
    color: var(--gray);
}

body.light-mode .service-items li {
    color: var(--light-gray);
}

.service-items li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary);
    font-size: 1.1rem;
}

body.light-mode .service-items li::before {
    color: #0066ff;
}

/* 案例演示样式 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
}

.case-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid rgba(0, 102, 255, 0.25);
    backdrop-filter: blur(10px);
}

body.light-mode .case-card {
    background: var(--light-card);
    border: 1px solid var(--light-card-border);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow), 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

body.light-mode .case-card:hover {
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.2), 0 15px 30px rgba(0, 0, 0, 0.05);
}

.case-cover {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.case-card:hover .case-cover {
    transform: scale(1.1);
}

.case-info {
    padding: 30px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
}

.case-info h3 {
    color: var(--light);
    margin-bottom: 15px;
    font-size: 1.6rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
}

body.light-mode .case-info h3 {
    color: #1a1a1a;
}

.case-external-icon {
    font-size: 1rem;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.case-card:hover .case-external-icon {
    opacity: 1;
    transform: translate(3px, -3px);
}

.case-card:hover .case-info h3 {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.case-card:hover .case-info h3 .case-external-icon {
    color: var(--secondary);
    -webkit-text-fill-color: var(--secondary);
}

.case-info p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

body.light-mode .case-info p {
    color: var(--light-gray);
}

/* 团队成员样式 */
.team-section {
    background: linear-gradient(to top, var(--darker), rgba(15, 25, 42, 0.7));
    padding: 130px 0;
    border-top: 1px solid rgba(0, 102, 255, 0.1);
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
    position: relative;
    overflow: hidden;
}

body.light-mode .team-section {
    background: linear-gradient(to top, #f0f5ff, rgba(240, 245, 255, 0.8));
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.team-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    border: 1px solid rgba(0, 102, 255, 0.25);
    position: relative;
    backdrop-filter: blur(10px);
    text-align: center;
    padding: 40px 30px;
}

body.light-mode .team-card {
    background: var(--light-card);
    border: 1px solid var(--light-card-border);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow), 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

body.light-mode .team-card:hover {
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.2), 0 15px 30px rgba(0, 0, 0, 0.05);
}

.team-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 25px;
    display: block;
    border: 5px solid transparent;
    background: linear-gradient(135deg, #0066ff, #00ffcc);
    padding: 5px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.team-card:hover .team-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--glow);
}

.team-card h3 {
    color: var(--light);
    margin-bottom: 12px;
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    z-index: 1;
}

body.light-mode .team-card h3 {
    color: #1a1a1a;
}

.team-position {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    z-index: 1;
}

body.light-mode .team-position {
    background: linear-gradient(135deg, #0066ff, #00aaff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.team-skills {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

body.light-mode .team-skills {
    color: var(--light-gray);
}

.team-homepage {
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.team-homepage-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 25px;
    border: 1px solid rgba(0, 102, 255, 0.3);
}

body.light-mode .team-homepage-link {
    color: #0066ff;
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.team-homepage-link:hover {
    transform: translateY(-3px);
    background: rgba(0, 102, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    text-decoration: none;
}

body.light-mode .team-homepage-link:hover {
    background: rgba(0, 102, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
}

.team-homepage-link i {
    transition: transform 0.3s ease;
}

.team-homepage-link:hover i {
    transform: translateX(3px);
}

/* 联系我们样式 */
.contact-section {
    padding: 130px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 70px;
    border: 1px solid rgba(0, 102, 255, 0.25);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

body.light-mode .contact-container {
    background: var(--light-card);
    border: 1px solid var(--light-card-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    font-family: 'Orbitron', sans-serif;
    color: var(--light);
}

body.light-mode .contact-info h3 {
    color: #1a1a1a;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 70px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

body.light-mode .contact-info h3::after {
    background: linear-gradient(to right, #0066ff, #00aaff);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-method {
    background: rgba(15, 25, 42, 0.6);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

body.light-mode .contact-method {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow);
    border-color: var(--primary);
}

body.light-mode .contact-method:hover {
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

body.light-mode .contact-icon {
    color: #0066ff;
}

.contact-method h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--light);
}

body.light-mode .contact-method h4 {
    color: #1a1a1a;
}

.contact-method p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 1.1rem;
    min-height: 50px;
}

body.light-mode .contact-method p {
    color: var(--light-gray);
}

.contact-method .btn {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    width: 100%;
}

.contact-image-wrapper {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.light-mode .contact-image-wrapper {
    background: rgba(0, 0, 0, 0.05);
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.contact-image:hover {
    transform: scale(1.05);
}

/* 图片查看器弹窗 */
.image-viewer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
}

.image-viewer-modal.show {
    display: block;
}

.image-viewer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.image-viewer-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideUp 0.3s ease;
}

.image-viewer-content img {
    max-width: 800px;
    max-height: 600px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.image-viewer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    z-index: 10003;
}

.image-viewer-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.contact-item {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(15, 25, 42, 0.6);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

body.light-mode .contact-item {
    background: rgba(255, 255, 255, 0.7);
    border-left-color: #0066ff;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--glow);
}

body.light-mode .contact-item:hover {
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
}

.contact-item strong {
    color: var(--light);
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

body.light-mode .contact-item strong {
    color: #1a1a1a;
}

.contact-item p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

body.light-mode .contact-item p {
    color: var(--light-gray);
}

.contact-item a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

body.light-mode .contact-item a {
    color: #0066ff;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* 底部样式 */
.site-footer {
    background: rgba(5, 8, 17, 0.95);
    padding: 100px 0 60px;
    border-top: 1px solid rgba(0, 102, 255, 0.2);
    position: relative;
}

body.light-mode .site-footer {
    background: rgba(245, 248, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Orbitron', sans-serif;
    color: var(--light);
    flex-wrap: wrap;
}

.footer-info h3 i {
    color: var(--secondary);
    font-size: 1.6rem;
}

body.light-mode .footer-info h3 i {
    color: #0066ff;
}

body.light-mode .footer-info h3 {
    color: #1a1a1a;
}

.footer-info p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 300;
}

body.light-mode .footer-info p {
    color: #666;
}

.footer-contact h4 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-family: 'Orbitron', sans-serif;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 10px;
}

body.light-mode .footer-contact h4 {
    color: #1a1a1a;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
}

body.light-mode .footer-contact h4::after {
    background: linear-gradient(to right, #0066ff, #00aaff);
}

.footer-contact p {
    margin-bottom: 12px;
    color: var(--gray);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

body.light-mode .footer-contact p {
    color: #666;
}

.footer-contact p i {
    color: var(--secondary);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

body.light-mode .footer-contact p i {
    color: #0066ff;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links h4 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-family: 'Orbitron', sans-serif;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 10px;
}

body.light-mode .footer-links h4 {
    color: #1a1a1a;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
}

body.light-mode .footer-links h4::after {
    background: linear-gradient(to right, #0066ff, #00aaff);
}

.friend-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.friend-link-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: var(--gray);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-height: 40px;
}

body.light-mode .friend-link-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #666;
}

.friend-link-item:hover {
    background: rgba(0, 102, 255, 0.2);
    border-color: rgba(0, 102, 255, 0.5);
    transform: translateY(-2px);
    color: var(--secondary);
}

body.light-mode .friend-link-item:hover {
    background: rgba(0, 102, 255, 0.1);
    border-color: rgba(0, 102, 255, 0.3);
    color: #0066ff;
}

.friend-link-item img {
    max-height: 30px;
    max-width: 120px;
    object-fit: contain;
    display: block;
}

.friend-link-item span {
    white-space: nowrap;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 102, 255, 0.2);
    color: var(--gray);
    font-size: 1rem;
}

body.light-mode .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: #666;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .main-nav a {
        font-size: 0.95rem;
        padding: 8px 0;
    }
    
    .main-nav a i {
        font-size: 0.85rem;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        padding-top: 100px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .cta-btn,
    .hero-buttons .outline-btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .services-grid,
    .cases-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        padding: 30px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

body.light-mode ::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0052cc, #00ccaa);
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 动画效果 */
@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Toast通知样式 */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.toast {
    background: var(--card-bg);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 12px;
    padding: 18px 24px;
    min-width: 320px;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

body.light-mode .toast {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    color: #00ffcc;
}

.toast-error .toast-icon {
    color: #ff3366;
}

.toast-warning .toast-icon {
    color: #ffaa00;
}

.toast-info .toast-icon {
    color: #0066ff;
}

.toast-message {
    flex: 1;
    color: var(--light);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

body.light-mode .toast-message {
    color: #333;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
    transition: all 0.2s ease;
    border-radius: 4px;
    flex-shrink: 0;
}

.toast-close:hover {
    color: var(--light);
    background: rgba(255, 255, 255, 0.1);
}

body.light-mode .toast-close:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.05);
}

/* 确认对话框样式 */
.confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.confirm-overlay.show {
    opacity: 1;
}

.confirm-dialog {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 0;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 102, 255, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.confirm-overlay.show .confirm-dialog {
    transform: scale(1);
}

body.light-mode .confirm-dialog {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.confirm-dialog-header {
    padding: 30px 30px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(0, 102, 255, 0.2);
}

body.light-mode .confirm-dialog-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.confirm-dialog-header i {
    font-size: 32px;
    color: #0066ff;
}

.confirm-dialog-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    color: var(--light);
    margin: 0;
}

body.light-mode .confirm-dialog-header h3 {
    color: #1a1a1a;
}

.confirm-dialog-body {
    padding: 30px;
}

.confirm-dialog-body p {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

body.light-mode .confirm-dialog-body p {
    color: #666;
}

.confirm-dialog-footer {
    padding: 20px 30px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 1px solid rgba(0, 102, 255, 0.2);
    background: rgba(15, 25, 42, 0.5);
}

body.light-mode .confirm-dialog-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.02);
}

.confirm-dialog-footer .btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

.confirm-dialog-footer .btn-cancel {
    background: rgba(139, 157, 181, 0.2);
    color: var(--gray);
    border: 1px solid rgba(139, 157, 181, 0.3);
}

body.light-mode .confirm-dialog-footer .btn-cancel {
    background: rgba(0, 0, 0, 0.05);
    color: #666;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.confirm-dialog-footer .btn-cancel:hover {
    background: rgba(139, 157, 181, 0.3);
    transform: translateY(-2px);
}

body.light-mode .confirm-dialog-footer .btn-cancel:hover {
    background: rgba(0, 0, 0, 0.1);
}

.confirm-dialog-footer .btn-confirm {
    background: linear-gradient(135deg, #0066ff, #00ffcc);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.confirm-dialog-footer .btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}
/**/
/* ============================================
   移动端响应式设计 - 基于您现有的CSS优化
   ============================================ */

/* 平板设备 (768px - 1024px) */
@media screen and (max-width: 1024px) {
    /* 调整容器内边距 */
    .container {
        padding: 0 25px;
        max-width: 100%;
    }
    
    /* 英雄区域调整 */
    .hero h1 {
        font-size: 3.5rem;
        line-height: 1.15;
    }
    
    .hero p {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    /* 服务网格调整为2列 */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* 案例网格调整为2列 */
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* 团队成员网格调整为2列 */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* 联系方式网格调整 */
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* 页脚内容调整 */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    /* 调整区块标题 */
    .section-title {
        font-size: 2.8rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    /* 服务卡片调整 */
    .service-card {
        padding: 35px 30px;
    }
    
    /* 联系容器调整 */
    .contact-container {
        padding: 50px 40px;
    }
}

/* 手机设备 (小于768px) */
@media screen and (max-width: 768px) {
    /* 基础样式调整 */
    html {
        font-size: 15px;
    }
    
    body {
        font-size: 16px;
        line-height: 1.5;
    }
    
    /* 容器内边距调整 */
    .container {
        padding: 0 20px;
    }
    
    /* 导航栏移动端适配 */
    .header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 15px 0;
    }
    
    .logo {
        font-size: 1.5rem;
        justify-content: space-between;
        width: 100%;
    }
    
    /* 添加移动端菜单按钮 */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: 2px solid rgba(0, 102, 255, 0.3);
        border-radius: 8px;
        color: var(--light);
        cursor: pointer;
        font-size: 1.2rem;
        transition: all 0.3s ease;
    }
    
    body.light-mode .mobile-menu-btn {
        color: #333;
        border-color: rgba(0, 0, 0, 0.2);
    }
    
    .mobile-menu-btn:hover {
        background: rgba(0, 102, 255, 0.1);
        border-color: var(--primary);
    }
    
    body.light-mode .mobile-menu-btn:hover {
        background: rgba(0, 102, 255, 0.05);
    }
    
    /* 移动端导航菜单 */
    .main-nav {
        position: fixed;
        top: 70px;
        left: 20px;
        right: 20px;
        background: var(--card-bg);
        border: 1px solid rgba(0, 102, 255, 0.3);
        border-radius: 15px;
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        display: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        backdrop-filter: blur(20px);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }
    
    body.light-mode .main-nav {
        background: white;
        border-color: rgba(0, 0, 0, 0.1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    
    .main-nav a,
    .main-nav .nav-link {
        padding: 12px 20px;
        border-radius: 8px;
        transition: all 0.3s ease;
        justify-content: center;
    }
    
    .main-nav a:hover,
    .main-nav a.active,
    .main-nav .nav-link:hover,
    .main-nav .nav-link.active {
        background: rgba(0, 102, 255, 0.1);
    }
    
    body.light-mode .main-nav a:hover,
    body.light-mode .main-nav a.active,
    body.light-mode .main-nav .nav-link:hover,
    body.light-mode .main-nav .nav-link.active {
        background: rgba(0, 102, 255, 0.05);
    }
    
    .main-nav a::after,
    .main-nav .nav-link::after {
        display: none;
    }
    
    /* 英雄区域适配 */
    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }
    
    .cta-btn,
    .outline-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    /* 区块通用样式 */
    .section {
        padding: 70px 0;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .section-title::after {
        width: 60px;
        height: 3px;
        bottom: -12px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* 服务项目适配 */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    .service-card .brief {
        font-size: 1rem;
    }
    
    .service-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .service-card-icon {
        font-size: 2rem;
    }
    
    /* 案例适配 */
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .case-cover {
        height: 220px;
    }
    
    .case-info {
        padding: 20px;
    }
    
    .case-info h3 {
        font-size: 1.3rem;
    }
    
    /* 团队适配 */
    .team-section {
        padding: 70px 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-card {
        padding: 30px 25px;
    }
    
    .team-avatar {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
        font-size: 40px;
    }
    
    .team-card h3 {
        font-size: 1.4rem;
    }
    
    /* 联系方式适配 */
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-method {
        padding: 20px;
    }
    
    .contact-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .contact-method h4 {
        font-size: 1.2rem;
    }
    
    .contact-method p {
        font-size: 1rem;
    }
    
    .contact-action-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* 图片查看器适配 */
    .image-viewer-content img {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .image-viewer-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    /* 公告弹窗适配 */
    .announcements-modal-content,
    .announcement-detail-content {
        width: 95%;
        max-height: 90vh;
        max-width: 95%;
    }
    
    .announcements-modal-header,
    .announcement-detail-header {
        padding: 15px 20px;
    }
    
    .announcements-modal-header h3,
    .announcement-detail-header h3 {
        font-size: 1.1rem;
    }
    
    .announcements-modal-body,
    .announcement-detail-body {
        padding: 15px;
    }
    
    /* 页脚适配 */
    .site-footer {
        padding: 60px 0 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-info h3,
    .footer-contact h4,
    .footer-links h4 {
        justify-content: center;
    }
    
    .footer-contact h4::after,
    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
        text-align: center;
    }
    
    .friend-links-list {
        justify-content: center;
    }
    
    .friend-link-item {
        min-width: 120px;
    }
    
    .footer-bottom {
        padding-top: 30px;
        font-size: 0.9rem;
    }
    
    /* Toast通知适配 */
    .toast-container {
        top: auto;
        bottom: 20px;
        right: 20px;
        left: 20px;
        align-items: stretch;
    }
    
    .toast {
        min-width: auto;
        max-width: 100%;
    }
    
    /* 确认对话框适配 */
    .confirm-dialog {
        width: 95%;
        max-width: 95%;
    }
    
    .confirm-dialog-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .confirm-dialog-body {
        padding: 20px;
        text-align: center;
    }
    
    .confirm-dialog-footer {
        padding: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .confirm-dialog-footer .btn {
        width: 100%;
        justify-content: center;
    }
}

/* 小屏手机设备 (小于480px) */
@media screen and (max-width: 480px) {
    /* 更小的内边距 */
    .container {
        padding: 0 15px;
    }
    
    /* 英雄区域进一步调整 */
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    /* 服务卡片内边距调整 */
    .service-card {
        padding: 25px 20px;
    }
    
    /* 案例封面高度调整 */
    .case-cover {
        height: 180px;
    }
    
    /* 团队头像调整 */
    .team-avatar {
        width: 100px;
        height: 100px;
        font-size: 36px;
    }
    
    /* 按钮调整 */
    .cta-btn,
    .outline-btn,
    .btn {
        padding: 12px 18px;
        font-size: 0.95rem;
    }
    
    /* 通知按钮调整 */
    .notification-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .notification-badge {
        min-width: 18px;
        height: 18px;
        font-size: 0.7rem;
        top: -3px;
        right: -3px;
    }
    
    /* 联系方式图片容器调整 */
    .contact-image-wrapper {
        height: 150px;
    }
    
    /* 表格响应式调整 */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        min-width: 600px;
    }
    
    /* 表单元素调整 */
    input,
    textarea,
    select {
        font-size: 16px !important; /* 防止iOS缩放 */
    }
    
    /* 触摸优化 */
    button,
    a,
    input[type="submit"] {
        min-height: 44px; /* 苹果推荐的最小触摸目标尺寸 */
        min-width: 44px;
    }
    
    /* 防止长按弹出菜单 */
    * {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
    
    /* 允许文本选择 */
    p, span, h1, h2, h3, h4, h5, h6 {
        -webkit-user-select: text;
        user-select: text;
    }
}

/* 横屏模式适配 */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 15px;
        margin-top: 15px;
    }
    
    .cta-btn,
    .outline-btn {
        width: auto;
        min-width: 150px;
    }
    
    .main-nav.active {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* 深色模式移动端优化 */
@media screen and (max-width: 768px) {
    body.light-mode .main-nav {
        background: white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    body.light-mode .main-nav a,
    body.light-mode .main-nav .nav-link {
        color: #333;
    }
    
    body.light-mode .main-nav a:hover,
    body.light-mode .main-nav a.active,
    body.light-mode .main-nav .nav-link:hover,
    body.light-mode .main-nav .nav-link.active {
        color: #0066ff;
        background: rgba(0, 102, 255, 0.05);
    }
}

/* 滚动条在移动端隐藏 */
@media screen and (max-width: 768px) {
    ::-webkit-scrollbar {
        display: none;
    }
    
    /* 保持平滑滚动 */
    html {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
}

/* 防止移动端缩放 */
@media screen and (max-width: 768px) {
    input,
    textarea,
    select {
        font-size: 16px !important;
        -webkit-appearance: none;
        appearance: none;
    }
    
    /* 修复iOS按钮样式 */
    button,
    input[type="button"],
    input[type="submit"] {
        -webkit-appearance: none;
        appearance: none;
        border-radius: 0;
    }
}

/* 移动端动画优化 */
@media screen and (max-width: 768px) {
    /* 减少移动端动画以节省性能 */
    .service-card:hover,
    .case-card:hover,
    .team-card:hover,
    .contact-method:hover {
        transform: none;
    }
    
    /* 保持必要的动画效果 */
    .service-card:hover .service-card-icon,
    .case-card:hover .case-external-icon,
    .team-homepage-link:hover i {
        transform: scale(1.1);
    }
    
    /* 禁用一些复杂的动画 */
    .cta-btn::before,
    .btn::before {
        display: none;
    }
}

/* 高分辨率屏幕适配 */
@media screen and (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* 提高移动端字体清晰度 */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
}

/* 折叠屏设备适配 */
@media screen and (max-width: 768px) and (orientation: portrait) {
    .section {
        padding: 60px 0;
    }
    
    .team-section {
        padding: 60px 0;
    }
}

/* 超小屏幕设备（手表等） */
@media screen and (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card,
    .case-info,
    .team-card {
        padding: 20px 15px;
    }
    
    .cta-btn,
    .outline-btn,
    .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}
/* 省市区选择器样式修复 - 添加到CSS文件的末尾或适当位置 */

/* PC端样式 */
.address-selectors {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

#receiver_province,
#receiver_city,
#receiver_district {
    flex: 1;
    padding: 12px 15px;
    font-size: 16px;
    background: var(--card-bg);
    border: 2px solid rgba(0, 102, 255, 0.3);
    border-radius: 8px;
    color: var(--light);
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ffcc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
}

body.light-mode #receiver_province,
body.light-mode #receiver_city,
body.light-mode #receiver_district {
    background: var(--light-card);
    border: 2px solid rgba(0, 102, 255, 0.2);
    color: var(--light-text);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

#receiver_province:hover,
#receiver_city:hover,
#receiver_district:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

#receiver_province:focus,
#receiver_city:focus,
#receiver_district:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 255, 204, 0.2);
}

/* 禁用状态样式 */
#receiver_province:disabled,
#receiver_city:disabled,
#receiver_district:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: rgba(0, 102, 255, 0.1);
}

/* 选项样式 */
#receiver_province option,
#receiver_city option,
#receiver_district option {
    background: var(--card-bg);
    color: var(--light);
    padding: 10px;
    font-size: 15px;
}

body.light-mode #receiver_province option,
body.light-mode #receiver_city option,
body.light-mode #receiver_district option {
    background: white;
    color: var(--light-text);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .address-selectors {
        flex-direction: column;
        gap: 12px;
    }
    
    #receiver_province,
    #receiver_city,
    #receiver_district {
        width: 100%;
        padding: 14px 15px;
        font-size: 17px; /* iOS优化 */
        border-width: 1px;
    }
    
    /* 移除移动端的旧样式覆盖 */
    #receiver_province:not(.override),
    #receiver_city:not(.override),
    #receiver_district:not(.override) {
        margin-bottom: 0; /* 移除旧样式中的margin-bottom */
    }
}

/* 针对小屏幕手机进一步优化 */
@media (max-width: 480px) {
    #receiver_province,
    #receiver_city,
    #receiver_district {
        padding: 12px 15px;
        font-size: 16px;
    }
}

/* 标签样式 */
.order-form-group label[for="receiver_province"],
.order-form-group label[for="receiver_city"],
.order-form-group label[for="receiver_district"] {
    display: block;
    margin-bottom: 8px;
    color: var(--light);
    font-weight: 500;
    font-size: 15px;
}

body.light-mode .order-form-group label[for="receiver_province"],
body.light-mode .order-form-group label[for="receiver_city"],
body.light-mode .order-form-group label[for="receiver_district"] {
    color: var(--light-text);
}