// CNV Work — Landing sections (hero, trust, modules, flow, CTA, footer)
// Light-primary design with dark CTA breaks for rhythm.

// ───────────── HERO — light hero with product mock ─────────────
const Hero = () => (
  <section style={{ position: 'relative', background: '#fff', overflow: 'hidden', padding: '72px 48px 96px' }}>
    {/* Subtle background shapes */}
    <div style={{ position: 'absolute', top: -120, right: -80, width: 600, height: 600, borderRadius: '50%',
      background: `radial-gradient(circle, ${BLUE[500]}12 0%, transparent 65%)`, filter: 'blur(40px)' }}/>
    <div style={{ position: 'absolute', bottom: -140, left: -80, width: 520, height: 520, borderRadius: '50%',
      background: `radial-gradient(circle, ${GREEN[500]}10 0%, transparent 65%)`, filter: 'blur(40px)' }}/>
    {/* dot pattern */}
    <div style={{ position: 'absolute', inset: 0, opacity: 0.5,
      backgroundImage: `radial-gradient(${BLUE[200]} 1px, transparent 1px)`, backgroundSize: '28px 28px',
      maskImage: 'radial-gradient(ellipse at center, black 20%, transparent 70%)',
      WebkitMaskImage: 'radial-gradient(ellipse at center, black 20%, transparent 70%)' }}/>

    <div style={{ position: 'relative', maxWidth: 1280, margin: '0 auto', display: 'grid',
      gridTemplateColumns: '1.05fr 1fr', gap: 56, alignItems: 'center' }}>
      <div>
        <div style={{ display: 'inline-flex', alignItems: 'center', gap: 8, padding: '6px 12px 6px 6px',
          background: BLUE[50], border: `1px solid ${BLUE[200]}`, borderRadius: 99, marginBottom: 24 }}>
          <span style={{ padding: '2px 8px', background: GRADIENT, color: '#fff', borderRadius: 99, fontSize: 10, fontWeight: 700, letterSpacing: '0.1em' }}>MỚI</span>
          <span style={{ fontFamily: 'Inter, sans-serif', fontSize: 12.5, fontWeight: 500, color: BLUE[700] }}>CNV Work v2.4 — Fulfillment Kanban đã ra mắt</span>
          <svg width="14" height="14" viewBox="0 0 14 14"><path d="M5 3l4 4-4 4" stroke={BLUE[700]} strokeWidth="1.5" fill="none" strokeLinecap="round"/></svg>
        </div>
        <h1 style={{ fontFamily: 'Inter, sans-serif', fontWeight: 700, fontSize: 60, lineHeight: 1.08, letterSpacing: '-0.03em', color: INK, margin: '0 0 20px 0' }}>
          Một nền tảng,<br/>thay thế <GradientText>5-7 phần mềm</GradientText>
        </h1>
        <p style={{ fontFamily: 'Inter, sans-serif', fontSize: 18, lineHeight: 1.6, color: INK_SOFT, margin: '0 0 32px 0', maxWidth: 540 }}>
          CNV Work gộp CRM, triển khai dịch vụ, marketing, nhân sự và hỗ trợ khách hàng vào một không gian làm việc — cho doanh nghiệp Việt từ 50 đến 500 nhân sự.
        </p>
        <div style={{ display: 'flex', gap: 10, marginBottom: 32 }}>
          <PrimaryBtn size="lg">Đặt lịch demo</PrimaryBtn>
          <OutlineBtn dark={false} size="lg" icon={
            <svg width="14" height="14" viewBox="0 0 14 14"><path d="M3 2l9 5-9 5V2z" fill="currentColor"/></svg>
          }>Xem bảng giá</OutlineBtn>
        </div>
        <div style={{ display: 'flex', gap: 20, fontFamily: 'Inter, sans-serif', fontSize: 13, color: INK_FAINT }}>
          <div style={{ display: 'flex', alignItems: 'center', gap: 6 }}>
            <svg width="16" height="16" viewBox="0 0 16 16"><path d="M3 8l3 3 7-7" stroke={GREEN[500]} strokeWidth="1.8" fill="none" strokeLinecap="round" strokeLinejoin="round"/></svg>
            Go-live 7-14 ngày
          </div>
          <div style={{ display: 'flex', alignItems: 'center', gap: 6 }}>
            <svg width="16" height="16" viewBox="0 0 16 16"><path d="M3 8l3 3 7-7" stroke={GREEN[500]} strokeWidth="1.8" fill="none" strokeLinecap="round" strokeLinejoin="round"/></svg>
            Dữ liệu lưu tại VN
          </div>
        </div>
      </div>
      <ProductMock/>
    </div>
  </section>
);

