/* ─── CircleWork — Light Theme Design System ─────────────────────────────── */
:root {
  --orange:     #F7931E;
  --orange-dk:  #E06A0A;
  --purple:     #7B35C8;
  --purple-dk:  #5E1FA8;
  --blue:       #2563EB;
  --blue-dk:    #1D4ED8;
  --teal:       #0EA5E9;
  --green:      #10B981;
  --red:        #EF4444;

  --ink:        #0D1432;
  --ink-2:      #1E293B;
  --body:       #334155;
  --muted:      #64748B;
  --border:     #E2E8F2;
  --border-2:   #CBD5E1;
  --bg:         #FFFFFF;
  --bg-soft:    #F8F9FF;
  --bg-muted:   #F0F4FF;

  --font-head: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Diamond-circle tile patterns */
  --dp-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23f2f7fc' stroke-width='0.25'%3E%3Cpath d='M20 0L40 20L20 40L0 20Z'/%3E%3Ccircle cx='20' cy='20' r='3.5'/%3E%3Ccircle cx='20' cy='0' r='1.5'/%3E%3Ccircle cx='40' cy='20' r='1.5'/%3E%3Ccircle cx='20' cy='40' r='1.5'/%3E%3Ccircle cx='0' cy='20' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
  --dp-dark:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='white' stroke-width='0.6' stroke-opacity='0.055'%3E%3Cpath d='M20 0L40 20L20 40L0 20Z'/%3E%3Ccircle cx='20' cy='20' r='3.5'/%3E%3Ccircle cx='20' cy='0' r='1.5'/%3E%3Ccircle cx='40' cy='20' r='1.5'/%3E%3Ccircle cx='20' cy='40' r='1.5'/%3E%3Ccircle cx='0' cy='20' r='1.5'/%3E%3C/g%3E%3C/svg%3E");

  --grad-brand:  linear-gradient(135deg, #F7931E 0%, #8B35C8 55%, #2563EB 100%);
  --grad-orange: linear-gradient(135deg, #F7931E, #E06A0A);
  --grad-purple: linear-gradient(135deg, #7B35C8, #2563EB);
  --grad-hero:   linear-gradient(145deg, #0D1432 0%, #18103A 50%, #0B1C48 100%);
  --grad-dark:   linear-gradient(145deg, #0D1432 0%, #1A0840 60%, #0B1E50 100%);
  --grad-teal:   linear-gradient(135deg, #0EA5E9, #2563EB);

  --shadow-xs:   0 1px 4px rgba(13,20,50,0.06);
  --shadow-sm:   0 2px 10px rgba(13,20,50,0.08);
  --shadow-md:   0 6px 24px rgba(13,20,50,0.10);
  --shadow-lg:   0 16px 48px rgba(13,20,50,0.13);
  --shadow-xl:   0 28px 64px rgba(13,20,50,0.16);

  --radius:     18px;
  --radius-sm:  12px;
  --radius-xs:  8px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --t:          all 0.28s var(--ease);
}

/* ─── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--body); background: var(--bg);
  overflow-x: hidden; max-width: 100%; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

/* ─── Layout ──────────────────────────────────────────────────────────────── */
.container  { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 100px 0; }
.section-sm { padding: 72px 0; }

/* ─── Scroll reveal ───────────────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-32px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(32px);  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.40s; }
.delay-5 { transition-delay: 0.50s; }

/* ─── Utilities ───────────────────────────────────────────────────────────── */
.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 16px;
}
.eyebrow .ew-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.6); opacity: .6; }
}
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(247,147,30,0.10); border: 1px solid rgba(247,147,30,0.22);
  color: var(--orange); padding: 6px 14px; border-radius: 100px;
  font-size: 12.5px; font-weight: 600; margin-bottom: 16px;
}

/* Section heading block */
.sh { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.sh h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.8vw, 48px); font-weight: 400;
  letter-spacing: -0.3px; line-height: 1.22; color: var(--ink);
  margin: 10px 0 0;
  padding-bottom: 26px;
  position: relative;
}
.sh h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 36px; height: 3px;
  background: var(--red); border-radius: 2px;
}
.sh p { font-size: 17px; color: var(--muted); line-height: 1.8; margin-top: 20px; }

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: none; transition: var(--t); white-space: nowrap;
}
.btn-primary {
  background: var(--grad-orange); color: #fff;
  box-shadow: 0 4px 18px rgba(247,147,30,0.38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(247,147,30,0.48); }
.btn-dark-outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--border-2);
}
.btn-dark-outline:hover { background: var(--bg-soft); transform: translateY(-1px); }
.btn-ghost-white {
  background: rgba(255,255,255,0.12); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.2); }

