/* Minimalist Light Theme for Project 3 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #f7f9fb;
    color: #222;
    line-height: 1.7;
    min-height: 100vh;
}
header {
    background: #fff;
    color: #222;
    padding: 1.2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-bottom: 1px solid #e5e7eb;
}
.logo {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #2563eb;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 2.2rem;
}
nav ul li {
    margin-left: 0;
}
nav ul li a {
    color: #222;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.05rem;
    padding: 0.2rem 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    border-bottom: 2.5px solid transparent;
    transition: border-color 0.18s, color 0.18s;
    letter-spacing: 0.5px;
}
nav ul li a:hover, nav ul li a.active {
    border-bottom: 2.5px solid #2563eb;
    color: #2563eb;
    background: none;
}
main {
    max-width: 900px;
    margin: 2.5rem auto;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.hero-slider {
    position: relative;
    height: 300px;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: #fff;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s;
    z-index: 1;
    border-radius: 10px;
}
.slide.active {
    opacity: 1;
    z-index: 2;
}
.product-intro, .cta-section, .print-container,
.login-container, .register-container, .contact-container, .account-container {
    text-align: left;
    padding: 1.2rem 0 0.7rem 0;
}
.product-intro h2 {
    margin-bottom: 1rem;
    color: #2563eb;
    font-weight: 700;
}
.cta-section {
    display: flex;
    justify-content: flex-start;
    gap: 1.2rem;
}
.btn {
    padding: 0.7rem 2rem;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 1px 4px #2563eb11;
    transition: background 0.18s, color 0.18s, transform 0.1s;
}
.btn:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-2px) scale(1.03);
}
fieldset {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    padding: 1.2rem 1rem;
    background: #f7f9fb;
}
legend {
    color: #2563eb;
    font-weight: 600;
    padding: 0 0.7rem;
    font-size: 1.05rem;
}
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    justify-content: flex-start;
}
.form-group label {
    flex: 0 0 120px;
    margin-bottom: 0;
    text-align: right;
    margin-right: 1rem;
    font-weight: 500;
    color: #666;
}
.form-group input,
.form-group textarea {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding: 0.7rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 5px;
    font-size: 1rem;
    background: #fff;
    color: #222;
    transition: border 0.18s, background 0.18s;
}
.form-group input:focus,
.form-group textarea:focus {
    border: 1.5px solid #2563eb;
    background: #f0f6ff;
    outline: none;
}
.order-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.2rem;
    background: #f7f9fb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px #2563eb11;
}
.order-table th, .order-table td {
    padding: 0.8rem 0.7rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}
.order-table th {
    background: #f3f6fa;
    color: #2563eb;
    font-weight: 700;
}
.order-table tr:last-child td {
    border-bottom: none;
}
.hidden {
    display: none;
}
footer {
    background: #fff;
    color: #888;
    text-align: center;
    padding: 1.1rem;
    margin-top: 2.2rem;
    border-top: 1px solid #e5e7eb;
    font-size: 1rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 -1px 6px #2563eb11;
}
/* 首页资讯区极简卡片风格 */
.news-list {
    margin-top: 2.5rem;
}
.news-title {
    font-size: 1.4rem;
    color: #2563eb;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}
.news-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.news-card {
    display: flex;
    background: #f7f9fb;
    border-radius: 10px;
    box-shadow: 0 2px 12px #2563eb11;
    overflow: hidden;
    align-items: center;
    transition: box-shadow 0.18s;
}
.news-card:hover {
    box-shadow: 0 6px 24px #2563eb22;
}
.news-img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
    flex-shrink: 0;
}
.news-content {
    padding: 1.1rem 1.3rem;
    flex: 1;
}
.news-content h3 {
    font-size: 1.1rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
}
.news-content p {
    color: #444;
    font-size: 0.98rem;
    margin-bottom: 0.7rem;
}
.btn-flat {
    background: #e5edfa;
    color: #2563eb;
    border-radius: 5px;
    box-shadow: none;
    font-size: 0.98rem;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    border: 1px solid #2563eb22;
    transition: background 0.18s, color 0.18s;
}
.btn-flat:hover {
    background: #2563eb;
    color: #fff;
}
.hero-slider-static {
    display: flex;
    gap: 1.2rem;
    background: none;
    box-shadow: none;
    height: auto;
    margin-bottom: 2.2rem;
    padding: 0.2rem 0;
}
.static-slide {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 12px #2563eb11;
    transition: box-shadow 0.18s;
}
.static-slide:hover {
    box-shadow: 0 6px 24px #2563eb22;
}
@media (max-width: 900px) {
    main {
        max-width: 99vw;
        padding: 1rem 0.5rem;
    }
    .hero-slider-static {
        flex-direction: column;
        gap: 0.8rem;
    }
    .static-slide {
        width: 100%;
        height: 120px;
    }
}
@media (max-width: 600px) {
    .form-group {
        flex-direction: column;
        align-items: stretch;
    }
    .form-group label {
        text-align: left;
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    main {
        padding: 0.5rem 0.2rem;
    }
    .hero-slider {
        height: 160px;
    }
}
@media (max-width: 700px) {
    .news-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .news-img {
        width: 100%;
        height: 140px;
        border-radius: 10px 10px 0 0;
    }
    .news-content {
        padding: 1rem 0.7rem;
    }
}