/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-cyan: #00f0ff;
    --primary-purple: #b000ff;
    --primary-pink: #ff00e5;
    --dark-bg: #0a0a15;
    --dark-bg-secondary: #12121f;
    --text-primary: #ffffff;
    --text-secondary: #c0c0ff;
    --glow-cyan: rgba(0, 240, 255, 0.5);
    --glow-purple: rgba(176, 0, 255, 0.5);
}

body {
    font-family: 'Exo 2', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #0a0a15 0%, #1a0a2e 50%, #0a0a15 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(176, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 240, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

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

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 21, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo h2 {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple), var(--primary-pink));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    animation: gradientShift 6s ease infinite;
    filter: drop-shadow(0 0 10px var(--glow-cyan));
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(15px, 3vw, 30px);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px;
    border-radius: 4px;
}

.nav-link:hover {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px var(--glow-cyan);
    background: rgba(0, 240, 255, 0.05);
}

.nav-link.active {
    color: var(--primary-cyan);
    background: rgba(0, 240, 255, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--glow-cyan);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(0, 240, 255, 0.1);
}

.bar {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--glow-cyan);
}

/* 主页部分 */
.hero {
    min-height: 100vh;
    height: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
    padding: 100px 20px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple), var(--primary-pink), var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: 3px;
    filter: drop-shadow(0 0 20px var(--glow-cyan)) drop-shadow(0 0 40px var(--glow-purple));
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 30px;
    color: var(--text-secondary);
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

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

.btn-primary, .btn-secondary {
    padding: 14px 36px;
    border: none;
    border-radius: 50px;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: 'Exo 2', sans-serif;
    letter-spacing: 1px;
    min-width: 160px;
    min-height: 48px;
    touch-action: manipulation;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    color: white;
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.4), 0 0 20px rgba(176, 0, 255, 0.3);
    border: 2px solid transparent;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--primary-cyan);
    border: 2px solid var(--primary-cyan);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.2), inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 240, 255, 0.5), 0 0 30px rgba(176, 0, 255, 0.4);
}

.btn-primary:active, .btn-secondary:active {
    transform: translateY(-2px) scale(1.02);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 40%, rgba(0, 240, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(176, 0, 255, 0.15) 0%, transparent 50%);
    z-index: 1;
    animation: backgroundPulse 10s ease-in-out infinite;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(0, 240, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    animation: gridMove 20s linear infinite;
}

/* 关于部分 */
.about {
    padding: clamp(60px, 10vw, 120px) 0;
    background: linear-gradient(135deg, rgba(10, 10, 21, 0.9) 0%, rgba(26, 10, 46, 0.7) 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 80% 20%, rgba(176, 0, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(0, 240, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
}

.about-text p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: clamp(20px, 4vw, 40px);
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(0, 240, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    min-width: 120px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 8px;
    font-family: 'Orbitron', sans-serif;
    filter: drop-shadow(0 0 10px var(--glow-cyan));
}

.stat-label {
    color: var(--text-secondary);
    font-size: clamp(0.85rem, 1.5vw, 1rem);
}

.about-image {
    position: relative;
    height: clamp(250px, 40vw, 350px);
    background: rgba(0, 240, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(0, 240, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.2), inset 0 0 40px rgba(176, 0, 255, 0.1);
}

.tech-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(176, 0, 255, 0.3) 0%, transparent 30%);
    animation: pulse 6s infinite ease-in-out;
}

/* 服务部分 */
.services {
    padding: clamp(60px, 10vw, 120px) 0;
    background: linear-gradient(135deg, rgba(26, 10, 46, 0.7) 0%, rgba(10, 10, 21, 0.9) 100%);
    position: relative;
    border-top: 1px solid rgba(176, 0, 255, 0.1);
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(176, 0, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: clamp(40px, 8vw, 70px);
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple), var(--primary-pink));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    animation: gradientShift 8s ease infinite;
    filter: drop-shadow(0 0 15px var(--glow-cyan));
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    border-radius: 2px;
    box-shadow: 0 0 15px var(--glow-cyan);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(20px, 4vw, 35px);
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(18, 18, 31, 0.7);
    border-radius: 20px;
    padding: clamp(25px, 5vw, 40px);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(0, 240, 255, 0.15);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 45px rgba(0, 240, 255, 0.3), 0 0 30px rgba(176, 0, 255, 0.2);
    border-color: rgba(0, 240, 255, 0.4);
    background: rgba(18, 18, 31, 0.85);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple), var(--primary-pink));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    box-shadow: 0 0 15px var(--glow-cyan);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.service-card:hover::after {
    width: 400px;
    height: 400px;
}

.service-icon {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px var(--glow-cyan));
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotateY(360deg);
    filter: drop-shadow(0 0 25px var(--glow-purple));
}

.service-title {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin-bottom: 15px;
    color: var(--primary-cyan);
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--glow-cyan);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
}

