:root {
    /* 旅游交友风格的绿色系渐变色方案 */
    --primary-gradient: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    --secondary-gradient: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    
    /* 新增单色变量 */
    --primary-color: #2ecc71;
    --primary-dark: #27ae60;
    --secondary-color: #1abc9c;
    --secondary-dark: #16a085;
    --accent-color: #3498db;
    
    /* 自然绿色系 */
    --forest-green: #27ae60;
    --sage-green: #95a5a6;
    --mint-green: #1abc9c;
    --lime-green: #2ecc71;
    --olive-green: #7d8c5c;
    --teal-green: #16a085;
    
    /* 中性色调 */
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* 字体大小定义 */
    --font-size-xs: 0.75rem;     /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.25rem;      /* 20px */
    --font-size-2xl: 1.5rem;      /* 24px */
    --font-size-3xl: 1.875rem;    /* 30px */
    --font-size-4xl: 2.25rem;     /* 36px */
    --font-size-5xl: 3rem;        /* 48px */
    --font-size-6xl: 3.75rem;     /* 60px */
    --font-size-7xl: 4.5rem;      /* 72px */
}

body {
    font-size: var(--font-size-base);
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar-brand {
    font-weight: 700;
    font-size: var(--font-size-2xl);
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: var(--font-size-base);
    margin: 0 5px;
    padding: 0.5rem 1rem;
}

/* 横幅区域样式 */
.hero-section {
    background: var(--primary-gradient);
    color: white;
    padding: 120px 0 100px;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

/* 各页面专属背景色 */
.hero-section.travel-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-section.animal-hero {
    background: linear-gradient(135deg, #27ae60 0%, #219653 100%);
}

.hero-section.flower-hero {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.hero-section.reward-hero {
    background: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
}

/* 统一页面头部样式 */
.page-header {
    color: white;
    padding: 120px 0 100px;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.page-header .lead {
    font-size: var(--font-size-xl);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* 响应式banner高度调整 */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 80px;
        min-height: 400px;
    }
    
    .page-header {
        padding: 100px 0 80px;
        min-height: 400px;
    }
    
    .page-header h1 {
        font-size: var(--font-size-4xl);
    }
    
    .page-header .lead {
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0 60px;
        min-height: 350px;
    }
    
    .page-header {
        padding: 80px 0 60px;
        min-height: 350px;
    }
    
    .page-header h1 {
        font-size: var(--font-size-3xl);
    }
    
    .page-header .lead {
        font-size: var(--font-size-base);
    }
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon points="0,0 100,100 0,100" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100% 100%;
}

.hero-section h1 {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: var(--font-size-xl);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* 区块标题样式 */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    font-size: var(--font-size-3xl);
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

/* 页脚样式 */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 70px 0 30px;
    font-size: var(--font-size-sm);
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: var(--font-size-sm);
}

.footer a:hover {
    color: #fff;
}

.footer h5 {
    font-size: var(--font-size-lg);
    margin-bottom: 1.5rem;
}

/* 首页特有样式 */
.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.feature-box {
    text-align: center;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-radius: 10px;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-box:hover .feature-icon {
    transform: scale(1.1);
}

.feature-box h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: 1rem;
}

.feature-box p {
    font-size: var(--font-size-base);
    color: #6c757d;
}

.testimonial-card {
    height: 100%;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card .card-text {
    font-size: var(--font-size-base);
    line-height: 1.7;
}

.testimonial-card h6 {
    font-size: var(--font-size-lg);
}

.cta-section {
    background: var(--secondary-gradient);
    color: white;
    padding: 100px 0;
    margin: 80px 0;
    border-radius: 0;
}

.cta-section h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-section .lead {
    font-size: var(--font-size-2xl);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s ease;
}

.social-icon:hover {
    background: rgba(255,255,255,0.2);
}

.btn-rounded {
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 600;
    font-size: var(--font-size-base);
}

.stats-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 10px;
    color: #667eea;
}

.stats-label {
    color: #6c757d;
    font-size: var(--font-size-base);
}

/* 关于我们页面特有样式 */
.team-member {
    text-align: center;
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 5px solid #f8f9fa;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.team-member h5 {
    font-size: var(--font-size-xl);
    margin-bottom: 0.25rem;
}

.team-member .text-muted {
    font-size: var(--font-size-sm);
}

.value-box {
    text-align: center;
    padding: 40px 20px;
    height: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    border: 1px solid #eee;
}

.value-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.value-box h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: 1rem;
}

.value-box p {
    font-size: var(--font-size-base);
    color: #6c757d;
}

.milestone {
    position: relative;
    padding: 20px 0;
}

.milestone:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: #667eea;
    z-index: 1;
}

.milestone-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
}

.milestone h5 {
    font-size: var(--font-size-lg);
    margin-bottom: 0.5rem;
}

.milestone p {
    font-size: var(--font-size-base);
    color: #6c757d;
    margin-bottom: 0;
}

/* 商家合作页面特有样式 */
.benefit-box {
    text-align: center;
    padding: 40px 20px;
    height: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    border: 1px solid #eee;
}

.benefit-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.benefit-box h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: 1rem;
}

.benefit-box p {
    font-size: var(--font-size-base);
    color: #6c757d;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.process-step h5 {
    font-size: var(--font-size-xl);
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: var(--font-size-base);
    color: #6c757d;
}

.process-line {
    position: absolute;
    top: 30px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: #667eea;
}

.process-step:last-child .process-line {
    display: none;
}

.stats-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.stats-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-label {
    font-size: var(--font-size-base);
    color: #6c757d;
}