// Fake product window — pipeline kanban
const ProductMock = () => (
  <div style={{ position: 'relative' }}>
    <div style={{ position: 'absolute', top: 16, right: -24, background: '#fff', border: `1px solid ${LINE}`,
      borderRadius: 12, padding: 12, boxShadow: '0 10px 30px rgba(12,26,52,0.08)', zIndex: 2, width: 200 }}>
      <div style={{ fontFamily: 'Inter, sans-serif', fontSize: 10, letterSpacing: '0.1em', textTransform: 'uppercase', color: INK_FAINT, marginBottom: 4 }}>Doanh thu tháng</div>
      <div style={{ fontFamily: 'Inter, sans-serif', fontSize: 20, fontWeight: 700, color: INK, letterSpacing: '-0.02em', marginBottom: 6 }}>2.84<span style={{ fontSize: 13, color: INK_SOFT, fontWeight: 500 }}> tỷ ₫</span></div>
      <div style={{ display: 'flex', alignItems: 'center', gap: 4, fontFamily: 'Inter, sans-serif', fontSize: 11, fontWeight: 600, color: GREEN[600] }}>
        <svg width="10" height="10" viewBox="0 0 10 10"><path d="M2 6l3-3 3 3" stroke="currentColor" strokeWidth="1.5" fill="none" strokeLinecap="round"/></svg>
        +18.4% so với tháng trước
      </div>
      {/* mini sparkline */}
      <svg width="100%" height="32" viewBox="0 0 170 32" style={{ marginTop: 8 }}>
        <defs><linearGradient id="mockSpark" x1="0" x2="1"><stop offset="0" stopColor={BLUE[500]}/><stop offset="1" stopColor={GREEN[500]}/></linearGradient></defs>
        <polyline points="0,24 20,20 40,22 60,14 80,18 100,12 120,10 140,6 170,4" stroke="url(#mockSpark)" strokeWidth="2" fill="none" strokeLinecap="round" strokeLinejoin="round"/>
      </svg>
    </div>

    <div style={{ background: '#fff', border: `1px solid ${LINE}`, borderRadius: 16,
      boxShadow: '0 24px 60px rgba(12,26,52,0.12)', overflow: 'hidden' }}>
      <div style={{ padding: '12px 16px', background: BLUE[50], borderBottom: `1px solid ${LINE}`,
        display: 'flex', alignItems: 'center', gap: 8 }}>
        <div style={{ display: 'flex', gap: 5 }}>
          {['#E5E9F2','#E5E9F2','#E5E9F2'].map((c,i) => <span key={i} style={{ width: 10, height: 10, borderRadius: 99, background: c }}/>)}
        </div>
        <div style={{ flex: 1, textAlign: 'center', fontFamily: 'Inter, sans-serif', fontSize: 12, color: INK_SOFT }}>app.cnvwork.vn / sales / pipeline</div>
      </div>
      <div style={{ padding: 18, background: '#FBFCFE' }}>
        <div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', marginBottom: 16 }}>
          <div>
            <div style={{ fontFamily: 'Inter, sans-serif', fontSize: 14, fontWeight: 700, color: INK, letterSpacing: '-0.01em' }}>Pipeline Q2/2026</div>
            <div style={{ fontFamily: 'Inter, sans-serif', fontSize: 11, color: INK_SOFT }}>42 deal · 8.4 tỷ ₫</div>
          </div>
          <div style={{ display: 'flex', gap: 4 }}>
            {['Grid','Kanban','Timeline'].map((t,i) => (
              <div key={t} style={{ padding: '4px 10px', borderRadius: 6,
                background: i === 1 ? INK : 'transparent',
                color: i === 1 ? '#fff' : INK_SOFT,
                fontFamily: 'Inter, sans-serif', fontSize: 11, fontWeight: 500 }}>{t}</div>
            ))}
          </div>
        </div>
        <div style={{ display: 'grid', gridTemplateColumns: 'repeat(3, 1fr)', gap: 8 }}>
          {[
            { title: 'Qualifying', count: 12, sum: '1.2 tỷ', color: BLUE[500] },
            { title: 'Proposal', count: 8, sum: '3.1 tỷ', color: BLUE[600] },
            { title: 'Closing', count: 5, sum: '4.1 tỷ', color: GREEN[500] },
          ].map((col, ci) => (
            <div key={col.title} style={{ background: '#fff', border: `1px solid ${LINE}`, borderRadius: 10, padding: 10 }}>
              <div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', marginBottom: 10 }}>
                <div style={{ display: 'flex', alignItems: 'center', gap: 6 }}>
                  <span style={{ width: 8, height: 8, borderRadius: 99, background: col.color }}/>
                  <span style={{ fontFamily: 'Inter, sans-serif', fontSize: 11, fontWeight: 600, color: INK }}>{col.title}</span>
                  <span style={{ fontFamily: 'Inter, sans-serif', fontSize: 10, color: INK_FAINT }}>{col.count}</span>
                </div>
                <span style={{ fontFamily: 'Inter, sans-serif', fontSize: 10, fontWeight: 600, color: INK_SOFT }}>{col.sum}</span>
              </div>
              <div style={{ display: 'grid', gap: 6 }}>
                {[0,1,2].map(i => (
                  <div key={i} style={{ padding: 8, background: BLUE[50], borderRadius: 7, borderLeft: `2px solid ${col.color}` }}>
                    <div style={{ fontFamily: 'Inter, sans-serif', fontSize: 10, fontWeight: 600, color: INK, marginBottom: 3 }}>
                      {['Brewery · Loyalty','POS chain · Onboard','Education · HRIS','IT corp · CRM','E-commerce SaaS · CDP','Logistics · Support','Chuỗi cà phê · Mini App','Fintech · Ticket','Industry assoc · Events'][ci*3+i]}
                    </div>
                    <div style={{ display: 'flex', justifyContent: 'space-between', fontFamily: 'Inter, sans-serif', fontSize: 9.5, color: INK_FAINT }}>
                      <span>{['240M','520M','180M','680M','1.1 tỷ','340M','1.8 tỷ','920M','1.4 tỷ'][ci*3+i]}</span>
                      <span>{['MK','TH','PH','NT','HA','QK','PQ','NA','LT'][ci*3+i]}</span>
                    </div>
                  </div>
                ))}
              </div>
            </div>
          ))}
        </div>
      </div>
    </div>

    {/* floating notif */}
    <div style={{ position: 'absolute', bottom: -24, left: -30, background: '#fff', border: `1px solid ${LINE}`,
      borderRadius: 12, padding: '12px 14px', boxShadow: '0 10px 30px rgba(12,26,52,0.1)', display: 'flex', gap: 10, alignItems: 'center', zIndex: 2 }}>
      <div style={{ width: 32, height: 32, borderRadius: 99, background: GREEN[50], display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
        <svg width="16" height="16" viewBox="0 0 16 16"><path d="M3 8l3 3 7-7" stroke={GREEN[600]} strokeWidth="2" fill="none" strokeLinecap="round" strokeLinejoin="round"/></svg>
      </div>
      <div>
        <div style={{ fontFamily: 'Inter, sans-serif', fontSize: 12, fontWeight: 600, color: INK, letterSpacing: '-0.005em' }}>Deal Brewery · Loyalty won</div>
        <div style={{ fontFamily: 'Inter, sans-serif', fontSize: 10.5, color: INK_SOFT }}>Auto-assign team triển khai · 2 phút trước</div>
      </div>
    </div>
  </div>
);

// ───────────── TRUST BAR ─────────────
const TrustBar = () => {
  const logos = ['E-commerce', 'POS chain', 'F&B', 'IT corp', 'Brewery', 'Logistics', 'Retail SaaS', 'Industry assoc'];
  return (
    <section style={{ background: PAPER, padding: '40px 48px', borderTop: `1px solid ${LINE}`, borderBottom: `1px solid ${LINE}` }}>
      <div style={{ maxWidth: 1280, margin: '0 auto' }}>
        <div style={{ fontFamily: 'Inter, sans-serif', fontSize: 11.5, fontWeight: 600, letterSpacing: '0.14em', textTransform: 'uppercase', color: INK_FAINT, textAlign: 'center', marginBottom: 24 }}>
          500+ doanh nghiệp Việt đang vận hành trên CNV Work
        </div>
        <div style={{ display: 'grid', gridTemplateColumns: 'repeat(8, 1fr)', gap: 24, alignItems: 'center', justifyItems: 'center' }}>
          {logos.map(l => (
            <div key={l} style={{ fontFamily: 'Inter, sans-serif', fontSize: 14, fontWeight: 600, color: INK_FAINT, letterSpacing: '-0.005em' }}>{l}</div>
          ))}
        </div>
      </div>
    </section>
  );
};

// ───────────── 6 PRODUCT PILLARS ─────────────
const PILLARS = [
  { key: 'sales', icon: (
      <svg width="28" height="28" viewBox="0 0 28 28" fill="none"><path d="M4 20V10M10 20V6M16 20V12M22 20V4" stroke="currentColor" strokeWidth="2" strokeLinecap="round"/></svg>
    ),
    title: 'Sales & CRM',
    desc: 'Vòng đời trọn vẹn: lead → deal → hợp đồng → thanh toán → gia hạn.',
    items: ['Pipeline kanban', 'Báo giá đa cấp', 'Subscription tự động', 'Commission theo rule']
  },
  { key: 'fulfillment', icon: (
      <svg width="28" height="28" viewBox="0 0 28 28" fill="none"><rect x="4" y="6" width="8" height="8" rx="1" stroke="currentColor" strokeWidth="2"/><rect x="16" y="6" width="8" height="8" rx="1" stroke="currentColor" strokeWidth="2"/><rect x="4" y="16" width="8" height="6" rx="1" stroke="currentColor" strokeWidth="2"/><rect x="16" y="16" width="8" height="6" rx="1" stroke="currentColor" strokeWidth="2"/></svg>
    ),
    title: 'Fulfillment · Triển khai',
    desc: 'Từ lúc chốt deal đến khi go-live — phân công, tiến độ và SLA.',
    items: ['Đơn triển khai kanban', 'Stage pipeline', 'Auto-assign team', 'Báo cáo hiệu suất']
  },
  { key: 'marketing', icon: (
      <svg width="28" height="28" viewBox="0 0 28 28" fill="none"><path d="M6 12l12-6v16l-12-6V12z" stroke="currentColor" strokeWidth="2" strokeLinejoin="round"/><path d="M6 12H4v4h2" stroke="currentColor" strokeWidth="2"/></svg>
    ),
    title: 'Marketing & Automation',
    desc: 'Thu hút khách hàng và tự động hoá luồng việc — không cần code.',
    items: ['Campaign & Lead form', 'Tracking ROI', 'Automation flow', 'Thư viện rule']
  },
  { key: 'support', icon: (
      <svg width="28" height="28" viewBox="0 0 28 28" fill="none"><path d="M4 10a6 6 0 0112 0v2" stroke="currentColor" strokeWidth="2"/><path d="M4 18a6 6 0 0112 0v2" stroke="currentColor" strokeWidth="2"/><circle cx="22" cy="14" r="3" stroke="currentColor" strokeWidth="2"/></svg>
    ),
    title: 'Hỗ trợ khách hàng',
    desc: 'Trung tâm đa kênh với ticket, SLA và widget nhúng website.',
    items: ['Ticket thông minh', 'SLA & cảnh báo', 'Inbox đa kênh', 'Widget website']
  },
  { key: 'hr', icon: (
      <svg width="28" height="28" viewBox="0 0 28 28" fill="none"><circle cx="10" cy="10" r="4" stroke="currentColor" strokeWidth="2"/><circle cx="20" cy="10" r="3" stroke="currentColor" strokeWidth="2"/><path d="M3 22c0-3.5 3-6 7-6s7 2.5 7 6M17 22c0-3 2-5 5-5s3 2 3 5" stroke="currentColor" strokeWidth="2" strokeLinecap="round"/></svg>
    ),
    title: 'Nhân sự · Vận hành',
    desc: 'Con người, tài sản và công việc — từ tuyển dụng đến offboarding.',
    items: ['Tuyển dụng & Onboard', 'Chấm công GPS', 'Hợp đồng & bậc lương', 'Dự án & phê duyệt']
  },
  { key: 'reports', icon: (
      <svg width="28" height="28" viewBox="0 0 28 28" fill="none"><rect x="3" y="14" width="5" height="10" rx="1" stroke="currentColor" strokeWidth="2"/><rect x="11" y="8" width="5" height="16" rx="1" stroke="currentColor" strokeWidth="2"/><rect x="19" y="4" width="5" height="20" rx="1" stroke="currentColor" strokeWidth="2"/></svg>
    ),
    title: 'Báo cáo & Tích hợp',
    desc: '20+ dashboard có sẵn, tích hợp công cụ bạn đang dùng.',
    items: ['Doanh thu · Công nợ', 'Subscription forecast', 'Zalo OA · Facebook', 'CNV Call · Fireflies']
  },
];

const Pillars = () => (
  <section style={{ background: PAPER, padding: '96px 48px' }}>
    <div style={{ maxWidth: 1280, margin: '0 auto' }}>
      <div style={{ textAlign: 'center', marginBottom: 56 }}>
        <Eyebrow style={{ marginBottom: 14 }}>6 NHÓM SẢN PHẨM · 1 NỀN TẢNG</Eyebrow>
        <h2 style={{ fontFamily: 'Inter, sans-serif', fontWeight: 700, fontSize: 44, lineHeight: 1.1, letterSpacing: '-0.025em', color: INK, margin: '0 0 14px 0' }}>
          Mọi thứ đội bạn cần — <GradientText>trong một chỗ</GradientText>
        </h2>
        <p style={{ fontFamily: 'Inter, sans-serif', fontSize: 16, color: INK_SOFT, maxWidth: 620, margin: '0 auto', lineHeight: 1.6 }}>
          CNV Work thay thế Hubspot, Base, Salesforce, Zendesk, Jira, Bamboo và nhiều tool khác — với chi phí bằng 1/3 và dữ liệu ở lại Việt Nam.
        </p>
      </div>
      <div style={{ display: 'grid', gridTemplateColumns: 'repeat(3, 1fr)', gap: 16 }}>
        {PILLARS.map((p) => <PillarCard key={p.key} pillar={p}/>)}
      </div>
    </div>
  </section>
);

const PillarCard = ({ pillar }) => {
  const [hover, setHover] = React.useState(false);
  return (
    <div onMouseEnter={() => setHover(true)} onMouseLeave={() => setHover(false)}
      style={{
        background: '#fff', border: `1px solid ${hover ? BLUE[200] : LINE}`,
        borderRadius: 14, padding: 28, transition: 'all .2s',
        transform: hover ? 'translateY(-4px)' : 'none',
        boxShadow: hover ? '0 18px 40px rgba(12,26,52,0.08)' : 'none',
      }}>
      <div style={{ width: 52, height: 52, borderRadius: 12, background: GRADIENT_SOFT,
        display: 'flex', alignItems: 'center', justifyContent: 'center', color: BLUE[600], marginBottom: 18 }}>
        {pillar.icon}
      </div>
      <div style={{ fontFamily: 'Inter, sans-serif', fontSize: 20, fontWeight: 700, color: INK, letterSpacing: '-0.015em', marginBottom: 8 }}>{pillar.title}</div>
      <div style={{ fontFamily: 'Inter, sans-serif', fontSize: 14, color: INK_SOFT, lineHeight: 1.6, marginBottom: 20 }}>{pillar.desc}</div>
      <div style={{ display: 'grid', gap: 8, paddingTop: 18, borderTop: `1px solid ${LINE}` }}>
        {pillar.items.map(it => (
          <div key={it} style={{ display: 'flex', alignItems: 'center', gap: 10, fontFamily: 'Inter, sans-serif', fontSize: 13, color: INK }}>
            <svg width="14" height="14" viewBox="0 0 14 14"><path d="M3 7l3 3 5-6" stroke={GREEN[500]} strokeWidth="1.8" fill="none" strokeLinecap="round" strokeLinejoin="round"/></svg>
            {it}
          </div>
        ))}
      </div>
    </div>
  );
};

// ───────────── FINAL CTA (dark break) ─────────────
const FinalCTA = () => (
  <section style={{ position: 'relative', background: BLUE[950], padding: '88px 48px', overflow: 'hidden' }}>
    <SoftGlow intensity={0.7}/>
    <DotGrid opacity={0.4}/>
    <div style={{ position: 'relative', maxWidth: 920, margin: '0 auto', textAlign: 'center' }}>
      <h2 style={{ fontFamily: 'Inter, sans-serif', fontWeight: 700, fontSize: 48, lineHeight: 1.08, letterSpacing: '-0.03em', color: '#fff', margin: '0 0 16px 0' }}>
        Sẵn sàng hợp nhất <GradientText>quy trình vận hành</GradientText>?
      </h2>
      <p style={{ fontFamily: 'Inter, sans-serif', fontSize: 17, color: 'rgba(255,255,255,0.7)', margin: '0 0 36px 0' }}>
        Tạo workspace miễn phí trong 2 phút · dữ liệu mẫu sẵn · đội CNV hỗ trợ onboard.
      </p>
      <div style={{ display: 'flex', gap: 10, justifyContent: 'center' }}>
        <PrimaryBtn size="lg">Đặt lịch demo</PrimaryBtn>
        <OutlineBtn dark size="lg">Đặt lịch demo</OutlineBtn>
      </div>
    </div>
  </section>
);

// ───────────── FOOTER ─────────────
const Footer = () => (
  <footer style={{ background: BLUE[950], color: 'rgba(255,255,255,0.7)', padding: '56px 48px 36px', borderTop: '1px solid rgba(255,255,255,0.06)' }}>
    <div style={{ maxWidth: 1280, margin: '0 auto' }}>
      <div style={{ display: 'grid', gridTemplateColumns: '1.4fr 1fr 1fr 1fr 1fr 1fr', gap: 32, marginBottom: 40 }}>
        <div>
          <CNVLogo size={30} dark/>
          <div style={{ fontFamily: 'Inter, sans-serif', fontSize: 12, fontWeight: 700, letterSpacing: '0.08em', textTransform: 'uppercase', color: 'rgba(255,255,255,0.78)', marginTop: 14 }}>
            Công Ty TNHH CNV Holdings
          </div>
          <p style={{ fontFamily: 'Inter, sans-serif', fontSize: 13.5, lineHeight: 1.6, color: 'rgba(255,255,255,0.55)', marginTop: 10, maxWidth: 300 }}>
            Nền tảng CRM + vận hành kinh doanh all-in-one cho doanh nghiệp Việt.
          </p>
        </div>
        {[
          { title: 'Sản phẩm', items: [
            { label: 'Sales & CRM', href: '/products/sales-crm' },
            { label: 'Fulfillment', href: '/products/fulfillment-marketing' },
            { label: 'Marketing', href: '/products/fulfillment-marketing' },
            { label: 'Hỗ trợ', href: '/products/inbox-support' },
            { label: 'Nhân sự', href: '/products/hr' },
            { label: 'Báo cáo', href: '/products/reports' },
          ]},
          { title: 'Tải ứng dụng', items: [
            { label: 'iOS · iPhone/iPad', href: '/download#mobile' },
            { label: 'Android', href: '/download#mobile' },
            { label: 'Windows', href: '/download#desktop' },
            { label: 'Mac (Apple Silicon)', href: '/download#desktop' },
            { label: 'Mac (Intel)', href: '/download#desktop' },
            { label: '→ Trang tải về', href: '/download' },
          ]},
          { title: 'Công ty', items: [
            { label: 'Về chúng tôi', href: '/about' },
            { label: 'Blog', href: '/blog' },
            { label: 'Bảng giá', href: '/pricing' },
            { label: 'Tích hợp', href: '/integrations' },
            { label: 'Liên hệ', href: '/contact' },
          ]},
          { title: 'Tài nguyên', items: [
            { label: 'Tài liệu', href: 'https://huongdan.cnvwork.com' },
            { label: 'Đăng nhập', href: 'https://connect.cnvwork.com' },
          ]},
          { title: 'Pháp lý', items: [
            { label: 'Chính sách bảo mật', href: '/privacy-policy' },
          ]},
        ].map(col => (
          <div key={col.title}>
            <div style={{ fontFamily: 'Inter, sans-serif', fontSize: 12, fontWeight: 700, letterSpacing: '0.14em', textTransform: 'uppercase', color: '#fff', marginBottom: 16 }}>{col.title}</div>
            <div style={{ display: 'grid', gap: 10 }}>
              {col.items.map(it => (
                <a key={it.label} href={it.href} style={{ fontFamily: 'Inter, sans-serif', fontSize: 13.5, color: 'rgba(255,255,255,0.6)', textDecoration: 'none' }}>{it.label}</a>
              ))}
            </div>
          </div>
        ))}
      </div>
      <div style={{ paddingTop: 24, borderTop: '1px solid rgba(255,255,255,0.08)', display: 'flex', justifyContent: 'space-between', fontFamily: 'Inter, sans-serif', fontSize: 12.5, color: 'rgba(255,255,255,0.4)' }}>
        <span>© 2026 Công Ty TNHH CNV Holdings · CNV Work là sản phẩm thuộc CNV Holdings.</span>
        <span>Made in Vietnam · Dữ liệu lưu tại VN</span>
      </div>
    </div>
  </footer>
);

Object.assign(window, { Hero, ProductMock, TrustBar, Pillars, PillarCard, PILLARS, FinalCTA, Footer });
