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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* 导航栏 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #3b82f6;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}
/* Hero 区域 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
    color: white;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #1e3a8a;
    border: 2px solid white;
    font-weight: 600;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="white" stroke-width="2"/></svg>');
}
/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
    color: white;
    text-align: center;
    padding: 120px 0 80px;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 通用区域样式 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #1e3a8a;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #06b6d4 100%);
    border-radius: 2px;
}

/* 核心优势 */
.advantages {
    padding: 80px 0;
    background: #f8fafc;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: #3b82f6;
}

.advantage-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.advantage-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1e3a8a;
    font-weight: 600;
}

.advantage-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

/* 产品服务 */
.products {
    padding: 80px 0;
    background: #f8fafc;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    height: 420px;
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: #3b82f6;
}

.product-content {
    padding: 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    height: 60px;
    line-height: 60px;
}

.product-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1e3a8a;
    font-weight: 700;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.product-content p {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.product-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 1rem;
}

.product-features li {
    background: #f1f5f9;
    padding: 0.6rem 0.8rem;
    border-radius: 20px;
    color: #475569;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    position: relative;
}

.product-features li:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    transform: scale(1.02);
}

.product-features li:before {
    content: "✓";
    color: #3b82f6;
    font-weight: bold;
    margin-right: 0.4rem;
    font-size: 0.9rem;
}

.product-features li:hover:before {
    color: white;
}
/* 关于我们页面 */
.about-intro {
    padding: 80px 0;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

/* 企业文化 */
.culture {
    padding: 80px 0;
    background: #f8fafc;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.culture-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: #3b82f6;
}

.culture-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1e3a8a;
    font-weight: 600;
}

.culture-card p {
    color: #666;
    line-height: 1.6;
}

/* 发展历程 */
.timeline {
    padding: 80px 0;
}

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

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    align-items: center;
}

.timeline-year {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    margin-right: 2rem;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.timeline-desc h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.timeline-desc p {
    color: #666;
    line-height: 1.6;
}

/* 产品页面 */
.products-list {
    padding: 80px 0;
}

.product-item {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.product-item.reverse {
    direction: rtl;
}

.product-item.reverse > * {
    direction: ltr;
}

.product-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.product-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.product-features {
    list-style: none;
}

.product-features li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li:before {
    content: "✓";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.product-image {
    text-align: center;
}

.placeholder-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: bold;
}

/* 联系我们页面 */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2563eb;
}

.contact-item p {
    color: #666;
    font-size: 1.1rem;
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
/* 页脚 */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #3b82f6;
    font-weight: 600;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #3b82f6;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .advantages-grid,
    .culture-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .product-item {
        height: 380px;
    }
    
    .product-content {
        padding: 1.5rem;
    }
    
    .product-content h3 {
        font-size: 1.2rem;
        height: 45px;
    }
    
    .product-content p {
        font-size: 0.9rem;
        height: 70px;
    }
    
    .product-features {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .product-features li {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
        min-height: 34px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-year {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .advantage-card,
    .service-card,
    .culture-card,
    .solution-card {
        padding: 1.5rem;
    }
    
    .products-grid {
        max-width: 320px;
    }
    
    .product-item {
        height: 360px;
    }
    
    .product-content {
        padding: 1.2rem;
    }
    
    .product-icon {
        font-size: 2.5rem;
        height: 50px;
        line-height: 50px;
    }
    
    .product-content h3 {
        font-size: 1.1rem;
        height: 40px;
    }
    
    .product-content p {
        font-size: 0.85rem;
        height: 65px;
    }
    
    .product-features li {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
        min-height: 32px;
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
    
    .product-item {
        height: 450px;
    }
    
    .product-content {
        padding: 2.2rem;
    }
    
    .product-content h3 {
        height: 55px;
        font-size: 1.5rem;
    }
    
    .product-content p {
        height: 85px;
        font-size: 1.05rem;
    }
}