<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>E-Learning Jurusan RPL SMKN 1 Tapen</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Sora:wght@400;600;700;800&display=swap" rel="stylesheet">

    <style>
        :root {
            --blue:      #2b8ef3;
            --blue-dark: #1a7ae0;
            --blue-light:#e8f4ff;
            --blue-mid:  #dbeeff;
            --accent1:   #f97316;
            --accent2:   #22c55e;
            --accent3:   #a855f7;
            --bg:        #f0f6ff;
            --dark:      #0f1f3d;
        }

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

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background: var(--bg);
            overflow-x: hidden;
            color: var(--dark);
        }

        /* ── ICON SIZES ── */
        .icon-pill   { width: 18px; height: 18px; object-fit: contain; vertical-align: middle; }
        .icon-sm     { width: 20px; height: 20px; object-fit: contain; vertical-align: middle; }
        .icon-md     { width: 28px; height: 28px; object-fit: contain; vertical-align: middle; }
        .icon-feat   { width: 32px; height: 32px; object-fit: contain; }
        .icon-portal { width: 40px; height: 40px; object-fit: contain; }
        .icon-footer { width: 16px; height: 16px; object-fit: contain; vertical-align: middle; margin-right: 6px; }

        /* ── NAVBAR ── */
        .navbar {
            background: rgba(255,255,255,0.9);
            backdrop-filter: blur(16px);
            border-bottom: 2px solid var(--blue-mid);
            padding: 14px 0;
            position: sticky;
            top: 0;
            z-index: 999;
        }

        .navbar-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            font-family: 'Sora', sans-serif;
            font-weight: 800;
            font-size: 17px;
            color: var(--dark) !important;
        }

        .navbar-brand img { width: 42px; height: 42px; object-fit: contain; }
        .nav-link { font-weight: 600; font-size: 14px; color: #475569 !important; transition: color 0.2s; }
        .nav-link:hover { color: var(--blue) !important; }

        .btn-nav-cta {
            background: var(--blue);
            color: white !important;
            border-radius: 12px;
            padding: 9px 22px;
            font-weight: 700;
            font-size: 14px;
            transition: all 0.2s;
            border: none;
        }
        .btn-nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(43,142,243,0.35); }

        /* ── HERO ── */
        .hero {
            background: linear-gradient(160deg, #ffffff 0%, var(--blue-light) 50%, #e0eeff 100%);
            min-height: 92vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            padding: 70px 0;
        }

        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(var(--blue-mid) 1px, transparent 1px),
                linear-gradient(90deg, var(--blue-mid) 1px, transparent 1px);
            background-size: 48px 48px;
            opacity: 0.4;
        }

        .hero-bg-circle {
            position: absolute;
            width: 700px; height: 700px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(43,142,243,0.12) 0%, transparent 70%);
            right: -200px; top: 50%;
            transform: translateY(-50%);
        }

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

        .hero-pill {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--blue);
            color: white;
            border-radius: 99px;
            padding: 6px 16px;
            font-size: 13px;
            font-weight: 700;
            margin-bottom: 24px;
            animation: fadeUp 0.5s ease both;
        }

        .hero-title {
            font-family: 'Sora', sans-serif;
            font-weight: 800;
            font-size: clamp(36px, 5.5vw, 62px);
            line-height: 1.12;
            color: var(--dark);
            margin-bottom: 20px;
            animation: fadeUp 0.5s ease 0.1s both;
        }

        .hero-title .blue-text { color: var(--blue); }
        .hero-title .underline-text { position: relative; display: inline-block; }
        .hero-title .underline-text::after {
            content: '';
            position: absolute;
            bottom: 2px; left: 0; right: 0;
            height: 6px;
            background: linear-gradient(90deg, var(--blue), #60b4ff);
            border-radius: 99px;
            opacity: 0.35;
        }

        .hero-desc {
            font-size: 16px;
            color: #4a6080;
            line-height: 1.8;
            max-width: 500px;
            margin-bottom: 36px;
            animation: fadeUp 0.5s ease 0.2s both;
        }

        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(20px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        .hero-actions { animation: fadeUp 0.5s ease 0.3s both; display: flex; gap: 12px; flex-wrap: wrap; }

        .btn-hero-main {
            background: var(--blue);
            color: white;
            border: none;
            border-radius: 14px;
            padding: 15px 30px;
            font-weight: 800;
            font-size: 15px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.25s;
            box-shadow: 0 8px 24px rgba(43,142,243,0.35);
        }
        .btn-hero-main:hover { background: var(--blue-dark); transform: translateY(-3px); box-shadow: 0 14px 32px rgba(43,142,243,0.45); color: white; }

        .btn-hero-outline {
            background: white;
            color: var(--dark);
            border: 2px solid var(--blue-mid);
            border-radius: 14px;
            padding: 15px 28px;
            font-weight: 700;
            font-size: 15px;
            text-decoration: none;
            transition: all 0.25s;
        }
        .btn-hero-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); }

        .hero-visual { position: relative; z-index: 2; animation: fadeUp 0.5s ease 0.15s both; }

        .hero-main-card {
            background: white;
            border-radius: 28px;
            padding: 32px;
            box-shadow: 0 24px 60px rgba(43,142,243,0.15);
            border: 2px solid var(--blue-mid);
            position: relative;
        }

        .hmc-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--blue-light); }
        .hmc-logo { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; }
        .hmc-logo img { width: 36px; height: 36px; object-fit: contain; }
        .hmc-name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 15px; }
        .hmc-sub  { font-size: 12px; color: #94a3b8; }

        .hmc-stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px; }
        .hmc-stat { background: var(--blue-light); border-radius: 14px; padding: 14px 10px; text-align: center; }
        .hmc-stat-num   { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 20px; color: var(--blue); }
        .hmc-stat-label { font-size: 10px; color: #64748b; font-weight: 600; margin-top: 2px; }

        .hmc-lb { background: var(--blue-light); border-radius: 16px; padding: 16px; }
        .hmc-lb-title { font-size: 12px; font-weight: 700; color: #64748b; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
        .hmc-lb-row { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; background: white; margin-bottom: 8px; }
        .hmc-lb-rank { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: white; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
        .hmc-lb-rank img { width: 20px; height: 20px; object-fit: contain; }
        .hmc-lb-name { flex: 1; font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 4px; }
        .hmc-lb-exp  { font-size: 12px; font-weight: 700; color: var(--blue); display: flex; align-items: center; gap: 3px; }

        .float-badge {
            position: absolute;
            background: white;
            border-radius: 14px;
            padding: 10px 14px;
            box-shadow: 0 8px 24px rgba(43,142,243,0.15);
            border: 2px solid var(--blue-mid);
            display: flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
            animation: badgeFloat 4s ease-in-out infinite;
            font-size: 13px;
            font-weight: 700;
        }

        .fb-1 { top: -20px; right: -20px; animation-delay: 0s; }
        .fb-2 { bottom: 40px; left: -30px; animation-delay: 2s; }

        @keyframes badgeFloat {
            0%, 100% { transform: translateY(0); }
            50%       { transform: translateY(-8px); }
        }

        /* ── STATS BAR ── */
        .stats-bar { background: var(--blue); padding: 28px 0; }
        .stat-bar-item { text-align: center; color: white; }
        .stat-bar-num   { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 32px; }
        .stat-bar-label { font-size: 13px; opacity: 0.8; margin-top: 2px; }

        /* ── FEATURES ── */
        .features-section { padding: 90px 0; }

        .pill-label {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: var(--blue-light);
            color: var(--blue);
            border-radius: 99px;
            padding: 5px 14px;
            font-size: 12px;
            font-weight: 700;
            margin-bottom: 14px;
        }

        .sec-title { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(28px, 4vw, 40px); color: var(--dark); margin-bottom: 14px; }
        .sec-desc  { font-size: 15px; color: #64748b; line-height: 1.8; max-width: 520px; }

        .feat-card {
            background: white;
            border-radius: 22px;
            padding: 28px 24px;
            height: 100%;
            border: 2px solid #e8f0fb;
            transition: all 0.25s;
            position: relative;
            overflow: hidden;
        }
        .feat-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(43,142,243,0.12); border-color: var(--blue); }

        .feat-icon {
            width: 52px; height: 52px;
            border-radius: 14px;
            background: var(--blue-light);
            display: flex; align-items: center; justify-content: center;
            margin-bottom: 16px;
        }
        .feat-icon.orange { background: #fff4ee; }
        .feat-icon.green  { background: #eefaf3; }
        .feat-icon.purple { background: #f5eeff; }
        .feat-icon.yellow { background: #fffbea; }
        .feat-icon.pink   { background: #fff0f6; }

        .feat-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px; color: var(--dark); margin-bottom: 10px; }
        .feat-desc  { font-size: 13px; color: #64748b; line-height: 1.75; }
        .feat-tag { display: inline-block; background: var(--blue-light); color: var(--blue); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px; margin-top: 14px; }

        /* ── HOW ── */
        .how-section { padding: 90px 0; background: linear-gradient(180deg, white, var(--blue-light)); }
        .step-wrap { display: flex; flex-direction: column; gap: 0; }
        .step-item { display: flex; gap: 24px; align-items: flex-start; position: relative; }
        .step-item:not(:last-child)::after { content: ''; position: absolute; left: 23px; top: 52px; bottom: -20px; width: 2px; background: linear-gradient(180deg, var(--blue), transparent); }
        .step-num-wrap { width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: white; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 6px 20px rgba(43,142,243,0.35); }
        .step-body { padding-bottom: 36px; }
        .step-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px; margin-bottom: 6px; }
        .step-desc  { font-size: 13px; color: #64748b; line-height: 1.75; }

        /* ── LOGIN ── */
        .login-section { padding: 90px 0; }
        .portal-card { background: white; border-radius: 24px; padding: 40px 32px; text-align: center; border: 2px solid #e8f0fb; transition: all 0.25s; position: relative; overflow: hidden; }
        .portal-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
        .pc-blue::before   { background: var(--blue); }
        .pc-green::before  { background: var(--accent2); }
        .pc-orange::before { background: var(--accent1); }
        .portal-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(43,142,243,0.12); }
        .portal-icon-wrap { width: 72px; height: 72px; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
        .piw-blue   { background: var(--blue-light); }
        .piw-green  { background: #eefaf3; }
        .piw-orange { background: #fff4ee; }
        .portal-title { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 20px; margin-bottom: 8px; }
        .portal-desc  { font-size: 13px; color: #64748b; line-height: 1.7; margin-bottom: 24px; }
        .btn-portal { display: inline-block; border-radius: 12px; padding: 12px 28px; font-weight: 700; font-size: 14px; text-decoration: none; transition: all 0.2s; }
        .bp-blue   { background: var(--blue);    color: white; }
        .bp-green  { background: var(--accent2); color: white; }
        .bp-orange { background: var(--accent1); color: white; }
        .btn-portal:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); color: white; }

        /* ── FOOTER ── */
        footer { background: var(--dark); color: white; padding: 48px 0 24px; }
        .ft-brand { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 18px; margin-bottom: 10px; }
        .ft-desc  { font-size: 13px; color: #94a3b8; line-height: 1.7; max-width: 300px; }
        .ft-link  { color: #94a3b8; font-size: 13px; text-decoration: none; display: flex; align-items: center; margin-bottom: 8px; transition: color 0.2s; }
        .ft-link:hover { color: #60b4ff; }
        .ft-heading { font-weight: 700; font-size: 14px; margin-bottom: 16px; }
        .ft-copy { font-size: 12px; color: #475569; text-align: center; margin-top: 36px; padding-top: 20px; border-top: 1px solid #1e3a5f; }
    </style>
</head>
<body>

<!-- NAVBAR -->
<nav class="navbar navbar-expand-lg">
    <div class="container">
        <a class="navbar-brand" href="#">
            <img src="/images/logo/logosmk.png" alt="Logo SMK">
            <div>
                <div>E-Learning RPL</div>
                <div style="font-size:10px;color:#94a3b8;font-weight:500;">SMKN 1 Tapen</div>
            </div>
        </a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navMenu">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navMenu">
            <ul class="navbar-nav ms-auto align-items-center gap-2">
                <li class="nav-item"><a class="nav-link" href="#fitur">Fitur</a></li>
                <li class="nav-item"><a class="nav-link" href="#cara-kerja">Cara Kerja</a></li>
                <li class="nav-item"><a class="nav-link" href="#masuk">Login</a></li>
                <li class="nav-item ms-2">
                    <a href="#masuk" class="btn-nav-cta text-decoration-none">Masuk →</a>
                </li>
            </ul>
        </div>
    </div>
</nav>

<!-- HERO -->
<section class="hero">
    <div class="hero-bg-circle"></div>
    <div class="container">
        <div class="row align-items-center g-5">

            <div class="col-lg-6 hero-content">
                <div class="hero-pill">
                    <img src="{{ asset('images/icon/lp/pc.png') }}" alt="Platform" class="icon-pill">
                    E-Learning Jurusan RPL
                </div>
                <h1 class="hero-title">
                    Kerjakan <span class="blue-text">Tugas</span>,<br>
                    Raih <span class="underline-text">Prestasi</span>
                </h1>
                <p class="hero-desc">
                    Platform e-learning khusus jurusan Rekayasa Perangkat Lunak akses materi, kerjakan tugas, ikuti challenge, dan dapatkan badge terbaik!
                </p>
                <div class="hero-actions">
                    <a href="#masuk" class="btn-hero-main">
                        <img src="{{ asset('images/icon/lp/rocket.png') }}" alt="Mulai" class="icon-sm">
                        Mulai Sekarang
                    </a>
                    <a href="#fitur" class="btn-hero-outline">Lihat Fitur</a>
                </div>
            </div>

            <div class="col-lg-6 hero-visual">
                <div class="hero-main-card">

                    <div class="float-badge fb-1">
                        <img src="{{ asset('images/icon/lp/star.png') }}" alt="EXP" class="icon-sm">
                        <span>+150 EXP didapat!</span>
                    </div>
                    <div class="float-badge fb-2">
                        <img src="{{ asset('images/icon/lp/piala.png') }}" alt="Naik peringkat" class="icon-sm">
                        <span>Naik ke #2!</span>
                    </div>

                    <div class="hmc-header">
                        <div class="hmc-logo">
                            <img src="/images/logo/logosmk.png" alt="Logo SMK">
                        </div>
                        <div>
                            <div class="hmc-name">Dashboard Siswa RPL</div>
                            <div class="hmc-sub">SMKN 1 Tapen</div>
                        </div>
                    </div>

                    <div class="hmc-stat-row">
                        <div class="hmc-stat">
                            <div class="hmc-stat-num">7</div>
                            <div class="hmc-stat-label">Materi</div>
                        </div>
                        <div class="hmc-stat">
                            <div class="hmc-stat-num">4</div>
                            <div class="hmc-stat-label">Tugas</div>
                        </div>
                        <div class="hmc-stat">
                            <div class="hmc-stat-num">304</div>
                            <div class="hmc-stat-label">EXP</div>
                        </div>
                    </div>

                    <div class="hmc-lb">
                        <div class="hmc-lb-title">
                            <img src="{{ asset('images/icon/lp/piala.png') }}" alt="Leaderboard" class="icon-sm">
                            Leaderboard Kelas
                        </div>
                        <div class="hmc-lb-row">
                            <div class="hmc-lb-rank" style="background:#f59e0b;">
                                <img src="{{ asset('images/icon/lp/medal1.png') }}" alt="Juara 1">
                            </div>
                            <div class="hmc-lb-name">Retasya Salsabila</div>
                            <div class="hmc-lb-exp">
                                1.200
                                <img src="{{ asset('images/icon/lp/star.png') }}" alt="EXP" class="icon-pill">
                            </div>
                        </div>
                        <div class="hmc-lb-row" style="background:#e8f4ff;">
                            <div class="hmc-lb-rank" style="background:var(--blue);">2</div>
                            <div class="hmc-lb-name">
                                Kamu
                                <img src="{{ asset('images/icon/lp/wavinghand.png') }}" alt="Hai" class="icon-pill">
                            </div>
                            <div class="hmc-lb-exp">
                                850
                                <img src="{{ asset('images/icon/lp/star.png') }}" alt="EXP" class="icon-pill">
                            </div>
                        </div>
                        <div class="hmc-lb-row">
                            <div class="hmc-lb-rank" style="background:#64748b;">3</div>
                            <div class="hmc-lb-name">Keisya Nadia</div>
                            <div class="hmc-lb-exp">
                                720
                                <img src="{{ asset('images/icon/lp/star.png') }}" alt="EXP" class="icon-pill">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- STATS BAR -->
<div class="stats-bar">
    <div class="container">
        <div class="row align-items-center g-3">
            <div class="col-6 col-md-3">
                <div class="stat-bar-item">
                    <div class="stat-bar-num">10+</div>
                    <div class="stat-bar-label">Materi Tersedia</div>
                </div>
            </div>
            <div class="col-6 col-md-3">
                <div class="stat-bar-item">
                    <div class="stat-bar-num">100+</div>
                    <div class="stat-bar-label">Siswa Aktif</div>
                </div>
            </div>
            <div class="col-6 col-md-3">
                <div class="stat-bar-item">
                    <div class="stat-bar-num">15+</div>
                    <div class="stat-bar-label">Challenge Selesai</div>
                </div>
            </div>
            <div class="col-6 col-md-3">
                <div class="stat-bar-item">
                    <div class="stat-bar-num">15+</div>
                    <div class="stat-bar-label">Guru Pengajar</div>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- FEATURES -->
<section class="features-section" id="fitur">
    <div class="container">
        <div class="row align-items-center g-5 mb-5">
            <div class="col-lg-5">
                <div class="pill-label">✦ Fitur Platform</div>
                <h2 class="sec-title">Lengkap untuk<br>Siswa RPL di<br>SMKN 1 Tapen</h2>
            </div>
            <div class="col-lg-6 offset-lg-1">
                <p class="sec-desc">Dari materi pemrograman hingga gamifikasi semua dirancang untuk mendukung proses belajar mengajar di jurusan Rekayasa Perangkat Lunak.</p>
            </div>
        </div>

        <div class="row g-4">
            <div class="col-md-6 col-lg-4">
                <div class="feat-card">
                    <div class="feat-icon">
                        <img src="{{ asset('images/icon/lp/buku1.png') }}" alt="Materi Digital" class="icon-feat">
                    </div>
                    <div class="feat-title">Materi Digital</div>
                    <p class="feat-desc">Guru RPL upload materi, siswa akses kapan saja. Materi terorganisir per mapel dan kelas dari dasar coding hingga advanced.</p>
                    <span class="feat-tag">Untuk Siswa & Guru</span>
                </div>
            </div>
            <div class="col-md-6 col-lg-4">
                <div class="feat-card">
                    <div class="feat-icon orange">
                        <img src="{{ asset('images/icon/lp/buku2.png') }}" alt="Pengumpulan Tugas" class="icon-feat">
                    </div>
                    <div class="feat-title">Pengumpulan Tugas</div>
                    <p class="feat-desc">Submit tugas langsung dari browser. Tracking status real-time: belum, dikumpulkan, atau terlambat.</p>
                    <span class="feat-tag" style="background:#fff4ee;color:#f97316;">Manajemen Tugas</span>
                </div>
            </div>
            <div class="col-md-6 col-lg-4">
                <div class="feat-card">
                    <div class="feat-icon green">
                        <img src="{{ asset('images/icon/lp/piala.png') }}" alt="Challenge Interaktif" class="icon-feat">
                    </div>
                    <div class="feat-title">Challenge Interaktif</div>
                    <p class="feat-desc">Kuis pilihan ganda seputar materi RPL. Kerjakan sebelum tenggat dan buktikan kemampuanmu!</p>
                    <span class="feat-tag" style="background:#eefaf3;color:#22c55e;">Gamifikasi</span>
                </div>
            </div>
            <div class="col-md-6 col-lg-4">
                <div class="feat-card">
                    <div class="feat-icon purple">
                        <img src="{{ asset('images/icon/lp/star.png') }}" alt="Sistem EXP" class="icon-feat">
                    </div>
                    <div class="feat-title">Sistem EXP</div>
                    <p class="feat-desc">Setiap jawaban benar menghasilkan EXP. Semakin banyak belajar, semakin tinggi skormu!</p>
                    <span class="feat-tag" style="background:#f5eeff;color:#a855f7;">Reward System</span>
                </div>
            </div>
            <div class="col-md-6 col-lg-4">
                <div class="feat-card">
                    <div class="feat-icon yellow">
                        <img src="{{ asset('images/icon/lp/lb.png') }}" alt="Leaderboard" class="icon-feat">
                    </div>
                    <div class="feat-title">Leaderboard Real-time</div>
                    <p class="feat-desc">Peringkat diperbarui otomatis setiap kali siswa menyelesaikan challenge. Siapa #1?</p>
                    <span class="feat-tag" style="background:#fffbea;color:#d97706;">Kompetisi Sehat Antar Siswa</span>
                </div>
            </div>
            <div class="col-md-6 col-lg-4">
                <div class="feat-card">
                    <div class="feat-icon pink">
                        <img src="{{ asset('images/icon/lp/shield.png') }}" alt="Multi-Role Panel" class="icon-feat">
                    </div>
                    <div class="feat-title">Multi-Role Panel</div>
                    <p class="feat-desc">Dashboard terpisah untuk Siswa, Guru, dan Admin dengan hak akses yang sesuai peran.</p>
                    <span class="feat-tag" style="background:#fff0f6;color:#ec4899;">Keamanan User</span>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- HOW IT WORKS -->
<section class="how-section" id="cara-kerja">
    <div class="container">
        <div class="row g-5 align-items-center">
            <div class="col-lg-4">
                <div class="pill-label">✦ Cara Kerja</div>
                <h2 class="sec-title">Mulai dalam<br>3 Langkah<br>Mudah</h2>
                <p class="sec-desc" style="margin-top:14px;">Tidak perlu instalasi apapun cukup buka browser dan login!</p>
            </div>
            <div class="col-lg-7 offset-lg-1">
                <div class="step-wrap">
                    <div class="step-item">
                        <div class="step-num-wrap">1</div>
                        <div class="step-body">
                            <div class="step-title">Login ke Platform</div>
                            <p class="step-desc">Siswa masuk menggunakan NISN sebagai username. Guru dan admin menggunakan kredensial dari sekolah.</p>
                        </div>
                    </div>
                    <div class="step-item">
                        <div class="step-num-wrap">2</div>
                        <div class="step-body">
                            <div class="step-title">Akses Materi &amp; Selesaikan Tugas</div>
                            <p class="step-desc">Pelajari materi yang diupload guru dan kumpulkan tugas tepat waktu.</p>
                        </div>
                    </div>
                    <div class="step-item">
                        <div class="step-num-wrap">3</div>
                        <div class="step-body">
                            <div class="step-title">Ikuti Challenge &amp; Raih EXP</div>
                            <p class="step-desc">Kerjakan challenge pilihan ganda, kumpulkan EXP, dan bersaing di leaderboard kelas!</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- LOGIN PORTAL -->
<section class="login-section" id="masuk">
    <div class="container">
        <div class="text-center mb-5">
            <div class="pill-label mx-auto" style="width:fit-content;">✦ Portal Masuk</div>
            <h2 class="sec-title">Masuk Sesuai Peranmu</h2>
            <p style="font-size:15px;color:#64748b;">Pilih portal yang sesuai dengan peranmu di jurusan RPL SMKN 1 Tapen.</p>
        </div>
        <div class="row g-4 justify-content-center">
            <div class="col-md-4">
                <div class="portal-card pc-blue">
                    <div class="portal-icon-wrap piw-blue">
                        <img src="{{ asset('images/icon/lp/siswa.png') }}" alt="Siswa" class="icon-portal">
                    </div>
                    <div class="portal-title">Siswa RPL</div>
                    <p class="portal-desc">Akses materi coding, kumpulkan tugas, kerjakan challenge, dan lihat posisimu di leaderboard kelas.</p>
                    <a href="/siswa/login" class="btn-portal bp-blue">Masuk sebagai Siswa →</a>
                </div>
            </div>
            <div class="col-md-4">
                <div class="portal-card pc-green">
                    <div class="portal-icon-wrap piw-green">
                        <img src="{{ asset('images/icon/lp/guru.png') }}" alt="Guru" class="icon-portal">
                    </div>
                    <div class="portal-title">Guru</div>
                    <p class="portal-desc">Upload materi, buat tugas, nilai pengumpulan siswa, dan pantau perkembangan kelas.</p>
                    <a href="/guru/login" class="btn-portal bp-green">Masuk sebagai Guru →</a>
                </div>
            </div>
            <div class="col-md-4">
                <div class="portal-card pc-orange">
                    <div class="portal-icon-wrap piw-orange">
                        <img src="{{ asset('images/icon/lp/admin.png') }}" alt="Admin" class="icon-portal">
                    </div>
                    <div class="portal-title">Admin</div>
                    <p class="portal-desc">Kelola data jurusan RPL, buat challenge, dan pantau seluruh aktivitas di platform.</p>
                    <a href="/admin/login" class="btn-portal bp-orange">Masuk sebagai Admin →</a>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- FOOTER -->
<footer>
    <div class="container">
        <div class="row g-4">
            <div class="col-md-5">
                <div class="d-flex align-items-center gap-3 mb-3">
                    <img src="/images/logo/logosmk.png" alt="Logo SMK" style="width:40px;height:40px;object-fit:contain;filter:brightness(10);">
                    <div class="ft-brand">E-Learning RPL</div>
                </div>
                <p class="ft-desc">Platform e-learning dengan gamifikasi khusus jurusan Rekayasa Perangkat Lunak SMKN 1 Tapen.</p>
            </div>
            <div class="col-md-3 offset-md-1">
                <div class="ft-heading">Platform</div>
                <a href="#fitur" class="ft-link">Fitur</a>
                <a href="#cara-kerja" class="ft-link">Cara Kerja</a>
                <a href="#masuk" class="ft-link">Login</a>
            </div>
            <div class="col-md-3">
                <div class="ft-heading">Portal</div>
                <a href="/siswa/login" class="ft-link">
                    <img src="{{ asset('images/icon/lp/siswa.png') }}" alt="Siswa" class="icon-footer"> Siswa
                </a>
                <a href="/guru/login" class="ft-link">
                    <img src="{{ asset('images/icon/lp/guru.png') }}" alt="Guru" class="icon-footer"> Guru
                </a>
                <a href="/admin/login" class="ft-link">
                    <img src="{{ asset('images/icon/lp/admin.png') }}" alt="Admin" class="icon-footer"> Admin
                </a>
            </div>
        </div>
        <div class="ft-copy">© Retasya Salsabila · 2026 SMKN 1 Tapen · Jurusan Rekayasa Perangkat Lunak · Platform E-Learning Gamifikasi</div>
    </div>
</footer>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
<script>
document.querySelectorAll('a[href^="#"]').forEach(a => {
    a.addEventListener('click', e => {
        const t = document.querySelector(a.getAttribute('href'));
        if (t) { e.preventDefault(); t.scrollIntoView({ behavior: 'smooth' }); }
    });
});

const observer = new IntersectionObserver((entries) => {
    entries.forEach(e => {
        if (e.isIntersecting) {
            e.target.style.opacity = '1';
            e.target.style.transform = 'translateY(0)';
        }
    });
}, { threshold: 0.1 });

document.querySelectorAll('.feat-card, .portal-card, .step-item').forEach(el => {
    el.style.opacity = '0';
    el.style.transform = 'translateY(20px)';
    el.style.transition = 'opacity 0.5s ease, transform 0.5s ease';
    observer.observe(el);
});
</script>
</body>
</html>