/* 全局样式 */
:root {
    --primary-color: #4dabf7;
    --secondary-color: #40c057;
    --dark-color: #151c24;
    --darker-color: #0e141b;
    --medium-dark-color: #1a2634;
    --light-dark-color: #263747;
    --light-color: #2b3a4a;
    --accent-color: #ff6b6b;
    --text-color: #e9ecef;
    --text-secondary: #adb5bd;
    --light-text: #f8f9fa;
    --dark-text: #212529;
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --glow-effect: 0 0 15px var(--primary-color);
    --neon-effect: 0 0 10px rgba(77, 171, 247, 0.6);
    --background-color: #0f172a;
    --background-light: #1e293b;
    --highlight-color: #64ffda;
    --highlight-color-rgb: 100, 255, 218; /* RGB值对应#64ffda */
    --border-color: rgba(148, 163, 184, 0.2);
    --card-bg: rgba(30, 41, 59, 0.7);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-color);
    overflow-x: hidden;
    position: relative;
}

/* 粒子背景 */
#particles-js {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(10, 15, 22, 0.9), rgba(16, 22, 30, 0.95));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: visible;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--light-text);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: #75bbf7;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s;
    z-index: -1;
}

.btn:hover:before {
    transform: translateX(100%) rotate(45deg);
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--dark-text);
    box-shadow: 0 0 10px rgba(77, 171, 247, 0.3);
}

.btn.primary:hover {
    background-color: #75bbf7;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(75, 192, 247, 0.5), 0 0 20px rgba(77, 171, 247, 0.3);
}

.btn.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(77, 171, 247, 0.2);
}

.btn.secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-text);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(75, 192, 247, 0.4), 0 0 20px rgba(77, 171, 247, 0.2);
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    font-size: 2.8rem;
    color: var(--light-text);
    position: relative;
    text-shadow: 0 0 5px rgba(77, 171, 247, 0.3);
}

.section-title::after {
    content: '';
    display: block;
    height: 4px;
    width: 60px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-color);
}

/* 高亮文本 */
.highlight {
    color: var(--primary-color);
    position: relative;
    padding: 0 5px;
    text-shadow: 0 0 10px rgba(77, 171, 247, 0.6);
}

.highlight:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    border-radius: 4px;
    opacity: 0.6;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { opacity: 0.4; transform: translateX(-10px) scaleX(0.8); }
    50% { opacity: 0.8; transform: translateX(5px) scaleX(1.2); }
    100% { opacity: 0.4; transform: translateX(-10px) scaleX(0.8); }
}

/* 导航栏 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 14, 19, 0.98);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.4s, background-color 0.3s;
    padding: 5px 0;
}

header.scrolled {
    transform: translateY(-5px);
    background-color: rgba(10, 14, 19, 0.98);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 8vh;
    padding: 8px 3%;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
}

.logo h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(77, 171, 247, 0.6);
    transition: var(--transition);
    margin: 0;
    padding: 0;
}

.logo h1:hover {
    text-shadow: 0 0 25px rgba(77, 171, 247, 0.8);
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
    flex: 2;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    padding: 6px 8px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}

.nav-links a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(77, 171, 247, 0.3);
}

.nav-links a:hover:before {
    width: 70%;
}

.burger {
    display: none;
    cursor: pointer;
}



.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: var(--transition);
}

/* Logo styles */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo img {
    height: 55px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 0 10px rgba(77, 171, 247, 0.3));
}
.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(77, 171, 247, 0.5));
}

/* 英雄区 */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    background: radial-gradient(circle at top left, var(--medium-dark-color) 0%, transparent 60%),
                radial-gradient(circle at bottom right, var(--light-dark-color) 0%, transparent 60%),
                var(--dark-color);
    padding: 120px 0 60px;
    position: relative;
    overflow: visible;
    width: 100%;
}

.hero-content {
    flex: 1.2;
    padding: 0 5%;
    z-index: 1;
    text-align: left;
    margin-left: 0;
}

