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

:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e67e22;
    --text-color: #333;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

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

/* Header */
.main-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s;
}

/* Hero Banner - 参考千管家风格 */
.hero-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 50px;
    opacity: 0.95;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

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

.stat-box .stat-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    line-height: 1;
}

.stat-box .stat-label {
    font-size: 16px;
    opacity: 0.9;
    color: rgba(255,255,255,0.9);
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 用户类型区域 */
.user-types-section {
    padding: 80px 20px;
    background: white;
}

.user-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.user-type-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.user-type-card:hover {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.user-type-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.user-type-card h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.user-type-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

/* 痛点展示区域 */
.pain-points-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.pain-points-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.pain-point-tab {
    padding: 12px 24px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
    color: var(--text-color);
    font-weight: 500;
}

.pain-point-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pain-point-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pain-point-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.pain-point-content.active {
    display: block;
}

.pain-point-content h3 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.pain-point-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.pain-point-content .btn {
    margin-top: 30px;
}

/* 服务区域增强 */
.service-features {
    list-style: none;
    text-align: left;
    margin: 20px 0;
    padding: 0;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: bold;
}

/* 核心优势区域 */
.advantages-section {
    padding: 80px 20px;
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-card {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s;
}

.advantage-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

/* Sections */
.section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.intro-section {
    background: var(--bg-light);
}

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

.intro-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.intro-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Services */
.services-section {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.service-link:hover {
    text-decoration: underline;
}

/* Stats */
.stats-section {
    background: var(--secondary-color);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

/* Partners */
.partners-section {
    background: var(--bg-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.partner-item img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

/* News */
.news-section {
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: row;
    height: 100%;
}

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

.news-image-wrapper {
    width: 200px;
    min-width: 200px;
    height: 150px;
    min-height: 150px;
    flex-shrink: 0;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #f0f0f0;
}

.news-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.news-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
    margin-bottom: 10px;
}

.news-content h3 {
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
}

.news-content h3 a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 600;
}

.news-content h3 a:hover {
    color: #357ABD;
    text-decoration: underline;
}

.news-content p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 15px;
    flex: 1;
}

.news-meta {
    margin-top: auto;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
}

/* CTA Section - 白色卡片样式 */
.cta-section {
    background: white;
    padding: 60px 20px;
    position: relative;
}

.cta-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 50px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.cta-left {
    color: #333;
    position: relative;
}

.cta-left h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: left;
    color: #2c3e50;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
    text-align: left;
    color: #666;
    line-height: 1.7;
}

.cta-features-list {
    margin: 0 0 25px 0;
}

.cta-feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.cta-feature-icon {
    font-size: 20px;
    margin-right: 12px;
    width: 26px;
    text-align: center;
    display: inline-block;
    line-height: 1;
}

.cta-btn {
    display: inline-block;
    background: #4A90E2;
    color: white;
    padding: 13px 42px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(74, 144, 226, 0.3);
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    background: #357ABD;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

.cta-upload-hint {
    color: #999;
    font-size: 13px;
    margin: 0;
    line-height: 1.6;
}

.cta-right {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-qrcode {
    display: inline-block;
}

.cta-qrcode img {
    width: 250px;
    height: 250px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: block;
    padding: 10px;
}

.qrcode-caption {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    max-width: 270px;
}

.qrcode-placeholder {
    width: 250px;
    height: 250px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    background: #f8f9fa;
}

/* Footer */
.main-footer {
    background: var(--secondary-color);
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

.footer-bottom a:hover {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-box .stat-number {
        font-size: 32px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section {
        padding: 50px 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .services-grid,
    .news-grid,
    .user-types-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-image-wrapper {
        width: 100%;
        min-width: 100%;
        height: 200px;
        min-height: 200px;
    }
    
    .pain-points-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pain-point-tab {
        text-align: center;
    }
    
    .pain-point-content {
        padding: 30px 20px;
    }
    
    .cta-wrapper {
        grid-template-columns: 1fr;
        padding: 60px 20px;
        gap: 50px;
    }
    
    .cta-wrapper {
        grid-template-columns: 1fr;
        padding: 80px 20px 60px;
        gap: 50px;
    }
    
    .cta-left {
        padding-left: 0;
    }
    
    .cta-section {
        padding: 50px 20px;
    }
    
    .cta-wrapper {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        gap: 40px;
    }
    
    .cta-left h2 {
        font-size: 28px;
        text-align: center;
    }
    
    .cta-subtitle {
        text-align: center;
    }
    
    .cta-features-list {
        text-align: center;
    }
    
    .cta-feature-item {
        justify-content: center;
    }
    
    .cta-btn {
        display: block;
        text-align: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 12px;
    }
    
    .cta-upload-hint {
        text-align: center;
    }
}

/* 右侧浮动工具栏 - 参考千管家样式 */
.floating-sidebar {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-item {
    width: 56px;
    min-height: 56px;
    background: white;
    border: 1px solid #4A90E2;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    padding: 8px 0;
    box-sizing: border-box;
}

.floating-item:hover {
    background: #f0f7ff;
    border-color: #357ABD;
}

.floating-icon-img {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    display: block;
}

.floating-text {
    font-size: 12px;
    color: #4A90E2;
    line-height: 1.2;
    text-align: center;
    margin-top: 2px;
}

.floating-item:last-child .floating-text {
    display: none;
}

/* 二维码弹窗 - 参考千管家样式 */
.qrcode-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.qrcode-modal-content {
    background: white;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    max-width: 280px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.qrcode-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qrcode-modal-close:hover {
    color: #333;
}

.qrcode-modal-body {
    text-align: center;
    padding-top: 5px;
}

.qrcode-modal-body img {
    width: 180px;
    height: 180px;
    border: none;
    border-radius: 4px;
    display: block;
    margin: 0 auto 12px;
    background: white;
}

.qrcode-placeholder-large {
    width: 180px;
    height: 180px;
    border: 1px dashed #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    background: #f8f9fa;
}

.qrcode-modal-text {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .floating-sidebar {
        right: 15px;
        bottom: 60px;
    }
    
    .floating-item {
        width: 50px;
        min-height: 50px;
    }
    
    .floating-icon-img {
        width: 20px;
        height: 20px;
    }
    
    .floating-text {
        font-size: 11px;
    }
    
    .qrcode-modal-content {
        padding: 18px;
        max-width: 260px;
    }
    
    .qrcode-modal-body img,
    .qrcode-placeholder-large {
        width: 160px;
        height: 160px;
    }
}