/* ─── Navbar ──────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 6px 0; transition: var(--t);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(13,20,50,0.07);
}
.navbar-inner { display: flex; align-items: center; }

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-pill {
  background: transparent; border-radius: 0; padding: 0;
  display: flex; align-items: center;
  box-shadow: none; transition: var(--t);
}
.navbar.scrolled .logo-pill { background: transparent; border: none; }
.logo-pill img { height: 85px; width: auto; display: block; object-fit: contain; }
.navbar.scrolled .logo-pill img { height: 64px; }
.logo-pill-text {
  font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.5px;
}
.logo-pill-text em { font-style: normal; background: var(--grad-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav-links a {
  color: var(--body); font-size: 14px; font-weight: 500;
  padding: 7px 14px; border-radius: 8px; transition: var(--t);
}
.navbar.scrolled .nav-links a { color: var(--body); }
.nav-links a:hover { color: var(--ink); background: rgba(13,20,50,0.06); }
.navbar.scrolled .nav-links a:hover { color: var(--ink); background: var(--bg-soft); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn-nav-login {
  font-size: 14px; font-weight: 600; padding: 8px 18px; border-radius: 9px;
  background: transparent; cursor: pointer; transition: var(--t);
  border: 1.5px solid var(--border-2); color: var(--body);
}
.navbar.scrolled .btn-nav-login {
  border-color: var(--border-2); color: var(--body);
}
.btn-nav-login:hover { background: rgba(255,255,255,0.1); }
.navbar.scrolled .btn-nav-login:hover { background: var(--bg-soft); }

.btn-nav-cta {
  font-size: 14px; font-weight: 700; padding: 9px 20px; border-radius: 9px;
  background: var(--grad-orange); color: #fff; cursor: pointer;
  border: none; box-shadow: 0 4px 14px rgba(247,147,30,0.35); transition: var(--t);
}
.btn-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(247,147,30,0.45); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; margin-left: auto; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--t); }
.navbar.scrolled .hamburger span { background: var(--ink); }

/* Mobile nav backdrop — above navbar (1000) */
.mobile-nav-backdrop {
  position: fixed; inset: 0; z-index: 1001;
  background: rgba(13,20,50,0.5);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-nav-backdrop.show { opacity: 1; visibility: visible; }

/* Mobile nav — slide-in drawer, above backdrop */
.mobile-nav {
  display: flex;
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 280px; max-width: 86vw;
  z-index: 1002;
  background: #fff;
  box-shadow: none;
  flex-direction: column; align-items: stretch;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s ease,
              visibility 0s linear 0.3s;
  overflow-y: auto; overflow-x: hidden;
  visibility: hidden;
}
.mobile-nav.open {
  transform: translateX(0);
  box-shadow: 6px 0 40px rgba(13,20,50,0.18);
  visibility: visible;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s ease,
              visibility 0s linear 0s;
}

/* Header: logo centered, close button absolute */
.mobile-nav-header {
  display: flex; align-items: center; justify-content: center;
  padding: 10px 52px 10px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  background: #fff;
  position: sticky; top: 0; z-index: 1;
  min-height: 68px;
  position: relative;
}
.mobile-nav-logo {
  display: flex; align-items: center; justify-content: center; flex: 1;
}
.mobile-nav-logo img {
  height: 56px; max-width: 160px; width: auto;
  display: block; object-fit: contain;
}
.mobile-nav-close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: 50%;
  font-size: 16px; color: var(--muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav-close:hover { background: var(--border); color: var(--ink); }
.mobile-nav-close {
  width: 36px; height: 36px;
  background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: 50%;
  font-size: 16px; color: var(--muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s; flex-shrink: 0;
}
.mobile-nav-close:hover { background: var(--border); color: var(--ink); }

/* Nav links */
.mobile-nav > a {
  font-size: 15px; font-weight: 600; color: var(--ink);
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  transition: color 0.18s, background 0.18s;
  display: flex; align-items: center;
}
.mobile-nav > a:hover { color: var(--orange); background: rgba(247,147,30,0.05); }

/* Bottom CTA block */
.mobile-nav-footer {
  margin-top: auto; padding: 20px 16px 28px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.mobile-nav-cta-btn {
  display: block; text-align: center;
  background: var(--grad-orange); color: #fff;
  font-size: 15px; font-weight: 700; padding: 14px 24px;
  border-radius: 12px; text-decoration: none;
  box-shadow: 0 4px 16px rgba(247,147,30,0.32);
  margin-bottom: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.mobile-nav-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(247,147,30,0.42); }
.mobile-nav-footer > p {
  text-align: center; font-size: 12px; color: var(--muted);
}

/* ─── Hero — Zoho-style centered ─────────────────────────────────────────── */
.hero {
  background: #FFFFFF;
  padding: 148px 0 108px;
  position: relative; overflow: hidden;
  text-align: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 52% 58% at 0% 0%,   rgba(123,53,200,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 48% 52% at 100% 0%,  rgba(247,147,30,0.15) 0%, transparent 62%),
    radial-gradient(ellipse 36% 38% at 50% 100%, rgba(37,99,235,0.10)  0%, transparent 60%);
}

/* Flowing contour lines */
.hero-contour {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.hero-contour svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Old arc divs — hidden */
.hero-arcs, .hero-blob, .hero-grid-lines { display: none; }

/* Centered content column */
.hero-center {
  position: relative; z-index: 2;
  max-width: 780px; margin: 0 auto;
  animation: heroFadeUp 0.85s ease both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Old split layout — hidden */
.hero-inner { display: none; }
.hero-visual { display: none; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(247,147,30,0.10); border: 1px solid rgba(247,147,30,0.28);
  color: #B85C00; padding: 7px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 700; letter-spacing: .3px; margin-bottom: 28px;
}
.hero-eyebrow svg { width: 14px; height: 14px; flex-shrink: 0; }

.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(42px, 5.6vw, 68px); font-weight: 400;
  line-height: 1.12; letter-spacing: -0.5px; color: var(--ink); margin-bottom: 24px;
}
.hero-h1 .accent {
  background: linear-gradient(90deg, #F7931E 0%, #E05515 28%, #9B30C8 62%, #2563EB 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block;
}

.hero-sub {
  font-size: 18px; color: var(--muted); line-height: 1.72;
  margin: 0 auto 38px; max-width: 620px;
}
.hero-br { display: none; }
@media (min-width: 640px) { .hero-br { display: inline; } }

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 20px;
}
.hero-trust-badge {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  font-size: 12px; color: rgba(255,255,255,0.48); margin-bottom: 36px;
  flex-wrap: wrap; text-align: center;
}
.htb-flag { font-size: 15px; }
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--grad-orange); color: #fff; font-size: 16px; font-weight: 700;
  padding: 16px 34px; border-radius: 12px; border: none; cursor: pointer;
  box-shadow: 0 6px 24px rgba(247,147,30,0.42); transition: var(--t);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(247,147,30,0.52); }
.btn-hero-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: var(--body);
  font-size: 16px; font-weight: 600; padding: 16px 28px;
  border-radius: 12px; border: 1.5px solid var(--border-2); cursor: pointer;
  transition: var(--t);
}
.btn-hero-ghost:hover { background: var(--bg-soft); border-color: var(--border); color: var(--ink); }

.hero-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  justify-content: center; color: var(--muted); font-size: 13px;
}
.hero-meta-item { display: flex; align-items: center; gap: 5px; }
.hero-meta-item svg { width: 14px; height: 14px; color: var(--green); flex-shrink: 0; }
.hero-meta-sep { color: var(--border-2); user-select: none; }

/* Trust badges */
.hero-trust {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin-bottom: 28px;
}
.trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.20);
  color: #0D7A56;
  font-size: 12.5px; font-weight: 600;
  padding: 6px 14px; border-radius: 100px;
}
.trust-badge svg { color: #10B981; flex-shrink: 0; }

/* ── Hero product showcase (Zoho-style) ──────────────────────────────────── */
.hero-showcase {
  display: flex; align-items: stretch;
  max-width: 1000px; margin: 44px auto 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 8px 48px rgba(13,20,50,0.10), 0 1px 4px rgba(13,20,50,0.06);
  overflow: visible;
  position: relative; z-index: 2;
  padding: 14px;
  gap: 0;
}

/* Left: dark featured panel — inner rounded card */
.hps-featured {
  width: 280px; flex-shrink: 0;
  background: linear-gradient(145deg, #3B1178 0%, #5A1FA8 50%, #2D1060 100%);
  border-radius: 14px;
  padding: 28px 22px;
  display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hps-feat-glow {
  position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,147,30,0.18), transparent 70%);
  top: -60px; right: -60px; pointer-events: none;
}
.hps-feat-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: rgba(247,147,30,0.12); border: 1px solid rgba(247,147,30,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; position: relative; z-index: 1;
}
.hps-feat-tag {
  display: inline-flex; align-items: center;
  background: rgba(247,147,30,0.18); border: 1px solid rgba(247,147,30,0.30);
  color: #FBBF6A; font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  padding: 3px 10px; border-radius: 100px; margin-bottom: 14px;
  width: fit-content; position: relative; z-index: 1;
}
.hps-feat-title {
  font-family: var(--font-head); font-size: 22px; font-weight: 400;
  color: #fff; line-height: 1.28; margin-bottom: 10px;
  position: relative; z-index: 1;
}
.hps-feat-desc {
  font-size: 12.5px; color: rgba(255,255,255,0.55);
  line-height: 1.65; margin-bottom: 6px;
  position: relative; z-index: 1;
}
.hps-feat-cta {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.85);
  font-size: 12px; font-weight: 700; padding: 9px 18px; border-radius: 8px;
  transition: var(--t); width: fit-content; position: relative; z-index: 1;
  letter-spacing: 0.3px;
}
.hps-feat-cta:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }
.hps-feat-content {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.hps-feat-content.fading { opacity: 0; transform: translateY(10px); }
.hps-feat-sub {
  font-size: 11px; color: rgba(255,255,255,0.42); margin-top: 4px;
  letter-spacing: 0.2px; line-height: 1.5;
}
.hps-dots {
  display: flex; gap: 6px; justify-content: center; margin-top: 16px;
}
.hps-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.25); transition: background 0.3s, width 0.3s;
  cursor: pointer;
}
.hps-dot.active { background: #F7931E; width: 18px; border-radius: 3px; }

/* Right: modules grid */
.hps-right {
  flex: 1; padding: 6px 8px 6px 18px; display: flex; flex-direction: column; justify-content: center;
}
.hps-right-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.hps-label {
  font-size: 13px; font-weight: 600; color: var(--ink);
  letter-spacing: 0;
}.hps-explore-all {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: var(--blue); transition: var(--t);
}
.hps-explore-all:hover { gap: 7px; }

.hps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 4px 6px;
}
.hps-item {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 12px 10px; border-radius: 10px;
  transition: background 0.2s; cursor: default;
  text-align: left;
}
.hps-item:hover { background: var(--bg-soft); }
.hps-item.active { background: rgba(247,147,30,0.07); border-radius: 10px; }
.hps-ico {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.hps-ico svg { width: 22px; height: 22px; }
.hps-name { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: 4px; }
.hps-desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* Dark floating device card */
.hero-device-card {
  background: linear-gradient(145deg, #0D1432 0%, #1A0E3D 55%, #0A1525 100%);
  border-radius: 32px; padding: 32px 28px;
  position: relative; overflow: hidden;
  box-shadow: 0 40px 100px rgba(13,20,50,0.22), 0 0 0 1px rgba(255,255,255,0.06);
  animation: frameLevitate 6s ease-in-out infinite alternate;
}
.hero-device-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M-2,18 Q11,9 24,0' fill='none' stroke='white' stroke-opacity='0.05' stroke-width='0.9'/%3E%3C/svg%3E");
  background-size: 22px 22px;
}

/* Right: biometric device visual */
.hero-visual {
  position: relative; z-index: 2;
  padding: 52px 0 52px;
  display: flex; align-items: center; justify-content: center;
  animation: fadeInRight 0.9s ease 0.2s both; overflow: visible;
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Glow behind product frame */
.visual-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(ellipse 70% 60% at 55% 50%, rgba(123,53,200,0.28), transparent);
  pointer-events: none; z-index: 0;
}

/* ── Clean biometric scanner ─────────────────────────────────────────────── */
.bs-wrap {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
@keyframes frameLevitate {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}

/* Device label pill */
.bs-label {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px; padding: 8px 18px;
  backdrop-filter: blur(10px);
}
.bs-label > span:first-of-type { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.85); }
.bs-live { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #10B981; font-weight: 700; }
.bs-live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #10B981;
  animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}

/* Scanner zone — the big circle */
.bs-zone {
  position: relative; width: 320px; height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.bs-zone::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(247,147,30,0.10) 0%, rgba(123,53,200,0.07) 45%, transparent 72%);
}
.bs-ring {
  position: absolute; border-radius: 50%; border: 1px solid;
  animation: bsRing 3.4s ease-in-out infinite;
}
.bs-r1 { width: 88px;  height: 88px;  border-color: rgba(247,147,30,0.60); animation-delay: 0s; }
.bs-r2 { width: 140px; height: 140px; border-color: rgba(247,147,30,0.30); animation-delay: 0.6s; }
.bs-r3 { width: 200px; height: 200px; border-color: rgba(247,147,30,0.13); animation-delay: 1.2s; }
.bs-r4 { width: 268px; height: 268px; border-color: rgba(123,53,200,0.10); animation-delay: 1.8s; }
@keyframes bsRing {
  0%   { transform: scale(0.88); opacity: 1; }
  70%  { transform: scale(1);    opacity: 0.3; }
  100% { transform: scale(1.06); opacity: 0; }
}