/* 故障文本效果 */
.glitch-text {
    position: relative;
    font-size: 6rem;
    color: var(--light-text);
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(77, 171, 247, 0.3);
    display: inline-block;
}

.glitch-text:before,
.glitch-text:after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip: rect(0, 900px, 0, 0);
}

.glitch-text:after {
    left: 2px;
    text-shadow: -1px 0 var(--primary-color);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

.glitch-text:before {
    left: -2px;
    text-shadow: 2px 0 var(--accent-color);
    animation: glitch-anim-1 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip: rect(25px, 9999px, 87px, 0); }
    10% { clip: rect(56px, 9999px, 10px, 0); }
    20% { clip: rect(16px, 9999px, 98px, 0); }
    30% { clip: rect(92px, 9999px, 3px, 0); }
    40% { clip: rect(45px, 9999px, 56px, 0); }
    50% { clip: rect(5px, 9999px, 46px, 0); }
    60% { clip: rect(34px, 9999px, 23px, 0); }
    70% { clip: rect(23px, 9999px, 76px, 0); }
    80% { clip: rect(67px, 9999px, 15px, 0); }
    90% { clip: rect(57px, 9999px, 89px, 0); }
    100% { clip: rect(12px, 9999px, 35px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(65px, 9999px, 32px, 0); }
    10% { clip: rect(12px, 9999px, 76px, 0); }
    20% { clip: rect(45px, 9999px, 25px, 0); }
    30% { clip: rect(65px, 9999px, 83px, 0); }
    40% { clip: rect(23px, 9999px, 45px, 0); }
    50% { clip: rect(76px, 9999px, 12px, 0); }
    60% { clip: rect(34px, 9999px, 65px, 0); }
    70% { clip: rect(67px, 9999px, 87px, 0); }
    80% { clip: rect(12px, 9999px, 43px, 0); }
    90% { clip: rect(43px, 9999px, 65px, 0); }
    100% { clip: rect(76px, 9999px, 32px, 0); }
}

.hero-content h2 {
    font-size: 4rem;
    color: var(--light-text);
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 85%;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 50px;
}

.cta-buttons .btn {
    padding: 18px 40px;
    font-size: 1.2rem;
    letter-spacing: 1.5px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 400px;
    padding: 0;
    margin: 0;
    overflow: visible;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(77, 171, 247, 0.4));
    object-fit: contain;
    transform: scale(0.95);
}

/* 倾斜元素效果 */
.tilt-element {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    will-change: transform;
    transform: perspective(1000px);
}

/* 关于我们 */
.about {
    background-color: var(--darker-color);
    position: relative;
    z-index: 1;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: var(--card-shadow), 0 0 20px rgba(0, 0, 0, 0.3);
}

/* 底部特殊区域 */
.tech-icon-section {
    background-color: var(--darker-color);
    padding: 40px 0;
    position: relative;
    z-index: 2;
    margin-top: -2px;
    margin-bottom: -2px;
}

