<?php
if(!defined('IN_CRONLITE'))exit();
require INDEX_ROOT.'head.php';
?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php echo $conf['sitename']?> - 免签约支付解决方案</title>
    <style>
        :root {
            --primary-color: #3498db;
            --secondary-color: #2ecc71;
            --accent-color: #e74c3c;
            --dark-color: #2c3e50;
            --light-color: #ecf0f1;
            --text-color: #333;
            --text-light: #7f8c8d;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Helvetica Neue', Arial, sans-serif;
        }
        
        body {
            color: var(--text-color);
            line-height: 1.6;
            overflow-x: hidden;
        }
        
        .btn {
            display: inline-block;
            padding: 12px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
            text-align: center;
            border: none;
            cursor: pointer;
        }
        
        .btn-primary {
            background: var(--primary-color);
            color: white;
        }
        
        .btn-primary:hover {
            background: #2980b9;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .btn-secondary {
            background: var(--secondary-color);
            color: white;
        }
        
        .btn-secondary:hover {
            background: #27ae60;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .btn-outline {
            background: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
        }
        
        .btn-outline:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-3px);
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        .row {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -15px;
        }
        
        .col-xs-12, .col-xs-6, .col-sm-4, .col-md-6, .col-md-4 {
            padding: 0 15px;
        }
        
        .col-xs-12 { width: 100%; }
        .col-xs-6 { width: 50%; }
        .col-sm-4 { width: 33.333%; }
        .col-md-6 { width: 50%; }
        .col-md-4 { width: 33.333%; }
        
        @media (max-width: 768px) {
            .col-xs-6, .col-sm-4, .col-md-6, .col-md-4 {
                width: 100%;
            }
        }
        
        .text-center {
            text-align: center;
        }
        
        .h3, .h4, .h5 {
            margin-bottom: 15px;
            font-weight: 700;
        }
        
        .h3 {
            font-size: 2.2rem;
            color: var(--dark-color);
        }
        
        .h4 {
            font-size: 1.5rem;
            color: var(--dark-color);
        }
        
        .h5 {
            font-size: 1.1rem;
            color: var(--text-light);
            font-weight: 400;
        }
        
        section {
            padding: 80px 0;
        }
        
        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--primary-color) 0%, #2c3e50 100%);
            color: white;
            padding: 120px 0;
            position: relative;
            overflow: hidden;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
            background-size: cover;
            background-position: center bottom;
        }
        
        .hero-content {
            position: relative;
            z-index: 1;
        }
        
        .hero-text {
            padding-left: 30px;
        }
        
        .hero-title {
            font-size: 3rem;
            margin-bottom: 20px;
            line-height: 1.2;
        }
        
        .hero-subtitle {
            font-size: 1.3rem;
            margin-bottom: 30px;
            opacity: 0.9;
        }
        
        .hero-image {
            text-align: center;
        }
        
        .hero-image img {
            max-width: 100%;
            height: auto;
            border-radius: 10px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
            transform: perspective(1000px) rotateY(5deg);
            transition: transform 0.5s ease;
        }
        
        .hero-image img:hover {
            transform: perspective(1000px) rotateY(0);
        }
        
        .hero-buttons {
            margin-top: 40px;
        }
        
        .hero-buttons .btn {
            margin-right: 15px;
            margin-bottom: 15px;
        }
        
        @media (max-width: 768px) {
            .hero {
                padding: 80px 0;
                text-align: center;
            }
            
            .hero-text {
                padding-left: 0;
                margin-bottom: 40px;
            }
            
            .hero-title {
                font-size: 2.2rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }
        }
        
        /* Features Section */
        .features {
            background: var(--light-color);
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }
        
        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--primary-color);
            margin: 15px auto;
            border-radius: 2px;
        }
        
        .feature-card {
            background: white;
            border-radius: 10px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            height: 100%;
            position: relative;
            overflow: hidden;
        }
        
        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: var(--primary-color);
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        
        .feature-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 25px;
            background: var(--light-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 2rem;
        }
        
        .feature-card:nth-child(2) .feature-icon {
            color: var(--secondary-color);
        }
        
        .feature-card:nth-child(3) .feature-icon {
            color: var(--accent-color);
        }
        
        /* Partners Section */
        .partners {
            background: white;
        }
        
        .partner-logos {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 40px;
        }
        
        .partner-logo {
            flex: 0 0 150px;
            text-align: center;
            opacity: 0.7;
            transition: all 0.3s ease;
        }
        
        .partner-logo:hover {
            opacity: 1;
            transform: scale(1.05);
        }
        
        .partner-logo img {
            max-width: 100%;
            height: auto;
            filter: grayscale(100%);
            transition: filter 0.3s ease;
        }
        
        .partner-logo:hover img {
            filter: grayscale(0);
        }
        
        /* Animation Classes */
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .partner-logos {
                gap: 30px;
            }
            
            .partner-logo {
                flex: 0 0 120px;
            }
        }
        
        @media (max-width: 576px) {
            .partner-logos {
                gap: 20px;
                justify-content: space-around;
                width: 100%;
                padding: 0 10px;
                box-sizing: border-box;
                margin: 0 auto;
                max-width: 400px;
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
                justify-items: center;
            }
            
            .partner-logo {
                flex: 0 0 100px;
            }
        }
    </style>
