<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HarzBuilder — Build Your Business Website in Minutes</title>
<meta name="description" content="AI-powered website builder for Nigerian businesses. Choose a template, fill in your details, go live. Pay with Paystack.">
<style>
:root {
  --bg: #0a0e17;
  --surface: #131826;
  --surface2: #1a2035;
  --surface3: #232a42;
  --primary: #6C5CE7;
  --primary-dark: #5546c4;
  --primary-glow: rgba(108, 92, 231, 0.3);
  --accent: #00D9FF;
  --success: #00E676;
  --warning: #FFB74D;
  --danger: #FF5252;
  --text: #E8E8F0;
  --text-dim: #8B8BA7;
  --text-mute: #5a5a70;
  --border: #2a2f45;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
  --max-w: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}
.navbar-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.navbar-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.navbar-logo span { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.navbar-links { display: flex; gap: 28px; align-items: center; }
.navbar-links a { color: var(--text-dim); font-size: 14px; transition: color 0.2s; }
.navbar-links a:hover { color: var(--text); }
.btn { padding: 10px 20px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 4px 12px var(--primary-glow); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); background: var(--surface2); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ===== HERO ===== */
.hero { padding: 120px 24px 80px; text-align: center; position: relative; }
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center top, var(--primary-glow), transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 700px; margin: 0 auto; position: relative; }
.hero-badge {
  display: inline-block; padding: 6px 16px; background: var(--surface2);
  border: 1px solid var(--border); border-radius: 20px; font-size: 12px;
  color: var(--accent); margin-bottom: 20px; letter-spacing: 0.5px;
}
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero h1 .grad { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 18px; color: var(--text-dim); margin-bottom: 32px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 60px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 32px; font-weight: 800; color: var(--primary); }
.hero-stat-label { font-size: 13px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 1px; }

/* ===== SECTIONS ===== */
.section { padding: 80px 24px; max-width: var(--max-w); margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-title { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.section-subtitle { color: var(--text-dim); font-size: 16px; }

/* ===== TEMPLATES GRID ===== */
.templates-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.template-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer; transition: all 0.3s; position: relative;
}
.template-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 12px 32px var(--primary-glow); }
.template-preview { height: 180px; background: var(--surface2); display: flex; align-items: center; justify-content: center; font-size: 64px; position: relative; }
.template-badge { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 12px; font-size: 10px; font-weight: 700; }
.template-badge.free { background: var(--success); color: #001a0a; }
.template-badge.pro { background: var(--primary); color: white; }
.template-info { padding: 20px; }
.template-name { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.template-desc { font-size: 13px; color: var(--text-dim); margin-bottom: 12px; line-height: 1.5; }
.template-features { display: flex; flex-wrap: wrap; gap: 6px; }
.template-feature { padding: 3px 10px; background: var(--surface2); border-radius: 12px; font-size: 11px; color: var(--text-dim); }
.template-price { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--accent); }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.pricing-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; text-align: center; position: relative; }
.pricing-card.popular { border-color: var(--primary); box-shadow: 0 8px 32px var(--primary-glow); }
.pricing-card.popular::before { content: 'MOST POPULAR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 4px 16px; border-radius: 12px; font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.pricing-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 36px; font-weight: 800; margin-bottom: 4px; }
.pricing-period { font-size: 13px; color: var(--text-mute); margin-bottom: 20px; }
.pricing-features { text-align: left; margin-bottom: 24px; list-style: none; }
.pricing-features li { padding: 8px 0; font-size: 14px; color: var(--text-dim); display: flex; align-items: center; gap: 8px; }
.pricing-features li::before { content: '✓'; color: var(--success); font-weight: 700; }

/* ===== BUILDER MODAL ===== */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 200;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); max-width: 500px; width: 100%; max-height: 90vh; overflow-y: auto; }
.modal-header { padding: 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-title { font-size: 20px; font-weight: 700; }
.modal-close { background: none; border: none; color: var(--text-dim); font-size: 24px; cursor: pointer; }
.modal-body { padding: 24px; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 6px; font-weight: 500; }
.form-input, .form-select, .form-textarea {
  width: 100%; background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 14px; color: var(--text);
  font-size: 14px; font-family: inherit; transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-hint { font-size: 12px; color: var(--text-mute); margin-top: 4px; }

/* ===== DASHBOARD ===== */
.dashboard { display: flex; min-height: 100vh; }
.sidebar { width: 260px; background: var(--surface); border-right: 1px solid var(--border); position: fixed; height: 100vh; overflow-y: auto; }
.sidebar-header { padding: 24px 20px; border-bottom: 1px solid var(--border); }
.sidebar-logo { font-size: 20px; font-weight: 800; }
.sidebar-logo span { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.sidebar-sub { font-size: 11px; color: var(--text-dim); margin-top: 4px; }
.sidebar-nav { padding: 16px 12px; }
.sidebar-section { margin-bottom: 24px; }
.sidebar-title { font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-mute); padding: 8px 12px; font-weight: 600; }
.sidebar-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); cursor: pointer; color: var(--text-dim); transition: all 0.2s; font-size: 14px; }
.sidebar-item:hover { background: var(--surface2); color: var(--text); }
.sidebar-item.active { background: var(--primary); color: white; }
.main { flex: 1; margin-left: 260px; padding: 32px; }
.main-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.main-title { font-size: 28px; font-weight: 700; }
.main-subtitle { color: var(--text-dim); font-size: 14px; margin-top: 4px; }

/* ===== DASHBOARD CARDS ===== */
.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.dash-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.dash-stat-label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.dash-stat-value { font-size: 32px; font-weight: 700; margin: 8px 0; }
.dash-stat-trend { font-size: 12px; color: var(--success); }

.dash-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) { .dash-cards { grid-template-columns: 1fr; } }
.dash-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.dash-card-title { font-size: 16px; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }

/* ===== SITE CARD ===== */
.site-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.site-info { flex: 1; }
.site-name { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.site-meta { font-size: 13px; color: var(--text-dim); display: flex; gap: 16px; flex-wrap: wrap; }
.site-actions { display: flex; gap: 8px; }
.site-status { padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; }
.site-status.published { background: rgba(0, 230, 118, 0.15); color: var(--success); }
.site-status.draft { background: rgba(255, 183, 77, 0.15); color: var(--warning); }
.site-status.suspended { background: rgba(255, 82, 82, 0.15); color: var(--danger); }
.btn-sm { padding: 6px 14px; font-size: 12px; }

/* ===== FOOTER ===== */
.footer { padding: 40px 24px; border-top: 1px solid var(--border); text-align: center; color: var(--text-mute); font-size: 13px; }
.footer a { color: var(--text-dim); margin: 0 12px; }

/* ===== TOAST ===== */
.toast { position: fixed; bottom: 20px; right: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; box-shadow: var(--shadow); z-index: 300; display: none; }
.toast.show { display: block; }
.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }
  .sidebar { width: 70px; }
  .sidebar-item span, .sidebar-title, .sidebar-sub { display: none; }
  .main { margin-left: 70px; padding: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 48px 16px; }
}

/* ===== HIDDEN ===== */
.hidden { display: none !important; }

/* ===== LANG TOGGLE ===== */
.lang-toggle { display: flex; gap: 4px; background: var(--surface2); border-radius: 20px; padding: 4px; }
.lang-btn { padding: 6px 14px; border-radius: 16px; font-size: 12px; cursor: pointer; border: none; background: transparent; color: var(--text-dim); }
.lang-btn.active { background: var(--primary); color: white; }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-dim); }
.empty-state-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.3; }
.empty-state-text { font-size: 16px; margin-bottom: 20px; }
</style>
