/* 各页面样式 */

/* 服务列表页 */
.services-page {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    padding: 40px 0;
}

.category-filter {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 90px;
}

.category-filter h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-item {
    padding: 12px 15px;
    border-radius: 6px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.filter-item:hover,
.filter-item.active {
    background: #3498db;
    color: #fff;
}

.services-container {
    min-height: 600px;
}

.services-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.services-header h2 {
    font-size: 28px;
    color: #333;
    margin: 0;
}

.services-header .count {
    font-size: 16px;
    color: #999;
    font-weight: normal;
    margin-left: 10px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* 服务详情页 */
.breadcrumb {
    padding: 15px 0;
    margin-bottom: 30px;
    font-size: 14px;
    color: #999;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb span {
    color: #999;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    padding-bottom: 60px;
}

.detail-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-gallery {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-gallery img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    background: #f8f9fa;
}

.service-placeholder-large {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    opacity: 0.5;
}

.related-services {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.related-services h3 {
    margin-bottom: 20px;
    color: #333;
}

.related-list {
    display: grid;
    gap: 15px;
}

.related-item a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.related-item a:hover {
    background: #f8f9fa;
}

.related-image {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-image .placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.related-info h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #333;
}

.related-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 16px;
}

.detail-right {
    position: sticky;
    top: 90px;
}

.detail-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.detail-content h1 {
    font-size: 28px;
    margin: 0 0 20px 0;
    color: #333;
}

.detail-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.detail-meta .category {
    color: #666;
}

.detail-meta .hot {
    background: #e74c3c;
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.detail-price {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.detail-price .label {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.current-price .amount {
    font-size: 32px;
    color: #e74c3c;
    font-weight: bold;
}

.original-price .amount {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

.detail-description h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
}

.description-content {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.detail-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.detail-tips {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.detail-tips h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
}

.detail-tips ul {
    margin: 0;
    padding-left: 20px;
}

.detail-tips li {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* 公告列表 */
.notices-list {
    display: grid;
    gap: 20px;
    padding: 40px 0;
}

.notice-item {
    display: flex;
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s;
}

.notice-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.notice-date {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.notice-date .day {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.notice-date .month {
    font-size: 12px;
    margin-top: 5px;
}

.notice-content h3 {
    margin: 0 0 10px 0;
}

.notice-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.notice-content h3 a:hover {
    color: #3498db;
}

.notice-content p {
    margin: 0;
    color: #666;
}

/* 活动网格 */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.activity-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.activity-card .activity-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-card .activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-placeholder {
    font-size: 80px;
    opacity: 0.5;
}

.activity-card-content {
    padding: 25px;
}

.activity-card .activity-date {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.activity-card .activity-date span {
    margin: 0 5px;
}

.activity-card h3 {
    margin: 0 0 15px 0;
}

.activity-card h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.activity-card h3 a:hover {
    color: #3498db;
}

.activity-card p {
    color: #666;
    margin-bottom: 20px;
}

/* 帮助中心 */
.help-center {
    padding: 60px 0;
}

.help-search {
    text-align: center;
    margin-bottom: 60px;
}

.help-search h2 {
    margin-bottom: 20px;
    color: #333;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

.search-box .form-control {
    flex: 1;
    padding: 15px 20px;
    font-size: 16px;
}

.help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.help-category {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.help-category h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
}

.help-category ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.help-category li {
    margin-bottom: 12px;
}

.help-category li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.help-category li a:hover {
    color: #3498db;
}

.help-contact {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: #fff;
}

.help-contact h3 {
    margin: 0 0 15px 0;
}

.help-contact p {
    margin: 0 0 25px 0;
    opacity: 0.9;
}

.contact-ways {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #667eea;
}

/* 联系我们 */
.contact-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 60px 0;
}

.contact-info {
    display: grid;
    gap: 25px;
}

.contact-item {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.contact-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.contact-item h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.contact-item p {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.contact-item span {
    color: #999;
    font-size: 14px;
}

.contact-form-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h3 {
    margin: 0 0 25px 0;
    color: #333;
}

.qrcode-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 40px 0 60px;
}

.qrcode-item {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.qrcode-img {
    width: 150px;
    height: 150px;
    background: #f0f0f0;
    border-radius: 8px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.qrcode-item h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.qrcode-item p {
    margin: 0;
    color: #666;
}

/* 活动详情 */
.activity-detail {
    padding: 40px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.activity-header {
    padding: 30px 30px 0;
}

.activity-header h1 {
    margin: 0 0 20px 0;
    color: #333;
}

.activity-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.activity-time,
.activity-discount {
    color: #666;
}

.activity-cover {
    padding: 30px;
}

.activity-cover img {
    width: 100%;
    border-radius: 8px;
}

.activity-content {
    padding: 30px;
}

.activity-content h2 {
    margin: 0 0 20px 0;
    color: #333;
}

.content-text {
    color: #666;
    line-height: 1.8;
}

.activity-actions {
    padding: 30px;
    display: flex;
    gap: 15px;
}

/* 公告详情 */
.notice-detail {
    padding: 40px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.notice-header {
    padding: 30px 30px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.notice-header h1 {
    margin: 0 0 15px 0;
    color: #333;
}

.notice-meta {
    color: #999;
}

.notice-body {
    padding: 30px;
    line-height: 1.8;
    color: #666;
}

.notice-actions {
    padding: 30px;
    border-top: 1px solid #f0f0f0;
}

/* 工单页面 */
.ticket-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 40px;
}

.ticket-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

.ticket-info h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.ticket-info p {
    color: #666;
    margin-bottom: 20px;
}

.ticket-info ul {
    list-style: none;
}

.ticket-info ul li {
    padding: 10px 0;
    color: #555;
    border-bottom: 1px solid #e0e0e0;
}

.ticket-info ul li:last-child {
    border-bottom: none;
}

.ticket-form-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.ticket-form {
    max-width: 100%;
}

.ticket-form .form-group {
    margin-bottom: 25px;
}

.ticket-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.ticket-form input[type="text"],
.ticket-form input[type="email"],
.ticket-form input[type="tel"],
.ticket-form textarea,
.ticket-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.ticket-form input:focus,
.ticket-form textarea:focus,
.ticket-form select:focus {
    outline: none;
    border-color: #3498db;
}

.ticket-form textarea {
    resize: vertical;
}

.ticket-form button {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

/* 商务化排版样式 - 服务子页面 */
.service-detail {
    padding: 60px 0;
}

.service-detail > .container {
    max-width: 1200px;
}

/* 服务介绍区 */
.service-intro {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #2c3e50;
}

.service-intro h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
}

.service-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}

/* 服务特点区 */
.service-features {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.service-features h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 35px;
    font-weight: 600;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
    background: #fff;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* 服务套餐区 */
.service-packages {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.service-packages h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: center;
}

.service-packages .subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 40px;
    font-size: 16px;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.package-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 2px solid #ecf0f1;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.package-card.recommended {
    border-color: #e74c3c;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.2);
    transform: scale(1.02);
}

.package-card.recommended:hover {
    transform: scale(1.02) translateY(-10px);
}

.package-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    padding: 8px 25px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.package-card h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.package-card .price {
    font-size: 42px;
    color: #e74c3c;
    font-weight: 800;
    margin-bottom: 10px;
}

.package-card .price::before {
    content: '¥';
    font-size: 24px;
    vertical-align: super;
}

.package-card .price-suffix {
    font-size: 14px;
    color: #95a5a6;
    margin-bottom: 25px;
}

.package-card ul.features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    flex: 1;
}

.package-card ul.features li {
    padding: 12px 0;
    border-bottom: 1px solid #ecf0f1;
    font-size: 15px;
    color: #555;
    display: flex;
    align-items: center;
}

.package-card ul.features li:last-child {
    border-bottom: none;
}

.package-card ul.features li::before {
    content: '✓';
    margin-right: 12px;
    font-weight: bold;
}

.package-card ul.features li:last-child::before {
    content: '✗';
    color: #e74c3c;
}

.package-card .btn {
    width: 100%;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}

.package-card .btn:hover {
    transform: scale(1.02);
}

/* 常见问题区 */
.service-faq {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.service-faq h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 35px;
    font-weight: 600;
    text-align: center;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-left: 4px solid #3498db;
    transition: all 0.3s;
}

.faq-item:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.faq-item h3 {
    font-size: 18px;
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.faq-item h3::before {
    content: 'Q.';
    display: inline-block;
    background: #3498db;
    color: #fff;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 16px;
}

.faq-item p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0;
    padding-left: 47px;
}

/* 页面头部 */
.page-header {
    background: #f8f9fa;
    border-bottom: 3px solid #667eea;
    padding: 50px 0;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #667eea;
}

.page-header h1 {
    font-size: 42px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-header p {
    font-size: 18px;
    color: #7f8c8d;
    margin: 0;
    font-weight: 400;
}

/* 代理页面特殊样式 */
.agent-section {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.agent-section h2 {
    font-size: 26px;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
    font-weight: 600;
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.agent-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    border-left: 4px solid #3498db;
    transition: all 0.3s;
}

.agent-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.agent-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 20px;
}

.agent-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}
