/* 全局样式 */
:root {
    --primary-color: #2c5282;
    --primary-hover: #2b6cb0;
    --secondary-color: #4a5568;
    --background-light: #f7fafc;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-light);
}

/* 导航栏样式 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
}

.company-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 英雄区域样式 */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
    margin-bottom: 4rem;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-button {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* 特性区域样式 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 6rem 5%;
    background-color: #fff;
}

.feature-card {
    text-align: center;
    padding: 2.5rem;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card img {
    width: 90px;
    height: 90px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* 优势区域样式 */
.advantages {
    padding: 6rem 20px;
    background-color: var(--background-light);
}

.advantages h2 {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 4rem;
    color: var(--text-primary);
    font-weight: 700;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.advantage-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.6em;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.advantage-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* 联系我们区域样式 */
.contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px;
    text-align: right;
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 260px;
    z-index: 100;
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.contact-content {
    pointer-events: auto;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 15px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.contact h2 {
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 1.3em;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 页脚样式 */
footer {
    background-color: var(--text-primary);
    color: #fff;
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* 登录弹出框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 15% auto;
    padding: 2.5rem;
    width: 90%;
    max-width: 450px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.close:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.login-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.login-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .features, .advantages-grid {
        grid-template-columns: 1fr;
        padding: 4rem 5%;
    }
    
    .contact {
        bottom: 15px;
        right: 15px;
        left: 15px;
        max-width: none;
        padding: 0;
    }

    .contact-content {
        width: 100%;
        border-radius: 10px;
        padding: 12px;
    }

    .contact h2 {
        font-size: 1.2em;
        margin-bottom: 6px;
    }

    .contact-info p {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }
} 