<?php
/**
 * SEO Landing Page: Land Management Software
 * Target Keywords: land management software, land administration software, land record management
 */

// Page-specific SEO
$page_seo = [
    'title' => 'Land Management Software - Manage Plots, Sales & Payments | LandSalesPro',
    'description' => 'Professional land management software for land developers, real estate agents and property investors. Manage thousands of plots, track sales, payments and generate reports easily.',
    'keywords' => 'land management software, land administration software, land record management system, land information system, plot management software, land parcel management, real estate land software, land developer software, property management system',
    'url' => 'https://landsalespro.landsecure.co.tz/land-management-software'
];

require_once __DIR__ . '/../config.php';
require_once __DIR__ . '/../includes/seo.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <?php outputSeoMeta($seo); ?>

    <!-- Hreflang for multilingual -->
    <?php outputHreflangTags('https://landsalespro.landsecure.co.tz', 'land-management-software'); ?>

    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>
        :root {
            --primary: #667eea;
            --primary-dark: #5a67d8;
            --secondary: #2d5a3d;
            --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        * { font-family: 'Inter', sans-serif; }
        body { background: #f8fafc; }

        .hero-section {
            background: var(--gradient);
            padding: 100px 0 80px;
            color: white;
        }
        .hero-section h1 {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 24px;
        }
        .hero-section p {
            font-size: 1.25rem;
            opacity: 0.9;
            max-width: 600px;
        }
        .btn-cta {
            background: white;
            color: var(--primary);
            padding: 16px 40px;
            font-weight: 600;
            border-radius: 50px;
            font-size: 1.1rem;
            transition: all 0.3s;
        }
        .btn-cta:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }
        .btn-outline-cta {
            border: 2px solid white;
            color: white;
            padding: 14px 40px;
            font-weight: 600;
            border-radius: 50px;
            margin-left: 16px;
        }
        .btn-outline-cta:hover {
            background: white;
            color: var(--primary);
        }

        .section { padding: 80px 0; }
        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 16px;
            color: #1e293b;
        }
        .section-subtitle {
            color: #64748b;
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto 48px;
        }

        .problem-card {
            background: white;
            border-radius: 16px;
            padding: 32px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
            height: 100%;
            border-left: 4px solid #ef4444;
        }
        .problem-card i {
            font-size: 2rem;
            color: #ef4444;
            margin-bottom: 16px;
        }
        .problem-card h4 {
            font-weight: 600;
            margin-bottom: 12px;
        }

        .feature-card {
            background: white;
            border-radius: 16px;
            padding: 32px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
            height: 100%;
            transition: all 0.3s;
        }
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        }
        .feature-card .icon {
            width: 60px;
            height: 60px;
            background: var(--gradient);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }
        .feature-card .icon i {
            font-size: 1.5rem;
            color: white;
        }
        .feature-card h4 {
            font-weight: 600;
            margin-bottom: 12px;
        }
        .feature-card p {
            color: #64748b;
        }

        .stats-section {
            background: var(--gradient);
            padding: 60px 0;
            color: white;
        }
        .stat-item h2 {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 8px;
        }
        .stat-item p {
            opacity: 0.9;
        }

        .testimonial-card {
            background: white;
            border-radius: 16px;
            padding: 32px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        }
        .testimonial-card .stars {
            color: #f59e0b;
            margin-bottom: 16px;
        }
        .testimonial-card .author {
            display: flex;
            align-items: center;
            margin-top: 20px;
        }
        .testimonial-card .author img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin-right: 16px;
            background: var(--gradient);
        }

        .cta-section {
            background: #1e293b;
            padding: 80px 0;
            color: white;
        }
        .cta-section h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 16px;
        }

        .footer {
            background: #0f172a;
            color: white;
            padding: 60px 0 30px;
        }
        .footer a { color: #94a3b8; text-decoration: none; }
        .footer a:hover { color: white; }

        .cross-link {
            background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
            padding: 40px;
            border-radius: 16px;
            color: white;
            margin: 40px 0;
        }
    </style>
</head>
<body>
    <!-- Navigation -->
    <nav class="navbar navbar-expand-lg navbar-dark" style="background: var(--gradient); padding: 16px 0;">
        <div class="container">
            <a class="navbar-brand fw-bold fs-4" href="/">
                <i class="fas fa-map-marked-alt me-2"></i>LandSalesPro
            </a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav ms-auto">
                    <li class="nav-item"><a class="nav-link" href="/features">Features</a></li>
                    <li class="nav-item"><a class="nav-link" href="/pricing">Pricing</a></li>
                    <li class="nav-item"><a class="nav-link" href="https://landsecure.co.tz">Land Scanner</a></li>
                    <li class="nav-item"><a class="nav-link" href="/login">Login</a></li>
                    <li class="nav-item"><a class="btn btn-light ms-2" href="/register">Start Free Trial</a></li>
                </ul>
            </div>
        </div>
    </nav>

    <!-- Hero Section -->
    <section class="hero-section">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-lg-6">
                    <h1>Land Management Software for Land Sellers</h1>
                    <p class="mb-4">
                        The complete platform for managing land plots, tracking sales,
                        collecting payments and growing your land business. Used by
                        developers across Africa.
                    </p>
                    <a href="/register" class="btn btn-cta">Start Free Trial</a>
                    <a href="/features" class="btn btn-outline-cta">See Features</a>
                </div>
                <div class="col-lg-6 text-center">
                    <img src="/assets/images/dashboard-preview.png" alt="Land Management Software Dashboard"
                         class="img-fluid rounded-4 shadow-lg" style="max-height: 400px;">
                </div>
            </div>
        </div>
    </section>

    <!-- Problems Section -->
    <section class="section">
        <div class="container">
            <div class="text-center mb-5">
                <h2 class="section-title">Problems Land Developers Face</h2>
                <p class="section-subtitle">Without proper software, land businesses struggle with these common challenges</p>
            </div>
            <div class="row g-4">
                <div class="col-md-4">
                    <div class="problem-card">
                        <i class="fas fa-exclamation-triangle"></i>
                        <h4>Losing Track of Plots</h4>
                        <p>Managing hundreds of plots on spreadsheets leads to errors, lost data and confusion about which plots are available.</p>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="problem-card">
                        <i class="fas fa-users-slash"></i>
                        <h4>Double Selling Land</h4>
                        <p>Without a central system, the same plot can accidentally be sold to multiple buyers, causing legal disputes.</p>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="problem-card">
                        <i class="fas fa-money-bill-wave"></i>
                        <h4>Payment Tracking Issues</h4>
                        <p>Tracking installment payments manually leads to missed payments, wrong balances and unhappy customers.</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Solution Section -->
    <section class="section" style="background: #f1f5f9;">
        <div class="container">
            <div class="text-center mb-5">
                <h2 class="section-title">How LandSalesPro Solves These Problems</h2>
                <p class="section-subtitle">Our land management software gives you complete control over your land business</p>
            </div>
            <div class="row g-4">
                <div class="col-md-4">
                    <div class="feature-card">
                        <div class="icon"><i class="fas fa-th-large"></i></div>
                        <h4>Plot Management</h4>
                        <p>Manage thousands of plots with visual grid view. See available, reserved and sold plots at a glance.</p>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="feature-card">
                        <div class="icon"><i class="fas fa-handshake"></i></div>
                        <h4>Sales Tracking</h4>
                        <p>Record every sale with buyer details, payment plans and contracts. Never lose a sale record again.</p>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="feature-card">
                        <div class="icon"><i class="fas fa-credit-card"></i></div>
                        <h4>Payment Installments</h4>
                        <p>Set up payment schedules, track installments and send automatic reminders to buyers.</p>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="feature-card">
                        <div class="icon"><i class="fas fa-user-tie"></i></div>
                        <h4>Agent Commissions</h4>
                        <p>Track sales by agents, calculate commissions automatically and generate payment reports.</p>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="feature-card">
                        <div class="icon"><i class="fas fa-receipt"></i></div>
                        <h4>Expense Management</h4>
                        <p>Record all project expenses, categorize costs and track profit/loss for each project.</p>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="feature-card">
                        <div class="icon"><i class="fas fa-chart-bar"></i></div>
                        <h4>Reports & Analytics</h4>
                        <p>Generate sales reports, payment reports, agent performance and profit/loss statements.</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Stats Section -->
    <section class="stats-section">
        <div class="container">
            <div class="row text-center">
                <div class="col-md-3">
                    <div class="stat-item">
                        <h2>500+</h2>
                        <p>Land Developers</p>
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="stat-item">
                        <h2>50,000+</h2>
                        <p>Plots Managed</p>
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="stat-item">
                        <h2>$10M+</h2>
                        <p>Sales Tracked</p>
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="stat-item">
                        <h2>15</h2>
                        <p>African Countries</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Who Uses Section -->
    <section class="section">
        <div class="container">
            <div class="text-center mb-5">
                <h2 class="section-title">Who Uses Land Management Software?</h2>
            </div>
            <div class="row g-4">
                <div class="col-md-3 text-center">
                    <div class="p-4">
                        <i class="fas fa-building fa-3x text-primary mb-3"></i>
                        <h5>Land Developers</h5>
                        <p class="text-muted">Managing large estates with hundreds of plots</p>
                    </div>
                </div>
                <div class="col-md-3 text-center">
                    <div class="p-4">
                        <i class="fas fa-user-tie fa-3x text-primary mb-3"></i>
                        <h5>Real Estate Agents</h5>
                        <p class="text-muted">Selling plots for multiple developers</p>
                    </div>
                </div>
                <div class="col-md-3 text-center">
                    <div class="p-4">
                        <i class="fas fa-landmark fa-3x text-primary mb-3"></i>
                        <h5>Investment Groups</h5>
                        <p class="text-muted">Managing land portfolios</p>
                    </div>
                </div>
                <div class="col-md-3 text-center">
                    <div class="p-4">
                        <i class="fas fa-ruler-combined fa-3x text-primary mb-3"></i>
                        <h5>Surveyors</h5>
                        <p class="text-muted">Working with land developers</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Cross-link to LandScanner -->
    <section class="section" style="background: #f1f5f9;">
        <div class="container">
            <div class="cross-link">
                <div class="row align-items-center">
                    <div class="col-md-8">
                        <h3><i class="fas fa-satellite me-2"></i>Need Land Mapping & Conflict Detection?</h3>
                        <p class="mb-0">Use our partner platform LandSecure for land boundary scanning, polygon mapping and land conflict detection.</p>
                    </div>
                    <div class="col-md-4 text-md-end">
                        <a href="https://landsecure.co.tz" class="btn btn-light btn-lg">Visit LandSecure</a>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Testimonials -->
    <section class="section">
        <div class="container">
            <div class="text-center mb-5">
                <h2 class="section-title">What Our Customers Say</h2>
            </div>
            <div class="row g-4">
                <div class="col-md-4">
                    <div class="testimonial-card">
                        <div class="stars">
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                        </div>
                        <p>"This software helped us manage 3,000 plots across 5 projects. We reduced errors by 90% and our sales team loves it."</p>
                        <div class="author">
                            <div style="width: 50px; height: 50px; background: var(--gradient); border-radius: 50%;"></div>
                            <div>
                                <strong>John Mwamba</strong>
                                <p class="text-muted mb-0">CEO, Green Valley Estate</p>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="testimonial-card">
                        <div class="stars">
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                        </div>
                        <p>"Payment tracking used to be a nightmare. Now we know exactly who owes what and when. Our collection improved 60%."</p>
                        <div class="author">
                            <div style="width: 50px; height: 50px; background: var(--gradient); border-radius: 50%;"></div>
                            <div>
                                <strong>Sarah Kimani</strong>
                                <p class="text-muted mb-0">Director, Sunrise Properties</p>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="testimonial-card">
                        <div class="stars">
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                        </div>
                        <p>"Best investment we made. The visual plot grid alone saves us hours every day. Highly recommend for any land seller."</p>
                        <div class="author">
                            <div style="width: 50px; height: 50px; background: var(--gradient); border-radius: 50%;"></div>
                            <div>
                                <strong>David Okonkwo</strong>
                                <p class="text-muted mb-0">Owner, Lagos Land Co.</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- CTA Section -->
    <section class="cta-section text-center">
        <div class="container">
            <h2>Start Managing Your Land Business Today</h2>
            <p class="mb-4 opacity-75">Join 500+ land developers using LandSalesPro to grow their business</p>
            <a href="/register" class="btn btn-cta btn-lg">Start Free Trial - No Credit Card Required</a>
        </div>
    </section>

    <!-- Footer -->
    <footer class="footer">
        <div class="container">
            <div class="row">
                <div class="col-md-4 mb-4">
                    <h5 class="mb-3"><i class="fas fa-map-marked-alt me-2"></i>LandSalesPro</h5>
                    <p class="text-muted">Professional land management software for land developers and real estate businesses across Africa.</p>
                </div>
                <div class="col-md-2 mb-4">
                    <h6 class="mb-3">Product</h6>
                    <ul class="list-unstyled">
                        <li><a href="/features">Features</a></li>
                        <li><a href="/pricing">Pricing</a></li>
                        <li><a href="/register">Free Trial</a></li>
                    </ul>
                </div>
                <div class="col-md-2 mb-4">
                    <h6 class="mb-3">Solutions</h6>
                    <ul class="list-unstyled">
                        <li><a href="/land-management-software">Land Management</a></li>
                        <li><a href="/plot-management-system">Plot Management</a></li>
                        <li><a href="/land-sales-software">Sales Tracking</a></li>
                    </ul>
                </div>
                <div class="col-md-2 mb-4">
                    <h6 class="mb-3">Partner Sites</h6>
                    <ul class="list-unstyled">
                        <li><a href="https://landsecure.co.tz">LandSecure</a></li>
                        <li><a href="https://landsecure.co.tz/land-scanner">Land Scanner</a></li>
                        <li><a href="https://landsecure.co.tz/conflict-detection">Conflict Detection</a></li>
                    </ul>
                </div>
                <div class="col-md-2 mb-4">
                    <h6 class="mb-3">Legal</h6>
                    <ul class="list-unstyled">
                        <li><a href="/privacy">Privacy Policy</a></li>
                        <li><a href="/terms">Terms of Service</a></li>
                        <li><a href="/contact">Contact Us</a></li>
                    </ul>
                </div>
            </div>
            <hr class="my-4" style="border-color: #334155;">
            <div class="text-center text-muted">
                <p>&copy; <?php echo date('Y'); ?> LandSalesPro by LandSecure. All rights reserved.</p>
                <p class="mt-2">Designed by <a href="https://pitech.co.tz" target="_blank" rel="noopener" style="color: #f59e0b;">Pitech</a></p>
            </div>
        </div>
    </footer>

    <!-- Structured Data -->
    <?php
    outputSoftwareSchema('LandSalesPro', 'Professional land management software for managing plots, tracking sales, payments and generating reports.');
    outputOrganizationSchema();

    $faqs = [
        ['question' => 'What is land management software?', 'answer' => 'Land management software is a digital tool that helps land developers, real estate agents and property investors manage their land plots, track sales, collect payments and generate reports efficiently.'],
        ['question' => 'How much does LandSalesPro cost?', 'answer' => 'LandSalesPro starts at TZS 50,000 per month. We offer monthly, quarterly, semi-annual and yearly subscription plans with discounts for longer commitments.'],
        ['question' => 'Can I manage multiple projects?', 'answer' => 'Yes, LandSalesPro allows you to manage unlimited projects, each with their own plots, buyers, sales and expenses.'],
        ['question' => 'Does it work on mobile?', 'answer' => 'Yes, LandSalesPro is fully responsive and works on all devices including smartphones, tablets and desktop computers.']
    ];
    outputFaqSchema($faqs);
    ?>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
