/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2a4365;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-gray: #f9f9f9;
    --border-color: #ddd;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 通用样式 */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.btn.primary {
    background: var(--primary-color);
    color: white;
}

.btn.primary:hover {
    background: #27ae60;
    transform: translateY(-2px);
}

.btn.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .tag {
    display: inline-block;
    background: #e5e7eb;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 24px;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--secondary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Banner区域 */
.banner {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/bannerbg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, white, transparent);
}

.banner-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.banner .tag {
    display: inline-block;
    background: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.banner h1 {
    font-size: 3.5em;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.banner p {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.banner-btns {
    display: flex;
    gap: 20px;
}

/* 解决方案 */
.solution {
    padding: 100px 0;
    background: var(--light-gray);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.solution-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.solution-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.solution-item:hover {
    transform: translateY(-10px);
}

.solution-item:hover::before {
    transform: scaleX(1);
}

.solution-item .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(42 67 101 / 0.1);
    border-radius: 50%;
}

.solution-item .icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.solution-item h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.solution-item p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.solution-item ul {
    text-align: left;
    margin-top: 20px;
}

.solution-item ul li {
    color: #555;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.solution-item ul li::before {
    content: '✓';
    color: var(--primary-color);
    margin-right: 10px;
    font-weight: bold;
}

/* 核心功能 */
.features {
    padding: 100px 0;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.features-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.features-list {
    display: grid;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(5px);
}

.feature-item .icon {
    width: 50px;
    height: 50px;
    background: rgb(42 67 101 / 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item .icon img {
    width: 30px;
    height: 30px;
}

.feature-item .content h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.feature-item .content p {
    color: #666;
    font-size: 0.95em;
}

/* 成功案例 */
.cases {
    padding: 100px 0;
    background: var(--light-gray);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-info {
    padding: 25px;
}

.case-info .tag {
    display: inline-block;
    padding: 4px 12px;
    background: #e5e7eb;
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.case-info h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.case-info p {
    color: #666;
    margin-bottom: 20px;
}

.tags span {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light-gray);
    border-radius: 20px;
    margin-right: 10px;
    font-size: 0.9em;
    color: #666;
}

/* 关于我们 */
.about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    color: #666;
    margin-bottom: 30px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item .number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item .label {
    color: #666;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 客户评价 */
.testimonials {
    padding: 100px 0;
    background: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

.author {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.rating {
    color: #f1c40f;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-info {
    padding: 40px;
}

.contact-info h3 {
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.contact-info ul li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #666;
}

.contact-info ul li i {
    color: var(--primary-color);
    font-size: 20px;
}

.social-links {
    margin-top: 40px;
}

.social-links h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
}

/* 订阅区域 */
.subscribe {
    padding: 60px 0;
    background: var(--secondary-color);
    color: white;
    text-align: center;
}

.subscribe h2 {
    margin-bottom: 20px;
}

.subscribe p {
    margin-bottom: 30px;
    opacity: 0.8;
}

.subscribe-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}

/* 页脚 */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-col p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .features-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .features-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    
    .menu-btn {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        padding: 20px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .solution-item {
        padding: 30px 20px;
    }

    .menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 8px);
    }

    .menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -8px);
    }

    .banner h1 {
        font-size: 2.5em;
    }

    .banner-btns {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.8em;
    }

    .solution-grid {
        margin-top: 30px;
    }

    .solution-item {
        padding: 25px 15px;
    }

    .solution-item .icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .solution-item .icon img {
        width: 30px;
        height: 30px;
    }

    .solution-item h3 {
        font-size: 1.3em;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
} 