/* 技术图标样式增强 */
.floating-tech-icons {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transform-style: preserve-3d;
    z-index: 5;
    padding: 30px 0;
    flex-wrap: wrap;
    max-width: 90%;
    margin: 0 auto;
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, var(--light-dark-color), var(--medium-dark-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(77, 171, 247, 0.3);
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(var(--rotate-x)) rotateY(var(--rotate-y)) translateZ(var(--translate-z));
    transition: transform 0.3s ease;
    z-index: 3;
    margin: 10px;
}

.tech-icon:hover {
    transform: rotateX(0) rotateY(0) translateZ(50px);
    color: #75bbf7;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(77, 171, 247, 0.5);
}

.tech-icon i {
    text-shadow: 0 0 10px rgba(77, 171, 247, 0.3);
}

/* 平台特性 */
.platform {
    background-color: var(--medium-dark-color);
    position: relative;
    overflow: hidden;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background-color: rgba(38, 55, 71, 0.8);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(77, 171, 247, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.feature-icon i {
    text-shadow: 0 0 15px rgba(77, 171, 247, 0.5);
    transition: all 0.5s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.2);
    text-shadow: 0 0 30px rgba(77, 171, 247, 0.8);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--light-text);
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* 卡片背景气泡效果 */
.card-blob {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at center, rgba(77, 171, 247, 0.4) 0%, rgba(77, 171, 247, 0) 70%);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.3;
    transition: all 0.8s ease;
    z-index: 0;
}

.feature-card:hover .card-blob {
    transform: scale(1.5);
    opacity: 0.5;
}

/* 连接线效果 */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#connectionCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 公司理念 */
.values {
    background: linear-gradient(135deg, var(--darker-color) 0%, var(--dark-color) 100%);
    position: relative;
    overflow: hidden;
}

.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.value-card {
    background-color: rgba(38, 55, 71, 0.7);
    border-radius: 15px;
    padding: 50px 35px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.value-card:nth-child(1)::before {
    background: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
}

.value-card:nth-child(2)::before {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.value-card:nth-child(3)::before {
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.value-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 25px;
}

.value-card:nth-child(1) .value-icon {
    color: var(--secondary-color);
    text-shadow: 0 0 15px rgba(64, 192, 87, 0.5);
}

.value-card:nth-child(2) .value-icon {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(77, 171, 247, 0.5);
}

.value-card:nth-child(3) .value-icon {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
}

.value-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--light-text);
}

.value-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* 卡片发光效果 */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(77, 171, 247, 0.1) 0%, 
        rgba(77, 171, 247, 0) 70%);
    transition: opacity 0.5s ease;
    z-index: -1;
}

.value-card:nth-child(1):hover .card-glow {
    opacity: 1;
    background: radial-gradient(circle at 50% 50%, 
        rgba(64, 192, 87, 0.15) 0%, 
        rgba(64, 192, 87, 0) 70%);
}

.value-card:nth-child(2):hover .card-glow {
    opacity: 1;
    background: radial-gradient(circle at 50% 50%, 
        rgba(77, 171, 247, 0.15) 0%, 
        rgba(77, 171, 247, 0) 70%);
}

.value-card:nth-child(3):hover .card-glow {
    opacity: 1;
    background: radial-gradient(circle at 50% 50%, 
        rgba(255, 107, 107, 0.15) 0%, 
        rgba(255, 107, 107, 0) 70%);
}

/* 3D视差效果 */
.parallax-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.circle-decoration {
    position: absolute;
    top: 100px;
    left: 10%;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(77, 171, 247, 0.2);
    border-radius: 50%;
    opacity: 0.3;
}

.square-decoration {
    position: absolute;
    bottom: 150px;
    right: 15%;
    width: 150px;
    height: 150px;
    border: 2px solid rgba(64, 192, 87, 0.2);
    transform: rotate(45deg);
    opacity: 0.3;
}

.triangle-decoration {
    position: absolute;
    top: 40%;
    right: 25%;
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid rgba(255, 107, 107, 0.1);
    opacity: 0.3;
}

.dot-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
}

/* 联系我们 */
.contact {
    background-color: var(--darker-color);
    position: relative;
}

.contact:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(77, 171, 247, 0.05), transparent 60%);
    z-index: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    background-color: rgba(77, 171, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(77, 171, 247, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background-color: rgba(77, 171, 247, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(77, 171, 247, 0.4);
}

.contact-item p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-dark-color);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.social-link:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), transparent);
    opacity: 0;
    transition: all 0.4s ease;
    transform: scale(0);
    border-radius: 50%;
}

.social-link:hover {
    transform: translateY(-10px) rotate(360deg);
    color: var(--light-text);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(77, 171, 247, 0.3);
}

.social-link:hover:before {
    opacity: 0.6;
    transform: scale(1);
}

.social-link i {
    position: relative;
    z-index: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--light-dark-color);
    background-color: rgba(26, 38, 52, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(77, 171, 247, 0.2), inset 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: rgba(38, 55, 71, 0.4);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

/* 输入框焦点效果 */
.input-focus-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transition: width 0.4s ease;
}

