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

html, body {
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f0f0f0;
}

.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navi-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 10px 0;
}

.navi-left, .navi-right {
    display: flex;
    flex: 1;
    min-width: 100px;
}

.navi-center {
    display: flex;
    flex: 2;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.navi-right {
    justify-content: flex-end;
}

.logo {
    width: 50px;
    height: 50px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.share_btn {
    width: 125px;
    height: 35px;
    background-color: #0f0f0f;
    color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    cursor: pointer;
    outline-style: none;
    border: none;
    font-size: 14px;
}

main {
    margin-top: 20px;
}

.container {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.banner {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: #0f0f0f;
    color: #f0f0f0;
    padding: 10px 0;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.btn-container {
    display: flex;
    width: 100%;
    margin-bottom: 20px;
    padding: 0 10px 0 10px;
    box-sizing: border-box;
    justify-content: space-between;
}

.tab-btn {
    flex: 1;
    margin: 10px 5px 0;
    padding: 12px 0;
    background-color: #f0f0f0;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    border: 2px solid #0f0f0f;
    text-align: center;
}

.tab-btn:first-child {
    margin-left: 0;
}

.tab-btn:last-child {
    margin-right: 0;
}

.tab-btn.active {
    background-color: #0f0f0f;
    color: white;
}

.content-container {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    min-height: 200px;
}

.content-card {
    display: none;
    animation: fadeIn 0.5s;
}

.content-card.active {
    display: block;
}

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

.navi-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 120px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
    margin-top: 10px;
    position: relative; /* 为绝对定位按钮做准备 */
    overflow: hidden; /* 防止按钮溢出圆角 */
}

.visit-btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 5px 12px;
    background-color: #0f0f0f;
    color: white;
    border-radius: 15px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.visit-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.navi-card-img {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    flex: 1;
}

.navi-card-title {
    display: flex;
    flex: 2;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    margin-left: 10px;
}

.navi-card-img > img {
    width: 90px;
    height: 90px;
    border-radius: 5px;
    object-fit: cover;
}

iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 5px;
}

h3 {
    margin-bottom: 5px;
    color: #333;
}

span {
    color: #666;
    font-size: 14px;
}

h4 {
    color: #333;
    margin-bottom: 2px;
}

.customer-service {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background-color: #0f0f0f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: all 0.3s;
}

.customer-service:hover {
    background-color: #333;
    transform: scale(1.1);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.contact-list {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.contact-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-info {
    flex: 1;
    min-width: 0;
}

.contact-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
    font-size: 16px;
}

.contact-value {
    color: #666;
    font-size: 14px;
    word-break: break-all;
    margin: 5px 0;
}

.copy-btn {
    padding: 5px 10px;
    background-color: #0f0f0f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 10px;
    transition: all 0.3s;
}

.copy-btn:hover {
    background-color: #333;
}

.copy-btn.copied {
    background-color: #616161fa;
}