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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

/* 添加滚动阻尼感 */
* {
    scroll-behavior: smooth;
}

body {
    scroll-behavior: smooth;
    overscroll-behavior: contain;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0a0a0a;
    overflow-x: hidden;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.5));
}

.nav-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #60a5fa;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #10b981);
    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: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero区域 */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #1e3a8a 0%, #0a1628 70%, #000000 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #60a5fa, transparent),
        radial-gradient(2px 2px at 40px 70px, #10b981, transparent),
        radial-gradient(1px 1px at 90px 40px, #ffffff, transparent),
        radial-gradient(1px 1px at 130px 80px, #60a5fa, transparent),
        radial-gradient(2px 2px at 160px 30px, #10b981, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particlesMove 20s linear infinite;
    opacity: 0.6;
}

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

.shape {
    position: absolute;
    border: 1px solid rgba(96, 165, 250, 0.3);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    border-radius: 50%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-delay: 4s;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-logo {
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-logo-image {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 10px 30px rgba(96, 165, 250, 0.3));
    transition: all 0.4s ease;
}

.hero-logo-image:hover {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 15px 40px rgba(96, 165, 250, 0.5));
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, #ffffff, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 300;
    color: #94a3b8;
    margin-top: 10px;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.3rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

.tech-text {
    display: block;
    font-size: 1rem;
    color: #10b981;
    margin-top: 10px;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s ease 1.1s forwards;
}





/* 按钮样式 */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #60a5fa, #10b981);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.6);
}

.btn-outline {
    background: transparent;
    color: #60a5fa;
    border: 2px solid #60a5fa;
}

.btn-outline:hover {
    background: #60a5fa;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* 区域样式 */
.about, .contact {
    padding: 100px 0;
    position: relative;
}



.about {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
}

.contact {
    background: linear-gradient(180deg, #0a0a0a 0%, #16213e 50%, #0a0a0a 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #60a5fa, #10b981);
    margin: 0 auto;
    border-radius: 2px;
}

/* 关于我们样式 */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.about-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.about-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(96, 165, 250, 0.2);
}

.about-icon {
    margin-bottom: 20px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #60a5fa, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
}

.about-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.about-item p {
    color: #cbd5e1;
    line-height: 1.6;
}

.about-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.2rem;
    color: #cbd5e1;
    line-height: 1.8;
}

/* 联系我们样式 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-content-simple {
    max-width: 800px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    justify-items: center;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    min-height: 280px;
    width: 100%;
    max-width: 400px;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px rgba(96, 165, 250, 0.3);
    border-color: rgba(96, 165, 250, 0.3);
}

.contact-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #60a5fa, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon-large {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(96, 165, 250, 0.4);
}

.contact-info-text {
    position: relative;
    z-index: 1;
}

.contact-info-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 600;
}

.contact-value {
    font-size: 1.3rem;
    color: #60a5fa;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.contact-value a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-value a:hover {
    color: #10b981;
    border-bottom-color: #10b981;
    transform: translateY(-1px);
}

.contact-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    font-style: italic;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #60a5fa, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #ffffff;
}

.contact-details p {
    color: #cbd5e1;
    font-size: 1rem;
}

/* 表单样式 */
.form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #60a5fa;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.form-input::placeholder {
    color: #94a3b8;
}

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

/* 页脚样式 */
.footer {
    background: #000000;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info p {
    color: #94a3b8;
    margin-bottom: 5px;
}

.footer-info a {
    color: #60a5fa;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

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

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #60a5fa;
}

/* 动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes particlesMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100px);
    }
}

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