* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* Header */
.header {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: transparent;
    text-decoration: none;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    width: 100px;
    height: 40px;
    justify-content: flex-start;
    letter-spacing: 1px;
    padding-left: 32px;
    position: relative;
}

.logo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-image: url('logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

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

.nav-links a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #4f46e5;
}

/* Hero Section */
.hero-section {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Section */
.search-section {
    padding: 3rem 2rem;
    background: #f8fafc;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.search-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.search-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 50px;
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-btn {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #4338ca;
}

/* Features Section */
.features-section {
    padding: 4rem 2rem;
    background: white;
}

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

.features-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.feature-desc {
    color: #64748b;
    line-height: 1.6;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* CTA Section */
.cta-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.cta-section .container:first-child {
    text-align: center;
    margin-bottom: 3rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-main-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cta-item {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.cta-left {
    flex: 1;
    text-align: center;
}

.cta-right {
    flex: 1;
    text-align: center;
}

.qr-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.qr-code {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 10px;
    background-image: url('echo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

.qr-code.gzh {
    background-image: url('gzh.jpg');
}

.qr-code::before {
    content: '';
}

.qr-text {
    font-size: 1rem;
    opacity: 0.8;
    transition: font-size 0.3s ease;
}

/* WeChat Official Account Section */
.wechat-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4rem 0;
    margin-top: 4rem;
}

.wechat-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 0 auto;
}

.cta-right .wechat-container {
    flex-direction: row;
    text-align: left;
    gap: 2rem;
    align-items: flex-start;
}

.cta-right .wechat-info {
    text-align: left;
}

.wechat-qr {
    text-align: center;
    flex-shrink: 0;
}

.cta-right .wechat-qr {
    text-align: center;
}

.wechat-qr-code {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 1rem;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wechat-qr-code img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.wechat-text {
    font-size: 1rem;
    margin: 0;
    opacity: 0.8;
    transition: font-size 0.3s ease;
}

.wechat-info {
    flex: 1;
}

.wechat-info h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.wechat-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.wechat-info li {
    padding: 0.5rem 0;
    font-size: 1rem;
    opacity: 0.9;
}

.wechat-tip {
    font-size: 0.95rem;
    opacity: 0.8;
    font-style: italic;
    margin: 0;
}

.footer {
    background: #1e293b;
    color: #94a3b8;
    text-align: center;
    padding: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

/* 响应式设计 */
/* 平板设备 */
@media (max-width: 1024px) {
    .cta-main-container {
        gap: 2rem;
    }
    
    .cta-item {
        min-width: 250px;
    }
    
    .qr-container {
        gap: 2rem;
    }
    
    .qr-code, .wechat-qr-code {
        width: 130px;
        height: 130px;
    }
}

/* 小平板和大手机 */
@media (max-width: 768px) {
    .nav {
        padding: 0 1rem;
    }
    .nav-links {
        display: none;
    }
    .hero-section {
        padding: 6rem 1rem 3rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .search-section {
        padding: 2rem 1rem;
    }
    .search-title {
        font-size: 2rem;
    }
    .search-box {
        flex-direction: column;
        border-radius: 15px;
    }
    .search-input {
        border-radius: 15px 15px 0 0;
    }
    .search-btn {
        border-radius: 0 0 15px 15px;
    }
    .features-section {
        padding: 3rem 1rem;
    }
    .features-title {
        font-size: 2rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .cta-section {
        padding: 3rem 1rem;
    }
    .cta-title {
        font-size: 2rem;
    }
    .cta-main-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .cta-item {
        min-width: auto;
        width: 100%;
    }
    
    .cta-right .wechat-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        align-items: center;
    }
    .qr-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .wechat-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .qr-code, .wechat-qr-code {
        width: 120px;
        height: 120px;
    }
}

/* 手机设备 */
@media (max-width: 480px) {
    .cta-section {
        padding: 2rem 1rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-main-container {
        gap: 2rem;
    }
    
    .qr-container {
        gap: 1rem;
    }
    
    .qr-code, .wechat-qr-code {
        width: 100px;
        height: 100px;
    }
    
    .qr-text, .wechat-text {
        font-size: 0.9rem;
    }
    
    .wechat-info h4 {
        font-size: 1.1rem;
    }
    
    .wechat-info li {
        font-size: 0.9rem;
    }
}

/* 超小屏幕 */
@media (max-width: 320px) {
    .qr-code, .wechat-qr-code {
        width: 80px;
        height: 80px;
    }
    
    .qr-text, .wechat-text {
        font-size: 0.8rem;
    }
    
    .cta-main-container {
        gap: 1.5rem;
    }
}

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

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}