<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OpenFloAI — Automation ROI Calculator for Professionals</title>
<style>
  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --bg: #0a0a0f; --surface: #13131a; --surface2: #1c1c27;
    --border: #2a2a3a; --accent: #6c63ff; --accent2: #00d4aa;
    --text: #e8e8f0; --text-muted: #8888a0; --green: #06d6a0; --yellow: #ffd166;
  }
  body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; line-height: 1.6; }
  
  /* HEADER & HERO */
  header { border-bottom: 1px solid var(--border); padding: 20px 40px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: rgba(10,10,15,0.95); backdrop-filter: blur(12px); z-index: 100; }
  .logo { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; color: var(--text); text-decoration: none; }
  .logo span { color: var(--accent); }
  .hero { padding: 60px 20px; max-width: 900px; margin: 0 auto; text-align: center; }
  .hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(32px, 4vw, 48px); margin-bottom: 20px; }
  .hero h1 em { color: var(--accent); font-style: normal; }

  /* GRID */
  .grid { max-width: 1100px; margin: 0 auto; padding: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
  
  /* ROI CARD STYLING */
  .roi-card { background: var(--surface); border: 1px solid var(--accent); border-radius: 14px; padding: 24px; position: relative; }
  .fact-label { font-size: 11px; text-transform: uppercase; color: var(--text-muted); font-weight: 600; display: block; margin-bottom: 5px; }
  input { width: 100%; background: var(--surface2); border: 1px solid var(--border); color: white; padding: 10px; border-radius: 8px; margin-bottom: 15px; font-family: inherit; }
  .result-box { text-align: center; padding: 20px; background: var(--surface2); border-radius: 8px; margin: 15px 0; }
  .result-val { font-size: 32px; font-weight: 700; color: var(--accent2); font-family: 'Space Grotesk', sans-serif; }
  
  .cta-btn { display: block; width: 100%; padding: 13px; border-radius: 10px; background: var(--accent); color: white; text-align: center; text-decoration: none; font-weight: 600; }
</style>
</head>
<body>

<header>
  <a href="/" class="logo">Open<span>Flo</span>AI</a>
</header>

<section class="hero">
  <h1>Automation <em>ROI Calculator</em><br>For US Professionals</h1>
  <p>Tính toán chính xác số tiền bạn đang lãng phí. Không phỏng đoán, chỉ có con số.</p>
</section>

<div class="grid">
  <!-- ROI Calculator Card -->
  <div class="roi-card">
    <div style="display:flex; align-items:center; gap:10px; margin-bottom:20px;">
      <div style="font-size:24px;">⚖️</div>
      <h3 style="font-family:'Space Grotesk'">Solo Attorney Intake</h3>
    </div>
    
    <label class="fact-label">Billing rate ($/giờ)</label>
    <input type="number" id="rate" value="300" oninput="calc()">
    
    <label class="fact-label">Giờ thủ công/tuần</label>
    <input type="number" id="hours" value="5" oninput="calc()">
    
    <div class="result-box">
      <span class="fact-label">Lãng phí hàng năm</span>
      <div class="result-val" id="res">$78,000</div>
    </div>
    
    <a href="#" class="cta-btn">Get Automation Blueprint →</a>
  </div>
</div>

<script>
function calc() {
  const rate = document.getElementById('rate').value;
  const hours = document.getElementById('hours').value;
  const total = rate * hours * 52;
  document.getElementById('res').textContent = '$' + total.toLocaleString();
}
</script>

</body>
</html>