
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --ink: #0f0f0f; --ink-60: #666; --ink-30: #bbb; --ink-10: #f0f0ee;
    --surface: #fafaf8; --white: #ffffff;
    --amber: #d4820a; --amber-light: #fff3dc;
    --teal: #0f6e56; --teal-light: #e1f5ee;
    --red: #c0392b; --red-light: #fcebeb;
    --border: 1px solid #e5e5e2; --radius: 4px; --radius-lg: 10px;
    --mono: 'DM Mono', monospace; --display: 'Raleway', sans-serif; --body: 'DM Sans', sans-serif;
  }
  html { scroll-behavior: smooth; }
  body { font-family: var(--body); background: var(--surface); color: var(--ink); font-size: 16px; line-height: 1.6; overflow-x: hidden; }

  /* NAV */
  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 3rem; background: rgba(250,250,248,0.93); backdrop-filter: blur(12px); border-bottom: var(--border); }
  .nav-logo { font-family: var(--display); font-weight: 900; font-size: 1.15rem; letter-spacing: -.01em; color: var(--ink); display: flex; align-items: center; gap: 8px; text-decoration: none; }
  .logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); display: inline-block; }
  .nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
  .nav-links a { font-size: 0.85rem; color: var(--ink-60); text-decoration: none; letter-spacing: 0.03em; text-transform: uppercase; font-weight: 500; transition: color 0.2s; }
  .nav-links a:hover { color: var(--ink); }
  .nav-demo { background: var(--teal) !important; color: var(--white) !important; padding: 0.45rem 1.1rem; border-radius: var(--radius); }
  .nav-cta { background: var(--ink) !important; color: var(--white) !important; padding: 0.45rem 1.1rem; border-radius: var(--radius); }

  /* HERO */
  .hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 8rem 3rem 4rem; gap: 4rem; position: relative; overflow: hidden; }
  .hero::before { content: ''; position: absolute; top: -40px; right: -80px; width: 600px; height: 600px; background: radial-gradient(circle, #fff3dc 0%, transparent 70%); pointer-events: none; }
  .hero-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--amber-light); border: 1px solid #f4c775; color: var(--amber); font-family: var(--mono); font-size: 0.72rem; padding: 0.3rem 0.8rem; border-radius: 20px; margin-bottom: 1.5rem; font-weight: 500; }
  .badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); animation: pulse 2s ease-in-out infinite; }
  @keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
  h1 { font-family: var(--display); font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 900; line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 1.5rem; }
  h1 em { font-style: normal; color: var(--teal); }
  .hero-sub { font-size: 1.1rem; color: var(--ink-60); max-width: 480px; line-height: 1.7; margin-bottom: 2.5rem; font-weight: 300; }
  .hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
  .btn-primary { background: var(--ink); color: var(--white); padding: 0.85rem 2rem; border-radius: var(--radius); font-family: var(--body); font-size: 0.95rem; font-weight: 500; text-decoration: none; transition: background 0.2s, transform 0.1s; display: inline-block; }
  .btn-primary:hover { background: #2a2a2a; transform: translateY(-1px); }
  .btn-teal { background: var(--teal); color: var(--white); padding: 0.85rem 2rem; border-radius: var(--radius); font-family: var(--body); font-size: 0.95rem; font-weight: 500; text-decoration: none; transition: background 0.2s, transform 0.1s; display: inline-block; }
  .btn-teal:hover { background: #0a5742; transform: translateY(-1px); }
  .btn-ghost { color: var(--ink-60); font-size: 0.9rem; text-decoration: none; transition: color 0.2s; }
  .btn-ghost:hover { color: var(--ink); }
  .hero-metrics { display: flex; gap: 2rem; margin-top: 3rem; padding-top: 2rem; border-top: var(--border); }
  .metric-item { display: flex; flex-direction: column; gap: 2px; }
  .metric-value { font-family: var(--display); font-size: 1.8rem; font-weight: 900; color: var(--ink); letter-spacing: -0.02em; }
  .metric-label { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-60); text-transform: uppercase; letter-spacing: 0.05em; }

  /* HERO CARD */
  .hero-visual { position: relative; }
  .camera-card { background: var(--white); border: var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
  .cam-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
  .cam-label { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-60); text-transform: uppercase; letter-spacing: 0.08em; }
  .live-badge { display: flex; align-items: center; gap: 5px; background: var(--red-light); color: var(--red); font-family: var(--mono); font-size: 0.65rem; padding: 2px 8px; border-radius: 20px; font-weight: 500; }
  .live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); animation: pulse 1.2s ease-in-out infinite; }
  .cam-feed { background: #111; border-radius: 6px; height: 200px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; margin-bottom: 1rem; }
  .scan-line { position: absolute; left: 0; right: 0; height: 2px; background: rgba(212,130,10,0.8); animation: scan 3s linear infinite; }
  @keyframes scan { 0% { top: 0; } 100% { top: 100%; } }
  .cam-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 40px 40px; }
  .cam-crosshair { width: 60px; height: 60px; border: 1px solid rgba(212,130,10,0.6); border-radius: 2px; position: relative; }
  .cam-crosshair::before, .cam-crosshair::after { content: ''; position: absolute; background: rgba(212,130,10,0.6); }
  .cam-crosshair::before { top: 50%; left: 0; right: 0; height: 1px; }
  .cam-crosshair::after { left: 50%; top: 0; bottom: 0; width: 1px; }
  .defect-marker { position: absolute; top: 40%; left: 55%; width: 28px; height: 28px; border: 2px solid var(--red); border-radius: 2px; animation: blink 1.5s ease-in-out infinite; }
  @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
  .cam-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; }
  .cam-stat { background: var(--surface); border-radius: var(--radius); padding: 0.6rem 0.8rem; border: var(--border); }
  .cam-stat-val { font-family: var(--mono); font-size: 1rem; font-weight: 500; color: var(--ink); }
  .cam-stat-val.danger { color: var(--red); }
  .cam-stat-key { font-family: var(--mono); font-size: 0.62rem; color: var(--ink-60); text-transform: uppercase; letter-spacing: 0.04em; }
  .alert-float { position: absolute; right: -1.5rem; bottom: 3rem; background: var(--white); border: var(--border); border-left: 3px solid var(--red); border-radius: var(--radius); padding: 0.8rem 1rem; font-size: 0.8rem; width: 200px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); animation: float 4s ease-in-out infinite; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
  .alert-title { font-family: var(--mono); font-size: 0.68rem; color: var(--red); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; font-weight: 500; }
  .alert-body { color: var(--ink-60); line-height: 1.4; }

  /* SECTIONS */
  section { padding: 6rem 3rem; }
  .section-tag { font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-60); margin-bottom: 0.75rem; display: block; }
  h2 { font-family: var(--display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); margin-bottom: 1rem; }

  /* PROBLEM */
  .problem-section { background: var(--ink); }
  .problem-section .section-tag { color: #888; }
  .problem-section h2 { color: var(--white); }
  .problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #333; margin-top: 3rem; border: 1px solid #333; }
  .problem-card { background: var(--ink); padding: 2.5rem 2rem; transition: background 0.2s; }
  .problem-card:hover { background: #1a1a1a; }
  .problem-number { font-family: var(--display); font-size: 3rem; font-weight: 900; color: var(--amber); letter-spacing: -0.02em; margin-bottom: 0.5rem; display: block; }
  .problem-desc { color: #aaa; font-size: 0.9rem; line-height: 1.6; }
  .problem-desc strong { color: var(--white); font-weight: 500; }

  /* HOW IT WORKS */
  .flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ink-10); margin-top: 3rem; border: 1px solid var(--ink-10); }
  .flow-step { background: var(--white); padding: 2rem 1.5rem; }
  .flow-num { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-30); margin-bottom: 1rem; display: block; }
  .flow-icon { width: 44px; height: 44px; border: var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.2rem; }
  .flow-title { font-family: var(--display); font-size: 1rem; font-weight: 800; color: var(--ink); margin-bottom: 0.5rem; }
  .flow-body { font-size: 0.85rem; color: var(--ink-60); line-height: 1.6; }

  /* DASHBOARD */
  .dashboard-section { background: var(--white); border-top: var(--border); border-bottom: var(--border); }
  .dashboard-inner { max-width: 1200px; margin: 0 auto; }
  .dashboard-placeholder { margin-top: 3rem; border: 2px dashed var(--ink-30); border-radius: var(--radius-lg); height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; background: var(--surface); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
  .dashboard-placeholder:hover { border-color: var(--ink-60); background: var(--ink-10); }
  .mini-dashboard { margin-top: 2rem; background: #0f0f0f; border-radius: var(--radius-lg); padding: 1.5rem; overflow: hidden; }
  .md-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #2a2a2a; }
  .md-title { font-family: var(--display); font-size: 0.9rem; font-weight: 800; color: var(--white); }
  .md-date { font-family: var(--mono); font-size: 0.65rem; color: #777; text-transform: uppercase; letter-spacing: 0.06em; }
  .md-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
  .md-metric { background: #1a1a1a; border-radius: 6px; padding: 1rem; border: 1px solid #2a2a2a; }
  .md-metric-label { font-family: var(--mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.07em; color: #888; margin-bottom: 6px; }
  .md-metric-val { font-family: var(--display); font-size: 1.6rem; font-weight: 900; color: var(--white); letter-spacing: -0.02em; }
  .md-metric-val.ok { color: #5dcaa5; } .md-metric-val.warn { color: var(--amber); } .md-metric-val.danger { color: #f09595; }
  .md-chart-area { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; }
  .md-chart-box { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 6px; padding: 1rem; }
  .md-chart-label { font-family: var(--mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.07em; color: #888; margin-bottom: 1rem; }
  .chart-bars { display: flex; align-items: flex-end; gap: 4px; height: 80px; }
  .bar { flex: 1; border-radius: 2px 2px 0 0; background: #2a2a2a; cursor: pointer; }
  .bar.alert { background: rgba(240,149,149,0.5); }
  .defect-list { display: flex; flex-direction: column; gap: 8px; }
  .defect-row { display: flex; align-items: center; gap: 8px; }
  .defect-name { font-size: 0.75rem; color: #999; min-width: 70px; }
  .defect-bar-wrap { flex: 1; height: 4px; background: #2a2a2a; border-radius: 2px; overflow: hidden; }
  .defect-bar-fill { height: 100%; border-radius: 2px; background: var(--amber); }
  .defect-pct { font-family: var(--mono); font-size: 0.68rem; color: #888; min-width: 32px; text-align: right; }

  /* USE CASES */
  .cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
  .case-card { background: var(--white); border: var(--border); border-radius: var(--radius-lg); padding: 2rem; position: relative; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
  .case-card:hover { border-color: var(--ink-30); box-shadow: 0 8px 32px rgba(0,0,0,0.06); }
  .case-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
  .case-card.red::before { background: var(--red); } .case-card.teal::before { background: var(--teal); } .case-card.amber::before { background: var(--amber); } .case-card.ink::before { background: var(--ink); }
  .case-num { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-30); letter-spacing: 0.06em; margin-bottom: 1rem; display: block; }
  .case-title { font-family: var(--display); font-size: 1.2rem; font-weight: 800; color: var(--ink); margin-bottom: 0.75rem; }
  .case-body { font-size: 0.88rem; color: var(--ink-60); line-height: 1.7; margin-bottom: 1.5rem; }
  .case-detail { background: var(--surface); border: var(--border); border-radius: var(--radius); padding: 1rem; font-family: var(--mono); font-size: 0.75rem; color: var(--ink-60); line-height: 1.8; }
  .cd-ok { color: var(--teal); } .cd-warn { color: var(--amber); } .cd-danger { color: var(--red); } .cd-hi { color: var(--ink); font-weight: 500; }

  /* JOURNEY */
  .journey-section { background: var(--surface); }
  .journey-table { width: 100%; border-collapse: collapse; margin-top: 3rem; font-size: 0.9rem; }
  .journey-table th { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-60); text-align: left; padding: 0.75rem 1rem; border-bottom: var(--border); background: var(--white); font-weight: 400; }
  .journey-table td { padding: 1.1rem 1rem; border-bottom: var(--border); vertical-align: top; }
  .journey-table tr:last-child td { border-bottom: none; }
  .journey-table tr:hover td { background: var(--white); }
  .time-cell { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-60); white-space: nowrap; }
  .before-cell { color: var(--ink-60); } .after-cell { color: var(--teal); font-weight: 500; }

  /* PRICING */
  .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
  .price-card { background: var(--white); border: var(--border); border-radius: var(--radius-lg); padding: 2rem; display: flex; flex-direction: column; transition: box-shadow 0.2s; }
  .price-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
  .price-card.featured { background: var(--ink); border-color: var(--ink); }
  .price-plan { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-60); margin-bottom: 1rem; }
  .price-card.featured .price-plan { color: #888; }
  .price-amount { font-family: var(--display); font-size: 2.4rem; font-weight: 900; letter-spacing: -0.02em; color: var(--ink); line-height: 1; margin-bottom: 0.25rem; }
  .price-card.featured .price-amount { color: var(--white); }
  .price-period { font-size: 0.8rem; color: var(--ink-60); margin-bottom: 2rem; }
  .price-card.featured .price-period { color: #888; }
  .price-features { flex: 1; list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 2rem; }
  .price-features li { font-size: 0.85rem; color: var(--ink-60); display: flex; gap: 8px; align-items: flex-start; }
  .price-card.featured .price-features li { color: #aaa; }
  .price-features li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; margin-top: 2px; background: var(--teal-light) url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l3 3 5-5' stroke='%230f6e56' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
  .price-card.featured .price-features li::before { background: #2a2a2a url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l3 3 5-5' stroke='%235dcaa5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
  .btn-plan { display: block; text-align: center; padding: 0.8rem; border-radius: var(--radius); font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: all 0.2s; border: 1px solid var(--ink-10); background: var(--surface); color: var(--ink); cursor: pointer; font-family: var(--body); }
  .btn-plan:hover { border-color: var(--ink); }
  .price-card.featured .btn-plan { background: var(--amber); border-color: var(--amber); color: var(--white); }
  .price-card.featured .btn-plan:hover { background: #c47510; }

  /* CTA */
  .cta-section { background: var(--ink); text-align: center; padding: 8rem 3rem; }
  .cta-section h2 { color: var(--white); }
  .cta-section .section-tag { color: #666; }
  .cta-sub { color: #888; max-width: 500px; margin: 1rem auto 2.5rem; line-height: 1.7; }
  .cta-email { display: flex; max-width: 440px; margin: 0 auto; border: 1px solid #333; border-radius: var(--radius); overflow: hidden; }
  .cta-email input { flex: 1; background: #1a1a1a; border: none; color: var(--white); padding: 0.85rem 1.2rem; font-size: 0.9rem; outline: none; font-family: var(--body); }
  .cta-email input::placeholder { color: #555; }
  .cta-email button { background: var(--amber); border: none; color: var(--white); padding: 0.85rem 1.5rem; font-size: 0.9rem; font-weight: 500; cursor: pointer; font-family: var(--body); transition: background 0.2s; white-space: nowrap; }
  .cta-email button:hover { background: #c47510; }

  footer { background: var(--ink); border-top: 1px solid #1a1a1a; padding: 2rem 3rem; display: flex; justify-content: space-between; align-items: center; }
  .footer-logo { font-family: var(--display); font-weight: 900; color: #555; font-size: 0.9rem; }
  .footer-copy { font-family: var(--mono); font-size: 0.68rem; color: #444; text-transform: uppercase; letter-spacing: 0.06em; }
  .max-w { max-width: 1200px; margin: 0 auto; }

  @media (max-width: 900px) {
    nav { padding: 1rem 1.5rem; } .nav-links { display: none; }
    .hero { grid-template-columns: 1fr; padding: 7rem 1.5rem 3rem; gap: 3rem; } .alert-float { display: none; }
    section { padding: 4rem 1.5rem; }
    .problem-grid, .flow-grid { grid-template-columns: 1fr; gap: 0; }
    .cases-grid, .pricing-grid { grid-template-columns: 1fr; }
    .md-metrics { grid-template-columns: repeat(2, 1fr); } .md-chart-area { grid-template-columns: 1fr; }
    footer { flex-direction: column; gap: 1rem; text-align: center; }
  }