/* Fingerprint center */
.bs-center {
  position: absolute; z-index: 2;
  width: 78px; height: 78px; border-radius: 50%;
  background: rgba(247,147,30,0.13);
  border: 2px solid rgba(247,147,30,0.50);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 32px rgba(247,147,30,0.30), 0 0 70px rgba(247,147,30,0.12);
  top: 50%; left: 50%; transform: translate(-50%, -58%);
}

/* Time + date inside zone */
.bs-time-inner {
  position: absolute; z-index: 2; bottom: 52px; text-align: center;
  font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -1px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5); line-height: 1;
}
.bs-time-inner small {
  display: block; font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,0.4); letter-spacing: 0; margin-top: 3px;
}

/* Mini stats row */
.bs-stats-row {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px; overflow: hidden;
  backdrop-filter: blur(10px);
}
.bs-st {
  padding: 11px 18px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.bs-st:last-child { border-right: none; }
.bs-st-val { font-size: 17px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.5px; }
.bs-st-key { font-size: 9.5px; color: rgba(255,255,255,0.38); margin-top: 3px; }

/* Last punch pill */
.bs-punch-pill {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 16px; padding: 12px 22px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  min-width: 250px;
}
.bs-av {
  width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0;
  background: var(--grad-orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  box-shadow: 0 4px 14px rgba(247,147,30,0.45);
}
.bs-punch-info { flex: 1; }
.bs-pname   { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.92); }
.bs-pstatus { font-size: 10.5px; color: #10B981; display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.bs-pdot    { width: 6px; height: 6px; border-radius: 50%; background: #10B981; box-shadow: 0 0 6px #10B981; }


/* Floating notification chips */
.hero-chip {
  position: absolute; background: rgba(255,255,255,0.97); border-radius: 14px;
  padding: 10px 15px; box-shadow: 0 12px 36px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.6);
  display: flex; align-items: center; gap: 9px; z-index: 10;
  border: 1px solid rgba(255,255,255,0.9);
  animation: chipFloat 4s ease-in-out infinite alternate;
  backdrop-filter: blur(8px);
}
.hero-chip svg { width: 18px; height: 18px; flex-shrink: 0; }
.hero-chip-title { font-size: 11.5px; font-weight: 700; color: var(--ink); }
.hero-chip-sub   { font-size: 10px; color: var(--muted); margin-top: 1px; }
.chip-1 { top: 0px; right: -30px; animation-delay: 0s; white-space: nowrap; }
.chip-2 { bottom: 0px; left: -30px; animation-delay: 1.8s; white-space: nowrap; }
@keyframes chipFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}

