/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 服务条款页面样式 */
.terms-section {
    padding: 120px 0 80px;
    background-color: #fff;
}

.terms-section .container {
    max-width: 900px;
}

.terms-content {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.terms-block {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.terms-block:last-child {
    border-bottom: none;
}

.terms-block h3 {
    font-size: 22px;
    color: #0056b3;
    margin-bottom: 15px;
}

.terms-section p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #666;
}

.terms-section ul, .terms-section ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.terms-section li {
    margin-bottom: 10px;
    color: #666;
}

.terms-section address {
    font-style: normal;
    line-height: 1.8;
    color: #666;
    margin-top: 10px;
}

.terms-section .last-updated {
    font-style: italic;
    color: #999;
    margin-top: 40px;
    text-align: center;
}

/* 隐私政策页面样式 */
.privacy-section {
    padding: 120px 0 80px;
    background-color: #fff;
}

.privacy-section .container {
    max-width: 900px;
}

.privacy-content {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.privacy-block {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.privacy-block:last-child {
    border-bottom: none;
}

.privacy-block h3 {
    font-size: 22px;
    color: #0056b3;
    margin-bottom: 15px;
}

.privacy-block h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 12px;
    margin-top: 20px;
}

.privacy-section p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #666;
}

.privacy-section ul, .privacy-section ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.privacy-section li {
    margin-bottom: 10px;
    color: #666;
}

.privacy-section address {
    font-style: normal;
    line-height: 1.8;
    color: #666;
    margin-top: 10px;
}

.privacy-section .last-updated {
    font-style: italic;
    color: #999;
    margin-top: 40px;
    text-align: center;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: #0056b3;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #003d7a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #0056b3;
}

.underline {
    height: 4px;
    width: 70px;
    background-color: #0056b3;
    margin: 0 auto;
}

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

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

.logo img {
    max-height: 60px;
    width: auto;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    transition: all 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: #0056b3;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 主页横幅样式 */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero-bg.svg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    animation: fadeInDown 1.2s ease;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    animation: fadeInDown 1.4s ease;
}

.hero-content .btn {
    animation: fadeInUp 1.6s ease;
}

/* 关于我们样式 */
.about {
    padding: 100px 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0056b3;
}

.about-text p {
    margin-bottom: 15px;
    color: #666;
}

/* 服务样式 */
.services {
    padding: 100px 0;
    background-color: #f8f8f8;
}

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

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 40px;
    color: #0056b3;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
}

/* 产品展示样式 */
.products {
    padding: 100px 0;
    background-color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-card h3 {
    font-size: 20px;
    padding: 20px 20px 10px;
}

.product-card p {
    color: #666;
    padding: 0 20px 20px;
}

/* 联系我们样式 */
.contact {
    padding: 100px 0;
    background-color: #f8f8f8;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 24px;
    color: #0056b3;
    margin-right: 20px;
}

.contact-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-text p {
    color: #666;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* 页脚样式 */
footer {
    background-color: #222;
    color: #fff;
    padding: 70px 0 20px;
}

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

.footer-logo img {
    max-height: 50px;
    width: auto;
    margin-bottom: 10px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #0056b3;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #aaa;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #0056b3;
    padding-left: 5px;
}

.footer-contact p {
    color: #aaa;
    margin-bottom: 10px;
}

.footer-contact p i {
    margin-right: 10px;
    color: #0056b3;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    color: #aaa;
    font-size: 14px;
}

/* 动画 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media screen and (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    nav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 30px;
    }
}