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

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

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

/* 顶部工具栏 */
.top-bar {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}

.top-links {
    text-align: right;
    font-size: 14px;
}

.top-links a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
}

.top-links a:hover {
    color: #4a90e2;
}

.top-links span {
    color: #999;
}

/* 头部区域 */
.header {
    background-color: #fff;
    padding: 20px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo h1 {
    color: #333;
    font-size: 28px;
    font-weight: bold;
}

/* 搜索框 */
.search-box {
    flex: 1;
    display: flex;
    max-width: 500px;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #4a90e2;
    border-right: none;
    font-size: 14px;
    outline: none;
}

.search-btn {
    background-color: #4a90e2;
    border: 2px solid #4a90e2;
    padding: 0 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background-color: #357abd;
}

/* 头部右侧 */
.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.history-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f5f5f5;
    padding: 8px 15px;
    border: 1px solid #ddd;
    font-size: 14px;
    color: #666;
}

.history-select {
    border: none;
    background: transparent;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.quick-link:hover {
    color: #4a90e2;
}

/* 导航菜单 */
.nav {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 50px;
    padding: 15px 0;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 0;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #4a90e2;
    border-bottom: 2px solid #4a90e2;
}

/* 横幅轮播 */
.banner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.banner-slider {
    width: 100%;
    height: 100%;
}

.slide {
    width: 100%;
    height: 100%;
    display: none;
    position: relative;
}

.slide.active {
    display: block;
}

.slide-content {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* 二进制背景 */
.binary-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.3;
}

.binary {
    position: absolute;
    color: #fff;
    font-family: monospace;
    font-size: 24px;
    white-space: nowrap;
}

.binary:nth-child(1) { top: 10%; left: 5%; }
.binary:nth-child(2) { top: 20%; left: 15%; }
.binary:nth-child(3) { top: 30%; left: 8%; }
.binary:nth-child(4) { top: 40%; left: 20%; }
.binary:nth-child(5) { top: 50%; left: 10%; }
.binary:nth-child(6) { top: 15%; left: 35%; }
.binary:nth-child(7) { top: 35%; left: 40%; }
.binary:nth-child(8) { top: 55%; left: 30%; }
.binary:nth-child(9) { top: 25%; left: 55%; }
.binary:nth-child(10) { top: 45%; left: 60%; }
.binary:nth-child(11) { top: 60%; left: 50%; }
.binary:nth-child(12) { top: 35%; left: 70%; }

/* 科技圆环 */
.tech-circle {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
    width: 350px;
    height: 350px;
}

.circle-ring {
    position: absolute;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 350px;
    height: 350px;
    animation: rotate 20s linear infinite;
}

.ring-2 {
    width: 280px;
    height: 280px;
    border-style: solid;
    border-color: rgba(100, 200, 255, 0.5);
    animation: rotate 15s linear infinite reverse;
}

.ring-3 {
    width: 200px;
    height: 200px;
    animation: rotate 10s linear infinite;
}

.circle-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(100, 200, 255, 0.8) 0%, rgba(50, 150, 255, 0.4) 50%, transparent 70%);
    border-radius: 50%;
    box-shadow: 0 0 60px 30px rgba(100, 200, 255, 0.4);
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 轮播指示器 */
.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 30px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: #fff;
}

/* 图片展示区域 */
.gallery {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background-color: #fff;
    padding: 30px;
}

.gallery-item {
    border: 1px solid #eee;
    padding: 20px;
}

.gallery-item:nth-child(4) {
    border-color: #e67e22;
}

