<?php
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Mobile Recharge Portal</title>

<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"/>

<style>

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

body{
    font-family:'Segoe UI',sans-serif;
    background:#f5f7ff;
    overflow-x:hidden;
}

/* ================= HERO SECTION ================= */

.hero{
    min-height:100vh;
    background:
    linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)),
    url('https://images.unsplash.com/photo-1556740749-887f6717d7e4?q=80&w=1400&auto=format&fit=crop');
    background-size:cover;
    background-position:center;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px 20px;
}

/* ================= NAVBAR ================= */

.topbar{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    padding:20px 40px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:10;
}

.logo{
    color:#fff;
    font-size:30px;
    font-weight:800;
    letter-spacing:1px;
}

.logo span{
    color:#ffd43b;
}

.nav-btn{
    background:#fff;
    color:#0d6efd;
    padding:12px 25px;
    border-radius:50px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.nav-btn:hover{
    background:#ffd43b;
    color:#000;
    transform:translateY(-2px);
}

/* ================= CONTENT ================= */

.hero-content{
    max-width:1200px;
    width:100%;
}

.left-content{
    color:#fff;
}

.left-content h1{
    font-size:60px;
    font-weight:800;
    line-height:1.2;
    margin-bottom:20px;
}

.left-content h1 span{
    color:#ffd43b;
}

.left-content p{
    font-size:18px;
    color:#ddd;
    line-height:1.8;
    margin-bottom:30px;
}

/* ================= BUTTONS ================= */

.main-btn{
    display:inline-block;
    background:linear-gradient(135deg,#0d6efd,#6610f2);
    color:#fff;
    padding:15px 35px;
    border-radius:60px;
    text-decoration:none;
    font-size:18px;
    font-weight:700;
    transition:.3s;
    box-shadow:0 10px 25px rgba(13,110,253,.35);
}

.main-btn:hover{
    transform:translateY(-4px);
    color:#fff;
}

/* ================= CARD ================= */

.login-card{
    background:#fff;
    border-radius:30px;
    padding:35px;
    box-shadow:0 15px 45px rgba(0,0,0,.2);
}

.login-card h3{
    font-weight:700;
    margin-bottom:10px;
}

.login-card p{
    color:#6c757d;
    margin-bottom:25px;
}

.feature-box{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:18px;
    background:#f8f9ff;
    padding:15px;
    border-radius:16px;
}

.feature-box i{
    width:50px;
    height:50px;
    background:linear-gradient(135deg,#0d6efd,#6610f2);
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:20px;
}

.feature-box h6{
    margin:0;
    font-weight:700;
}

.feature-box small{
    color:#6c757d;
}

.login-btn{
    width:100%;
    border:none;
    background:linear-gradient(135deg,#0d6efd,#6610f2);
    color:#fff;
    padding:14px;
    border-radius:14px;
    font-size:17px;
    font-weight:700;
    margin-top:15px;
    transition:.3s;
}

.login-btn:hover{
    transform:translateY(-2px);
}

/* ================= FOOTER ================= */

.footer{
    background:#111827;
    color:#fff;
    padding:20px;
    text-align:center;
}

.footer p{
    margin:0;
    color:#bbb;
}

/* ================= MOBILE ================= */

@media(max-width:991px){

    .left-content{
        text-align:center;
        margin-bottom:40px;
    }

    .left-content h1{
        font-size:42px;
    }

    .topbar{
        padding:15px 20px;
    }

    .logo{
        font-size:22px;
    }
}

@media(max-width:576px){

    .left-content h1{
        font-size:34px;
    }

    .left-content p{
        font-size:15px;
    }

    .main-btn{
        width:100%;
        text-align:center;
    }

    .login-card{
        padding:25px;
    }
}

</style>

</head>

<body>

<!-- ================= HERO ================= -->

<section class="hero">

    <!-- ================= NAVBAR ================= -->

    <div class="topbar">

        <div class="logo">
            Recharge<span>Hub</span>
        </div>

        <a href="login.php" class="nav-btn">
            Login
        </a>

    </div>

    <!-- ================= CONTENT ================= -->

    <div class="container hero-content">

        <div class="row align-items-center g-5">

            <!-- ================= LEFT ================= -->

            <div class="col-lg-7">

                <div class="left-content">

                    <h1>
                        Fast & Secure <span>Mobile Recharge</span> Platform
                    </h1>

                    <p>
                        Recharge prepaid mobile, DTH, data cards and pay utility bills instantly with our secure and trusted recharge portal.
                    </p>

                    <a href="login.php" class="main-btn">
                        <i class="fa-solid fa-right-to-bracket me-2"></i>
                        Get Started
                    </a>

                </div>

            </div>

            <!-- ================= RIGHT CARD ================= -->

            <div class="col-lg-5">

                <div class="login-card">

                    <h3>
                        Welcome Back 👋
                    </h3>

                    <p>
                        Login to access recharge services & wallet dashboard.
                    </p>

                    <div class="feature-box">

                        <i class="fa-solid fa-mobile-screen"></i>

                        <div>
                            <h6>Mobile Recharge</h6>
                            <small>All operators supported</small>
                        </div>

                    </div>

                    <div class="feature-box">

                        <i class="fa-solid fa-satellite-dish"></i>

                        <div>
                            <h6>DTH Recharge</h6>
                            <small>Instant activation</small>
                        </div>

                    </div>

                    <div class="feature-box">

                        <i class="fa-solid fa-bolt"></i>

                        <div>
                            <h6>Bill Payments</h6>
                            <small>Electricity & utilities</small>
                        </div>

                    </div>

                    <a href="login.php">

                        <button class="login-btn">

                            <i class="fa-solid fa-lock me-2"></i>

                            Login Dashboard

                        </button>

                    </a>

                </div>

            </div>

        </div>

    </div>

</section>

<!-- ================= FOOTER ================= -->

<div class="footer">

<p>
© <?= date('Y') ?> RechargeHub | All Rights Reserved
</p>

</div>

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

</body>
</html>