.form-group input:focus + .input-focus-effect,
.form-group textarea:focus + .input-focus-effect {
    width: 100%;
}

/* 按钮脉冲效果 */
.pulse-effect {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(77, 171, 247, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(77, 171, 247, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(77, 171, 247, 0);
    }
}

/* 页脚 */
footer {
    background-color: var(--darker-color);
    color: var(--text-secondary);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--light-text);
    text-shadow: 0 0 10px rgba(77, 171, 247, 0.3);
}

.footer-logo p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--light-text);
    position: relative;
}

.footer-column h3::after {
    content: '';
    display: block;
    height: 3px;
    width: 40px;
    background: var(--primary-color);
    margin-top: 10px;
    box-shadow: 0 0 10px rgba(77, 171, 247, 0.3);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    font-size: 1.05rem;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    transform: translateX(8px);
    text-shadow: 0 0 8px rgba(77, 171, 247, 0.3);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.footer-social-link:hover {
    color: var(--primary-color);
    transform: translateX(8px);
    text-shadow: 0 0 8px rgba(77, 171, 247, 0.3);
}

.footer-social-link i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.footer-social-link span {
    font-size: 1rem;
}

.copyright {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
}

/* 第一行：版权信息 */
.copyright-line {
    margin-bottom: 15px;
}

.copyright-line p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.company-name {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.icp-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.icp-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* 第二行：访问统计徽章 */
.visit-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.visit-counter img {
    height: 20px;
    border-radius: 3px;
    transition: all 0.3s ease;
    filter: brightness(0.9);
    opacity: 0.9;
}

.visit-counter img:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(77, 171, 247, 0.3);
}

.footer-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, 
        rgba(77, 171, 247, 0) 0%, 
        rgba(77, 171, 247, 0.1) 50%, 
        rgba(77, 171, 247, 0) 100%);
    opacity: 0.2;
    transform: translateY(30px) skewY(-2deg);
}

/* Footer访问统计样式 */
.footer-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 25px 0;
    margin: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 15, 25, 0.3);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.footer-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(77, 171, 247, 0.02) 0%, 
        rgba(77, 171, 247, 0.05) 50%, 
        rgba(77, 171, 247, 0.02) 100%);
    pointer-events: none;
}

