/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00d4ff;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #00d4ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00d4ff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-content {
    color: #fff;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    display: block;
    color: #00d4ff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #00d4ff;
}

.stat-label {
    font-size: 0.9rem;
    color: #ccc;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
}

.btn-secondary:hover {
    background: #00d4ff;
    color: #000;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
}

.code-animation {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #333;
}

.code-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    margin: 20px 0;
    animation: pulse 2s infinite;
}

.code-line:nth-child(2) {
    animation-delay: 0.5s;
    width: 80%;
}

.code-line:nth-child(3) {
    animation-delay: 1s;
    width: 60%;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-icons i {
    position: absolute;
    color: #00d4ff;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.floating-icons i:nth-child(1) { top: 15%; left: 15%; animation-delay: 0s; }
.floating-icons i:nth-child(2) { top: 65%; left: 75%; animation-delay: 0.5s; }
.floating-icons i:nth-child(3) { top: 25%; left: 85%; animation-delay: 1s; }
.floating-icons i:nth-child(4) { top: 75%; left: 10%; animation-delay: 1.5s; }
.floating-icons i:nth-child(5) { top: 35%; left: 55%; animation-delay: 2s; }
.floating-icons i:nth-child(6) { top: 85%; left: 65%; animation-delay: 2.5s; }
.floating-icons i:nth-child(7) { top: 10%; left: 50%; animation-delay: 3s; }
.floating-icons i:nth-child(8) { top: 50%; left: 90%; animation-delay: 3.5s; }
.floating-icons i:nth-child(9) { top: 45%; left: 25%; animation-delay: 4s; }
.floating-icons i:nth-child(10) { top: 90%; left: 35%; animation-delay: 4.5s; }
.floating-icons i:nth-child(11) { top: 20%; left: 70%; animation-delay: 5s; }
.floating-icons i:nth-child(12) { top: 60%; left: 40%; animation-delay: 5.5s; }

/* 几何形状装饰 */
.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: rotateFloat 10s infinite linear;
}

.shape-1 {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00d4ff, transparent);
    border-radius: 10px;
    top: 30%;
    right: 20%;
    animation-delay: 0s;
}

.shape-2 {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, transparent, #00d4ff);
    border-radius: 50%;
    top: 70%;
    right: 60%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, transparent);
    top: 20%;
    right: 40%;
    animation-delay: 4s;
}

.shape-4 {
    width: 30px;
    height: 30px;
    border: 2px solid #00d4ff;
    border-radius: 50%;
    top: 80%;
    right: 10%;
    animation-delay: 6s;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
}

.grid-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: slideGrid 20s linear infinite;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #111;
    color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.section-header p {
    font-size: 1.1rem;
    color: #ccc;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.about-card p {
    line-height: 1.6;
    color: #ccc;
}

.card-decoration {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.card-decoration i {
    font-size: 0.8rem;
    color: #00d4ff;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #0a0a0a;
    color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #00d4ff;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: #ccc;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    color: #aaa;
    position: relative;
    padding-left: 20px;
}

.service-card li::before {
    content: '';
    position: absolute;
    left: 0;
    color: #00d4ff;
}

.service-card li i {
    color: #00d4ff;
    margin-right: 0.5rem;
    width: 16px;
}

/* 服务卡片徽章 */
.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

.service-badge i {
    font-size: 0.6rem;
}

/* 技术图标区域 */
.service-tech-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.service-tech-icons i {
    font-size: 1.2rem;
    color: #666;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.service-tech-icons i:hover {
    color: #00d4ff;
    transform: scale(1.2);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #111;
    color: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateX(10px);
    border-color: #00d4ff;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: #fff;
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #00d4ff;
}

.contact-details p {
    color: #ccc;
}

.contact-details a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #00d4ff;
}

/* Contact Form - Service Hours */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #00d4ff;
    text-align: center;
}

.service-hours {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hour-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.hour-item:hover {
    transform: translateX(5px);
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.05);
}

.hour-item i {
    font-size: 1.5rem;
    color: #00d4ff;
    min-width: 30px;
    text-align: center;
}

.hour-info h4 {
    color: #00d4ff;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.hour-info p {
    color: #ccc;
    margin: 0;
    font-size: 0.9rem;
}

.contact-cta {
    margin-top: 1rem;
    text-align: center;
}

.contact-cta .btn {
    padding: 12px 24px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info .logo {
    margin-bottom: 1rem;
}

.footer-info p {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.link-group h4 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.link-group a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #00d4ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

.footer-links-bottom {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links-bottom p {
    margin: 0;
}

.footer-links-bottom a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links-bottom a:hover {
    color: #00d4ff;
}

.footer-links-bottom img {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-links-bottom {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes slideGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes rotateFloat {
    0% { transform: rotate(0deg) translateY(0px); }
    25% { transform: rotate(90deg) translateY(-10px); }
    50% { transform: rotate(180deg) translateY(0px); }
    75% { transform: rotate(270deg) translateY(-10px); }
    100% { transform: rotate(360deg) translateY(0px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}