/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    /* 优化移动端滚动 */
    -webkit-overflow-scrolling: touch;
    /* 防止移动端缩放 */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    /* 优化触摸响应 */
    touch-action: manipulation;
}

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

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar h1 {
    color: #667eea;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #667eea;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #667eea;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 主内容区 */
.main-content {
    margin-top: 80px;
}

/* 英雄区域 */
.hero-section {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)),
        url('grassland-hero.svg'),
        linear-gradient(135deg, #87CEEB 0%, #98FB98 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.cta-button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* 价格计算器区域 */
.calculator-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.calculator-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.calculator-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.calculator-form {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

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

.calc-tab {
    flex: 1;
    padding: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.calc-tab.active,
.calc-tab:hover {
    color: white;
    border-bottom-color: #ffd700;
    background: rgba(255, 255, 255, 0.1);
}

.calc-day-content {
    display: none;
    padding: 2rem;
}

.calc-day-content.active {
    display: block;
}

.calc-day-content h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.calc-section {
    margin-bottom: 2.5rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.calc-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #495057;
    display: flex;
    align-items: center;
}

.calc-section h4 i {
    margin-right: 0.5rem;
    color: #667eea;
}

.resort-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.resort-tab {
    flex: 1;
    padding: 1rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.resort-tab:hover,
.resort-tab.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.resort-content {
    display: none;
}

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

.resort-desc {
    margin-bottom: 1.5rem;
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
}

/* 子区域样式 */
.subsection {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.subsection:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.subsection h5 {
    margin: 0 0 1rem 0;
    color: #495057;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dee2e6;
}

.subsection h5 i {
    margin-right: 0.5rem;
    color: #667eea;
    font-size: 1.2rem;
}

.subsection .price-options {
    margin-top: 1rem;
}

.price-options {
    display: grid;
    gap: 1rem;
}

.price-option {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.price-option:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.price-option input[type="checkbox"],
.price-option input[type="radio"] {
    margin-right: 1rem;
    transform: scale(1.2);
    accent-color: #667eea;
}

.price-option.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f2ff 100%);
}

.option-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-name {
    font-weight: 600;
    color: #333;
    flex: 1;
}

.option-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
    margin: 0 1rem;
}

.option-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

/* 新增的价格选项样式 */
.option-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.original-price {
    font-size: 14px;
    color: #a0aec0;
    text-decoration: line-through;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: #e53e3e;
}



.includes-list {
    margin-top: 8px;
    padding: 10px 12px;
    background: #f7fafc;
    border-radius: 6px;
    font-size: 13px;
    color: #4a5568;
    border-left: 3px solid #667eea;
}

.includes-list strong {
    color: #2d3748;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.features-container .feature-tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quantity-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 12px;
    background: #edf2f7;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.quantity-container span {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
}

.quantity-select {
    padding: 6px 10px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    min-width: 80px;
    cursor: pointer;
    font-weight: 500;
}

.quantity-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.price-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    margin-top: 2rem;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.summary-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.generate-report-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.generate-report-btn:hover {
    background: white;
    color: #667eea;
}

.summary-details {
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.summary-row.total-row {
    font-size: 1.3rem;
    font-weight: 700;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: none;
    padding-top: 1rem;
    margin-top: 1rem;
}

.people-multiplier {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.people-multiplier select {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

/* 规划器区域 */
.planner-section {
    background: white;
    padding: 4rem 0;
}

.planner-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.preference-form {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form-group label {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.form-group label i {
    margin-right: 0.5rem;
    color: #667eea;
}

.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.preference-tags {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.tag-item {
    display: flex;
    align-items: center;
}

.tag-item input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: #667eea;
}

.generate-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.generate-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

/* 推荐结果 */
.recommendation-result {
    margin-top: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.recommendation-result h3 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.itinerary-container {
    display: grid;
    gap: 2rem;
}

.day-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.day-header {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.destination-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.destination-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.destination-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.total-price {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
}

.price-amount {
    color: #ffd700;
    font-size: 2rem;
}

/* 套餐区域 */
.packages-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.packages-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.package-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.package-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* 增强型套餐卡片 */
.enhanced-package {
    max-width: 420px;
    margin: 0 auto;
}

.package-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

.enhanced-package:hover .package-image img {
    transform: scale(1.1);
}

.package-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 70%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.package-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.highlight-tag {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.package-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    position: relative;
}

.package-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.package-pricing {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.original-price {
    font-size: 1rem;
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.7);
}

.current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
}



.package-content {
    padding: 2rem 1.5rem;
}

.package-description {
    margin-bottom: 1.5rem;
}

.package-description p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.package-includes,
.package-suitable {
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 0.9rem;
    border-left: 4px solid #667eea;
}

.package-includes strong,
.package-suitable strong {
    color: #333;
}

.package-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.feature-item i {
    color: #4caf50;
    font-size: 0.8rem;
}

.enhanced-select {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.enhanced-select:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.enhanced-select i {
    font-size: 1.1rem;
}

/* 原版套餐样式保持 */
.package-card:not(.enhanced-package) .package-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
}

.package-card:not(.enhanced-package) .package-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.package-card:not(.enhanced-package) .package-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
}

.package-card:not(.enhanced-package) .package-content {
    padding: 1.5rem;
}

.package-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.package-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.package-features li:before {
    content: '✓';
    color: #4caf50;
    font-weight: bold;
    margin-right: 0.5rem;
}

.select-package:not(.enhanced-select) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.select-package:not(.enhanced-select):hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 图片展示区 */
.gallery-section {
    background: white;
    padding: 4rem 0;
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-filter {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.gallery-filter:hover,
.gallery-filter.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center top; /* 确保显示图片上半部分，避免底部工具栏 */
}

/* 确保所有图片都只显示上半部分 */
img {
    object-position: center top !important;
    /* 优化图片加载性能 */
    loading: lazy;
    /* 防止图片闪烁 */
    image-rendering: auto;
    /* 优化移动端图片显示 */
    max-width: 100%;
    height: auto;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}



/* 模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #bbb;
}

#modal-caption {
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    font-size: 1.2rem;
}

/* 页脚 */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.back-to-top:active {
    transform: translateY(-1px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 导航栏适配 */
    .navbar {
        padding: 0;
    }

    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        position: relative;
    }

    .navbar h1 {
        font-size: 1.2rem;
        flex: 1;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 1rem;
        padding: 1rem 2rem;
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(102, 126, 234, 0.1);
        border-radius: 0;
        text-align: center;
        transition: all 0.3s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(102, 126, 234, 0.1);
        color: #667eea;
    }

    .nav-link.active::after {
        display: none;
    }

    /* 主内容区适配 */
    .main-content {
        margin-top: 120px;
    }

    .container {
        padding: 0 15px;
    }

    /* 英雄区域适配 */
    .hero-section {
        padding: 3rem 1rem;
        background-attachment: scroll;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .button-group {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* 计算器区域适配 */
    .calculator-section {
        padding: 2rem 0;
    }

    .calculator-section h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .calculator-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .calculator-form {
        border-radius: 15px;
        margin: 0 10px;
    }

    .calc-header {
        flex-direction: row;
        overflow-x: auto;
    }

    .calc-tab {
        flex: none;
        min-width: 100px;
        padding: 1rem 0.8rem;
        font-size: 0.95rem;
        white-space: nowrap;
    }

    .calc-day-content {
        padding: 1.5rem;
    }

    .calc-day-content h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .calc-section {
        margin-bottom: 2rem;
        padding: 1rem;
    }

    .calc-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    /* 度假区选项卡适配 */
    .resort-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .resort-tab {
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
        text-align: center;
        border-radius: 8px;
    }

    /* 价格选项适配 */
    .price-option {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .price-option input[type="checkbox"],
    .price-option input[type="radio"] {
        margin-bottom: 0.5rem;
        align-self: flex-start;
    }

    .option-content {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .option-header {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .option-name {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }

    .price-container {
        justify-content: flex-start;
        margin-bottom: 0.5rem;
    }

    .current-price {
        font-size: 1.2rem;
    }

    .original-price {
        font-size: 0.9rem;
    }

    .option-desc {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .includes-list {
        font-size: 0.8rem;
        padding: 8px 10px;
        margin-top: 0.5rem;
    }

    .features-container {
        gap: 4px;
        margin-top: 0.5rem;
    }

    .feature-tag {
        font-size: 0.7rem;
        padding: 2px 6px;
    }

    .quantity-container {
        margin-top: 0.8rem;
        padding: 8px 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .quantity-select {
        width: 100%;
        max-width: 120px;
    }

    /* 价格汇总适配 */
    .price-summary {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .summary-header {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .summary-header h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    .generate-report-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        align-self: center;
    }

    .summary-row {
        padding: 0.8rem 0;
        font-size: 0.95rem;
    }

    .summary-row.total-row {
        font-size: 1.1rem;
        padding-top: 1rem;
    }

    .people-multiplier {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .people-multiplier select {
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
        min-width: 120px;
    }

    /* 套餐区域适配 */
    .packages-section {
        padding: 2rem 0;
    }

    .packages-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .package-filters {
        gap: 0.5rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        border-radius: 20px;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }

    .enhanced-package {
        max-width: 100%;
    }

    .package-image {
        height: 200px;
    }

    .package-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .package-pricing {
        gap: 0.8rem;
    }

    .current-price {
        font-size: 1.5rem;
    }

    .original-price {
        font-size: 0.9rem;
    }



    .package-content {
        padding: 1.5rem 1rem;
    }

    .package-description p {
        font-size: 0.9rem;
    }

    .package-includes,
    .package-suitable {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }

    .package-features-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .feature-item {
        font-size: 0.85rem;
    }

    .enhanced-select {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    /* 图片展示区适配 */
    .gallery-section {
        padding: 2rem 0;
    }

    .gallery-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .gallery-filters {
        gap: 0.5rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }

    .gallery-filter {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        border-radius: 20px;
    }

    .image-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }

    .gallery-item {
        border-radius: 12px;
    }

    .gallery-item img {
        height: 250px;
    }

    .gallery-overlay {
        padding: 1.5rem 1rem 1rem;
    }

    /* 模态框适配 */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        top: auto;
        transform: none;
    }

    .close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    #modal-caption {
        font-size: 1rem;
        padding: 15px 10px;
    }

    /* 报告模态框适配 */
    .report-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }

    .report-close {
        right: 15px;
        top: 10px;
        font-size: 1.5rem;
    }

    .price-report {
        padding: 1.5rem;
    }

    .price-report h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .report-meta {
        padding: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .day-report {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .day-report h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .report-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.6rem;
        gap: 0.3rem;
    }

    .item-name {
        font-size: 0.9rem;
    }

    .item-price {
        font-size: 0.9rem;
        align-self: flex-end;
    }

    .day-total {
        font-size: 1rem;
        padding: 0.6rem;
    }

    .grand-total-report {
        padding: 1rem;
        margin: 1.5rem 0;
    }

    .grand-total-report h3 {
        font-size: 1.4rem;
    }

    .report-actions {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem;
    }

    .print-report-btn,
    .share-report-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        justify-content: center;
    }

    /* 通用表单元素适配 */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-group {
        padding: 1rem;
    }

    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .form-group select {
        padding: 0.7rem;
        font-size: 0.95rem;
    }

    /* 页脚适配 */
    .footer {
        padding: 1.5rem 0;
        font-size: 0.9rem;
    }

    /* 返回顶部按钮适配 */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* 小屏手机适配 (320px - 480px) */
@media (max-width: 480px) {
    /* 导航栏进一步优化 */
    .navbar h1 {
        font-size: 1rem;
    }

    .nav-links {
        gap: 0.3rem;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* 英雄区域进一步优化 */
    .hero-section {
        padding: 2rem 0.8rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* 计算器进一步优化 */
    .calculator-section h2 {
        font-size: 1.5rem;
    }

    .calculator-subtitle {
        font-size: 0.9rem;
    }

    .calc-tab {
        min-width: 80px;
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
    }

    .calc-day-content {
        padding: 1rem;
    }

    .calc-day-content h3 {
        font-size: 1.2rem;
    }

    .calc-section {
        padding: 0.8rem;
    }

    .calc-section h4 {
        font-size: 1rem;
    }

    /* 度假区选项卡网格优化 */
    .resort-tabs {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .resort-tab {
        padding: 0.7rem;
        font-size: 0.8rem;
    }

    /* 价格选项进一步优化 */
    .price-option {
        padding: 0.8rem;
    }

    .option-name {
        font-size: 0.9rem;
    }

    .current-price {
        font-size: 1.1rem;
    }

    .original-price {
        font-size: 0.8rem;
    }

    .option-desc {
        font-size: 0.8rem;
    }

    .includes-list {
        font-size: 0.75rem;
        padding: 6px 8px;
    }

    .feature-tag {
        font-size: 0.65rem;
        padding: 1px 4px;
    }

    /* 价格汇总进一步优化 */
    .price-summary {
        padding: 1rem;
    }

    .summary-header h3 {
        font-size: 1.1rem;
    }

    .generate-report-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .summary-row {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }

    .summary-row.total-row {
        font-size: 1rem;
    }

    /* 套餐区域进一步优化 */
    .packages-section h2 {
        font-size: 1.5rem;
    }

    .filter-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .package-image {
        height: 180px;
    }

    .package-title {
        font-size: 1.1rem;
    }

    .current-price {
        font-size: 1.3rem;
    }

    .package-content {
        padding: 1rem 0.8rem;
    }

    .package-description p {
        font-size: 0.85rem;
    }

    .package-includes,
    .package-suitable {
        font-size: 0.8rem;
        padding: 0.5rem 0.6rem;
    }

    .feature-item {
        font-size: 0.8rem;
    }

    .enhanced-select {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    /* 图片展示区进一步优化 */
    .gallery-section h2 {
        font-size: 1.5rem;
    }

    .gallery-filter {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }

    .gallery-item img {
        height: 220px;
    }

    .gallery-overlay {
        padding: 1rem 0.8rem 0.8rem;
    }

    /* 模态框进一步优化 */
    .modal-content {
        width: 98%;
        margin: 2% auto;
    }

    .close {
        font-size: 25px;
        right: 15px;
    }

    #modal-caption {
        font-size: 0.9rem;
        padding: 10px 5px;
    }

    /* 报告模态框进一步优化 */
    .report-modal-content {
        width: 98%;
        margin: 2% auto;
        max-height: 90vh;
    }

    .price-report {
        padding: 1rem;
    }

    .price-report h2 {
        font-size: 1.3rem;
    }

    .report-meta {
        padding: 0.6rem;
    }

    .day-report {
        padding: 0.8rem;
    }

    .day-report h3 {
        font-size: 1rem;
    }

    .report-item {
        padding: 0.5rem;
    }

    .item-name {
        font-size: 0.85rem;
    }

    .item-price {
        font-size: 0.85rem;
    }

    .day-total {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .grand-total-report {
        padding: 0.8rem;
    }

    .grand-total-report h3 {
        font-size: 1.2rem;
    }

    .print-report-btn,
    .share-report-btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
}

/* 超小屏设备适配 (最大320px) */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    .hero-section {
        padding: 1.5rem 0.5rem;
    }

    .hero-content h1 {
        font-size: 1.3rem;
    }

    .calculator-form,
    .packages-grid,
    .image-gallery {
        margin: 0 5px;
        padding: 0 5px;
    }

    .calc-day-content {
        padding: 0.8rem;
    }

    .calc-section {
        padding: 0.6rem;
    }

    .price-option {
        padding: 0.6rem;
    }

    .package-content {
        padding: 0.8rem 0.6rem;
    }

    .price-report {
        padding: 0.8rem;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    /* 增大可点击区域 */
    .nav-link,
    .calc-tab,
    .resort-tab,
    .filter-btn,
    .gallery-filter {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 优化按钮触摸体验 */
    .cta-button,
    .generate-report-btn,
    .enhanced-select,
    .select-package {
        min-height: 48px;
        touch-action: manipulation;
    }

    /* 优化表单元素 */
    .price-option {
        min-height: 60px;
        touch-action: manipulation;
    }

    .price-option input[type="checkbox"],
    .price-option input[type="radio"] {
        min-width: 20px;
        min-height: 20px;
        transform: scale(1.3);
    }

    /* 优化滚动体验 */
    .calc-header {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .calc-header::-webkit-scrollbar {
        display: none;
    }

    /* 优化模态框触摸体验 */
    .close,
    .report-close {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* 确保图片在高分辨率屏幕上清晰显示 */
    .gallery-item img,
    .package-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* 横屏手机适配 */
@media (max-width: 896px) and (orientation: landscape) {
    .hero-section {
        padding: 2rem 1rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 2rem;
    }

    .calc-header {
        flex-direction: row;
    }

    .calc-tab {
        flex: 1;
        min-width: auto;
    }

    .resort-tabs {
        grid-template-columns: repeat(2, 1fr);
    }

    .package-filters,
    .gallery-filters {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }

    .filter-btn,
    .gallery-filter {
        flex-shrink: 0;
    }
}

/* 无障碍访问优化 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .nav-link,
    .calc-tab,
    .resort-tab,
    .filter-btn,
    .gallery-filter {
        border-width: 2px;
    }

    .price-option {
        border-width: 2px;
    }

    .price-option.selected {
        border-width: 3px;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #e9ecef;
        --bg-color: #212529;
        --card-bg: #343a40;
        --border-color: #495057;
    }

    body {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        color: var(--text-color);
    }

    .calculator-form,
    .package-card,
    .gallery-item,
    section {
        background: var(--card-bg);
        border-color: var(--border-color);
    }

    .price-option {
        background: var(--card-bg);
        border-color: var(--border-color);
        color: var(--text-color);
    }

    .subsection {
        background: #495057;
        border-color: var(--border-color);
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 图片加载占位符 */
.image-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* 内容加载状态 */
.content-loading {
    opacity: 0.6;
    pointer-events: none;
}

.content-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

/* 报告模态框样式 */
.report-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.report-modal-content {
    background: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.report-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    z-index: 10;
    transition: color 0.3s ease;
}

.report-close:hover {
    color: #333;
}

.price-report {
    padding: 2rem;
}

.price-report h2 {
    text-align: center;
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.report-meta {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
}

.report-meta p {
    margin: 0.5rem 0;
    color: #666;
}

.day-report {
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 1.5rem;
    background: #f8f9fa;
}

.day-report h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
}

.day-items {
    margin-bottom: 1rem;
}

.report-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border-left: 4px solid #667eea;
}

.item-name {
    font-weight: 600;
    color: #333;
    flex: 1;
}

.item-price {
    color: #667eea;
    font-weight: 700;
    white-space: nowrap;
}

.day-total {
    text-align: right;
    font-size: 1.1rem;
    font-weight: 700;
    color: #495057;
    padding: 0.5rem;
    background: white;
    border-radius: 8px;
    border: 2px solid #667eea;
}

.grand-total-report {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    margin: 2rem 0;
}

.grand-total-report h3 {
    margin: 0;
    font-size: 1.8rem;
}

.report-footer {
    background: #e9ecef;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.report-footer p {
    margin-bottom: 1rem;
    color: #495057;
}

.report-footer ul {
    margin: 0;
    padding-left: 1.5rem;
}

.report-footer li {
    margin-bottom: 0.5rem;
    color: #666;
}

.report-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 1.5rem;
    background: #f8f9fa;
    margin-top: 1rem;
    border-radius: 0 0 20px 20px;
}

.print-report-btn,
.share-report-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.print-report-btn {
    background: #28a745;
    color: white;
}

.print-report-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

.share-report-btn {
    background: #007bff;
    color: white;
}

.share-report-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* 打印样式 */
@media print {
    .report-modal {
        position: static !important;
        background: none !important;
        backdrop-filter: none !important;
    }
    
    .report-modal-content {
        box-shadow: none !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: none !important;
        border-radius: 0 !important;
    }
    
    .report-close,
    .report-actions {
        display: none !important;
    }
}