/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f59e0b;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

.nav-menu a:hover {
    color: #f59e0b;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主页横幅 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #f59e0b;
    color: white;
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #f59e0b;
}

.hero-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    backdrop-filter: blur(10px);
}

.hero-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.hero-placeholder h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.hero-placeholder p {
    font-size: 1rem;
    opacity: 0.8;
}

/* 商家案例 */
.cases {
    padding: 80px 0;
    background: #f8fafc;
}

.cases h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1e293b;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.case-card:hover {
    transform: translateY(-10px);
}

.case-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.case-placeholder {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

.case-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.case-card:hover .case-placeholder {
    transform: scale(1.05);
    transition: transform 0.3s;
}

.case-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
}

.case-category {
    background: rgba(245, 158, 11, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.case-content {
    padding: 30px;
}

.case-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.case-description {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.case-stats {
    display: flex;
    gap: 30px;
}

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

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #f59e0b;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
}

/* 经营工具 */
.tools {
    padding: 80px 0;
}

.tools h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1e293b;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tool-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    border-left: 4px solid #f59e0b;
}

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

.tool-icon {
    background: #f59e0b;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.tool-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.tool-card p {
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
}

.tool-features {
    list-style: none;
    text-align: left;
}

.tool-features li {
    padding: 8px 0;
    color: #64748b;
    position: relative;
    padding-left: 20px;
}

.tool-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
}

/* 收款方案 */
.solutions {
    padding: 80px 0;
    background: #f8fafc;
}

.solutions h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1e293b;
}

.solutions-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    background: #f59e0b;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1e293b;
}

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

.solution-demo {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.demo-container h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #1e293b;
}

.qr-demo {
    margin-bottom: 20px;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.qr-placeholder i {
    font-size: 4rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.qr-placeholder span {
    font-size: 1rem;
    font-weight: 600;
}

.demo-info p {
    color: #64748b;
    margin-bottom: 20px;
}

.payment-methods {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.payment-method {
    background: #f1f5f9;
    color: #f59e0b;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 商户入驻 */
.join {
    padding: 80px 0;
}

.join h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1e293b;
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.join-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.join-info p {
    color: #64748b;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.join-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    background: #f59e0b;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #1e293b;
}

.step-content p {
    color: #64748b;
    margin: 0;
}

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

.join-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #1e293b;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e293b;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #f59e0b;
}

/* 客户支持 */
.support {
    padding: 80px 0;
    background: #f8fafc;
}

.support h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1e293b;
}

.support-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.support-channels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.channel-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.channel-item:hover {
    transform: translateY(-5px);
}

.channel-item i {
    background: #f59e0b;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.channel-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.channel-info p {
    color: #64748b;
    margin-bottom: 5px;
}

.channel-info span {
    font-size: 0.9rem;
    color: #94a3b8;
}

.support-faq {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.support-faq h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #1e293b;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
}

.faq-question i {
    color: #f59e0b;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 0 20px;
    color: #64748b;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 页脚 */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #f1f5f9;
}

.footer-section p {
    color: #94a3b8;
    margin-bottom: 10px;
}

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

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

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
    color: #94a3b8;
}

.footer-links {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #f59e0b;
}

.footer-links .separator {
    color: #64748b;
    font-size: 0.8rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .solutions-content {
        grid-template-columns: 1fr;
    }
    
    .join-content {
        grid-template-columns: 1fr;
    }
    
    .support-content {
        grid-template-columns: 1fr;
    }
    
    .support-channels {
        grid-template-columns: 1fr;
    }
    
    .cases h2,
    .tools h2,
    .solutions h2,
    .join h2,
    .support h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .join-form {
        padding: 30px 20px;
    }
    
    .support-faq {
        padding: 30px 20px;
    }
} 