* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #166935;
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* 头部样式 */
.header {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.tagline {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 300;
}

/* 主要内容样式 */
.main-content {
    text-align: center;
    width: 100%;
    max-width: 1980px;
}

/* 桌面端图片展示 */
.desktop-image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1980px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.desktop-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); */
    /* transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease; */
    object-fit: contain;
    cursor: pointer;
    opacity: 1;
}

/* 手机端图片展示 - 默认隐藏 */
.mobile-image-section {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.mobile-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain;
    cursor: pointer;
    opacity: 1;
}

.mobile-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* 底部大图片展示 */
.bottom-image-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 500;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    padding: 0;
    background: rgba(22, 105, 53, 0.1);
    backdrop-filter: blur(5px);
    animation: slideUpFromBottom 1s ease-out 0.5s both;
}

.bottom-image {
    width: 100%;
    height: auto;
    max-height: 15vh;
    min-height: 60px;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
    cursor: pointer;
    opacity: 1;
    margin: 0;
}

.bottom-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* 响应式底部图片高度 */
@media (max-width: 768px) {
    .bottom-image-section {
        padding: 0;
    }
    
    .bottom-image {
        max-height: 12vh;
        min-height: 50px;
    }
}

@media (max-width: 480px) {
    .bottom-image-section {
        padding: 0;
    }
    
    .bottom-image {
        max-height: 10vh;
        min-height: 40px;
    }
}

/* 移动端内容 - 现在完全隐藏 */
.mobile-content {
    display: none;
}

.hero-section {
    margin-bottom: 60px;
}

.main-title {
    margin-bottom: 40px;
}

.title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.title-text {
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.search-box {
    background: white;
    color: #4CAF50;
    padding: 15px 25px;
    border-radius: 15px;
    font-size: 4rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: relative;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-text {
    display: inline-block;
}

/* 二维码区域 */
.qr-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.qr-code {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.qr-image-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.wechat-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.wechat-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-icon i {
    color: white;
    font-size: 20px;
}

.wechat-text {
    font-size: 14px;
    opacity: 0.9;
}

.search-btn {
    background: #4CAF50;
    border: 2px solid white;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: white;
    color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* 底部导航 */
.bottom-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.nav-items {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 15px;
}

.nav-item {
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.3);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.nav-item:active {
    transform: scale(0.95);
}

.platform-text {
    font-size: 16px;
    opacity: 0.8;
    font-weight: 300;
}

/* 响应式设计 - 平板 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header {
        top: 20px;
        left: 20px;
    }
    
    .logo-image {
        height: 35px;
        width: auto;
        max-width: 150px;
        object-fit: contain;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    /* 在平板上仍然显示桌面图片 */
    .desktop-image-section {
        display: flex;
        padding: 20px;
    }
    
    .desktop-image {
        border-radius: 12px;
    }
    
    /* 平板端隐藏手机图片和移动内容 */
    .mobile-image-section {
        display: none;
    }
    
    .mobile-content {
        display: none;
    }
    
    /* 平板端底部图片样式 */
    .bottom-image-section {
        margin: 30px auto 0;
        padding: 0 20px;
    }
    
    .bottom-image {
        border-radius: 12px;
    }
    
    .title-text {
        font-size: 3rem;
    }
    
    .search-box {
        font-size: 3rem;
        padding: 12px 20px;
    }
    
    .qr-section {
        gap: 20px;
    }
    
    .qr-code {
        width: 100px;
        height: 100px;
    }
    
    .nav-items {
        gap: 30px;
    }
    
    .nav-item {
        font-size: 16px;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 480px) {
    .container {
        padding: 10px;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
    }
    
    .header {
        display: none;
    }
    
    .logo-section {
        align-items: center;
    }

    /* 手机端隐藏桌面图片，显示手机图片 */
    .desktop-image-section {
        display: none;
    }
    
    .mobile-image-section {
        display: flex;
        padding: 20px;
        margin-top: 20px;
    }
    
    .mobile-image {
        border-radius: 12px;
        max-width: 95%;
    }
    
    /* 手机端隐藏原始移动内容 */
    .mobile-content {
        display: none;
    }
    
    /* 手机端隐藏底部图片 */
    .bottom-image-section {
        display: none;
    }
    
    .bottom-image {
        border-radius: 12px;
        max-width: 95%;
    }
    
    .title-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .title-text {
        font-size: 2.5rem;
    }
    
    .search-box {
        font-size: 2.5rem;
        padding: 10px 18px;
        margin: 0;
    }
    
    .qr-section {
        display: none;
    }
    
    .qr-code {
        width: 120px;
        height: 120px;
    }
    
    .bottom-nav {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 40px;
    }
    
    .nav-items {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .nav-item {
        font-size: 15px;
        padding: 6px 12px;
    }
    
    .platform-text {
        font-size: 14px;
        margin-top: 15px;
    }
}

/* 特殊动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section {
    animation: fadeInUp 1s ease-out;
}

.qr-section {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.bottom-nav {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.search-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.search-box:active {
    transform: scale(0.98);
}

/* 微信公众号弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #4CAF50;
    color: white;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 20px;
}

/* 手机模拟器样式 */
.phone-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-screen {
    width: 280px;
    background: #f8f8f8;
    border-radius: 15px;
    padding: 20px 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid #ddd;
}

.wechat-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #07c160;
    color: white;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
}

.wechat-icon {
    font-size: 20px;
}

.wechat-title {
    font-size: 16px;
}

.qr-container {
    text-align: center;
    margin-bottom: 20px;
}

.qr-code-large {
    width: 160px;
    height: 160px;
    background: white;
    border-radius: 10px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #eee;
    overflow: hidden;
}

.qr-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.qr-placeholder-large {
    width: 140px;
    height: 140px;
    background: #f0f0f0;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
}

.qr-placeholder-large::before {
    content: '';
    position: absolute;
    width: 85%;
    height: 85%;
    background: 
        linear-gradient(45deg, #ddd 25%, transparent 25%), 
        linear-gradient(-45deg, #ddd 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #ddd 75%), 
        linear-gradient(-45deg, transparent 75%, #ddd 75%);
    background-size: 12px 12px;
    background-position: 0 0, 0 6px, 6px -6px, -6px 0px;
}

.qr-placeholder-large::after {
    content: '二维码';
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

.qr-text h3 {
    color: #4CAF50;
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.qr-text p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.qr-desc {
    color: #999 !important;
    font-size: 12px !important;
}

.scan-tip {
    text-align: center;
    background: #e8f5e8;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #c8e6c9;
}

.scan-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.scan-tip p {
    margin: 0;
    color: #4CAF50;
    font-size: 14px;
    font-weight: 500;
}

.modal-footer {
    padding: 15px 20px;
    background: #f8f8f8;
    border-top: 1px solid #eee;
    text-align: center;
}

.close-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.close-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.close-btn:active {
    transform: translateY(0);
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 手机端弹窗优化 */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .phone-screen {
        width: 100%;
        max-width: 260px;
    }
    
    .qr-code-large {
        width: 140px;
        height: 140px;
    }
    
    .qr-placeholder-large {
        width: 120px;
        height: 120px;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .modal-title {
        font-size: 16px;
    }
}

@keyframes slideUpFromBottom {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 