* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a2a6c;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1a2a6c;
}

/* 主容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 6rem auto 3rem;
    padding: 0 2rem;
}

h1 {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* 产品卡片样式 */
.products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.product-image {
    width: 100%;
    height: 600px;
    position: relative;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    object-fit: contain;
    background: #f8f9fa;
}

.slide.active {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
    z-index: 2;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.description {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.features {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.2s ease;
}

.feature:hover {
    transform: translateX(5px);
    background: #f0f0f0;
}

.icon {
    font-size: 1.5rem;
}

.feature span:last-child {
    color: #333;
    font-weight: 500;
}

.download-btn {
    width: 100%;
    padding: 1rem;
    background: #1a2a6c;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: block;
}

.download-btn:hover {
    background: #2a3a7c;
    color: white;
}

/* 底部栏样式 */
.footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 0 0;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-section h3 {
    color: #1a2a6c;
    font-size: 1.2rem;
    margin: 0;
    white-space: nowrap;
}

.footer-section p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #1a2a6c;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid #eee;
}

.footer-bottom p {
    color: #666;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .product-content {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .product-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .product-image {
        height: 300px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
}

input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

button {
    padding: 10px 20px;
    background: #1E90FF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background: #187bcd;
}

.weather-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.weather-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.temperature {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
}

.condition {
    font-size: 1.2rem;
    color: #666;
    margin-top: 0.5rem;
}

.weather-details {
    display: grid;
    gap: 1rem;
}

.detail {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.detail:last-child {
    border-bottom: none;
} 