/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a2463;
    --secondary-color: #3e92cc;
    --accent-color: #d4a574;
    --gold-color: #c9a227;
    --dark-bg: #0d1b2a;
    --light-bg: #f0f4f8;
    --text-primary: #ffffff;
    --text-secondary: #b0bec5;
    --card-bg: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.95) 0%, rgba(13, 27, 42, 0.8) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 162, 39, 0.3);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--gold-color) 0%, #f4e4ba 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(201, 162, 39, 0.5);
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-item a:hover::after {
    width: 100%;
}

.nav-item a:hover {
    color: var(--gold-color);
}

/* 主内容区 */
.main-content {
    padding-top: 80px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(62, 146, 204, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(201, 162, 39, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0d1b2a 0%, #1b263b 50%, #0d1b2a 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(201, 162, 39, 0.03) 50px,
            rgba(201, 162, 39, 0.03) 51px
        );
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(50px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.hero-title {
    font-size: 64px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--gold-color) 0%, #f4e4ba 50%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(201, 162, 39, 0.3);
    letter-spacing: 8px;
}

.hero-subtitle {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    letter-spacing: 15px;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 40px;
    font-size: 16px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-color) 0%, #b8941f 100%);
    color: var(--dark-bg);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(201, 162, 39, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
}

.btn-secondary:hover {
    background: rgba(201, 162, 39, 0.1);
    transform: translateY(-3px);
}

/* 3D 立方体效果 */
.hero-3d {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.cube-container {
    width: 200px;
    height: 200px;
    perspective: 1000px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s linear infinite;
}

@keyframes rotateCube {
    0% { transform: rotateX(0) rotateY(0); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--gold-color);
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, rgba(62, 146, 204, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--gold-color);
    backdrop-filter: blur(5px);
}

.cube-face-front { transform: rotateY(0deg) translateZ(100px); }
.cube-face-back { transform: rotateY(180deg) translateZ(100px); }
.cube-face-left { transform: rotateY(-90deg) translateZ(100px); }
.cube-face-right { transform: rotateY(90deg) translateZ(100px); }
.cube-face-top { transform: rotateX(90deg) translateZ(100px); }
.cube-face-bottom { transform: rotateX(-90deg) translateZ(100px); }

/* Services Section */
.services-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(13, 27, 42, 0.8) 100%);
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--gold-color) 0%, #f4e4ba 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-color), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-color);
    box-shadow: 0 10px 40px rgba(201, 162, 39, 0.2);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--gold-color);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.05) 0%, rgba(201, 162, 39, 0.05) 100%);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 40px;
}

.feature-number {
    font-size: 80px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--gold-color) 0%, #f4e4ba 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    opacity: 0.3;
}

.feature-item h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 18px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.8) 0%, var(--dark-bg) 100%);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-icon {
    font-size: 32px;
}

/* Footer */
.footer {
    background: rgba(13, 27, 42, 0.95);
    border-top: 1px solid rgba(201, 162, 39, 0.3);
    padding: 30px 0;
    text-align: center;
    color: var(--text-secondary);
}

.footer-content p {
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 18px;
        letter-spacing: 8px;
    }

    .hero-3d {
        display: none;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-item a {
        font-size: 14px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: 1fr;
    }
}

/* 表单元素样式 */
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

select:hover {
    border-color: var(--gold-color);
}

select:focus {
    outline: none;
    border-color: var(--gold-color);
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.3);
}

select option {
    background: var(--dark-bg);
    color: var(--text-primary);
    padding: 10px;
}
