<!DOCTYPE html>
<html lang="id" data-bs-theme="dark">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Precision CNC Custom — Solusi Machining Presisi Tinggi</title>
    
    <!-- BOOTSTRAP 5.3 & ICONS CDN -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
    
    <!-- GOOGLE FONTS -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">

    <style>
        /* ===== ENTERPRISE DESIGN SYSTEM ===== */
        :root {
            --bg-body: #080d1a;
            --bg-card: #0f172a;
            --bg-accent: #1e293b;
            --border-color: #1e293b;
            --border-hover: #334155;
            --text-main: #f8fafc;
            --text-sub: #94a3b8;
            --primary: #2563eb;
            --primary-hover: #1d4ed8;
            --accent-cyan: #06b6d4;
            --radius-lg: 16px;
            --radius-md: 12px;
            --radius-sm: 8px;
            --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: var(--bg-body) !important;
            color: var(--text-main) !important;
            overflow-x: hidden;
            padding-top: 76px; /* Offset fixed navbar */
        }

        /* NAVBAR GLASSMORPHISM & MENU */
        .navbar-custom {
            background-color: rgba(8, 13, 26, 0.90);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-color);
            padding: 0.85rem 0;
            transition: var(--transition);
        }

        .logo-icon {
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            font-size: 1.1rem;
        }

        .nav-link-custom {
            color: var(--text-sub) !important;
            font-weight: 500;
            font-size: 0.925rem;
            padding: 0.5rem 0.9rem !important;
            transition: var(--transition);
            border-radius: var(--radius-sm);
        }

        .nav-link-custom:hover, 
        .nav-link-custom.active {
            color: #ffffff !important;
            background-color: rgba(255, 255, 255, 0.05);
        }

        /* BUTTONS */
        .btn-login-modern {
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-main) !important;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            padding: 0.6rem 1.2rem;
            font-weight: 600;
            font-size: 0.875rem;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-login-modern:hover {
            background: var(--bg-accent);
            border-color: var(--primary);
            color: #ffffff !important;
            transform: translateY(-2px);
        }

        .btn-whatsapp-modern {
            background: linear-gradient(135deg, #10b981, #059669);
            color: #ffffff !important;
            border: none;
            border-radius: var(--radius-sm);
            padding: 0.6rem 1.2rem;
            font-weight: 600;
            font-size: 0.875rem;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
        }

        .btn-whatsapp-modern:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
            color: #ffffff !important;
        }

        .btn-outline-modern {
            background: transparent;
            color: var(--text-main) !important;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            padding: 0.65rem 1.3rem;
            font-weight: 600;
            font-size: 0.875rem;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-outline-modern:hover {
            background: var(--bg-accent);
            border-color: var(--border-hover);
            color: var(--text-main) !important;
            transform: translateY(-2px);
        }

        /* HERO SECTION */
        .hero-section {
            padding: 6rem 0 5rem 0;
            background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.15), transparent 70%);
        }

        .hero-title {
            font-size: clamp(2.3rem, 4.5vw, 3.5rem);
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: -0.02em;
        }

        .gradient-text {
            background: linear-gradient(135deg, #60a5fa, #38bdf8, #818cf8);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* CARD STYLING */
        .card-modern {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 2rem;
            transition: var(--transition);
            height: 100%;
        }

        .card-modern:hover {
            border-color: var(--primary);
            transform: translateY(-4px);
        }

        .feature-icon {
            width: 48px;
            height: 48px;
            border-radius: var(--radius-md);
            background: rgba(37, 99, 235, 0.15);
            color: #60a5fa;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            margin-bottom: 1.25rem;
        }

        .badge-capability {
            background-color: var(--bg-card);
            color: var(--text-main);
            border: 1px solid var(--border-color);
            padding: 0.6rem 1.2rem;
            border-radius: 50px;
            font-size: 0.875rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* CTA BANNER */
        .cta-box {
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 3.5rem 2rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60%;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--primary), transparent);
        }

        /* FOOTER */
        .footer-custom {
            border-top: 1px solid var(--border-color);
            padding: 2.5rem 0;
            color: var(--text-sub);
            font-size: 0.875rem;
        }
    </style>
</head>
<body data-bs-spy="scroll" data-bs-target="#mainNavbar" data-bs-offset="100">

    <!-- 1. NAVBAR DENGAN MENU & TOMBOL LOGIN -->
    <nav class="navbar navbar-expand-lg navbar-custom fixed-top" id="mainNavbar">
        <div class="container">
            <!-- Brand Logo -->
            <a class="navbar-brand d-flex align-items-center gap-2 text-decoration-none me-lg-4" href="#beranda">
                <div class="logo-icon">
                    <i class="bi bi-cpu-fill"></i>
                </div>
                <span class="fw-bold text-light fs-5">PRECISION<span class="text-primary">CNC</span></span>
            </a>

            <!-- Mobile Toggle Button -->
            <button class="navbar-toggler border-0 text-light shadow-none" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent">
                <i class="bi bi-list fs-2"></i>
            </button>

            <!-- Navbar Links -->
            <div class="collapse navbar-collapse" id="navbarContent">
                <ul class="navbar-nav me-auto mb-2 mb-lg-0 gap-lg-1">
                    <li class="nav-item">
                        <a class="nav-link nav-link-custom active" href="#beranda">Beranda</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link nav-link-custom" href="#layanan">Layanan</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link nav-link-custom" href="#material">Material</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link nav-link-custom" href="#kapasitas">Kapasitas</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link nav-link-custom" href="#kontak">Kontak</a>
                    </li>
                </ul>

                <!-- Action Buttons: Login & WhatsApp -->
                <div class="d-flex flex-column flex-lg-row align-items-stretch align-items-lg-center gap-2 pt-2 pt-lg-0">
                    <a href="<?= base_url('login') ?>" class="btn btn-login-modern justify-content-center">
                        <i class="bi bi-box-arrow-in-right"></i> Login
                    </a>
                    <a href="https://wa.me/6281234567890?text=Halo%20Precision%20CNC,%20saya%20ingin%20konsultasi%20pembuatan%20komponen" target="_blank" class="btn btn-whatsapp-modern justify-content-center">
                        <i class="bi bi-whatsapp"></i> Chat WhatsApp
                    </a>
                </div>
            </div>
        </div>
    </nav>

    <!-- 2. HERO SECTION -->
    <section id="beranda" class="hero-section text-center">
        <div class="container">
            <div class="max-w-3xl mx-auto" style="max-width: 800px;">
                <span class="badge bg-primary-subtle text-primary border border-primary-subtle rounded-pill px-3 py-1.5 fs-8 fw-semibold mb-3">
                    <i class="bi bi-patch-check-fill"></i> Precision Machining Partner
                </span>

                <h1 class="hero-title text-light mb-3">
                    Layanan Custom <span class="gradient-text">CNC Milling & Bubut</span> Presisi Tinggi
                </h1>

                <p class="text-sub fs-5 mb-4 leading-relaxed">
                    Spesialis manufaktur komponen mesin custom dengan akurasi hingga <strong>±0.005mm</strong>. Cepat, berkualitas, dan siap memproses prototipe maupun produksi masal.
                </p>

                <div class="d-flex flex-wrap align-items-center justify-content-center gap-3">
                    <a href="https://wa.me/6281234567890?text=Halo,%20saya%20ingin%20minta%20penawaran%20harga%20CNC" target="_blank" class="btn btn-whatsapp-modern btn-lg px-4 fs-6">
                        <i class="bi bi-whatsapp"></i> Konsultasi via WhatsApp
                    </a>
                    <a href="mailto:quote@precisioncnc.co.id" class="btn btn-outline-modern btn-lg px-4 fs-6">
                        <i class="bi bi-envelope-fill"></i> Kirim File CAD (Email)
                    </a>
                </div>
            </div>
        </div>
    </section>

    <!-- 3. LAYANAN UTAMA -->
    <section id="layanan" class="py-5">
        <div class="container py-3">
            <div class="text-center mb-5">
                <span class="text-primary fw-bold text-uppercase fs-8 tracking-wider">Keunggulan</span>
                <h2 class="fw-bold text-light mt-1">Mengapa Memilih Kami?</h2>
            </div>

            <div class="row g-4">
                <div class="col-md-4">
                    <div class="card-modern">
                        <div class="feature-icon">
                            <i class="bi bi-crosshair"></i>
                        </div>
                        <h5 class="fw-bold text-light mb-2">Presisi Tinggi</h5>
                        <p class="text-sub fs-7 mb-0">Dikerjakan menggunakan mesin CNC Multi-Axis terbaru dengan kontrol akurasi ketat hingga toleransi ±0.005mm.</p>
                    </div>
                </div>

                <div class="col-md-4">
                    <div class="card-modern">
                        <div class="feature-icon" style="background: rgba(6, 182, 212, 0.15); color: #38bdf8;">
                            <i class="bi bi-boxes"></i>
                        </div>
                        <h5 class="fw-bold text-light mb-2">Pilihan Material Luas</h5>
                        <p class="text-sub fs-7 mb-0">Memproses Aluminium (6061/7075), Stainless Steel, Kuningan, Baja SKD11, hingga Engineering Plastics (POM/PEEK).</p>
                    </div>
                </div>

                <div class="col-md-4">
                    <div class="card-modern">
                        <div class="feature-icon" style="background: rgba(16, 185, 129, 0.15); color: #34d399;">
                            <i class="bi bi-shield-check"></i>
                        </div>
                        <h5 class="fw-bold text-light mb-2">QC & Inspeksi CMM</h5>
                        <p class="text-sub fs-7 mb-0">Setiap komponen melewati pengujian *Quality Control* komprehensif lengkap dengan laporan dimensi resmi.</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 4. MATERIAL & SPESIFIKASI -->
    <section id="material" class="py-5 bg-accent-subtle">
        <div class="container py-3">
            <div class="row g-4 align-items-center">
                <div class="col-lg-6">
                    <span class="text-primary fw-bold text-uppercase fs-8 tracking-wider">Spesifikasi Teknologi</span>
                    <h2 class="fw-bold text-light mt-1 mb-3">Dukungan Material & Toleransi Standar Industri</h2>
                    <p class="text-sub fs-6 mb-4">Kami melayani pengerjaan dari prototipe komponen tunggal hingga kebutuhan produksi berulang dengan kualitas material terjamin.</p>
                    
                    <ul class="list-unstyled text-sub space-y-2 mb-0">
                        <li class="d-flex align-items-center gap-2 mb-2"><i class="bi bi-check-circle-fill text-primary"></i> <strong>Aluminium:</strong> AL6061, AL7075-T6, AL5052</li>
                        <li class="d-flex align-items-center gap-2 mb-2"><i class="bi bi-check-circle-fill text-primary"></i> <strong>Stainless & Steel:</strong> SS304, SS316L, SKD11, S45C</li>
                        <li class="d-flex align-items-center gap-2 mb-2"><i class="bi bi-check-circle-fill text-primary"></i> <strong>Plastik Rekayasa:</strong> POM Delrin, PEEK, Nylon 66, Acrylic</li>
                        <li class="d-flex align-items-center gap-2"><i class="bi bi-check-circle-fill text-primary"></i> <strong>Surface Treatment:</strong> Anodizing, Powder Coating, Sandblasting</li>
                    </ul>
                </div>
                <div class="col-lg-6">
                    <div class="card-modern p-4">
                        <h5 class="fw-bold text-light mb-3"><i class="bi bi-sliders text-primary me-2"></i> Kapasitas Mesin</h5>
                        <div class="d-flex justify-content-between border-bottom border-color py-2 fs-7">
                            <span class="text-sub">Area Kerja Milling (Max)</span>
                            <span class="fw-bold text-light">1500 x 800 mm</span>
                        </div>
                        <div class="d-flex justify-content-between border-bottom border-color py-2 fs-7">
                            <span class="text-sub">Diameter Turning Bubut (Max)</span>
                            <span class="fw-bold text-light">Ø 400 mm</span>
                        </div>
                        <div class="d-flex justify-content-between border-bottom border-color py-2 fs-7">
                            <span class="text-sub">Toleransi Standar</span>
                            <span class="fw-bold text-primary">±0.005 mm</span>
                        </div>
                        <div class="d-flex justify-content-between py-2 fs-7">
                            <span class="text-sub">Kekasaran Permukaan (Ra)</span>
                            <span class="fw-bold text-light">Hingga Ra 0.4 μm</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 5. KAPASITAS BADGES -->
    <section id="kapasitas" class="py-5">
        <div class="container text-center">
            <span class="text-primary fw-bold text-uppercase fs-8 tracking-wider">Cakupan Layanan</span>
            <h3 class="fw-bold text-light mt-1 mb-4">Kemampuan Proses Manufaktur</h3>
            <div class="d-flex flex-wrap justify-content-center gap-2">
                <span class="badge-capability"><i class="bi bi-gear-fill text-primary"></i> CNC Milling 3/4/5-Axis</span>
                <span class="badge-capability"><i class="bi bi-arrow-repeat text-info"></i> CNC Turning Bubut</span>
                <span class="badge-capability"><i class="bi bi-lightning-charge-fill text-warning"></i> Wire CUT EDM</span>
                <span class="badge-capability"><i class="bi bi-palette-fill text-success"></i> Anodizing & Surface Finish</span>
                <span class="badge-capability"><i class="bi bi-layers-fill text-primary"></i> Rapid Prototyping</span>
            </div>
        </div>
    </section>

    <!-- 6. KONTAK & CALL TO ACTION -->
    <section id="kontak" class="py-5">
        <div class="container py-3">
            <div class="cta-box">
                <h3 class="fw-bold text-light mb-2">Punya Drawing 2D/3D CAD yang Ingin Dibuat?</h3>
                <p class="text-sub fs-6 mb-4 mx-auto" style="max-width: 580px;">
                    Kirimkan file STEP / IGES / PDF Anda langsung ke tim engineer kami untuk mendapatkan penawaran harga tercepat.
                </p>

                <div class="d-flex flex-wrap justify-content-center gap-3">
                    <a href="https://wa.me/6281234567890?text=Halo%20Engineering,%20saya%20mau%20kirim%20file%20CAD%20untuk%20diestimasi" target="_blank" class="btn btn-whatsapp-modern px-4">
                        <i class="bi bi-whatsapp"></i> Chat WhatsApp Tim Engineer
                    </a>
                    <a href="mailto:quote@precisioncnc.co.id" class="btn btn-outline-modern px-4">
                        <i class="bi bi-envelope-at-fill"></i> Email File CAD
                    </a>
                </div>
            </div>
        </div>
    </section>

    <!-- 7. FOOTER -->
    <footer class="footer-custom">
        <div class="container d-flex flex-column flex-md-row align-items-center justify-content-between gap-3">
            <div class="fw-semibold text-light">
                <i class="bi bi-cpu-fill text-primary me-1"></i> Precision CNC Manufacturing
            </div>
            <div class="text-sub fs-8">
                © 2026 Precision CNC. All rights reserved.
            </div>
        </div>
    </footer>

    <!-- BOOTSTRAP 5.3 JS -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>