.stats-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.stats-item:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.stats-item i {
    font-size: 1.1rem;
    color: var(--primary-color);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.stats-item:hover i {
    opacity: 1;
    transform: scale(1.1);
    text-shadow: 0 0 8px rgba(77, 171, 247, 0.5);
}

.stat-number {
    font-weight: 600;
    color: var(--highlight-color);
    font-size: 1rem;
    min-width: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.stats-item:hover .stat-number {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(77, 171, 247, 0.3);
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .hero-content .glitch-text {
        font-size: 5rem;
    }
    
    .hero-content h2 {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.4rem;
    }
    
    .hero-image img {
        transform: scale(0.9);
    }
}

@media screen and (max-width: 1024px) {
    .nav-links {
        width: 70%;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
        gap: 40px;
    }
    
    .hero-content {
        margin-bottom: 0;
        padding: 0 8%;
    }
    
    .hero-content .glitch-text {
        font-size: 4.5rem;
    }
    
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .hero-content p {
        max-width: 100%;
        margin: 0 auto 30px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-image {
        padding: 0 5%;
        margin: 20px 0 40px;
        min-height: 350px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 40px;
    }
    
    .floating-tech-icons {
        gap: 30px;
    }
    
    .tech-icon {
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
    }
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .hero-content .glitch-text {
        font-size: 3.8rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .nav-links {
        position: fixed;
        right: 0;
        height: 100vh;
        top: 0;
        background-color: rgba(10, 15, 22, 0.97);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 80px;
        padding-left: 30px;
        padding-right: 30px;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 999;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
    
    .nav-links li {
        opacity: 0;
        margin: 20px 0;
        width: 100%;
        text-align: left;
        transition: opacity 0.5s ease-in-out;
    }
    
    .nav-links li a {
        font-size: 1.3rem;
        font-weight: 500;
        color: var(--text-color);
        text-decoration: none;
        padding: 15px 0;
        display: block;
        border-bottom: 1px solid rgba(77, 171, 247, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav-links li a:hover {
        color: var(--accent-color);
        padding-left: 15px;
        border-bottom-color: var(--accent-color);
        background-color: rgba(77, 171, 247, 0.05);
    }
    

    
    .nav-active {
        transform: translateX(0%);
    }
    
    .nav-active li {
        opacity: 1;
    }
    
    .nav-active li:nth-child(1) {
        transition-delay: 0.1s;
    }
    
    .nav-active li:nth-child(2) {
        transition-delay: 0.2s;
    }
    
    .nav-active li:nth-child(3) {
        transition-delay: 0.3s;
    }
    
    .nav-active li:nth-child(4) {
        transition-delay: 0.4s;
    }
    
    .nav-active li:nth-child(5) {
        transition-delay: 0.5s;
    }
    
    .nav-active li:nth-child(6) {
        transition-delay: 0.6s;
    }
    
    .nav-active li:nth-child(7) {
        transition-delay: 0.7s;
    }
    
    .nav-active li:nth-child(8) {
        transition-delay: 0.8s;
    }
    
    .burger {
        display: block;
        z-index: 1000;
    }
    

    
    .section-title {
        font-size: 2.3rem;
    }
    
    .value-card {
        padding: 35px 25px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-stats {
        flex-direction: column;
        gap: 20px;
        padding: 20px 15px;
    }
    
    .stats-item {
        font-size: 0.85rem;
        gap: 6px;
    }
    
    .copyright-line p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .visit-counter img {
        height: 18px;
    }
}

@media screen and (max-width: 480px) {
    .glitch-text {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card, .value-card {
        padding: 25px 20px;
    }
    
    .tech-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .floating-tech-icons {
        gap: 20px;
    }
    
    .footer-stats {
        gap: 15px;
        padding: 15px 10px;
        margin: 15px 0;
    }
    
    .stats-item {
        font-size: 0.8rem;
        gap: 5px;
    }
    
    .stats-item i {
        font-size: 1rem;
    }
    
    .copyright-line p {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .visit-counter img {
        height: 16px;
    }
    
    .company-name {
        letter-spacing: 0.3px;
    }
}

/* 动画 */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
    background-color: var(--text-color);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
    background-color: var(--text-color);
}

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* 元素出现动画 */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* 页脚底部版权信息 */
.copyright p {
    margin: 0;
    padding: 15px 0;
}

/* 浮动元素 */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.floating-circle {
    position: absolute;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), rgba(77, 171, 247, 0.1));
    filter: blur(5px);
    opacity: 0.5;
    transform: translate(var(--x), var(--y));
    animation: float-circle 8s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 20px rgba(77, 171, 247, 0.3);
}

@keyframes float-circle {
    0%, 100% { transform: translate(var(--x), var(--y)); }
    50% { transform: translate(calc(var(--x) + 30px), calc(var(--y) - 30px)); }
}

.hero-content .btn.primary {
    background-color: var(--primary-color);
    color: var(--dark-text);
    box-shadow: 0 0 15px rgba(77, 171, 247, 0.4);
    font-weight: 700;
}

.hero-content .btn.primary:hover {
    background-color: #75bbf7;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(75, 192, 247, 0.6), 0 0 20px rgba(77, 171, 247, 0.4);
}

.hero-content .btn.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(77, 171, 247, 0.3);
    font-weight: 700;
}

.hero-content .btn.secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-text);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(75, 192, 247, 0.5), 0 0 20px rgba(77, 171, 247, 0.3);
}

/* 评估中心 */
.evaluation {
    background-color: var(--medium-dark-color);
    position: relative;
    overflow: hidden;
}

.evaluation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, var(--dark-color) 0%, transparent 100%);
    z-index: 1;
}

.evaluation-content {
    display: flex;
    gap: 40px;
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 992px) {
    .evaluation-content {
        flex-direction: column;
    }
}

.evaluation-summary, .evaluation-details {
    flex: 1;
    background: rgba(20, 30, 45, 0.6);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(77, 171, 247, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.evaluation-summary:hover, .evaluation-details:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* 评分卡片 */
.score-card {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.score-value {
    position: relative;
    margin-bottom: 20px;
}

.score-number {
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(77, 171, 247, 0.8);
    display: block;
    line-height: 1;
}

.score-label {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 5px;
    display: block;
}

.score-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

.score-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.circular-chart {
    width: 100%;
    height: 100%;
}

.circle-bg {
    fill: none;
    stroke: rgba(77, 171, 247, 0.2);
    stroke-width: 3;
}

.circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 3;
    stroke-linecap: round;
    animation: progress 1.5s ease-out forwards;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

@keyframes progress {
    0% {
        stroke-dasharray: 0, 100;
    }
}

.percentage {
    fill: var(--text-color);
    font-size: 0.5em;
    text-anchor: middle;
    font-weight: bold;
}

/* 指标条 */
.metrics {
    margin-top: 30px;
}

.metric-row {
    margin-bottom: 15px;
}

.metric-name {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--text-secondary);
}

.metric-bar-container {
    background-color: rgba(255, 255, 255, 0.1);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.metric-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #75bbf7);
    border-radius: 4px;
    position: relative;
    animation: bar-fill 2s ease-out forwards;
    box-shadow: 0 0 10px rgba(77, 171, 247, 0.5);
}

.metric-value {
    position: absolute;
    right: 0;
    top: -20px;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: bold;
}

@keyframes bar-fill {
    0% {
        width: 0%;
    }
}

/* 评估详情 */
.evaluation-tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(77, 171, 247, 0.2);
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition);
}

.tab.active {
    color: var(--primary-color);
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px 3px 0 0;
    box-shadow: 0 0 10px var(--primary-color);
}

.tab:hover {
    color: var(--primary-color);
}

/* 测试用例 */
.test-cases {
    margin-bottom: 30px;
}

.test-case {
    background-color: rgba(20, 30, 45, 0.6);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(77, 171, 247, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.test-case:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: rgba(77, 171, 247, 0.3);
}

.test-header {
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(30, 40, 55, 0.8);
    border-bottom: 1px solid rgba(77, 171, 247, 0.1);
}

.test-title {
    font-weight: 600;
    font-size: 1rem;
}

.test-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.test-badge.success {
    background-color: rgba(64, 192, 87, 0.2);
    color: var(--secondary-color);
    border: 1px solid rgba(64, 192, 87, 0.3);
}

.test-badge.warning {
    background-color: rgba(255, 159, 67, 0.2);
    color: #ff9f43;
    border: 1px solid rgba(255, 159, 67, 0.3);
}

.test-badge.danger {
    background-color: rgba(255, 107, 107, 0.2);
    color: var(--accent-color);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.test-body {
    padding: 15px;
    position: relative;
}

.test-row {
    margin-bottom: 10px;
    display: flex;
}

.test-label {
    font-weight: 600;
    color: var(--text-secondary);
    width: 50px;
    flex-shrink: 0;
}

.test-value {
    color: var(--text-color);
    word-break: break-word;
}

.code-snippet {
    font-family: 'Courier New', monospace;
    background-color: rgba(10, 15, 25, 0.5);
    padding: 2px 6px;
    border-radius: 4px;
    color: #e9ecef;
    font-size: 0.9em;
}

.test-score {
    position: absolute;
    top: 15px;
    right: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

/* 优化建议 */
.optimization-tips {
    margin-bottom: 25px;
}

.optimization-tips h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--light-text);
    position: relative;
    display: inline-block;
}

.optimization-tips h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    box-shadow: 0 0 5px var(--primary-color);
}

.tip {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    background-color: rgba(30, 40, 55, 0.4);
    padding: 10px 15px;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.tip i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1rem;
    margin-top: 2px;
}

.tip span {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 动作按钮 */
.action-buttons {
    display: flex;
    gap: 15px;
}

.action-buttons .btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
}

.action-buttons i {
    margin-right: 8px;
}

/* 装饰元素 */
.evaluation-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.decoration-item {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--size);
    height: var(--size);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(10, 20, 30, 0.5);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: calc(var(--size) * 0.5);
    transform: rotate(var(--rotate));
    box-shadow: 0 0 20px rgba(77, 171, 247, 0.3);
    opacity: 0.6;
    animation: float-decoration 8s infinite ease-in-out;
    animation-delay: calc(var(--x) * 0.01s);
}

@keyframes float-decoration {
    0%, 100% {
        transform: translate(0, 0) rotate(var(--rotate));
    }
    50% {
        transform: translate(10px, -15px) rotate(calc(var(--rotate) + 5deg));
    }
}

/* 导航栏下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
}

.dropdown-toggle i {
    margin-left: 5px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 10px 0;
    overflow: hidden;
}

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

.dropdown-menu li {
    width: 100%;
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 0.9em;
    transition: all 0.2s ease;
    text-align: left;
}

.dropdown-menu li a:hover {
    background-color: rgba(var(--highlight-color-rgb), 0.1);
    color: var(--highlight-color);
    transform: translateX(5px);
}

/* 响应式设计中的下拉菜单 */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        background-color: rgba(0, 0, 0, 0.1);
        box-shadow: none;
        border: none;
        width: 100%;
        max-height: 0;
        padding: 0;
        margin: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        transform: none; /* 重置桌面版的 transform */
        opacity: 1; /* 重置桌面版的 opacity */
        visibility: visible; /* 重置桌面版的 visibility */
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: 5px 0;
    }
    
    .dropdown-menu li a {
        padding: 10px 30px;
        font-size: 0.9rem;
        color: var(--text-color);
        background-color: transparent;
    }
    
    .dropdown-menu li a:hover {
        background-color: rgba(77, 171, 247, 0.1);
        color: var(--primary-color);
        transform: none; /* 移除桌面版的 translateX 效果 */
    }
    
    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        position: relative;
    }
    
    /* 移动端下拉菜单切换器不显示下划线 */
    .dropdown-toggle:before {
        display: none !important;
    }
    
    /* 确保下拉菜单切换器在移动端不会触发悬停效果 */
    .dropdown-toggle:hover:before {
        width: 0 !important;
    }
}

