* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --primary-color:#4f3dfa;
    --max-page-width:1200px;
    --max-box-width:900px;
}
body,html{
    height: 100%;
    width: 100%;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100%;
}
img{
    display:block;
}

.container {
    max-width: var(--max-page-width);
    text-align: center;
}

h1 {
    font-size:2rem;
    color: #2d3748;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.subtitle {
    font-size: 1.5rem;
    color: #4a5568;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.image-container {
    position: relative;
    display: block;
    border-radius: 20px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width:var(--max-box-width);
    margin: 0 auto;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
div.main{
    margin-top:2em;
}
.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
}
.image-container:hover img {
    transform: scale(1.05);
}
div.links{
    position: relative;
    max-width: var(--max-box-width);
    box-sizing: border-box;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin: 2em auto;
}
div.links >a {
    display: block;
    position:relative;
    width: 100%;
}
div.links >a >img{
    width: 100%;
}

.caption {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: #718096;
}
div.footer{
}

/* 按钮样式 */
.contact-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #07C160; /* 企业微信绿色 */
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
a.close{
    text-decoration: none;
    display:block;
}

.contact-btn:hover {
    background-color: #06a95a;
}

div.contact-us{
    text-align: center;
    position: relatve;
    margin:2em;

}
div.contact-us > button{
    padding:.5em 2em;
    background: var(--primary-color);
    color:#fff;
    font-size: 1.5rem;
    border-radius: 1em;
    border:none;
}
/* 模态框遮罩 */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

/* 模态框内容 */
.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 70%;
    text-align: center;
    animation: slideIn 0.3s;
    position: relative;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 关闭按钮 */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
}

.close:hover,
.close:focus {
    color: black;
}

/* 二维码样式 */
.qr-code {
    margin: 20px auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

/* 标题 */
.modal-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

/* 提示文字 */
.modal-text {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

@media (max-width: 900px) {
    body{
        font-size:10px;
    }
    h1 {
        font-size: 1.5rem;
    }
    .subtitle {
        font-size: 1.1rem;
    }
    :root{
        --max-page-width:100%;
        --max-box-width:96%;
    }

}