</head>
<body>
    <!-- Hero Section -->
    <section class="hero">
        <div class="container">
            <div class="row">
                <div class="col-md-6 hero-content">
                    <div class="hero-image fade-in">
                        <img src="<?php echo STATIC_ROOT?>images/banner4.png" alt="<?php echo $conf['sitename']?>支付平台" class="img-responsive">
                    </div>
                </div>
                <div class="col-md-6 hero-content">
                    <div class="hero-text fade-in">
                        <h1 class="hero-title">欢迎使用<?php echo $conf['sitename']?></h1>
                        <p class="hero-subtitle">提供免签约支付宝、微信支付解决方案，安全可靠，费率更低</p>
                        <div class="hero-buttons">
                            <a href="/user/" class="btn btn-primary">登录商户</a>
                            <a href="/user/reg.php" class="btn btn-secondary">注册商户</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    
    <!-- Features Section -->
    <section class="features">
        <div class="container">
            <div class="section-title fade-in">
                <h2 class="h3"><?php echo $conf['sitename']?>® 免签约支付产品</h2>
                <p class="h5">专业支付解决方案，助力您的业务发展</p>
            </div>
            <div class="row">
                <div class="col-sm-4">
                    <div class="feature-card fade-in">
                        <div class="feature-icon">
                            <i class="fas fa-money-bill-wave"></i>
                        </div>
                        <h3 class="h4">多种支付方式</h3>
                        <p class="h5">支持财付通、支付宝、微信、QQ钱包等多种主流支付渠道</p>
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="feature-card fade-in">
                        <div class="feature-icon">
                            <i class="fas fa-percentage"></i>
                        </div>
                        <h3 class="h4">对接费率超低</h3>
                        <p class="h5">每笔交易手续费低至2%，比其它平台更便宜，节省您的成本</p>
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="feature-card fade-in">
                        <div class="feature-icon">
                            <i class="fas fa-wallet"></i>
                        </div>
                        <h3 class="h4">无需自主提现</h3>
                        <p class="h5">满一定金额即可自动提现到您的支付宝账号，省心省力</p>
                    </div>
                </div>
            </div>
        </div>
    </section>
    
    <!-- Partners Section -->
    <section class="partners">
        <div class="container">
            <div class="section-title fade-in">
                <h2 class="h3">平台合作伙伴</h2>
                <p class="h5">与主流支付平台深度合作，保障您的资金安全</p>
            </div>
            <div class="partner-logos">
                <div class="partner-logo fade-in">
                    <img src="<?php echo STATIC_ROOT?>images/alipay.png" alt="支付宝">
                </div>
                <div class="partner-logo fade-in">
                    <img src="<?php echo STATIC_ROOT?>images/wxpay.png" alt="微信支付">
                </div>
                <div class="partner-logo fade-in">
                    <img src="<?php echo STATIC_ROOT?>images/qqpay.png" alt="QQ钱包">
                </div>
                <div class="partner-logo fade-in">
                    <img src="<?php echo STATIC_ROOT?>images/tenpay.png" alt="财付通">
                </div>
            </div>
        </div>
    </section>
    
    <script>
        // 简单的滚动动画效果
        document.addEventListener('DOMContentLoaded', function() {
            const fadeElements = document.querySelectorAll('.fade-in');
            
            const fadeInObserver = new IntersectionObserver((entries) => {
                entries.forEach(entry => {
                    if (entry.isIntersecting) {
                        entry.target.classList.add('visible');
                    }
                });
            }, { threshold: 0.1 });
            
            fadeElements.forEach(element => {
                fadeInObserver.observe(element);
            });
        });
    </script>
    
    <!-- Font Awesome 图标库 -->
    <script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script>
</body>
</html>

<?php require INDEX_ROOT.'foot.php';?>