.card-title {
    font-size: var(--font-size-2xl);
    margin-bottom: 1rem;
}

.card-text {
    font-size: var(--font-size-base);
    color: #6c757d;
    margin-bottom: 1rem;
}

/* 商家入驻申请页面特有样式 */
.form-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.application-form {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 40px;
}

.application-form h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-label {
    font-weight: 500;
    font-size: var(--font-size-base);
    margin-bottom: 0.5rem;
}

.form-label .text-danger {
    font-size: var(--font-size-sm);
}

.form-control, .form-select {
    padding: 12px 15px;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: var(--font-size-base);
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

.form-control::placeholder {
    color: #adb5bd;
    font-size: var(--font-size-sm);
}

.form-text {
    font-size: var(--font-size-sm);
    color: #6c757d;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    font-size: var(--font-size-base);
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-outline-secondary {
    font-size: var(--font-size-base);
    padding: 12px 30px;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-label {
    font-size: var(--font-size-base);
}

.form-check-label a {
    color: #667eea;
    text-decoration: none;
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.step {
    text-align: center;
    position: relative;
    flex: 1;
    max-width: 200px;
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 50%;
    right: -50%;
    height: 2px;
    background: #dee2e6;
    z-index: 1;
}

.step.active::after {
    background: #667eea;
}

.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #6c757d;
    border-radius: 50%;
    font-weight: 700;
    font-size: var(--font-size-base);
    margin: 0 auto 10px;
    position: relative;
    z-index: 2;
}

.step.active .step-number {
    background: var(--primary-gradient);
    color: white;
}

.step.completed .step-number {
    background: #28a745;
    color: white;
}

.step > div:last-child {
    font-size: var(--font-size-sm);
    color: #6c757d;
}

.step.active > div:last-child {
    color: #495057;
    font-weight: 500;
}

/* 联系我们页面特有样式 */
.contact-info {
    text-align: center;
    padding: 40px 20px;
    height: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    border: 1px solid #eee;
}

.contact-info:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.contact-info h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: var(--font-size-base);
    color: #6c757d;
}

.contact-form {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 40px;
}

.form-section h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: 1rem;
}

.form-section .lead {
    font-size: var(--font-size-xl);
    color: #6c757d;
    margin-bottom: 2.5rem;
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 成功案例页面特有样式 */
.case-card {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.case-card .card-title {
    font-size: var(--font-size-2xl);
    margin-bottom: 1rem;
}

.case-card .card-text {
    font-size: var(--font-size-base);
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.case-image {
    height: 200px;
    object-fit: cover;
}

.quote-mark {
    font-size: 4rem;
    color: rgba(102, 126, 234, 0.1);
    line-height: 1;
}

.testimonial-content {
    position: relative;
}

.list-group-item {
    font-size: var(--font-size-base);
    padding: 0.75rem 1.25rem;
}

.badge {
    font-size: var(--font-size-xs);
    font-weight: 600;
}

/* 合作政策页面特有样式 */
.policy-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.policy-card {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.policy-card .card-title {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.policy-title {
    position: relative;
    padding-left: 20px;
    margin: 30px 0 20px;
    font-size: var(--font-size-2xl);
    font-weight: 600;
}

.policy-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 4px;
    height: 24px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.policy-card h6 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin: 1.5rem 0 1rem;
}

.policy-card p {
    font-size: var(--font-size-base);
    color: #6c757d;
    margin-bottom: 1rem;
}

.policy-card ul {
    font-size: var(--font-size-base);
    margin-bottom: 1.5rem;
}

.policy-card li {
    margin-bottom: 0.5rem;
}

.toc {
    position: sticky;
    top: 100px;
}

.toc h5 {
    font-size: var(--font-size-lg);
    margin-bottom: 1rem;
}

.toc-item {
    display: block;
    padding: 8px 15px;
    margin-bottom: 5px;
    border-radius: 5px;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: var(--font-size-base);
}

.toc-item:hover {
    background: #e9ecef;
    color: #495057;
}

.toc-item.active {
    background: var(--primary-gradient);
    color: white;
}

/* 页面加载动画 */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.loader-spinner i {
    font-size: 2.5rem;
    color: white;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 滚动进度条 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary-gradient);
    z-index: 9998;
    transition: width 0.3s ease;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9997;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 响应式字体调整 */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: var(--font-size-4xl);
    }
    
    .hero-section .lead {
        font-size: var(--font-size-lg);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .cta-section h2 {
        font-size: var(--font-size-3xl);
    }
    
    .cta-section .lead {
        font-size: var(--font-size-xl);
    }
    
    .stats-number {
        font-size: var(--font-size-3xl);
    }
    
    .policy-card .card-title {
        font-size: var(--font-size-2xl);
    }
    
    .policy-title {
        font-size: var(--font-size-xl);
    }
    
    .step {
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: var(--font-size-3xl);
    }
    
    .hero-section .lead {
        font-size: var(--font-size-base);
    }
    
    .section-title {
        font-size: var(--font-size-xl);
    }
    
    .cta-section h2 {
        font-size: var(--font-size-2xl);
    }
    
    .cta-section .lead {
        font-size: var(--font-size-lg);
    }
    
    .stats-number {
        font-size: var(--font-size-2xl);
    }
    
    .policy-card .card-title {
        font-size: var(--font-size-xl);
    }
    
    .policy-title {
        font-size: var(--font-size-lg);
    }
    
    .step {
        max-width: 120px;
    }
    
    .step > div:last-child {
        font-size: var(--font-size-xs);
    }
    
    .map-container {
        height: 300px;
    }
}