/* css/style.css */
:root {
    --primary-color: #003366;      /* 深蓝色 */
    --secondary-color: #004d99;    /* 次要蓝色 */
    --accent-color: #0066cc;       /* 强调蓝色 */
    --bg-color: #ffffff;           /* 白色背景 */
    --text-color: #333333;         /* 主要文字颜色 */
    --light-text: #ffffff;         /* 白色文字 */
    --border-color: #e6e6e6;       /* 边框颜色 */
}

/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* 头部区域 */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

header h1 {
    color: var(--light-text);
    font-size: 4em;
    font-weight: bold;
    letter-spacing: 4px;
    margin: 0;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: fadeIn 2s ease-out;
}

/* 内容包装器 */
.content-wrapper {
    min-height: 100vh;
    background-color: var(--bg-color);
}

/* 动画关键帧 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 导航栏 */
nav {
    background-color: var(--primary-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 50px;
}

nav a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--light-text);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--light-text);
}

nav a:hover::after {
    width: 100%;
}

/* 主要内容区域 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

section {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

section:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 
        0 10px 20px rgba(0,0,0,0.1),
        0 0 0 1px var(--accent-color);
}

/* 标题样式 */
h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin: 0 0 30px 0;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

/* 段落样式 */
p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
    max-width: 800px;
}

/* 页脚样式 */
footer {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 80px 20px;
    position: relative;
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent 100%
    );
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 40px;
    align-items: start;
}

.footer-company {
    padding-right: 40px;
}

.footer-company .company-name {
    font-size: 1.4em;
    color: var(--light-text);
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.footer-company .company-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.footer-links h4,
.footer-partners h4,
.footer-solutions h4,
.footer-contact h4 {
    color: var(--light-text);
    font-size: 1.3em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links ul,
.footer-partners ul,
.footer-solutions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-partners li,
.footer-solutions li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-partners a,
.footer-solutions a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    padding-left: 20px;
    font-size: 1em;
}

.footer-links a::before,
.footer-partners a::before,
.footer-solutions a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--light-text);
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.footer-links a:hover,
.footer-partners a:hover,
.footer-solutions a:hover {
    color: var(--light-text);
    transform: translateX(5px);
}

.footer-links a:hover::before,
.footer-partners a:hover::before,
.footer-solutions a:hover::before {
    transform: translateX(3px);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1em;
    line-height: 1.5;
    max-width: none;
}

.footer-contact p:last-child {
    margin-bottom: 0;
}

.footer-contact p::before {
    content: '•';
    color: var(--light-text);
    font-size: 1.5em;
    line-height: 1;
    margin-top: 1px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom .copyright {
    font-size: 1em;
    margin-bottom: 15px;
}

.footer-bottom .icp {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.footer-bottom .icp:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.15);
}

/* 响应式设计更新 */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-company {
        grid-column: span 3;
        padding-right: 0;
        margin-bottom: 40px;
    }

    .footer-company .company-name {
        font-size: 1.3em;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-company {
        grid-column: span 1;
    }

    .footer-company .company-name {
        font-size: 1.2em;
        letter-spacing: normal;
    }

    footer {
        padding: 40px 20px;
    }
}

/* 产品类别样式 */
.product-category {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.product-category:hover {
    background: rgba(0, 51, 102, 0.02);
}

.product-category h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.product-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-category li {
    color: var(--text-color);
    padding: 10px 0;
    font-size: 1.1em;
    position: relative;
    padding-left: 25px;
}

.product-category li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.5em;
    line-height: 1;
    top: 50%;
    transform: translateY(-50%);
}

/* 业绩展示样式 */
.performance-item {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.performance-item:hover {
    background: rgba(0, 51, 102, 0.02);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.performance-item h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--accent-color);
}

.performance-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.performance-item li {
    color: var(--text-color);
    padding: 12px 0;
    font-size: 1.1em;
    position: relative;
    padding-left: 25px;
    border-bottom: 1px solid var(--border-color);
}

.performance-item li:last-child {
    border-bottom: none;
}

.performance-item li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.1em;
    top: 50%;
    transform: translateY(-50%);
}

/* 联系方式样式 */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-item {
    padding: 30px;
    background: var(--bg-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(0, 51, 102, 0.02);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.contact-item h3 {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--accent-color);
}

.contact-item p {
    color: var(--text-color);
    margin: 10px 0;
    font-size: 1.1em;
}

.contact-message {
    margin-top: 50px;
    padding: 30px;
    background: var(--bg-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.contact-message h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 20px;
}

.contact-message p {
    color: var(--text-color);
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto;
}