/* Wave at bottom of hero — hidden on light hero, fade via gradient */
.hero-wave { display: none; }

/* ─── Stats bar ───────────────────────────────────────────────────────────── */
.stats-bar { background-color: var(--bg); background-size: 40px 40px; padding: 52px 0; border-bottom: 1px solid var(--border); }
.stats-inner {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; position: relative;
}
.stat-item { text-align: center; padding: 0 24px; border-right: 1px solid var(--border); }
.stat-item:last-child { border: none; }
.stat-num {
  font-size: 44px; font-weight: 900; line-height: 1; letter-spacing: -2px;
  background: var(--grad-brand); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-lbl { font-size: 14px; color: var(--muted); margin-top: 6px; font-weight: 500; }

/* ─── Modules grid ────────────────────────────────────────────────────────── */
.modules { background-color: var(--bg-soft); background-image: var(--dp-light); background-size: 40px 40px; position: relative; overflow: hidden; }
.modules::before {
  content: ''; position: absolute; width: 600px; height: 600px;
  border-radius: 50%; top: -200px; right: -150px;
  background: radial-gradient(circle, rgba(247,147,30,0.06), transparent);
  pointer-events: none;
}
.modules-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

.mod-card {
  background: var(--bg); border-radius: var(--radius); padding: 28px 24px;
  border: 1px solid var(--border); transition: var(--t); position: relative; overflow: hidden;
}
.mod-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(247,147,30,0.04), rgba(123,53,200,0.04));
  opacity: 0; transition: opacity 0.4s; border-radius: var(--radius);
}
.mod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(123,53,200,0.12), 0 2px 8px rgba(13,20,50,0.07);
  border-color: rgba(123,53,200,0.18);
}
.mod-card:hover::after { opacity: 1; }

.mod-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--t);
}
.mod-card:hover .mod-icon { transform: scale(1.1) rotate(-3deg); }
.mod-icon svg { width: 26px; height: 26px; }

