/* Vibrant Gradient Theme for Project 4 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #f7b42c 0%, #fc575e 100%);
    color: #2d2346;
    line-height: 1.7;
    min-height: 100vh;
}
header {
    background: linear-gradient(90deg, #7f53ac 0%, #657ced 100%);
    color: #fff;
    padding: 1.3rem 2.5rem 1.1rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 18px rgba(127,83,172,0.13);
    border-bottom: 2px solid #f7b42c;
    position: sticky;
    top: 0;
    z-index: 10;
}
.logo {
    font-size: 2.1rem;
    font-weight: 900;
    letter-spacing: 2.5px;
    color: #fff;
    text-shadow: 0 2px 8px #7f53ac55;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 1.2rem;
}
nav ul li {
    margin-left: 0;
}
nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.08rem;
    padding: 0.5rem 1.3rem;
    border-radius: 24px;
    background: none;
    box-shadow: none;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    letter-spacing: 0.7px;
    position: relative;
}
nav ul li a:hover, nav ul li a.active {
    background: linear-gradient(90deg, #f7b42c 0%, #fc575e 100%);
    color: #7f53ac;
    box-shadow: 0 2px 12px #fc575e55;
}
main {
    max-width: 950px;
    margin: 2.8rem auto 2.5rem auto;
    padding: 2.2rem 2rem;
    background: #fff6e9ee;
    border-radius: 28px;
    box-shadow: 0 8px 40px 0 #fc575e22;
    border: 2px solid #f7b42c;
}
.hero-slider {
    position: relative;
    height: 320px;
    overflow: hidden;
    margin-bottom: 2.2rem;
    border-radius: 22px;
    box-shadow: 0 6px 32px #fc575e33;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.3rem;
    color: #fff;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s;
    z-index: 1;
    border-radius: 22px;
    text-shadow: 0 2px 12px #fc575e99;
}
.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.7rem 0 1.2rem 0;
}
.product-intro h2 {
    margin-bottom: 1.1rem;
    color: #fc575e;
    font-weight: 800;
    letter-spacing: 1px;
}
.cta-section {
    display: flex;
    justify-content: flex-start;
    gap: 1.7rem;
}
.btn {
    padding: 0.9rem 2.4rem;
    background: linear-gradient(90deg, #f7b42c 0%, #fc575e 100%);
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 2px 12px #fc575e33, 0 1.5px 0 #f7b42c;
    transition: background 0.18s, color 0.18s, transform 0.12s, box-shadow 0.18s;
    letter-spacing: 0.5px;
}
.btn:hover {
    background: linear-gradient(90deg, #fc575e 0%, #f7b42c 100%);
    color: #7f53ac;
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 4px 24px #fc575e77;
}
fieldset {
    border: 2px solid #fc575e;
    border-radius: 18px;
    margin-bottom: 2.2rem;
    padding: 1.7rem 1.2rem;
    background: #fff6e9cc;
    box-shadow: 0 2px 12px #fc575e22;
}
legend {
    color: #fc575e;
    font-weight: 800;
    padding: 0 0.8rem;
    font-size: 1.13rem;
    letter-spacing: 0.5px;
}
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.3rem;
    justify-content: flex-start;
}
.form-group label {
    flex: 0 0 140px;
    margin-bottom: 0;
    text-align: right;
    margin-right: 1.3rem;
    font-weight: 700;
    color: #7f53ac;
    letter-spacing: 0.2px;
}
.form-group input,
.form-group textarea {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding: 0.8rem;
    border: 2.5px solid #fc575e;
    border-radius: 14px;
    font-size: 1.08rem;
    background: #fff;
    color: #2d2346;
    transition: border 0.18s, background 0.18s, box-shadow 0.18s;
    box-shadow: 0 1px 6px #fc575e22;
}
.form-group input:focus,
.form-group textarea:focus {
    border: 2.5px solid #7f53ac;
    background: #fff6e9;
    outline: none;
    box-shadow: 0 2px 12px #7f53ac55;
}
.order-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.7rem;
    background: #fff6e9cc;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px #fc575e22;
}
.order-table th, .order-table td {
    padding: 1.1rem 0.8rem;
    border-bottom: 2px solid #fc575e33;
    text-align: left;
}
.order-table th {
    background: #fc575e;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.order-table tr:last-child td {
    border-bottom: none;
}
.hidden {
    display: none;
}
footer {
    background: linear-gradient(90deg, #7f53ac 0%, #657ced 100%);
    color: #fff;
    text-align: center;
    padding: 1.3rem;
    margin-top: 2.7rem;
    border-top: 2px solid #fc575e;
    font-size: 1.08rem;
    border-radius: 0 0 22px 22px;
    box-shadow: 0 -2px 12px #fc575e22;
}
/* 首页资讯区炫彩大卡片风格 */
.info-section {
    margin-top: 2.7rem;
}
.info-title {
    font-size: 1.5rem;
    color: #fc575e;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: 1.5px;
}
.info-cards {
    display: flex;
    gap: 2.2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}
.info-card {
    min-width: 320px;
    background: linear-gradient(135deg, #f7b42c 0%, #fc575e 100%);
    border-radius: 32px;
    box-shadow: 0 6px 32px #fc575e33;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    transition: box-shadow 0.18s, transform 0.18s;
}
.info-card:hover {
    box-shadow: 0 12px 48px #fc575e55;
    transform: translateY(-4px) scale(1.03);
}
.info-img {
    height: 160px;
    background-size: cover;
    background-position: center;
    border-radius: 32px 32px 0 0;
}
.info-body {
    padding: 1.5rem 1.3rem 1.2rem 1.3rem;
    background: #fff6e9ee;
    border-radius: 0 0 32px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.info-body h3 {
    font-size: 1.18rem;
    color: #fc575e;
    margin-bottom: 0.7rem;
    font-weight: 800;
}
.info-body p {
    color: #7f53ac;
    font-size: 1.01rem;
    margin-bottom: 1.1rem;
}
.btn-gradient {
    background: linear-gradient(90deg, #fc575e 0%, #f7b42c 100%);
    color: #fff;
    border-radius: 30px;
    font-size: 1.08rem;
    font-weight: 900;
    padding: 0.7rem 2.2rem;
    box-shadow: 0 2px 12px #fc575e33;
    border: none;
    transition: background 0.18s, color 0.18s, transform 0.12s;
    letter-spacing: 0.5px;
}
.btn-gradient:hover {
    background: linear-gradient(90deg, #f7b42c 0%, #fc575e 100%);
    color: #7f53ac;
    transform: scale(1.07);
}
@media (max-width: 950px) {
    main {
        max-width: 99vw;
        padding: 1.2rem 0.5rem;
    }
}
@media (max-width: 700px) {
    main {
        padding: 0.7rem 0.1rem;
    }
    .hero-slider {
        height: 180px;
    }
}
@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;
    }
}
@media (max-width: 900px) {
    .info-cards {
        flex-direction: column;
        gap: 1.5rem;
        overflow-x: visible;
    }
    .info-card {
        min-width: 0;
    }
}