/* ===== 徽章统计系统样式 ===== */

/* Footer统计容器样式增强 */
.footer-stats h4 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

/* 徽章容器样式 */
#footer-stats-badges {
    text-align: center;
}

#footer-stats-badges > div {
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
}

/* 徽章图片样式 */
#footer-stats-badges img {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.9);
}

#footer-stats-badges img:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 171, 247, 0.3);
}

/* 链接样式 */
#footer-stats-badges a {
    text-decoration: none;
    display: inline-block;
}

#footer-stats-badges a:hover img {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 171, 247, 0.3);
}

/* 徽章加载动画 */
@keyframes badge-load {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

#footer-stats-badges img {
    animation: badge-load 0.5s ease forwards;
}

/* 传统统计样式隐藏 */
.stats-traditional {
    display: none !important;
}

/* 徽章响应式增强 */
@media (max-width: 768px) {
    #footer-stats-badges > div {
        justify-content: center;
        gap: 4px;
    }
    
    #footer-stats-badges img {
        margin-right: 4px;
        margin-bottom: 4px;
    }
}

@media (max-width: 480px) {
    #footer-stats-badges > div {
        gap: 2px;
    }
    
    #footer-stats-badges img {
        margin-right: 2px;
        margin-bottom: 2px;
        max-width: calc(50% - 2px);
        height: auto;
    }
} 