.mi-o  { background: rgba(247,147,30,0.12); color: var(--orange); }
.mi-p  { background: rgba(123,53,200,0.12); color: var(--purple); }
.mi-b  { background: rgba(37,99,235,0.12);  color: var(--blue); }
.mi-g  { background: rgba(16,185,129,0.12); color: var(--green); }
.mi-r  { background: rgba(239,68,68,0.12);  color: var(--red); }
.mi-t  { background: rgba(14,165,233,0.12); color: var(--teal); }
.mi-i  { background: rgba(99,102,241,0.12); color: #6366F1; }
.mi-a  { background: rgba(245,158,11,0.12); color: #F59E0B; }

.mod-card h3 { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.mod-card p  { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.mod-tag {
  display: inline-block; margin-top: 16px;
  font-size: 11px; font-weight: 600; padding: 4px 10px;
  border-radius: 100px; background: var(--bg-muted); color: var(--muted);
  border: 1px solid var(--border);
}

/* Decorative large number behind each card */
.mod-card-num {
  position: absolute; top: 12px; right: 16px;
  font-size: 60px; font-weight: 900; line-height: 1;
  color: rgba(13,20,50,0.025); pointer-events: none; user-select: none;
  font-family: 'Inter', sans-serif;
}

/* ─── Wave divider ────────────────────────────────────────────────────────── */
.wave-divider { line-height: 0; display: block; }
.wave-divider svg { width: 100%; display: block; }

/* ─── Feature Spotlight ───────────────────────────────────────────────────── */
.spotlight { overflow: hidden; }
.spotlight-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.spotlight-grid.flip { direction: rtl; }
.spotlight-grid.flip > * { direction: ltr; }

.sl-text h2 {
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 400;
  letter-spacing: -0.2px; line-height: 1.22; color: var(--ink); margin-bottom: 16px;
}
.sl-text p { font-size: 16px; color: var(--muted); line-height: 1.78; margin-bottom: 28px; }

.sl-features { display: flex; flex-direction: column; gap: 10px; }
.sl-feat {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 14px; border-radius: 12px;
  background: var(--bg-soft); border: 1px solid var(--border);
  transition: var(--t);
}
.sl-feat:hover { background: var(--bg); box-shadow: var(--shadow-sm); transform: translateX(5px); }
.sl-feat-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.sl-feat-icon svg { width: 20px; height: 20px; }
.sl-feat-body h4 { font-size: 14px; font-weight: 500; color: var(--ink); }
.sl-feat-body p  { font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.5; }

/* Visual cards */
.sl-visual { position: relative; }
.sl-card {
  background: var(--bg); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden;
}
.sl-card-header {
  padding: 14px 18px; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, var(--bg-soft), var(--bg));
}
.sl-card-header h4 { font-size: 13px; font-weight: 700; color: var(--ink); }
.sl-card-body { padding: 18px; }

/* Attendance calendar */
.att-cal { display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; }
.cal-d {
  aspect-ratio: 1; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
}
.cal-hd  { font-size: 10px; font-weight: 700; color: var(--muted); background: none !important; }
.cal-p   { background: #d1fae5; color: #065f46; }
.cal-a   { background: #fee2e2; color: #991b1b; }
.cal-l   { background: #fef3c7; color: #92400e; }
.cal-h   { background: #ede9fe; color: #5b21b6; }
.cal-w   { background: var(--bg-soft); color: var(--muted); }
.cal-t   { background: var(--ink); color: white; }
.cal-f   { background: var(--bg-muted); color: var(--border-2); }

/* Legend */
.cal-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cal-legend span {
  font-size: 11px; display: flex; align-items: center; gap: 4px; color: var(--muted);
}
.cal-legend .dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }

/* Punch list */
.punch-list { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.punch-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px;
  background: var(--bg-soft); border: 1px solid var(--border);
}
.punch-item svg { width: 18px; height: 18px; color: var(--purple); flex-shrink: 0; }
.punch-info { flex: 1; }
.punch-name { font-size: 12px; font-weight: 600; color: var(--ink); }
.punch-time { font-size: 11px; color: var(--muted); }
.punch-tag  { font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 100px; }
.pt-in  { background: #d1fae5; color: #065f46; }
.pt-out { background: #fee2e2; color: #991b1b; }

/* Payslip card */
.payslip-card { overflow: hidden; }
.payslip-head {
  background: var(--grad-hero); padding: 22px 22px 20px;
  color: #fff;
}
.payslip-head .ph-sub  { font-size: 12px; opacity: .6; }
.payslip-head .ph-name { font-size: 14px; font-weight: 600; margin-top: 6px; }
.payslip-head .ph-amt  { font-size: 34px; font-weight: 800; margin: 6px 0 2px; letter-spacing: -1px; }
.payslip-head .ph-per  { font-size: 11px; opacity: .5; }
.payslip-rows { padding: 16px 20px; }
.payslip-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.payslip-row:last-child { border: none; }
.payslip-row .lbl { color: var(--muted); }
.payslip-row .val { font-weight: 600; color: var(--ink); }
.payslip-row .neg { color: var(--red); }
.payslip-foot {
  padding: 12px 20px; background: var(--bg-soft);
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.payslip-net { font-size: 13px; font-weight: 700; color: var(--ink); }
.payslip-net span { color: var(--orange); font-size: 17px; }
.payslip-status {
  font-size: 11px; font-weight: 600; padding: 4px 10px;
  border-radius: 100px; background: #d1fae5; color: #065f46;
}

/* Floating accent badges on spotlight visuals */
.sl-badge {
  position: absolute; background: var(--bg); border-radius: 12px;
  padding: 9px 13px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 8px; z-index: 10;
  border: 1px solid var(--border); animation: chipFloat 4s ease-in-out infinite alternate;
}
.sl-badge svg { width: 18px; height: 18px; }
.sl-badge-title { font-size: 11.5px; font-weight: 700; color: var(--ink); }
.sl-badge-sub   { font-size: 10px; color: var(--muted); }
.slb-1 { top: -18px; left: -16px; animation-delay: 0.2s; }
.slb-2 { bottom: -14px; right: -16px; animation-delay: 1.8s; }

/* ─── Recruitment pipeline ────────────────────────────────────────────────── */
.recruitment { background-color: var(--bg-soft); position: relative; overflow: hidden; }
.recruitment::after {
  content: ''; position: absolute; width: 500px; height: 500px;
  border-radius: 50%; bottom: -200px; left: -100px;
  background: radial-gradient(circle, rgba(37,99,235,0.07), transparent);
  pointer-events: none;
}

.pipeline { display: flex; align-items: flex-start; gap: 0; margin-bottom: 44px; position: relative; }
.pipeline::before {
  content: ''; position: absolute; top: 26px; left: 10%; right: 10%;
  height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--orange), var(--purple), var(--blue));
  z-index: 0;
}
.pl-stage { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 1; }
.pl-circle {
  width: 52px; height: 52px; border-radius: 50%; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); border: 2px solid var(--border);
  transition: var(--t);
}
.pl-circle svg { width: 22px; height: 22px; }
.pl-stage:hover .pl-circle { transform: scale(1.15); box-shadow: var(--shadow-lg); }
.pls-1 .pl-circle { border-color: var(--orange); color: var(--orange); background: rgba(247,147,30,0.07); }
.pls-2 .pl-circle { border-color: var(--blue);   color: var(--blue);   background: rgba(37,99,235,0.07); }
.pls-3 .pl-circle { border-color: var(--purple);  color: var(--purple); background: rgba(123,53,200,0.07); }
.pls-4 .pl-circle { border-color: var(--teal);    color: var(--teal);   background: rgba(14,165,233,0.07); }
.pls-5 .pl-circle { border-color: var(--green);   color: var(--green);  background: rgba(16,185,129,0.07); }
.pls-6 .pl-circle { border-color: var(--ink);     color: var(--ink);    background: rgba(13,20,50,0.07); }
.pl-name  { font-size: 13px; font-weight: 700; color: var(--ink); text-align: center; }
.pl-count { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px; background: var(--bg); border: 1px solid var(--border); color: var(--muted); }

/* Active pipeline stage */
.pl-active .pl-circle {
  background: var(--purple) !important;
  border-color: var(--purple) !important;
  color: #fff !important;
  box-shadow: 0 0 0 6px rgba(123,53,200,0.15), 0 4px 16px rgba(123,53,200,0.3);
  transform: scale(1.12);
}
.pl-active .pl-name { color: var(--purple); }
.pl-active .pl-count { border-color: var(--purple); color: var(--purple); background: rgba(123,53,200,0.06); }

/* Hiring progress row */
.pl-progress-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: -16px 0 32px;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.pl-demo-badge {
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 100px;
  background: rgba(123,53,200,0.08); border: 1px solid rgba(123,53,200,0.2);
  color: var(--purple); text-transform: uppercase; letter-spacing: 0.5px;
}

/* Recruitment tagline */
.rec-tagline {
  font-size: 14px; color: var(--muted); margin-top: 10px;
}

.cand-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.cand-card {
  background: var(--bg); border-radius: var(--radius-sm); padding: 18px;
  border: 1px solid var(--border); transition: var(--t);
}
.cand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cc-av {
  width: 40px; height: 40px; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.cc-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.cc-role { font-size: 11.5px; color: var(--muted); }
.cc-skills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.cc-skill { font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 100px; background: var(--bg-muted); color: var(--muted); border: 1px solid var(--border); }
.cc-footer { display: flex; align-items: center; justify-content: space-between; }
.cc-dt { font-size: 11px; color: var(--muted); }
.cc-stage { font-size: 10.5px; font-weight: 600; padding: 4px 10px; border-radius: 100px; }
.st-int { background: #ede9fe; color: #5b21b6; }
.st-off { background: #d1fae5; color: #065f46; }
.st-scr { background: #dbeafe; color: #1e40af; }

/* ─── Self-service portal ─────────────────────────────────────────────────── */
.self-service { background-color: var(--bg-soft); }

.toggle-mockup {
  background: var(--bg); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border); margin-bottom: 14px;
}
.toggle-mockup-label { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.toggle-pill-mock {
  display: flex; border-radius: 10px; overflow: hidden;
  border: 1.5px solid var(--border); font-size: 13px; font-weight: 700; margin-bottom: 14px;
}
.tpm-active { flex: 1; padding: 10px; background: var(--ink); color: #fff; text-align: center; }
.tpm-passive { flex: 1; padding: 10px; background: var(--bg); color: var(--muted); text-align: center; }
.toggle-nav-item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; border-radius: 9px; margin-bottom: 5px;
  font-size: 13px; cursor: default;
}
.tni-active { background: rgba(247,147,30,0.10); color: var(--orange); font-weight: 700; }
.tni-rest   { background: var(--bg-soft); color: var(--muted); }
.tni-active svg, .tni-rest svg { width: 16px; height: 16px; flex-shrink: 0; }

.docs-mockup {
  background: var(--bg); border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.docs-mockup-label { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.docs-mockup-label svg { width: 14px; height: 14px; }
.doc-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 10px; background: var(--bg-soft); border-radius: 8px;
  margin-bottom: 6px; border: 1px solid var(--border);
}
.doc-item:last-child { margin-bottom: 0; }
.doc-name { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.doc-badge { font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: 100px; }

/* My Team panel */
.team-count-badge {
  font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 100px;
  background: rgba(123,53,200,0.1); color: var(--purple); margin-left: auto;
}
.team-member-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px; margin-bottom: 4px;
  background: var(--bg-soft); border: 1px solid var(--border);
}
.tm-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
}
.tm-info { flex: 1; min-width: 0; }
.tm-name { font-size: 12px; font-weight: 700; color: var(--ink); }
.tm-role { font-size: 10.5px; color: var(--muted); }
.tm-status { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 100px; flex-shrink: 0; }
.tm-present { background: rgba(16,185,129,0.1); color: #059669; }
.tm-leave    { background: rgba(247,147,30,0.1);  color: #B85C00; }
.tm-pending-row {
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; color: var(--orange);
  padding: 8px 10px; margin-top: 6px;
  background: rgba(247,147,30,0.06); border-radius: 8px;
  border: 1px solid rgba(247,147,30,0.18);
}

/* ESS badge */
.ess-badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: 13px; font-weight: 600;
  color: #059669; background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  padding: 6px 14px; border-radius: 100px;
}
.db-dl  { background: #d1fae5; color: #065f46; }
.db-req { background: #fef3c7; color: #92400e; }

/* ─── RBAC section ────────────────────────────────────────────────────────── */
.rbac { background: var(--grad-hero); position: relative; overflow: hidden; }
.rbac::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 70% at 80% 50%, rgba(123,53,200,0.22), transparent),
              radial-gradient(ellipse 40% 60% at 20% 60%, rgba(247,147,30,0.14), transparent);
}
.rbac .sh h2 { color: #fff; }
.rbac .sh h2::after { background: rgba(255,255,255,0.5); }
.rbac .sh p  { color: rgba(255,255,255,0.55); }
.rbac-inner  { position: relative; z-index: 1; }

.roles-row { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; margin-bottom: 32px; }
.role-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-sm); padding: 18px 14px; text-align: center;
  transition: var(--t); cursor: default;
}
.role-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.rc-icon { width: 44px; height: 44px; border-radius: 12px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; }
.rc-icon svg { width: 22px; height: 22px; }
.rci-orange { background: rgba(247,147,30,0.2); color: var(--orange); }
.rci-purple { background: rgba(123,53,200,0.2); color: #C084FC; }
.rci-blue   { background: rgba(37,99,235,0.2);  color: #93C5FD; }
.rci-teal   { background: rgba(14,165,233,0.2);  color: #7DD3FC; }
.rci-green  { background: rgba(16,185,129,0.2);  color: #6EE7B7; }
.rc-name { font-size: 13px; font-weight: 700; color: #fff; }
.rc-desc { font-size: 10.5px; color: rgba(255,255,255,0.42); margin-top: 4px; }

.perm-table {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); overflow: hidden;
}
.perm-row { display: grid; grid-template-columns: 190px repeat(5,1fr); }
.perm-row + .perm-row { border-top: 1px solid rgba(255,255,255,0.06); }
.perm-row.hd {
  background: rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px 8px 0 0;
}
.perm-row.hd .pm-module { color: #fff; font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; }
.perm-row.hd .pm-cell { color: rgba(255,255,255,0.9); font-size: 11.5px; font-weight: 700; }
.pm-module { padding: 13px 18px; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.75); }
.pm-cell { padding: 13px 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.pm-y   { color: #34D399; }
.pm-n   { color: rgba(255,255,255,0.15); font-size: 15px; }
.pm-own { color: #FCD34D; font-size: 10px; font-weight: 700; }
.rbac-footer-line {
  text-align: center; margin-top: 22px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.45);
  letter-spacing: 0.2px;
}

/* ─── Industries ──────────────────────────────────────────────────────────── */
.industries { background: var(--bg); }
.industry-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.ind-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 20px;
  transition: var(--t); cursor: default;
}
.ind-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(123,53,200,0.10), 0 2px 6px rgba(13,20,50,0.06);
  border-color: rgba(123,53,200,0.2);
}
.ind-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.ind-name { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.ind-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ─── Contact ──────────────────────────────────────────────────────────────── */
.contact-section {
  background: linear-gradient(145deg, #0D1432 0%, #1E0A40 55%, #0B1E50 100%);
  position: relative; overflow: hidden;
}
.contact-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 0% 50%, rgba(123,53,200,0.20) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 100% 50%, rgba(247,147,30,0.10) 0%, transparent 60%);
}
.contact-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 96px 32px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center;
  position: relative; z-index: 1;
}
/* Left panel */
.ctag-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(247,147,30,0.12); border: 1px solid rgba(247,147,30,0.28);
  color: #F7931E; font-size: 13px; font-weight: 700;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 24px;
}
.cl-title {
  font-family: var(--font-head); font-size: clamp(36px, 4vw, 52px);
  font-weight: 400; color: #fff; line-height: 1.2;
  letter-spacing: -0.3px; margin-bottom: 18px;
}
.cl-sub { font-size: 15px; color: rgba(255,255,255,0.5); line-height: 1.75; margin-bottom: 36px; max-width: 400px; }
.cl-checklist { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.cl-checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px; color: rgba(255,255,255,0.75); line-height: 1.5;
}
.cl-checklist li svg { flex-shrink: 0; margin-top: 2px; }
.cl-contact-row { display: flex; flex-direction: column; gap: 12px; }
.cl-contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color 0.2s;
}
.cl-contact-item:hover { color: #F7931E; }
.cl-contact-item svg { opacity: 0.6; }

/* Right form card */
.cf-card {
  background: #fff; border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.28), 0 4px 16px rgba(0,0,0,0.12);
}
.cf-card-head { margin-bottom: 24px; }
.cf-card-title { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.cf-card-sub { font-size: 13px; color: var(--muted); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.cf-label { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.cf-input {
  padding: 10px 13px; border-radius: 9px;
  border: 1.5px solid var(--border); background: var(--bg);
  font-size: 13.5px; color: var(--ink); font-family: inherit;
  transition: border-color 0.2s; outline: none;
}
.cf-input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(123,53,200,0.08); }
.cf-input::placeholder { color: var(--muted); }
.cf-submit {
  width: 100%; padding: 14px; border-radius: 12px; margin-top: 4px;
  background: linear-gradient(90deg, #F7931E 0%, #E05515 40%, #7B35C8 100%);
  color: #fff; font-size: 15px; font-weight: 700;
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: var(--t);
}
.cf-submit:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(123,53,200,0.30); }
.cf-note { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 10px; }
.cf-steps {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--border);
}
.cf-step { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 1; }
.cf-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(123,53,200,0.1); color: var(--purple);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.cf-step-text { font-size: 11px; color: var(--muted); text-align: center; font-weight: 500; line-height: 1.4; }
.cf-step-arrow { color: var(--border); font-size: 16px; flex-shrink: 0; padding: 0 4px; margin-bottom: 16px; }

/* ─── How it works ────────────────────────────────────────────────────────── */
.how { background-color: var(--bg); background-image: var(--dp-light); background-size: 40px 40px; position: relative; overflow: hidden; }
.how::before {
  content: ''; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(247,147,30,0.05), transparent);
  pointer-events: none;
}

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 44px; position: relative; }
.steps::before {
  content: ''; position: absolute;
  top: 40px; left: calc(16.67% + 20px); right: calc(16.67% + 20px); height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--purple), var(--blue)); z-index: 0;
  border-radius: 2px;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 900; color: #fff; position: relative;
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.step-num::after {
  content: ''; position: absolute; inset: 4px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.sn-1 { background: var(--grad-orange); }
.sn-2 { background: var(--grad-purple); }
.sn-3 { background: var(--grad-teal);   }
.step h3 { font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.step p   { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ─── Pricing ─────────────────────────────────────────────────────────────── */
.pricing { background-color: var(--bg-soft); background-image: var(--dp-light); background-size: 40px 40px; position: relative; overflow: hidden; }
.pricing::before {
  content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  top: -100px; right: -200px;
  background: radial-gradient(circle, rgba(123,53,200,0.07), transparent);
  pointer-events: none;
}

.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.price-card {
  background: var(--bg); border-radius: var(--radius); padding: 36px 28px;
  border: 1px solid var(--border); transition: var(--t); position: relative; overflow: hidden;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  border: 2px solid var(--purple);
  box-shadow: 0 0 0 4px rgba(123,53,200,0.1), var(--shadow-lg);
}
.price-card.featured::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(123,53,200,0.03), transparent);
}
.price-pop {
  position: absolute; top: 0; right: 28px;
  background: var(--grad-purple); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 0 0 10px 10px;
}
.price-tier { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.price-amount { font-size: 44px; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -2px; margin-bottom: 4px; }
.price-amount sup { font-size: 20px; letter-spacing: 0; vertical-align: super; }
.price-amount sub { font-size: 16px; letter-spacing: 0; }
.price-period { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.price-desc   { font-size: 14px; color: var(--body); margin-bottom: 28px; line-height: 1.65; }
.price-feats  { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.price-feat   { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--body); }
.price-feat svg.yes { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.price-feat svg.no  { width: 16px; height: 16px; color: var(--border-2); flex-shrink: 0; }

.btn-price-main {
  width: 100%; padding: 14px; border-radius: var(--radius-sm);
  background: var(--grad-purple); color: #fff; font-size: 15px; font-weight: 700;
  cursor: pointer; border: none; transition: var(--t);
}
.btn-price-main:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(123,53,200,0.38); }
.btn-price-outline {
  width: 100%; padding: 14px; border-radius: var(--radius-sm);
  background: transparent; color: var(--ink); font-size: 15px; font-weight: 700;
  cursor: pointer; border: 1.5px solid var(--border-2); transition: var(--t);
}
.btn-price-outline:hover { border-color: var(--ink); background: var(--bg-soft); }

/* ─── Testimonials ────────────────────────────────────────────────────────── */
.testimonials { background-color: var(--bg); }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testi-card {
  background: var(--bg-soft); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border); transition: var(--t);
}
.testi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); background: var(--bg); }
.testi-quote { font-size: 30px; color: var(--orange); margin-bottom: 14px; line-height: 1; }
.testi-text  { font-size: 14.5px; color: var(--body); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av {
  width: 44px; height: 44px; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.testi-role { font-size: 12px; color: var(--muted); }
.testi-stars { margin-left: auto; color: #F59E0B; font-size: 14px; letter-spacing: 1px; }

/* ─── CTA ─────────────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--grad-hero); position: relative; overflow: hidden;
  padding: 100px 0; text-align: center;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(123,53,200,0.28), transparent);
}
/* Diagonal stripes */
.cta-section::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(
    45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px,
    transparent 1px, transparent 40px
  );
}
.cta-inner { position: relative; z-index: 1; }
.cta-section h2 {
  font-size: clamp(30px, 4.5vw, 52px); font-weight: 400; color: #fff;
  letter-spacing: -0.3px; line-height: 1.2; margin-bottom: 18px;
}
.cta-section p { font-size: 18px; color: rgba(255,255,255,0.6); margin-bottom: 36px; line-height: 1.65; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-note    { font-size: 13px; color: rgba(255,255,255,0.38); margin-top: 18px; }

/* ─── Footer ──────────────────────────────────────────────────────────────── */
footer {
  background-color: #070C22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M-2,18 Q11,9 24,0' fill='none' stroke='white' stroke-opacity='0.055' stroke-width='0.9'/%3E%3C/svg%3E");
  background-size: 22px 22px;
  padding: 72px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .fb-logo { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.5px; margin-bottom: 4px; }
.footer-brand .fb-logo em { font-style: normal; background: var(--grad-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-brand .fb-tag { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.45); letter-spacing: 0; text-transform: none; line-height: 1.5; margin-bottom: 4px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.72; margin: 10px 0 18px; max-width: 280px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.fc-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: rgba(255,255,255,0.5);
}
.fc-item svg { flex-shrink: 0; opacity: 0.6; }
.social-links { display: flex; gap: 8px; }
.soc-btn {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); transition: var(--t); cursor: pointer;
}
.soc-btn svg { width: 16px; height: 16px; }
.soc-btn:hover { background: rgba(255,255,255,0.12); color: #fff; transform: translateY(-2px); }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 18px; letter-spacing: .3px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a  { font-size: 13px; color: rgba(255,255,255,0.42); transition: var(--t); }
.footer-col a:hover { color: rgba(255,255,255,0.85); padding-left: 4px; }
.footer-bottom {
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy  { font-size: 13px; color: rgba(255,255,255,0.28); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.32); transition: var(--t); }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ─── Responsive ──────────────────────────────────────────────────────────── */

/* ── Tablet (≤1024px) ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner  { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-copy   { text-align: center; }
  .hero-sub    { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-meta    { justify-content: center; }
  .modules-grid { grid-template-columns: repeat(2,1fr); }
  .industry-grid { grid-template-columns: repeat(2,1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; padding: 64px 24px; }
  .spotlight-grid { grid-template-columns: 1fr; gap: 40px; }
  .spotlight-grid.flip { direction: ltr; }
  /* Pipeline: horizontal scroll on tablet/mobile */
  .pipeline {
    flex-direction: row; gap: 0; flex-wrap: nowrap;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding: 0 4px 16px; scrollbar-width: none;
    margin-left: -4px; margin-right: -4px;
  }
  .pipeline::-webkit-scrollbar { display: none; }
  .pipeline::before { display: none; }
  /* Each stage: fixed width, column layout, relative for connector line */
  .pl-stage { flex: 0 0 auto; flex-direction: column; width: 96px; gap: 7px; position: relative; }
  /* Connector line: from center of this circle to center of next */
  .pl-stage:not(:last-child)::after {
    content: ''; position: absolute;
    top: 22px; /* half of 46px */
    left: 50%; right: -50%;
    height: 2px;
    background: var(--border);
    z-index: 0;
  }
  /* Completed stages (1 & 2) get colored line */
  .pls-1::after, .pls-2::after {
    background: linear-gradient(90deg, var(--orange), var(--blue));
    opacity: 0.5;
  }
  /* Active stage (3=Interview) gets purple line forward */
  .pls-3::after { background: linear-gradient(90deg, var(--purple), var(--border)); opacity: 0.5; }
  /* Circle must be above the line — solid bg so line is hidden behind it */
  .pl-circle { width: 46px; height: 46px; position: relative; z-index: 1; background: var(--bg) !important; }
  /* Active circle: keep purple fill but remove scale/heavy glow so it stays same size as others */
  .pl-active .pl-circle {
    transform: none !important;
    box-shadow: 0 0 0 3px rgba(123,53,200,0.22), 0 2px 10px rgba(123,53,200,0.28) !important;
  }
  .pl-circle svg { width: 19px; height: 19px; }
  .pl-name { font-size: 11.5px; }
  .pl-count { font-size: 10px; padding: 2px 7px; }
  .cand-cards { grid-template-columns: 1fr; }
  .roles-row   { grid-template-columns: repeat(3,1fr); }
  .perm-table  { display: none; }
  .steps       { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .testi-grid  { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-right: none; border-top: 1px solid var(--border); }
  .stat-item { padding: 20px; }
  /* Showcase: stack on tablet */
  .hero-showcase { flex-direction: column; max-width: 560px; margin: 40px auto 0; padding: 12px; }
  .hps-featured { width: 100%; min-height: 200px; }
  .hps-right { padding: 16px 8px; }
  .hps-grid { grid-template-columns: repeat(4,1fr); gap: 4px; }
}

/* ── Mobile (≤768px) ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .section    { padding: 56px 0; }
  .section-sm { padding: 48px 0; }
  .container  { padding: 0 16px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }
  .logo-pill img { height: 56px; }
  .navbar.scrolled .logo-pill img { height: 48px; }

  /* Hero */
  .hero { padding: 100px 0 60px; }
  .hero-h1 { font-size: clamp(34px, 8.5vw, 48px); letter-spacing: -1.5px; }
  .hero-sub { font-size: 16px; }
  .hero-actions { gap: 10px; }
  .btn-hero-primary, .btn-hero-ghost { font-size: 15px; padding: 14px 24px; }

  /* Showcase: hide complex card on mobile — too small */
  .hero-showcase { display: none; }

  /* Hero chips: hide floating chips on mobile */
  .hero-chip { display: none; }

  /* Stats */
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .stat-num { font-size: 36px; }
  .stat-item { padding: 16px; }

  /* Module cards */
  .modules-grid  { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .mod-card { padding: 20px 16px; }
  .mod-icon { width: 40px; height: 40px; }

  /* Spotlight */
  .spotlight-section { padding: 56px 0; }
  .spot-copy h2 { font-size: clamp(26px, 6vw, 36px); }

  /* Pipeline: tighter on phones */
  .pl-stage { width: 84px; }
  .pl-circle { width: 42px; height: 42px; }
  .pl-stage:not(:last-child)::after { top: 20px; } /* half of 42px */
  .pl-count { display: none; }
  /* Candidate cards: horizontal scroll */
  .cand-cards {
    display: flex; flex-wrap: nowrap;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    gap: 12px; padding-bottom: 12px; scrollbar-width: none;
  }
  .cand-cards::-webkit-scrollbar { display: none; }
  .cand-card { flex: 0 0 260px; }

  /* Industry */
  .industry-grid { grid-template-columns: 1fr; }

  /* Roles */
  .roles-row { grid-template-columns: repeat(2,1fr); gap: 10px; }

  /* Testimonials */
  .testi-grid { grid-template-columns: 1fr; }

  /* CTA section */
  .cta-section { padding: 64px 0; }
  .cta-inner h2 { font-size: clamp(28px, 7vw, 40px); }
  .cta-inner .cta-btns { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-inner .cta-btns a,
  .cta-inner .cta-btns button { text-align: center; justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 16px; }
  .footer-legal { justify-content: center; }
  footer { padding-bottom: 80px; } /* space for sticky mobile bar */
}

/* ── Small phones (≤480px) ────────────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .section    { padding: 48px 0; }

  /* Hero */
  .hero { padding: 88px 0 48px; }
  .hero-h1 { font-size: clamp(30px, 8vw, 40px); letter-spacing: -1px; }
  .hero-sub { font-size: 15px; }
  .hero-trust { gap: 6px; }
  .trust-badge { font-size: 11.5px; padding: 5px 10px; }
  .btn-hero-primary { font-size: 14px; padding: 13px 20px; }
  .btn-hero-ghost   { font-size: 14px; padding: 13px 20px; }

  /* Stats: 2-col tight */
  .stat-num { font-size: 30px; letter-spacing: -1px; }
  .stat-lbl { font-size: 12px; }

  /* Module cards: 1 column on very small phones */
  .modules-grid { grid-template-columns: 1fr; }
  .mod-card { padding: 18px 16px; }

  /* Roles */
  .roles-row { grid-template-columns: 1fr; }

  /* Section headings */
  .sh h2 { font-size: clamp(24px, 6.5vw, 36px); }

  /* Buttons — full-width stack */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-hero-primary, .btn-hero-ghost { justify-content: center; }
}

/* ── Sticky mobile bottom bar ─────────────────────────────────── */
.mobile-cta-bar {
  display: none;
}
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex; align-items: center; justify-content: space-between;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 990;
    background: rgba(13,20,50,0.96); backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 10px 16px 10px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    gap: 10px;
  }
  .mobile-cta-bar .mcb-text { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.3; flex: 1; }
  .mobile-cta-bar .mcb-text strong { color: rgba(255,255,255,0.85); display: block; font-size: 14px; }
  .mobile-cta-bar a {
    background: var(--grad-orange); color: #fff;
    font-size: 14px; font-weight: 700; padding: 11px 20px; border-radius: 10px;
    white-space: nowrap; text-decoration: none; flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(247,147,30,0.4);
  }
  /* don't show bar on demo or contact page where form is already visible */
  .hide-mobile-bar .mobile-cta-bar { display: none; }
}
