%PDF- %PDF-
| Direktori : /home2/rezakur1/muakita.rezakurnia.com/Mua-Kita-Web/src/components/ |
| Current File : //home2/rezakur1/muakita.rezakurnia.com/Mua-Kita-Web/src/components/LandingPage.tsx |
import React, { useState } from 'react';
import {
Calendar, Users, Scissors, Sparkles, Check, ArrowRight, Play, Star,
ChevronLeft, ChevronRight, Clock, Phone, Globe, Tag, BarChart3, Box,
Megaphone, SlidersHorizontal, MapPin, Search, Bell, Plus,
Instagram, Youtube, Heart, CheckCircle2, Link2, Copy, ShieldCheck,
TrendingUp, CreditCard, MessageSquare, Building2, HelpCircle
} from 'lucide-react';
import { LoginModal } from './LoginModal';
import { PaketPage } from './pages/PaketPage';
import { MarketplacePage } from './pages/MarketplacePage';
import { BlogPage } from './pages/BlogPage';
import { BantuanPage } from './pages/BantuanPage';
import { WebsiteBuilderSection } from './WebsiteBuilderSection';
import { Role } from '../types';
interface LandingPageProps {
onLogin: (role: Role) => void;
}
export type LandingNavPage = 'home' | 'paket' | 'marketplace' | 'blog' | 'bantuan';
export const LandingPage: React.FC<LandingPageProps> = ({ onLogin }) => {
const [activePage, setActivePage] = useState<LandingNavPage>('home');
const [isLoginModalOpen, setIsLoginModalOpen] = useState(false);
const [pricingCycle, setPricingCycle] = useState<'monthly' | 'yearly'>('monthly');
const [copiedLink, setCopiedLink] = useState(false);
const handleOpenLogin = () => {
setIsLoginModalOpen(true);
};
const handleCopyLink = () => {
navigator.clipboard.writeText('https://maps.app.goo.gl/abcdefGhijk12345');
setCopiedLink(true);
setTimeout(() => setCopiedLink(false), 2000);
};
const scrollToSection = (id: string) => {
if (activePage !== 'home') {
setActivePage('home');
setTimeout(() => {
const element = document.getElementById(id);
if (element) {
element.scrollIntoView({ behavior: 'smooth' });
}
}, 100);
} else {
const element = document.getElementById(id);
if (element) {
element.scrollIntoView({ behavior: 'smooth' });
}
}
};
return (
<div className="min-h-screen bg-slate-50 text-slate-900 font-sans selection:bg-[#EC167F] selection:text-white">
{/* ========================================================= */}
{/* 1. TOP NAVBAR */}
{/* ========================================================= */}
<header className="sticky top-0 z-40 bg-white/95 backdrop-blur-md border-b border-slate-100 shadow-2xs">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 h-20 flex items-center justify-between gap-4">
{/* Brand Logo */}
<div
className="flex items-center gap-2.5 cursor-pointer group"
onClick={() => {
setActivePage('home');
window.scrollTo({ top: 0, behavior: 'smooth' });
}}
>
<div className="w-10 h-10 rounded-2xl bg-[#EC167F] flex items-center justify-center text-white font-black text-xl shadow-md shadow-pink-500/20 group-hover:scale-105 transition-transform">
M
</div>
<div>
<span className="text-xl font-black tracking-tight text-slate-900 block leading-none">
Mua<span className="text-[#EC167F]">Kita</span>
</span>
<span className="text-[10px] font-bold text-slate-400 block mt-0.5">
Platform Manajemen Bisnis Beauty untuk MUA
</span>
</div>
</div>
{/* Center Navigation Links */}
<nav className="hidden lg:flex items-center gap-8 text-xs font-bold text-slate-600">
<button
onClick={() => {
setActivePage('home');
window.scrollTo({ top: 0, behavior: 'smooth' });
}}
className={`hover:text-[#EC167F] transition-colors cursor-pointer py-1 ${activePage === 'home' ? 'text-[#EC167F] font-black border-b-2 border-[#EC167F]' : ''}`}
>
Beranda
</button>
<button
onClick={() => scrollToSection('fitur')}
className="hover:text-[#EC167F] transition-colors cursor-pointer py-1"
>
Fitur
</button>
<button
onClick={() => {
setActivePage('paket');
window.scrollTo({ top: 0, behavior: 'smooth' });
}}
className={`hover:text-[#EC167F] transition-colors cursor-pointer py-1 flex items-center gap-1 ${activePage === 'paket' ? 'text-[#EC167F] font-black border-b-2 border-[#EC167F]' : ''}`}
>
<span>Paket</span>
<span className="w-1.5 h-1.5 rounded-full bg-[#EC167F]" />
</button>
<button
onClick={() => {
setActivePage('marketplace');
window.scrollTo({ top: 0, behavior: 'smooth' });
}}
className={`hover:text-[#EC167F] transition-colors cursor-pointer py-1 ${activePage === 'marketplace' ? 'text-[#EC167F] font-black border-b-2 border-[#EC167F]' : ''}`}
>
Marketplace
</button>
<button
onClick={() => {
setActivePage('blog');
window.scrollTo({ top: 0, behavior: 'smooth' });
}}
className={`hover:text-[#EC167F] transition-colors cursor-pointer py-1 ${activePage === 'blog' ? 'text-[#EC167F] font-black border-b-2 border-[#EC167F]' : ''}`}
>
Blog
</button>
<button
onClick={() => {
setActivePage('bantuan');
window.scrollTo({ top: 0, behavior: 'smooth' });
}}
className={`hover:text-[#EC167F] transition-colors cursor-pointer py-1 ${activePage === 'bantuan' ? 'text-[#EC167F] font-black border-b-2 border-[#EC167F]' : ''}`}
>
Bantuan
</button>
</nav>
{/* Right Action Buttons */}
<div className="flex items-center gap-3">
<button
onClick={handleOpenLogin}
className="px-4 py-2 text-xs font-extrabold text-slate-700 hover:text-[#EC167F] transition-colors border border-slate-200 hover:border-pink-300 rounded-xl cursor-pointer"
>
Masuk
</button>
<button
onClick={() => {
setActivePage('demo');
window.scrollTo({ top: 0, behavior: 'smooth' });
}}
className="px-5 py-2.5 bg-[#EC167F] hover:bg-[#D41270] text-white rounded-xl text-xs font-extrabold shadow-md shadow-pink-500/20 hover:shadow-lg transition-all cursor-pointer flex items-center gap-1.5"
>
<span>Coba Gratis 14 Hari</span>
</button>
</div>
</div>
</header>
{/* FULL PAGE ROUTING VIEW */}
{activePage === 'paket' && (
<PaketPage
onSelectPlan={(planName, role) => {
if (role) onLogin(role);
else setIsLoginModalOpen(true);
}}
onNavigate={(page) => setActivePage(page as LandingNavPage)}
onOpenLogin={() => setIsLoginModalOpen(true)}
/>
)}
{activePage === 'marketplace' && (
<MarketplacePage
onOpenLogin={() => setIsLoginModalOpen(true)}
onNavigate={(page) => setActivePage(page as LandingNavPage)}
/>
)}
{activePage === 'blog' && (
<BlogPage
onNavigate={(page) => setActivePage(page as LandingNavPage)}
/>
)}
{activePage === 'bantuan' && (
<BantuanPage
onNavigate={(page) => setActivePage(page as LandingNavPage)}
/>
)}
{activePage === 'home' && (
<>
{/* ========================================================= */}
{/* 2. HERO SECTION */}
{/* ========================================================= */}
<section className="relative pt-10 pb-16 lg:pt-16 lg:pb-20 overflow-hidden bg-gradient-to-b from-pink-50/40 via-slate-50 to-white">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="grid grid-cols-1 lg:grid-cols-12 gap-8 lg:gap-12 items-center">
{/* LEFT HERO TEXT (5 columns) */}
<div className="lg:col-span-5 space-y-5 text-left">
{/* Badge */}
<div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-pink-100/80 text-[#EC167F] text-[11px] font-extrabold">
<span>Platform All-in-One untuk MUA Profesional</span>
</div>
{/* Title */}
<h1 className="text-3xl sm:text-4xl lg:text-5xl font-black text-slate-900 tracking-tight leading-[1.15]">
Kelola Bisnis MUA Lebih Mudah, <span className="text-[#EC167F]">Fokus pada Karya</span>
</h1>
{/* Description */}
<p className="text-xs sm:text-sm text-slate-600 font-medium leading-relaxed">
MuaKita membantu MUA mengelola reservasi, pelanggan, layanan, tim, keuangan, hingga promosi dalam satu platform. Hemat waktu, tingkatkan booking, dan kelola bisnis seperti pro.
</p>
{/* 4 Feature Icons Row */}
<div className="grid grid-cols-2 gap-3 pt-1 text-[11px] font-bold text-slate-700">
<div className="flex items-center gap-2">
<div className="w-7 h-7 rounded-lg bg-pink-100 text-[#EC167F] flex items-center justify-center shrink-0">
<Sparkles className="w-3.5 h-3.5" />
</div>
<span>Mudah Digunakan</span>
</div>
<div className="flex items-center gap-2">
<div className="w-7 h-7 rounded-lg bg-pink-100 text-[#EC167F] flex items-center justify-center shrink-0">
<ShieldCheck className="w-3.5 h-3.5" />
</div>
<span>Data Aman</span>
</div>
<div className="flex items-center gap-2">
<div className="w-7 h-7 rounded-lg bg-pink-100 text-[#EC167F] flex items-center justify-center shrink-0">
<Globe className="w-3.5 h-3.5" />
</div>
<span>Akses di Mana Saja</span>
</div>
<div className="flex items-center gap-2">
<div className="w-7 h-7 rounded-lg bg-pink-100 text-[#EC167F] flex items-center justify-center shrink-0">
<MessageSquare className="w-3.5 h-3.5" />
</div>
<span>Support 24/7</span>
</div>
</div>
{/* Action Buttons */}
<div className="flex flex-wrap items-center gap-3 pt-2">
<button
onClick={handleOpenLogin}
className="px-6 py-3.5 bg-[#EC167F] hover:bg-[#D41270] text-white rounded-xl text-xs font-extrabold shadow-lg shadow-pink-500/25 hover:shadow-xl transition-all flex items-center gap-2 cursor-pointer group"
>
<span>Coba Gratis 14 Hari</span>
<ArrowRight className="w-4 h-4 group-hover:translate-x-1 transition-transform" />
</button>
<button
onClick={handleOpenLogin}
className="px-5 py-3.5 bg-white hover:bg-slate-50 text-slate-800 border border-slate-200 rounded-xl text-xs font-extrabold shadow-2xs transition-colors flex items-center gap-2 cursor-pointer"
>
<span>Lihat Demo</span>
<div className="w-4 h-4 rounded-full bg-slate-900 text-white flex items-center justify-center">
<Play className="w-2.5 h-2.5 fill-white ml-0.5" />
</div>
</button>
</div>
{/* Sub-text checks */}
<div className="flex flex-wrap items-center gap-4 text-[11px] font-semibold text-slate-500 pt-1">
<div className="flex items-center gap-1">
<span className="w-3.5 h-3.5 rounded-full bg-slate-200 text-slate-600 font-bold flex items-center justify-center text-[9px]">✕</span>
<span>Tanpa kartu kredit</span>
</div>
<div className="flex items-center gap-1">
<span className="w-1.5 h-1.5 rounded-full bg-pink-500" />
<span>Setup cepat</span>
</div>
<div className="flex items-center gap-1">
<span className="w-1.5 h-1.5 rounded-full bg-pink-500" />
<span>Batalkan kapan saja</span>
</div>
</div>
</div>
{/* RIGHT DASHBOARD MOCKUP PREVIEW (7 columns) */}
<div className="lg:col-span-7">
<div className="rounded-2xl bg-white border border-slate-200/90 shadow-2xl overflow-hidden text-slate-800">
{/* Mockup Header */}
<div className="bg-slate-50 px-4 py-2.5 border-b border-slate-100 flex items-center justify-between text-xs">
<div className="flex items-center gap-2 font-black text-slate-900">
<div className="w-5 h-5 rounded-lg bg-[#EC167F] text-white flex items-center justify-center text-[10px]">M</div>
<span>MuaKita</span>
<span className="text-slate-300 font-normal">|</span>
<span className="text-slate-600 font-bold">Dashboard</span>
</div>
<div className="flex items-center gap-3 text-[11px] text-slate-500">
<span className="bg-white border border-slate-200 px-2.5 py-1 rounded-lg text-slate-700 font-semibold flex items-center gap-1">
Periode: <strong className="text-slate-900">30 Hari Terakhir</strong>
</span>
<div className="flex items-center gap-1.5 font-bold text-slate-800">
<div className="w-6 h-6 rounded-full bg-pink-100 text-[#EC167F] flex items-center justify-center text-[10px] font-black">
GB
</div>
<span className="text-[11px]">Glow Bridal Studio</span>
</div>
</div>
</div>
{/* Dashboard Inner Body */}
<div className="p-4 bg-slate-50/30 space-y-3.5">
{/* Top 4 Metrics Cards */}
<div className="grid grid-cols-2 sm:grid-cols-4 gap-2.5">
<div className="bg-white p-3 rounded-xl border border-slate-200/80 space-y-1">
<span className="text-[10px] text-slate-400 font-bold block">Total Reservasi</span>
<span className="text-lg font-black text-slate-900 block leading-none">128</span>
<span className="text-[9px] font-bold text-emerald-600 flex items-center gap-0.5">
↑ 18.2% <span className="text-slate-400 font-normal">vs bulan lalu</span>
</span>
</div>
<div className="bg-white p-3 rounded-xl border border-slate-200/80 space-y-1">
<span className="text-[10px] text-slate-400 font-bold block">Pendapatan</span>
<span className="text-base font-black text-slate-900 block leading-none">Rp 24.560.000</span>
<span className="text-[9px] font-bold text-emerald-600 flex items-center gap-0.5">
↑ 34.6% <span className="text-slate-400 font-normal">vs bulan lalu</span>
</span>
</div>
<div className="bg-white p-3 rounded-xl border border-slate-200/80 space-y-1">
<span className="text-[10px] text-slate-400 font-bold block">Pelanggan Baru</span>
<span className="text-lg font-black text-slate-900 block leading-none">56</span>
<span className="text-[9px] font-bold text-emerald-600 flex items-center gap-0.5">
↑ 12.4% <span className="text-slate-400 font-normal">vs bulan lalu</span>
</span>
</div>
<div className="bg-white p-3 rounded-xl border border-slate-200/80 space-y-1">
<span className="text-[10px] text-slate-400 font-bold block">Tingkat Konversi</span>
<span className="text-lg font-black text-slate-900 block leading-none">32.7%</span>
<span className="text-[9px] font-bold text-emerald-600 flex items-center gap-0.5">
↑ 8.3% <span className="text-slate-400 font-normal">vs bulan lalu</span>
</span>
</div>
</div>
{/* Middle Row: Revenue Graph & Recent Reservations */}
<div className="grid grid-cols-1 sm:grid-cols-12 gap-3">
{/* Revenue Line Chart (7 cols) */}
<div className="sm:col-span-7 bg-white p-3 rounded-xl border border-slate-200/80 space-y-2">
<span className="text-[11px] font-extrabold text-slate-900 block">Pendapatan</span>
<div className="h-28 w-full relative pt-1">
<svg className="w-full h-full overflow-visible" viewBox="0 0 300 90" preserveAspectRatio="none">
<defs>
<linearGradient id="heroPinkGrad" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stopColor="#EC167F" stopOpacity="0.2" />
<stop offset="100%" stopColor="#EC167F" stopOpacity="0" />
</linearGradient>
</defs>
<path d="M 0,70 Q 50,80 100,50 T 200,30 T 300,10 L 300,90 L 0,90 Z" fill="url(#heroPinkGrad)" />
<path d="M 0,70 Q 50,80 100,50 T 200,30 T 300,10" fill="none" stroke="#EC167F" strokeWidth="2.5" />
<circle cx="50" cy="72" r="3" fill="#EC167F" />
<circle cx="100" cy="50" r="3" fill="#EC167F" />
<circle cx="150" cy="55" r="3" fill="#EC167F" />
<circle cx="200" cy="30" r="3" fill="#EC167F" />
<circle cx="250" cy="20" r="3" fill="#EC167F" />
<circle cx="300" cy="10" r="4" fill="#EC167F" stroke="#fff" strokeWidth="2" />
</svg>
<div className="flex justify-between text-[8px] font-bold text-slate-400 mt-1">
<span>Jan</span>
<span>Feb</span>
<span>Mar</span>
<span>Apr</span>
<span>Mei</span>
<span>Jun</span>
<span>Jul</span>
</div>
</div>
</div>
{/* Recent Bookings (5 cols) */}
<div className="sm:col-span-5 bg-white p-3 rounded-xl border border-slate-200/80 space-y-2">
<div className="flex justify-between items-center text-[11px]">
<span className="font-extrabold text-slate-900">Reservasi Terbaru</span>
<span className="text-[9px] font-bold text-[#EC167F] cursor-pointer">Lihat semua</span>
</div>
<div className="space-y-1.5 text-[10px]">
<div className="flex items-center justify-between p-1.5 rounded-lg bg-slate-50">
<div className="flex items-center gap-1.5">
<div className="w-5 h-5 rounded-full bg-pink-200 text-pink-700 font-extrabold flex items-center justify-center text-[8px]">AP</div>
<div>
<span className="font-bold text-slate-900 block leading-tight">Anisa Putri</span>
<span className="text-[8px] text-slate-400">Makeup Engagement</span>
</div>
</div>
<span className="text-[8px] font-bold text-slate-500">12 Jul • 08:00</span>
</div>
<div className="flex items-center justify-between p-1.5 rounded-lg bg-slate-50">
<div className="flex items-center gap-1.5">
<div className="w-5 h-5 rounded-full bg-emerald-200 text-emerald-800 font-extrabold flex items-center justify-center text-[8px]">DL</div>
<div>
<span className="font-bold text-slate-900 block leading-tight">Dewi Lestari</span>
<span className="text-[8px] text-slate-400">Makeup Wedding</span>
</div>
</div>
<span className="text-[8px] font-bold text-slate-500">11 Jul • 11:00</span>
</div>
<div className="flex items-center justify-between p-1.5 rounded-lg bg-slate-50">
<div className="flex items-center gap-1.5">
<div className="w-5 h-5 rounded-full bg-purple-200 text-purple-800 font-extrabold flex items-center justify-center text-[8px]">SA</div>
<div>
<span className="font-bold text-slate-900 block leading-tight">Siti Aisyah</span>
<span className="text-[8px] text-slate-400">Makeup Graduasi</span>
</div>
</div>
<span className="text-[8px] font-bold text-slate-500">10 Jul • 13:30</span>
</div>
</div>
</div>
</div>
{/* Bottom Row: Jadwal Hari Ini & Pemasukan vs Pengeluaran */}
<div className="grid grid-cols-1 sm:grid-cols-12 gap-3">
{/* Jadwal Hari ini (7 cols) */}
<div className="sm:col-span-7 bg-white p-3 rounded-xl border border-slate-200/80 space-y-1.5">
<span className="text-[11px] font-extrabold text-slate-900 block">Jadwal Hari Ini</span>
<div className="space-y-1 text-[10px]">
<div className="flex items-center justify-between p-1.5 bg-slate-50 rounded-lg">
<span className="font-mono text-slate-500 font-bold">08.00</span>
<span className="font-bold text-slate-800">Makeup Wedding</span>
<span className="text-slate-500">Anisa Putri</span>
</div>
<div className="flex items-center justify-between p-1.5 bg-slate-50 rounded-lg">
<span className="font-mono text-slate-500 font-bold">11.00</span>
<span className="font-bold text-slate-800">Makeup Engagement</span>
<span className="text-slate-500">Dewi Lestari</span>
</div>
<div className="flex items-center justify-between p-1.5 bg-slate-50 rounded-lg">
<span className="font-mono text-slate-500 font-bold">14.00</span>
<span className="font-bold text-slate-800">Trial Makeup</span>
<span className="text-slate-500">Siti Aisyah</span>
</div>
</div>
</div>
{/* Donut Chart (5 cols) */}
<div className="sm:col-span-5 bg-white p-3 rounded-xl border border-slate-200/80 space-y-2">
<span className="text-[11px] font-extrabold text-slate-900 block">Pemasukan vs Pengeluaran</span>
<div className="flex items-center gap-3">
<div className="w-12 h-12 rounded-full border-4 border-[#EC167F] border-t-purple-600 flex items-center justify-center shrink-0">
<span className="text-[8px] font-extrabold text-slate-700">79%</span>
</div>
<div className="space-y-1 text-[9px]">
<div>
<span className="text-slate-400 font-medium block">Pemasukan</span>
<span className="font-black text-[#EC167F]">Rp 24.560.000</span>
</div>
<div>
<span className="text-slate-400 font-medium block">Pengeluaran</span>
<span className="font-black text-purple-600">Rp 6.240.000</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
{/* ========================================================= */}
{/* 3. LOGO CLOUD TRUST BANNER */}
{/* ========================================================= */}
<section className="py-8 bg-white border-y border-slate-100">
<div className="max-w-7xl mx-auto px-4 text-center space-y-5">
<p className="text-xs font-bold text-slate-500">
Dipercaya oleh 1.000+ MUA & beauty business di seluruh Indonesia
</p>
<div className="flex flex-wrap items-center justify-center gap-6 sm:gap-10 text-xs font-black tracking-wider text-slate-400 uppercase">
<span className="hover:text-slate-700 transition-colors">GLOW Bridal Studio</span>
<span className="hover:text-slate-700 transition-colors">LAVISH BEAUTY</span>
<span className="hover:text-slate-700 transition-colors">Cantik SALON</span>
<span className="hover:text-slate-700 transition-colors">BELLA AESTHETIC</span>
<span className="hover:text-slate-700 transition-colors">FLAWLESS MUA</span>
<span className="hover:text-slate-700 transition-colors">ELEGANT WEDDING</span>
<span className="hover:text-slate-700 transition-colors">NATURAL BEAUTY</span>
<span className="hover:text-slate-700 transition-colors">ZAHRA MAKEUP</span>
</div>
</div>
</section>
{/* ========================================================= */}
{/* 4. ALL-IN-ONE FEATURES GRID SECTION */}
{/* ========================================================= */}
<section id="fitur" className="py-16 sm:py-20 bg-slate-50/50">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 space-y-10">
{/* Section Title */}
<div className="text-center max-w-2xl mx-auto space-y-2">
<span className="text-[11px] font-black uppercase tracking-widest text-[#EC167F] block">
SEMUA DALAM SATU PLATFORM
</span>
<h2 className="text-2xl sm:text-3xl lg:text-4xl font-black text-slate-900 tracking-tight">
Fitur Lengkap untuk <span className="text-[#EC167F]">Mengelola Bisnis MUA</span>
</h2>
</div>
{/* 10 Feature Cards Grid (5 x 2 layout) */}
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4">
{/* Card 1: Reservasi & Kalender */}
<div className="bg-white p-4 sm:p-5 rounded-2xl border border-slate-200/80 shadow-2xs space-y-2.5 hover:border-pink-200 transition-colors">
<div className="w-9 h-9 rounded-xl bg-pink-50 text-[#EC167F] flex items-center justify-center">
<Calendar className="w-4.5 h-4.5" />
</div>
<h3 className="text-sm font-extrabold text-slate-900">Reservasi & Kalender</h3>
<p className="text-xs text-slate-500 leading-relaxed font-medium">
Kelola jadwal, kalender, buat reservasi, form publik, dan daftar reservasi dengan mudah.
</p>
</div>
{/* Card 2: Manajemen Pelanggan */}
<div className="bg-white p-4 sm:p-5 rounded-2xl border border-slate-200/80 shadow-2xs space-y-2.5 hover:border-pink-200 transition-colors">
<div className="w-9 h-9 rounded-xl bg-pink-50 text-[#EC167F] flex items-center justify-center">
<Users className="w-4.5 h-4.5" />
</div>
<h3 className="text-sm font-extrabold text-slate-900">Manajemen Pelanggan</h3>
<p className="text-xs text-slate-500 leading-relaxed font-medium">
Simpan data pelanggan, riwayat reservasi, catatan preferensi, dan tingkatkan loyalitas.
</p>
</div>
{/* Card 3: Manajemen Layanan */}
<div className="bg-white p-4 sm:p-5 rounded-2xl border border-slate-200/80 shadow-2xs space-y-2.5 hover:border-pink-200 transition-colors">
<div className="w-9 h-9 rounded-xl bg-pink-50 text-[#EC167F] flex items-center justify-center">
<Scissors className="w-4.5 h-4.5" />
</div>
<h3 className="text-sm font-extrabold text-slate-900">Manajemen Layanan</h3>
<p className="text-xs text-slate-500 leading-relaxed font-medium">
Kelola layanan, paket, harga, durasi, dan custom request sesuai kebutuhan bisnismu.
</p>
</div>
{/* Card 4: Wedding Management */}
<div className="bg-white p-4 sm:p-5 rounded-2xl border border-slate-200/80 shadow-2xs space-y-2.5 hover:border-pink-200 transition-colors">
<div className="w-9 h-9 rounded-xl bg-pink-50 text-[#EC167F] flex items-center justify-center">
<Heart className="w-4.5 h-4.5" />
</div>
<h3 className="text-sm font-extrabold text-slate-900">Wedding Management</h3>
<p className="text-xs text-slate-500 leading-relaxed font-medium">
Kelola event wedding, rundown, pembayaran, tim, dan detail klien dengan rapi.
</p>
</div>
{/* Card 5: Manajemen Tim */}
<div className="bg-white p-4 sm:p-5 rounded-2xl border border-slate-200/80 shadow-2xs space-y-2.5 hover:border-pink-200 transition-colors">
<div className="w-9 h-9 rounded-xl bg-pink-50 text-[#EC167F] flex items-center justify-center">
<Users className="w-4.5 h-4.5" />
</div>
<h3 className="text-sm font-extrabold text-slate-900">Manajemen Tim</h3>
<p className="text-xs text-slate-500 leading-relaxed font-medium">
Atur peran, jadwal, komisi, absensi, dan performa tim dalam satu sistem.
</p>
</div>
{/* Card 6: Keuangan & Laporan */}
<div className="bg-white p-4 sm:p-5 rounded-2xl border border-slate-200/80 shadow-2xs space-y-2.5 hover:border-pink-200 transition-colors">
<div className="w-9 h-9 rounded-xl bg-pink-50 text-[#EC167F] flex items-center justify-center">
<BarChart3 className="w-4.5 h-4.5" />
</div>
<h3 className="text-sm font-extrabold text-slate-900">Keuangan & Laporan</h3>
<p className="text-xs text-slate-500 leading-relaxed font-medium">
Catat pemasukan, pengeluaran, laba, dan dapatkan laporan real-time yang akurat.
</p>
</div>
{/* Card 7: Inventaris */}
<div className="bg-white p-4 sm:p-5 rounded-2xl border border-slate-200/80 shadow-2xs space-y-2.5 hover:border-pink-200 transition-colors">
<div className="w-9 h-9 rounded-xl bg-pink-50 text-[#EC167F] flex items-center justify-center">
<Box className="w-4.5 h-4.5" />
</div>
<h3 className="text-sm font-extrabold text-slate-900">Inventaris</h3>
<p className="text-xs text-slate-500 leading-relaxed font-medium">
Kelola item & stok, kategori inventory, notifikasi stok menipis, dan riwayat penggunaan.
</p>
</div>
{/* Card 8: Pemasaran (with Baru badge) */}
<div className="bg-white p-4 sm:p-5 rounded-2xl border border-slate-200/80 shadow-2xs space-y-2.5 hover:border-pink-200 transition-colors">
<div className="flex items-center justify-between">
<div className="w-9 h-9 rounded-xl bg-pink-50 text-[#EC167F] flex items-center justify-center">
<Megaphone className="w-4.5 h-4.5" />
</div>
<span className="px-2 py-0.5 rounded-full bg-pink-100 text-[#EC167F] text-[10px] font-black">
Baru
</span>
</div>
<h3 className="text-sm font-extrabold text-slate-900">Pemasaran</h3>
<p className="text-xs text-slate-500 leading-relaxed font-medium">
Kirim promo, kelola voucher, campaign, dan tingkatkan penjualan bisnismu.
</p>
</div>
{/* Card 9: Website & Form Publik */}
<div className="bg-white p-4 sm:p-5 rounded-2xl border border-slate-200/80 shadow-2xs space-y-2.5 hover:border-pink-200 transition-colors">
<div className="w-9 h-9 rounded-xl bg-pink-50 text-[#EC167F] flex items-center justify-center">
<Globe className="w-4.5 h-4.5" />
</div>
<h3 className="text-sm font-extrabold text-slate-900">Website & Form Publik</h3>
<p className="text-xs text-slate-500 leading-relaxed font-medium">
Miliki website profesional & form booking sendiri untuk tarik lebih banyak klien.
</p>
</div>
{/* Card 10: Pengaturan Lengkap */}
<div className="bg-white p-4 sm:p-5 rounded-2xl border border-slate-200/80 shadow-2xs space-y-2.5 hover:border-pink-200 transition-colors">
<div className="w-9 h-9 rounded-xl bg-pink-50 text-[#EC167F] flex items-center justify-center">
<SlidersHorizontal className="w-4.5 h-4.5" />
</div>
<h3 className="text-sm font-extrabold text-slate-900">Pengaturan Lengkap</h3>
<p className="text-xs text-slate-500 leading-relaxed font-medium">
Atur profil & branding, jam buka, rekening bank, dan form publik sesuai kebutuhan.
</p>
</div>
</div>
</div>
</section>
{/* ========================================================= */}
{/* 5. FEATURE HIGHLIGHT: HITUNG ONGKOS TRANSPORT OTOMATIS */}
{/* ========================================================= */}
<section className="py-16 sm:py-20 bg-white">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="grid grid-cols-1 lg:grid-cols-12 gap-8 lg:gap-12 items-center">
{/* Left Description (5 cols) */}
<div className="lg:col-span-5 space-y-5">
<span className="px-3 py-1 rounded-md bg-pink-100 text-[#EC167F] text-[10px] font-extrabold tracking-wider uppercase inline-block">
FITUR UNGGULAN
</span>
<h2 className="text-2xl sm:text-3xl lg:text-4xl font-black text-slate-900 tracking-tight leading-tight">
<span className="text-[#EC167F]">Hitung Ongkos Transport Otomatis</span> dari Lokasi Klien
</h2>
<p className="text-xs sm:text-sm text-slate-600 font-medium leading-relaxed">
Masukkan link lokasi klien (Google Maps), sistem akan otomatis menghitung jarak, durasi, dan ongkos transport sesuai pengaturan yang Anda tetapkan.
</p>
<div className="space-y-3.5 pt-2 text-xs">
<div className="flex items-start gap-3">
<div className="w-7 h-7 rounded-xl bg-pink-100 text-[#EC167F] flex items-center justify-center shrink-0 mt-0.5">
<MapPin className="w-4 h-4" />
</div>
<div>
<h4 className="font-extrabold text-slate-900">Input Link Lokasi Klien</h4>
<p className="text-slate-500 font-medium text-[11px]">Tempel link Google Maps, sistem baca lokasi otomatis.</p>
</div>
</div>
<div className="flex items-start gap-3">
<div className="w-7 h-7 rounded-xl bg-pink-100 text-[#EC167F] flex items-center justify-center shrink-0 mt-0.5">
<Clock className="w-4 h-4" />
</div>
<div>
<h4 className="font-extrabold text-slate-900">Hitung Otomatis</h4>
<p className="text-slate-500 font-medium text-[11px]">Jarak & ongkos dihitung berdasarkan tarif per km Anda.</p>
</div>
</div>
<div className="flex items-start gap-3">
<div className="w-7 h-7 rounded-xl bg-pink-100 text-[#EC167F] flex items-center justify-center shrink-0 mt-0.5">
<CheckCircle2 className="w-4 h-4" />
</div>
<div>
<h4 className="font-extrabold text-slate-900">Transparan & Akurat</h4>
<p className="text-slate-500 font-medium text-[11px]">Tampilkan rincian biaya transport ke klien dengan jelas.</p>
</div>
</div>
</div>
</div>
{/* Right Interactive Transport Card (7 cols) */}
<div className="lg:col-span-7 bg-slate-50 p-5 sm:p-6 rounded-3xl border border-slate-200/90 shadow-xl space-y-4">
<h3 className="text-sm font-extrabold text-slate-900">Hitung Ongkos Transport</h3>
{/* Link Input Box */}
<div className="space-y-1">
<label className="text-[11px] font-bold text-slate-500 block">Link Lokasi Klien</label>
<div className="flex items-center gap-2">
<input
type="text"
readOnly
value="https://maps.app.goo.gl/abcdefGhijk12345"
className="w-full bg-white border border-slate-200 p-2.5 rounded-xl text-xs font-mono text-slate-700 focus:outline-none"
/>
<button
onClick={handleCopyLink}
className="p-2.5 bg-white border border-slate-200 rounded-xl text-slate-500 hover:text-[#EC167F] transition-colors cursor-pointer shrink-0"
title="Salin Link"
>
<Link2 className="w-4 h-4" />
</button>
</div>
{copiedLink && (
<span className="text-[10px] font-bold text-emerald-600 block pt-0.5">Link tersalin!</span>
)}
</div>
{/* Map + Calculations Grid */}
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4 pt-1">
{/* Table Breakdown */}
<div className="space-y-2 text-xs">
<span className="font-extrabold text-slate-900 block border-b border-slate-200 pb-1">
Ringkasan Perhitungan
</span>
<div className="flex justify-between py-1">
<span className="text-slate-500">Jarak</span>
<span className="font-bold text-slate-900">18,6 km</span>
</div>
<div className="flex justify-between py-1">
<span className="text-slate-500">Durasi</span>
<span className="font-bold text-slate-900">35 menit</span>
</div>
<div className="flex justify-between py-1">
<span className="text-slate-500">Tarif per km</span>
<span className="font-bold text-slate-900">Rp 3.000</span>
</div>
<div className="flex justify-between py-1.5 border-t border-slate-200">
<span className="font-extrabold text-slate-900">Ongkos Transport</span>
<span className="font-black text-[#EC167F] text-sm">Rp 55.800</span>
</div>
</div>
{/* Map Visual Box */}
<div className="bg-blue-50/70 border border-blue-100 rounded-2xl p-3 relative min-h-[160px] flex flex-col justify-between overflow-hidden">
{/* Top Badge */}
<div className="flex justify-end">
<span className="bg-white/90 backdrop-blur-xs px-2.5 py-1 rounded-lg text-[10px] font-extrabold text-slate-800 shadow-2xs">
18,6 km <span className="text-slate-400 font-normal">/ 35 menit</span>
</span>
</div>
{/* Route SVG Line Simulation */}
<div className="absolute inset-0 flex items-center justify-center pointer-events-none px-6">
<svg className="w-full h-24 stroke-blue-500 stroke-[3] fill-none" viewBox="0 0 200 80">
<path d="M 20,60 Q 80,10 180,20" strokeDasharray="4 4" />
</svg>
</div>
{/* Pin Start */}
<div className="absolute bottom-4 left-4 z-10">
<div className="w-6 h-6 rounded-full bg-[#EC167F] text-white flex items-center justify-center shadow-md">
<MapPin className="w-3.5 h-3.5" />
</div>
</div>
{/* Pin End */}
<div className="absolute top-4 right-4 z-10">
<div className="w-7 h-7 rounded-full bg-rose-500 text-white flex items-center justify-center shadow-md animate-bounce">
<MapPin className="w-4 h-4" />
</div>
</div>
{/* Bottom Address Box */}
<div className="bg-white p-2 rounded-xl border border-slate-200 text-[10px] space-y-0.5 z-10 mt-auto">
<span className="font-bold text-slate-900 block">Lokasi Klien</span>
<span className="text-slate-500 truncate block">Jl. Sudirman No. 123, Jakarta Selatan</span>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
{/* ========================================================= */}
{/* 5.5. WEBSITE BUILDER SECTION */}
{/* ========================================================= */}
<WebsiteBuilderSection
onOpenLogin={handleOpenLogin}
onOpenDemo={handleOpenLogin}
onNavigateToPaket={() => {
setActivePage('paket');
window.scrollTo({ top: 0, behavior: 'smooth' });
}}
/>
{/* ========================================================= */}
{/* 6. PRICING SECTION ("Paket Fleksibel untuk Setiap Tahap") */}
{/* ========================================================= */}
<section id="paket" className="py-16 sm:py-20 bg-slate-50/50">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 space-y-10">
{/* Header & Toggle */}
<div className="text-center max-w-2xl mx-auto space-y-3">
<span className="text-[11px] font-black uppercase tracking-widest text-[#EC167F] block">
PILIH PAKET YANG SESUAI
</span>
<h2 className="text-2xl sm:text-3xl lg:text-4xl font-black text-slate-900 tracking-tight">
Paket Fleksibel untuk Setiap Tahap Bisnis Anda
</h2>
{/* Toggle Switch & Comparison Button */}
<div className="flex flex-wrap items-center justify-center gap-3 pt-1.5">
<div className="inline-flex items-center gap-2 p-1 bg-slate-200/70 rounded-full text-xs font-bold">
<button
onClick={() => setPricingCycle('monthly')}
className={`px-4 py-1.5 rounded-full transition-all cursor-pointer ${
pricingCycle === 'monthly' ? 'bg-white text-slate-900 shadow-2xs' : 'text-slate-600'
}`}
>
Bulanan
</button>
<button
onClick={() => setPricingCycle('yearly')}
className={`px-4 py-1.5 rounded-full transition-all cursor-pointer flex items-center gap-1.5 ${
pricingCycle === 'yearly' ? 'bg-[#EC167F]' : 'text-slate-600'
}`}
>
<span>Tahunan</span>
<span className="px-1.5 py-0.2 rounded-full bg-emerald-100 text-emerald-800 text-[9px] font-black">
Hemat 20%
</span>
</button>
</div>
<button
onClick={() => {
setActivePage('paket');
window.scrollTo({ top: 0, behavior: 'smooth' });
}}
className="px-4 py-2 bg-white hover:bg-pink-50 text-[#EC167F] border border-pink-200 rounded-full text-xs font-extrabold shadow-2xs transition-colors flex items-center gap-1.5 cursor-pointer"
>
<Sparkles className="w-3.5 h-3.5" />
<span>Bandingkan Semua Fitur & Kalkulator</span>
</button>
</div>
</div>
{/* 4 Pricing Cards Grid */}
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-5 items-stretch">
{/* Card 1: Starter */}
<div className="bg-white p-5 rounded-3xl border border-slate-200/90 shadow-2xs flex flex-col justify-between space-y-4">
<div className="space-y-3">
<div>
<h3 className="text-base font-black text-slate-900">Starter</h3>
<p className="text-[11px] text-slate-500 font-medium">Untuk MUA pemula yang baru memulai.</p>
</div>
<div className="pt-2">
<span className="text-xs text-slate-400 font-bold">Rp </span>
<span className="text-2xl font-black text-slate-900">149.000</span>
<span className="text-xs text-slate-400 font-bold"> /bulan</span>
</div>
<div className="space-y-2 pt-3 border-t border-slate-100 text-xs text-slate-700">
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-pink-500 stroke-[3]" />
<span>Reservasi & Kalender</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-pink-500 stroke-[3]" />
<span>Manajemen Pelanggan</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-pink-500 stroke-[3]" />
<span>Manajemen Layanan</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-pink-500 stroke-[3]" />
<span>Laporan Dasar</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-pink-500 stroke-[3]" />
<span>Support Chat</span>
</div>
</div>
</div>
<button
onClick={handleOpenLogin}
className="w-full py-2.5 bg-slate-50 hover:bg-slate-100 text-slate-800 font-extrabold text-xs rounded-xl border border-slate-200 transition-colors cursor-pointer"
>
Coba Gratis 14 Hari
</button>
</div>
{/* Card 2: Professional (Popular - Pink Border) */}
<div className="bg-white p-5 rounded-3xl border-2 border-[#EC167F] shadow-xl flex flex-col justify-between space-y-4 relative">
<span className="absolute -top-3 left-1/2 -translate-x-1/2 px-3 py-0.5 rounded-full bg-[#EC167F] text-white text-[9px] font-black tracking-wider uppercase shadow-2xs">
Paling Populer
</span>
<div className="space-y-3">
<div>
<h3 className="text-base font-black text-slate-900">Professional</h3>
<p className="text-[11px] text-slate-500 font-medium">Untuk MUA profesional yang ingin berkembang.</p>
</div>
<div className="pt-2">
<span className="text-xs text-slate-400 font-bold">Rp </span>
<span className="text-2xl font-black text-slate-900">299.000</span>
<span className="text-xs text-slate-400 font-bold"> /bulan</span>
</div>
<div className="space-y-2 pt-3 border-t border-slate-100 text-xs text-slate-700">
<div className="flex items-center gap-2 font-bold">
<Check className="w-3.5 h-3.5 text-[#EC167F] stroke-[3]" />
<span>Semua fitur Starter</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-[#EC167F] stroke-[3]" />
<span>Manajemen Tim</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-[#EC167F] stroke-[3]" />
<span>Keuangan & Laporan</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-[#EC167F] stroke-[3]" />
<span>Inventaris</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-[#EC167F] stroke-[3]" />
<span>Pemasaran (Promo & Voucher)</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-[#EC167F] stroke-[3]" />
<span>Website & Form Publik</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-[#EC167F] stroke-[3]" />
<span>Support Prioritas</span>
</div>
</div>
</div>
<button
onClick={handleOpenLogin}
className="w-full py-2.5 bg-[#EC167F] hover:bg-[#D41270] text-white font-extrabold text-xs rounded-xl transition-all cursor-pointer shadow-md shadow-pink-500/20"
>
Coba Gratis 14 Hari
</button>
</div>
{/* Card 3: Business */}
<div className="bg-white p-5 rounded-3xl border border-slate-200/90 shadow-2xs flex flex-col justify-between space-y-4">
<div className="space-y-3">
<div>
<h3 className="text-base font-black text-slate-900">Business</h3>
<p className="text-[11px] text-slate-500 font-medium">Untuk bisnis MUA dengan tim yang besar.</p>
</div>
<div className="pt-2">
<span className="text-xs text-slate-400 font-bold">Rp </span>
<span className="text-2xl font-black text-slate-900">499.000</span>
<span className="text-xs text-slate-400 font-bold"> /bulan</span>
</div>
<div className="space-y-2 pt-3 border-t border-slate-100 text-xs text-slate-700">
<div className="flex items-center gap-2 font-bold">
<Check className="w-3.5 h-3.5 text-pink-500 stroke-[3]" />
<span>Semua fitur Professional</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-pink-500 stroke-[3]" />
<span>Wedding Management</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-pink-500 stroke-[3]" />
<span>Hitung Transport Otomatis</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-pink-500 stroke-[3]" />
<span>Multi Lokasi/Outlet</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-pink-500 stroke-[3]" />
<span>Integrasi WhatsApp</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-pink-500 stroke-[3]" />
<span>Export Laporan Lengkap</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-pink-500 stroke-[3]" />
<span>Support Prioritas</span>
</div>
</div>
</div>
<button
onClick={handleOpenLogin}
className="w-full py-2.5 bg-slate-50 hover:bg-slate-100 text-slate-800 font-extrabold text-xs rounded-xl border border-slate-200 transition-colors cursor-pointer"
>
Coba Gratis 14 Hari
</button>
</div>
{/* Card 4: Enterprise / Custom */}
<div className="bg-white p-5 rounded-3xl border border-slate-200/90 shadow-2xs flex flex-col justify-between space-y-4">
<div className="space-y-3">
<div>
<h3 className="text-base font-black text-slate-900">Enterprise</h3>
<p className="text-[11px] text-slate-500 font-medium">Solusi khusus untuk bisnis skala besar.</p>
</div>
<div className="pt-2">
<span className="text-2xl font-black text-slate-900">Custom</span>
</div>
<div className="space-y-2 pt-3 border-t border-slate-100 text-xs text-slate-700">
<div className="flex items-center gap-2 font-bold">
<Check className="w-3.5 h-3.5 text-pink-500 stroke-[3]" />
<span>Semua fitur Business</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-pink-500 stroke-[3]" />
<span>Custom Fitur</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-pink-500 stroke-[3]" />
<span>Dedicated Account Manager</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-pink-500 stroke-[3]" />
<span>Training & Onboarding</span>
</div>
<div className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-pink-500 stroke-[3]" />
<span>SLA & Support 24/7</span>
</div>
</div>
</div>
<button
onClick={handleOpenLogin}
className="w-full py-2.5 bg-slate-50 hover:bg-slate-100 text-slate-800 font-extrabold text-xs rounded-xl border border-slate-200 transition-colors cursor-pointer"
>
Hubungi Sales
</button>
</div>
</div>
</div>
</section>
{/* ========================================================= */}
{/* 7. TESTIMONIALS SECTION ("DIPERCAYA OLEH MUA PROFESSIONAL") */}
{/* ========================================================= */}
<section className="py-16 sm:py-20 bg-white">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 space-y-8">
{/* Header & Nav Controls */}
<div className="flex items-end justify-between gap-4">
<div className="space-y-2">
<span className="text-[11px] font-black uppercase tracking-widest text-[#EC167F] block">
APA KATA MEREKA
</span>
<h2 className="text-2xl sm:text-3xl lg:text-4xl font-black text-slate-900 tracking-tight">
Dipercaya oleh <span className="text-[#EC167F]">MUA Professional</span>
</h2>
</div>
<div className="flex items-center gap-2 shrink-0">
<button className="p-2 rounded-full border border-slate-200 text-slate-400 hover:text-slate-700 hover:bg-slate-50 cursor-pointer">
<ChevronLeft className="w-4 h-4" />
</button>
<button className="p-2 rounded-full border border-slate-200 text-slate-400 hover:text-slate-700 hover:bg-slate-50 cursor-pointer">
<ChevronRight className="w-4 h-4" />
</button>
</div>
</div>
{/* 3 Testimonial Cards */}
<div className="grid grid-cols-1 md:grid-cols-3 gap-5">
{/* Testimonial 1 */}
<div className="bg-slate-50/60 p-5 rounded-3xl border border-slate-200/80 space-y-4 flex flex-col justify-between">
<div className="space-y-3">
<span className="text-3xl text-pink-400 font-serif block leading-none">“</span>
<p className="text-xs text-slate-700 font-medium leading-relaxed">
MuaKita sangat membantu aku mengelola jadwal dan klien. Sekarang lebih terorganisir dan booking jadi lebih banyak!
</p>
</div>
<div className="flex items-center gap-3 pt-2">
<img
src="https://images.unsplash.com/photo-1534528741775-53994a69daeb?auto=format&fit=crop&q=80&w=120"
alt="Dewi Lestari"
className="w-10 h-10 rounded-full object-cover ring-2 ring-pink-200 shrink-0"
/>
<div>
<h4 className="text-xs font-extrabold text-slate-900">Dewi Lestari</h4>
<span className="text-[10px] text-slate-500 font-medium block">MUA & Owner Dewi Makeup</span>
<div className="text-amber-400 text-[10px] pt-0.5">★★★★★</div>
</div>
</div>
</div>
{/* Testimonial 2 */}
<div className="bg-slate-50/60 p-5 rounded-3xl border border-slate-200/80 space-y-4 flex flex-col justify-between">
<div className="space-y-3">
<span className="text-3xl text-pink-400 font-serif block leading-none">“</span>
<p className="text-xs text-slate-700 font-medium leading-relaxed">
Fitur hitung ongkos transport otomatis bener-bener ngebantu banget. Klien lebih jelas dan aku lebih hemat waktu.
</p>
</div>
<div className="flex items-center gap-3 pt-2">
<img
src="https://images.unsplash.com/photo-1517841905240-472988babdf9?auto=format&fit=crop&q=80&w=120"
alt="Ayu Permata"
className="w-10 h-10 rounded-full object-cover ring-2 ring-pink-200 shrink-0"
/>
<div>
<h4 className="text-xs font-extrabold text-slate-900">Ayu Permata</h4>
<span className="text-[10px] text-slate-500 font-medium block">MUA & Owner Ayu Beauty</span>
<div className="text-amber-400 text-[10px] pt-0.5">★★★★★</div>
</div>
</div>
</div>
{/* Testimonial 3 */}
<div className="bg-slate-50/60 p-5 rounded-3xl border border-slate-200/80 space-y-4 flex flex-col justify-between">
<div className="space-y-3">
<span className="text-3xl text-pink-400 font-serif block leading-none">“</span>
<p className="text-xs text-slate-700 font-medium leading-relaxed">
Semua ada di MuaKita, dari reservasi sampai laporan keuangan. Sangat worth it!
</p>
</div>
<div className="flex items-center gap-3 pt-2">
<img
src="https://images.unsplash.com/photo-1539571696357-5a69c17a67c6?auto=format&fit=crop&q=80&w=120"
alt="Rina Andini"
className="w-10 h-10 rounded-full object-cover ring-2 ring-pink-200 shrink-0"
/>
<div>
<h4 className="text-xs font-extrabold text-slate-900">Rina Andini</h4>
<span className="text-[10px] text-slate-500 font-medium block">MUA & Owner Rina Studio</span>
<div className="text-amber-400 text-[10px] pt-0.5">★★★★★</div>
</div>
</div>
</div>
</div>
</div>
</section>
{/* ========================================================= */}
{/* 8. BOTTOM CTA BANNER ("SIAP MENGEMBANGKAN BISNIS MUA ANDA?") */}
{/* ========================================================= */}
<section className="py-12 bg-white">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="bg-gradient-to-r from-[#EC167F] via-pink-600 to-rose-600 rounded-3xl p-6 sm:p-10 text-white shadow-xl relative overflow-hidden flex flex-col lg:flex-row items-center justify-between gap-8">
{/* Left Content */}
<div className="space-y-3 max-w-xl text-center lg:text-left z-10">
<h2 className="text-2xl sm:text-3xl font-black tracking-tight leading-tight">
Siap Mengembangkan Bisnis MUA Anda?
</h2>
<p className="text-xs sm:text-sm text-pink-100 font-medium">
Bergabung sekarang dan rasakan kemudahan mengelola bisnis dalam satu platform.
</p>
</div>
{/* Center Buttons */}
<div className="flex flex-wrap items-center justify-center gap-3 z-10 shrink-0">
<button
onClick={handleOpenLogin}
className="px-6 py-3.5 bg-white text-[#EC167F] hover:bg-pink-50 rounded-xl text-xs font-black shadow-lg transition-all cursor-pointer"
>
Coba Gratis 14 Hari
</button>
<button
onClick={handleOpenLogin}
className="px-5 py-3.5 border border-white/80 hover:bg-white/10 text-white rounded-xl text-xs font-extrabold transition-all cursor-pointer flex items-center gap-2"
>
<span>Lihat Demo</span>
<Play className="w-3 h-3 fill-white" />
</button>
</div>
{/* Right MUA Beauty Artist Image Overlay */}
<div className="hidden lg:block shrink-0 relative w-48 h-32 -mr-4 -mb-10 pointer-events-none">
<img
src="https://images.unsplash.com/photo-1487412720507-e7ab37603c6f?auto=format&fit=crop&q=80&w=300"
alt="Beauty Artist"
className="w-full h-full object-cover rounded-2xl border-2 border-white/30 shadow-2xl"
/>
</div>
</div>
</div>
</section>
{/* ========================================================= */}
{/* 9. FOOTER */}
{/* ========================================================= */}
<footer className="bg-white border-t border-slate-200/80 pt-12 pb-8 text-xs text-slate-600">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 space-y-10">
<div className="grid grid-cols-1 md:grid-cols-5 gap-8">
{/* Col 1: Brand */}
<div className="md:col-span-1 space-y-3">
<div className="flex items-center gap-2">
<div className="w-7 h-7 rounded-lg bg-[#EC167F] flex items-center justify-center text-white font-black text-sm shadow-2xs">
M
</div>
<span className="text-base font-black text-slate-900 tracking-tight">
Mua<span className="text-[#EC167F]">Kita</span>
</span>
</div>
<p className="text-[11px] text-slate-500 leading-relaxed font-medium">
Platform manajemen bisnis MUA all-in-one untuk membantu Anda tumbuh, terorganisir, dan sukses bersama klien.
</p>
{/* Social Icons */}
<div className="flex items-center gap-3 text-slate-400 pt-1">
<Instagram className="w-4 h-4 hover:text-[#EC167F] cursor-pointer transition-colors" />
<Phone className="w-4 h-4 hover:text-[#EC167F] cursor-pointer transition-colors" />
<Youtube className="w-4 h-4 hover:text-[#EC167F] cursor-pointer transition-colors" />
</div>
</div>
{/* Col 2: Produk */}
<div className="space-y-2">
<h4 className="font-extrabold text-slate-900 text-xs">Produk</h4>
<ul className="space-y-1.5 text-[11px] font-medium text-slate-500 cursor-pointer">
<li><button onClick={() => scrollToSection('fitur')} className="hover:text-[#EC167F] text-left">Fitur System</button></li>
<li><button onClick={() => scrollToSection('website-builder')} className="hover:text-[#EC167F] text-left text-[#EC167F] font-bold">Website Builder</button></li>
<li><button onClick={() => { setActivePage('paket'); window.scrollTo({ top: 0, behavior: 'smooth' }); }} className="hover:text-[#EC167F] text-left">Paket Pricing</button></li>
<li><button onClick={handleOpenLogin} className="hover:text-[#EC167F] text-left">Coba Gratis</button></li>
<li><button onClick={() => { setActivePage('marketplace'); window.scrollTo({ top: 0, behavior: 'smooth' }); }} className="hover:text-[#EC167F] text-left">Marketplace MUA</button></li>
</ul>
</div>
{/* Col 3: Solusi */}
<div className="space-y-2">
<h4 className="font-extrabold text-slate-900 text-xs">Solusi</h4>
<ul className="space-y-1.5 text-[11px] font-medium text-slate-500">
<li><button onClick={() => { setActivePage('paket'); window.scrollTo({ top: 0, behavior: 'smooth' }); }} className="hover:text-[#EC167F] text-left">Untuk MUA Solo</button></li>
<li><button onClick={() => { setActivePage('paket'); window.scrollTo({ top: 0, behavior: 'smooth' }); }} className="hover:text-[#EC167F] text-left">Untuk Studio & Tim</button></li>
<li><button onClick={() => { setActivePage('paket'); window.scrollTo({ top: 0, behavior: 'smooth' }); }} className="hover:text-[#EC167F] text-left">Untuk Salon Kecantikan</button></li>
<li><button onClick={() => { setActivePage('paket'); window.scrollTo({ top: 0, behavior: 'smooth' }); }} className="hover:text-[#EC167F] text-left">Untuk Franchise Multi-Cabang</button></li>
</ul>
</div>
{/* Col 4: Perusahaan */}
<div className="space-y-2">
<h4 className="font-extrabold text-slate-900 text-xs">Perusahaan</h4>
<ul className="space-y-1.5 text-[11px] font-medium text-slate-500">
<li><button onClick={() => { setActivePage('home'); window.scrollTo({ top: 0, behavior: 'smooth' }); }} className="hover:text-[#EC167F] text-left">Tentang MuaKita</button></li>
<li><button onClick={() => { setActivePage('blog'); window.scrollTo({ top: 0, behavior: 'smooth' }); }} className="hover:text-[#EC167F] text-left">Blog & Panduan</button></li>
<li><button onClick={() => { setActivePage('marketplace'); window.scrollTo({ top: 0, behavior: 'smooth' }); }} className="hover:text-[#EC167F] text-left">Direktori MUA</button></li>
<li><button onClick={() => { setActivePage('bantuan'); window.scrollTo({ top: 0, behavior: 'smooth' }); }} className="hover:text-[#EC167F] text-left">Kontak & Support</button></li>
</ul>
</div>
{/* Col 5: Bantuan */}
<div className="space-y-2">
<h4 className="font-extrabold text-slate-900 text-xs">Bantuan</h4>
<ul className="space-y-1.5 text-[11px] font-medium text-slate-500">
<li><button onClick={() => { setActivePage('bantuan'); window.scrollTo({ top: 0, behavior: 'smooth' }); }} className="hover:text-[#EC167F] text-left">Pusat Bantuan 24/7</button></li>
<li><button onClick={() => { setActivePage('bantuan'); window.scrollTo({ top: 0, behavior: 'smooth' }); }} className="hover:text-[#EC167F] text-left">Panduan Setup 1-on-1</button></li>
<li><button onClick={() => { setActivePage('bantuan'); window.scrollTo({ top: 0, behavior: 'smooth' }); }} className="hover:text-[#EC167F] text-left">FAQ Sistem</button></li>
</ul>
</div>
</div>
<div className="pt-6 border-t border-slate-100 flex flex-col sm:flex-row items-center justify-between gap-4 text-[11px] font-medium text-slate-400">
<p>© 2025 MuaKita. All rights reserved.</p>
</div>
</div>
</footer>
</>
)}
{/* LOGIN MODAL */}
<LoginModal
isOpen={isLoginModalOpen}
onClose={() => setIsLoginModalOpen(false)}
onLogin={(role) => {
setIsLoginModalOpen(false);
onLogin(role);
}}
/>
</div>
);
};