/* 作品展示部分 */
.portfolio {
    padding: clamp(60px, 10vw, 120px) 0;
    background: linear-gradient(135deg, rgba(10, 10, 21, 0.9) 0%, rgba(26, 10, 46, 0.7) 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 70% 30%, rgba(176, 0, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 30% 70%, rgba(0, 240, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(25px, 5vw, 40px);
    position: relative;
    z-index: 1;
}

.portfolio-item {
    background: rgba(18, 18, 31, 0.7);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(0, 240, 255, 0.15);
    backdrop-filter: blur(15px);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.portfolio-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 45px rgba(0, 240, 255, 0.3), 0 0 30px rgba(176, 0, 255, 0.2);
    border-color: rgba(0, 240, 255, 0.4);
}

.portfolio-image {
    position: relative;
    height: clamp(200px, 30vw, 280px);
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(176, 0, 255, 0.1) 100%);
    overflow: hidden;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulse 4s infinite ease-in-out;
    filter: blur(20px);
}

.portfolio-item:hover .glow-effect {
    animation: pulse 2s infinite ease-in-out;
    background: radial-gradient(circle, rgba(176, 0, 255, 0.4) 0%, transparent 70%);
}

.portfolio-info {
    padding: clamp(20px, 4vw, 30px);
    background: rgba(18, 18, 31, 0.9);
}

.portfolio-title {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 12px;
    color: var(--primary-cyan);
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--glow-cyan);
}

.portfolio-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* 联系部分 */
.contact {
    padding: clamp(60px, 10vw, 120px) 0;
    background: linear-gradient(135deg, rgba(10, 10, 21, 0.9) 0%, rgba(26, 10, 46, 0.7) 100%);
    position: relative;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 50%, rgba(0, 240, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 50%, rgba(176, 0, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: clamp(30px, 5vw, 60px);
    position: relative;
    z-index: 1;
}

.contact-info h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 20px;
    color: var(--primary-cyan);
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 15px var(--glow-cyan);
}

.contact-info p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: 30px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    padding: 12px;
    background: rgba(0, 240, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 240, 255, 0.15);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-cyan);
    filter: drop-shadow(0 0 8px var(--glow-cyan));
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    background: rgba(18, 18, 31, 0.7);
    color: var(--text-primary);
    font-size: clamp(0.95rem, 2vw, 1rem);
    transition: all 0.3s ease;
    font-family: 'Exo 2', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4), inset 0 0 10px rgba(0, 240, 255, 0.1);
    background: rgba(18, 18, 31, 0.9);
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, rgba(5, 5, 15, 0.95) 0%, rgba(18, 5, 30, 0.95) 100%);
    padding: clamp(40px, 8vw, 60px) 0 20px;
    border-top: 2px solid rgba(0, 240, 255, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(25px, 5vw, 40px);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.footer-logo h2 {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple), var(--primary-pink));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
    animation: gradientShift 8s ease infinite;
    filter: drop-shadow(0 0 10px var(--glow-cyan));
}

.footer-logo p {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    padding: 5px 0;
    position: relative;
}

.footer-links a::before {
    content: '▸';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-cyan);
}

.footer-links a:hover {
    color: var(--primary-cyan);
    padding-left: 15px;
    text-shadow: 0 0 10px var(--glow-cyan);
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.social-icon {
    display: inline-block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.1);
    text-align: center;
    line-height: 44px;
    margin-right: 12px;
    color: var(--primary-cyan);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(0, 240, 255, 0.2);
    text-decoration: none;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    color: white;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 8px 20px rgba(0, 240, 255, 0.4);
    border-color: transparent;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 240, 255, 0.15);
    color: var(--text-secondary);
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    position: relative;
    z-index: 1;
}

/* 动画效果 */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

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

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(40px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    50% { transform: translateY(-20px) translateX(10px); opacity: 0.8; }
}

/* 响应式设计 */
/* 平板设备 (最大宽度 992px) */
@media screen and (max-width: 992px) {
    .hero {
        padding: 80px 20px 50px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .about, .services, .contact {
        padding: 60px 0;
    }

    .portfolio {
        padding: 60px 0;
    }
}

/* 平板和大屏手机 (最大宽度 768px) */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(10, 10, 21, 0.98) 0%, rgba(26, 10, 46, 0.98) 100%);
        width: 100%;
        text-align: center;
        transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
        padding: 30px 0;
        border-radius: 0 0 20px 20px;
        border: 1px solid rgba(0, 240, 255, 0.2);
        border-top: none;
        backdrop-filter: blur(20px);
        gap: 10px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 10px 0;
    }

    .nav-link {
        padding: 12px 20px;
        display: block;
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .hero {
        padding: 70px 15px 40px;
        min-height: 90vh;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .stat-item {
        width: 100%;
    }
}

/* 小屏手机 (最大宽度 576px) */
@media screen and (max-width: 576px) {
    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 60px 12px 30px;
        min-height: 85vh;
    }

    .hero-content {
        padding: 10px;
    }

    .hero-title {
        letter-spacing: 1px;
    }

    .about, .services, .contact, .portfolio {
        padding: 50px 0;
    }

    .service-card {
        padding: 25px 20px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 0.95rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }

    .footer-links {
        align-items: center;
    }

    .footer-logo {
        text-align: center;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 0.9rem;
    }
}

/* 超小屏设备 (最大宽度 375px) */
@media screen and (max-width: 375px) {
    .nav-logo h2 {
        font-size: 1.4rem;
    }

    .hero {
        padding: 50px 10px 25px;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 28px;
        min-width: 140px;
        font-size: 0.95rem;
    }

    .stat-item {
        padding: 15px;
        min-width: 100px;
    }

    .service-card {
        padding: 20px 15px;
    }
}

/* 横屏模式优化 */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 20px 40px;
    }

    .hero-title {
        margin-bottom: 15px;
    }

    .hero-subtitle {
        margin-bottom: 20px;
    }

    .hero-buttons {
        margin-top: 20px;
    }
}

/* 大屏设备优化 (最小宽度 1400px) */
@media screen and (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 超大屏设备优化 (最小宽度 1920px) */
@media screen and (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3.5rem;
    }
}