.gallery-img {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.placeholder-img-1 {
    background-image: url('https://images.unsplash.com/photo-1559839734-2b71ea197ec2?w=400&h=300&fit=crop');
}

.placeholder-img-2 {
    background-image: url('https://images.unsplash.com/photo-1611162617474-5b21e879e113?w=400&h=300&fit=crop');
}

.placeholder-img-3 {
    background-image: url('https://images.unsplash.com/photo-1563207153-f403bf289096?w=400&h=300&fit=crop');
}

.placeholder-img-4 {
    background-image: url('https://images.unsplash.com/photo-1507582020474-9a35b7d455d9?w=400&h=300&fit=crop');
}

.placeholder-img-5 {
    background-image: url('https://images.unsplash.com/photo-1556740738-b6a63e27c4df?w=400&h=300&fit=crop');
}

.placeholder-img-6 {
    background-image: url('https://images.unsplash.com/photo-1610701596007-11502861dcfa?w=400&h=300&fit=crop');
}

.placeholder-img-7 {
    background-image: url('https://images.unsplash.com/photo-1563207153-f403bf289096?w=400&h=300&fit=crop');
}

.placeholder-img-8 {
    background-image: url('https://images.unsplash.com/photo-1507582020474-9a35b7d455d9?w=400&h=300&fit=crop');
}

/* 第二个横幅 */
.banner-second {
    padding: 0 0 60px 0;
}

.banner-second-img {
    width: 100%;
    height: 400px;
    background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1200&h=400&fit=crop');
    background-size: cover;
    background-position: center;
}

/* 页脚 */
.footer {
    background-color: #444;
    color: #fff;
    padding: 40px 0 20px 0;
}

.footer-top {
    border-bottom: 1px solid #555;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.footer-links-title {
    display: inline-block;
    background-color: #333;
    padding: 5px 15px;
    font-size: 14px;
    margin-right: 15px;
}

.footer-links-nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    margin-right: 20px;
}

.footer-links-nav a:hover {
    color: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: #fff;
}

.service-time {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 20px;
}

.online-service-btn {
    display: block;
    width: 150px;
    padding: 10px 20px;
    background-color: #4a90e2;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 3px;
    font-size: 16px;
}

.online-service-btn:hover {
    background-color: #357abd;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom-links {
    margin-bottom: 15px;
}

.footer-bottom-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
}

.footer-bottom-links a:hover {
    color: #fff;
}

.copyright {
    color: #ccc;
    font-size: 13px;
    line-height: 1.8;
}

/* 页面内容切换 */
.page-content {
    display: none;
}

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

.main-content {
    min-height: 600px;
}

/* 面包屑 */
.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #4a90e2;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 付费资讯页面 */
.paid-page {
    padding: 0 0 60px 0;
    background-color: #fff;
    margin-bottom: 40px;
}

.news-list {
    padding: 20px 0;
}

.news-item {
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 12px;
    cursor: pointer;
    transition: color 0.3s;
}

.news-title:hover {
    color: #4a90e2;
}

.news-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-date {
    font-size: 14px;
    color: #999;
}

.view-more-btn {
    background: none;
    border: none;
    color: #4a90e2;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s;
}

.view-more-btn:hover {
    color: #357abd;
    text-decoration: underline;
}

/* 收款码弹窗 */
.payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
}

.payment-modal.active {
    display: flex;
}

.modal-content {
    background-color: #fff;
    border-radius: 12px;
    position: relative;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 60px;
    border-width: 0 12px 16px 12px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.5);
}

.qrcode-image {
    width: 100%;
    height: auto;
    display: block;
}

/* 关于我们页面 */
.page-header {
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.paid-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.about-header {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.contact-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.about-content {
    padding: 60px 0;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.about-section.reverse {
    direction: rtl;
}

.about-section.reverse > * {
    direction: ltr;
}

.about-text h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.timeline {
    list-style: none;
}

.timeline li {
    padding: 12px 0;
    font-size: 15px;
    color: #666;
    border-bottom: 1px dashed #eee;
}

.timeline li:last-child {
    border-bottom: none;
}

.timeline strong {
    color: #333;
}

.about-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.values-section {
    text-align: center;
}

.values-section h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-item {
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.value-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.value-item p {
    font-size: 14px;
    color: #666;
}

/* 联系我们页面 */
.contact-content {
    padding: 60px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
}

.info-icon {
    font-size: 32px;
}

.info-text h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.info-text p {
    font-size: 14px;
    color: #666;
}

.contact-form-wrapper {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #4a90e2;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #357abd;
}

.map-section {
    margin-top: 40px;
}

.map-placeholder {
    background-color: #e8e8e8;
    height: 300px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #999;
}

.map-icon {
    font-size: 64px;
    margin-bottom: 15px;
}
