/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: #1A2036;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header Styles */
.header {
    background-color: #1A2036;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background-color: #213770;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    font-family: Arial, sans-serif;
}

.logo-text {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.whatsapp-btn {
    background-color: #FF8C00;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 100%;
    word-wrap: break-word;
}

.whatsapp-btn:hover {
    background-color: #FF7F00;
    transform: translateY(-2px);
}

.header-btn {
    font-size: 14px;
}

/* Page Content Wrapper */
.page-content-wrapper {
    width: 100%;
    margin: 0 auto;
    background-color: #000000;
}

/* Main Content */
.main {
    background-color: white;
    min-height: calc(100vh - 80px);
    margin-top: 80px; /* 为固定头部留出空间 */
    position: relative;
}

/* Hero Banner */
.hero-banner {
    background-color: #213770;
    padding: 25px 0;
    text-align: center;
}

.banner-title {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4;
}

.highlight {
    color: #87CEEB;
    font-weight: bold;
}

.banner-subtitle {
    color: white;
    font-size: 18px;
    font-weight: 400;
}

/* Main Image Section */
.main-image-section {
    padding: 25px 0;
    position: relative;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    background-color: #2c2c2c;
    min-height: 400px;
    max-width: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    pointer-events: none;
}

.overlay-text {
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    border: 2px solid #000;
    display: inline-block;
    max-width: fit-content;
}

.name-overlay {
    align-self: flex-start;
    margin-top: 20px;
}

.content-overlay {
    align-self: center;
    font-size: 12px;
    max-width: 80%;
    text-align: center;
}

/* Red Arrow */
.red-arrow {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 200px;
    height: 4px;
    background-color: #FF0000;
    transform: rotate(25deg);
    transform-origin: left center;
    z-index: 10;
}

.red-arrow::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid #FF0000;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* Content Section */
.content-section {
    padding: 30px 0;
    background-color: white;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.section-block {
    margin-bottom: 25px;
    text-align: center;
}

.section-title {
    color: #213770;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.section-description {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Community Section */
.community-section {
    text-align: left;
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
}

.community-title {
    color: #213770;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
}

.community-content {
    text-align: left;
}

.community-text {
    color: #333;
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.6;
}


/* 新增内容区域样式 */

/* 1. 顶部介绍区域 (白色背景) */
.intro-section {
    background-color: white;
    padding: 30px 0;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-title {
    color: #213770;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.3;
}

.intro-text {
    color: #333;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

/* 2. 主要蓝色特色区域 */
.features-blue-section {
    padding: 30px 0;
    background-color: white;
}

.blue-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    background-color: #213770;
    padding: 30px 25px;
    border-radius: 20px;
    color: white;
}

.blue-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.blue-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
}

.blue-subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
}

.features-blocks {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.feature-block {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.feature-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #28a745;
    background-color: #f8fff9;
}

.feature-number {
    background-color: #28a745;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-block:hover .feature-number {
    background-color: #1e7e34;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.feature-content {
    flex: 1;
}

.feature-title {
    color: #213770;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.feature-block:hover .feature-title {
    color: #28a745;
    transform: translateX(5px);
}

.feature-description {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    transition: all 0.3s ease;
}

.feature-block:hover .feature-description {
    color: #555;
    transform: translateX(5px);
}

.quote-section {
    margin-top: 25px;
}

.quote-text {
    font-size: 18px;
    font-style: italic;
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
}

/* 3. 绿色特色区域 */
.features-green-section {
    padding: 30px 0;
    background-color: white;
}

.green-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    background-color: #28a745;
    padding: 30px 25px;
    border-radius: 20px;
    color: white;
}

.green-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 25px;
    line-height: 1.3;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-text {
    color: white;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

/* 4. 底部社区欢迎区域 */
.bottom-community-section {
    background-color: #f8f9fa;
    padding: 30px 0;
    text-align: center;
}

.community-welcome {
    max-width: 600px;
    margin: 0 auto;
}

.welcome-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.welcome-title {
    color: #213770;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
}

.welcome-subtitle {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

/* 固定底部按钮 */
.fixed-bottom-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
}

.fixed-bottom-btn .whatsapp-btn {
    font-size: 18px;
    padding: 16px 32px;
    min-width: 280px;
    width: 100%;
    max-width: 400px;
}

/* 移动端图片优化 */
@media (max-width: 768px) {
    .main-image {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: cover;
        min-height: 300px;
    }
    
    .image-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .image-overlay {
        padding: 15px !important;
    }
    
    .overlay-text {
        font-size: 11px !important;
        padding: 5px 10px !important;
    }
    
    .red-arrow {
        width: 120px !important;
        top: 10px !important;
        left: 10px !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    * {
        box-sizing: border-box;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .whatsapp-btn {
        font-size: 13px;
        padding: 10px 20px;
        width: 100%;
        max-width: 280px;
    }
    
    .main {
        margin-top: 120px; /* 移动端头部更高 */
    }
    
    .banner-title {
        font-size: 18px;
        line-height: 1.3;
    }
    
    .banner-subtitle {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .community-title {
        font-size: 20px;
    }
    
    .community-text {
        font-size: 14px;
    }
    
    .red-arrow {
        width: 150px;
        top: 15px;
        left: 15px;
    }
    
    .overlay-text {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .content-overlay {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px 0;
    }
    
    .main {
        margin-top: 140px; /* 最小屏幕头部更高 */
    }
    
    .hero-banner {
        padding: 30px 0;
    }
    
    .banner-title {
        font-size: 18px;
    }
    
    .banner-subtitle {
        font-size: 14px;
    }
    
    .main-image-section {
        padding: 20px 0;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .community-section {
        padding: 20px;
        margin: 20px 0;
    }
    
    
    .fixed-bottom-btn {
        padding: 15px;
    }
    
    .fixed-bottom-btn .whatsapp-btn {
        font-size: 16px;
        padding: 14px 24px;
        min-width: 240px;
    }
    
    /* 底部社区欢迎区域响应式 */
    .bottom-community-section {
        padding: 40px 0;
    }
    
    .welcome-title {
        font-size: 24px;
    }
    
    .welcome-subtitle {
        font-size: 16px;
    }
    
    .welcome-icon svg {
        width: 50px;
        height: 50px;
    }
    
    /* 新增内容区域响应式 - 中等屏幕 */
    .intro-title {
        font-size: 28px;
    }
    
    .intro-text {
        font-size: 16px;
    }
    
    .blue-content {
        padding: 25px 20px;
    }
    
    .blue-title {
        font-size: 28px;
    }
    
    .blue-subtitle {
        font-size: 16px;
    }
    
    .green-content {
        padding: 25px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-block {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .feature-title {
        font-size: 20px;
    }
    
    .feature-description {
        font-size: 14px;
    }
    
    .feature-text {
        font-size: 15px;
    }
    
    .welcome-title {
        font-size: 24px;
    }
    
    .welcome-subtitle {
        font-size: 16px;
    }
}


/* 超小屏幕优化 */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }
    
    .banner-title {
        font-size: 14px;
    }
    
    .banner-subtitle {
        font-size: 12px;
    }
    
    .intro-title {
        font-size: 18px;
    }
    
    .intro-text {
        font-size: 13px;
    }
    
    .blue-title, .green-title {
        font-size: 18px;
    }
    
    .blue-subtitle {
        font-size: 13px;
    }
    
    .feature-title {
        font-size: 18px;
    }
    
    .feature-description {
        font-size: 13px;
    }
    
    .feature-text {
        font-size: 12px;
    }
    
    .welcome-title {
        font-size: 16px;
    }
    
    .welcome-subtitle {
        font-size: 12px;
    }
    
    .whatsapp-btn {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .image-container {
        margin: 0 5px;
    }
    
    .main-image {
        min-height: 250px;
    }
    
    .overlay-text {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .red-arrow {
        width: 100px;
        top: 8px;
        left: 8px;
    }
    
    .main-image {
        min-height: 200px !important;
    }
    
    .image-container {
        padding: 0 5px !important;
    }
}
