/* HrBabu marketing site — brand: HR Babu green (#77B844) on ink (#1f2a44) */
:root {
  --green: #77b844;
  --green-600: #5e9636;
  --green-700: #4a7a2a;
  --green-50: #f2f8ec;
  --green-100: #e3f1d6;
  --ink: #1f2a44;
  --ink-2: #2f3c55;
  --text: #344054;
  --muted: #667085;
  --line: #e4e7ec;
  --bg: #f7f9fb;
  --white: #fff;
  --blue: #3b82f6;
  --violet: #7c5cff;
  --amber: #f59e0b;
  --red: #ef4444;
  --emerald: #10b981;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow: 0 10px 30px -12px rgba(16, 24, 40, 0.18);
  --shadow-lg: 0 40px 80px -30px rgba(16, 24, 40, 0.35);
  --font: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.container { width: min(1200px, calc(100% - 8%)); margin: 0 auto; }
html, body { overflow-x: clip; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-600);
}
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 12px; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 12px; font-weight: 700; font-size: 15px; border: 0; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: inherit;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px -10px rgba(94, 150, 54, 0.9); }
.btn-primary:hover { background: var(--green-600); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #cfd5dd; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #111a2e; transform: translateY(-2px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled { background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px); border-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
.brand-name { font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -0.02em; }
.brand-name small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: -2px; }
.nav { display: flex; gap: 30px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav a:hover { color: var(--green-600); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { padding: 150px 0 90px; position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, #eaf6df 0%, rgba(234, 246, 223, 0) 60%), radial-gradient(900px 500px at -10% 30%, #eef4ff 0%, rgba(238, 244, 255, 0) 60%); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.blob.b1 { width: 420px; height: 420px; background: #c9e9ad; top: -120px; right: 8%; }
.blob.b2 { width: 360px; height: 360px; background: #cfe0ff; bottom: -80px; left: -60px; animation-duration: 22s; }
.blob.b3 { width: 260px; height: 260px; background: #e8dcff; top: 35%; right: -60px; animation-duration: 26s; }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.12); } }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1.15fr; gap: 56px; align-items: center; position: relative; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.pill b { background: var(--green); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 12px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); margin-top: 22px; font-weight: 800; }
.hero h1 .hl { background: linear-gradient(90deg, var(--green-600), #2f9e6a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 560px; }
.hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-checks { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hero-checks span { display: inline-flex; align-items: center; gap: 8px; }
.check { width: 20px; height: 20px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }

/* 3D stage */
.stage { perspective: 1800px; position: relative; height: 560px; }
.stage-inner {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -14deg)) rotateZ(1deg);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.layer { position: absolute; transform-style: preserve-3d; }
.layer.browser { left: 0; top: 30px; width: 92%; transform: translateZ(0); }
.layer.phone { right: -10px; top: 150px; width: 210px; transform: translateZ(120px); }
.layer.chip { transform: translateZ(180px); }
.layer.chip.c1 { left: -30px; top: 6px; }
.layer.chip.c2 { left: 34%; bottom: 18px; transform: translateZ(210px); }
.layer.chip.c3 { right: 150px; top: 6px; transform: translateZ(150px); }
.chip-card {
  display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow-lg); font-size: 13px; white-space: nowrap; animation: bob 5s ease-in-out infinite;
}
.layer.chip.c2 .chip-card { animation-delay: -1.5s; }
.layer.chip.c3 .chip-card { animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.chip-card .ic { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.chip-card b { color: var(--ink); display: block; font-size: 14px; }
.chip-card span { color: var(--muted); }

/* ---------- product screen mockups ---------- */
.window { background: #fff; border-radius: 14px; border: 1px solid #dfe3ea; box-shadow: var(--shadow-lg); overflow: hidden; }
.window-bar { height: 34px; background: #f3f5f8; border-bottom: 1px solid #e6e9ee; display: flex; align-items: center; gap: 7px; padding: 0 12px; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.window-bar i:nth-child(1) { background: #ff5f57; } .window-bar i:nth-child(2) { background: #febc2e; } .window-bar i:nth-child(3) { background: #28c840; }
.window-bar .url { margin-left: 12px; flex: 1; max-width: 300px; height: 20px; border-radius: 6px; background: #fff; border: 1px solid #e3e6eb; font-size: 10.5px; color: #98a2b3; display: flex; align-items: center; padding: 0 8px; }
.app { display: grid; grid-template-columns: 150px 1fr; min-height: 380px; font-size: 11px; }
.app-side { background: #121a2e; color: #c7cede; padding: 12px 10px; }
.app-side .logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 13px; margin-bottom: 14px; }
.app-side .logo img { width: 24px; height: 24px; border-radius: 6px; }
.app-side .it { padding: 6px 8px; border-radius: 7px; margin-bottom: 2px; display: flex; align-items: center; gap: 7px; }
.app-side .it.on { background: #2563eb; color: #fff; }
.app-side .it::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: currentColor; opacity: 0.6; }
.app-main { background: #f6f8fb; padding: 14px; }
.app-main h5 { font-size: 13px; color: var(--ink); margin: 0 0 2px; }
.app-main .sub { color: #98a2b3; font-size: 10px; margin-bottom: 10px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kpi { background: #fff; border: 1px solid #e8ebf0; border-radius: 9px; padding: 8px 9px; }
.kpi small { display: block; color: #98a2b3; font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.kpi b { display: block; font-size: 17px; color: var(--ink); margin-top: 4px; }
.kpi em { font-style: normal; font-size: 9px; color: #98a2b3; }
.dash-row { display: grid; grid-template-columns: 1.7fr 1fr; gap: 8px; margin-top: 8px; }
.panel { background: #fff; border: 1px solid #e8ebf0; border-radius: 9px; padding: 9px; }
.panel h6 { margin: 0 0 8px; font-size: 10.5px; color: var(--ink); }
.bars { height: 120px; display: flex; align-items: flex-end; gap: 6px; padding-top: 6px; border-bottom: 1px solid #eef1f5; }
.bar { flex: 1; display: flex; flex-direction: column-reverse; border-radius: 3px 3px 0 0; overflow: hidden; }
.bar i { display: block; }
.bar i.p { background: #16a34a; } .bar i.l { background: #f59e0b; } .bar i.v { background: #6366f1; } .bar i.a { background: #ef4444; }
.bar.grow i { animation: growbar 1.2s cubic-bezier(.2,.8,.2,1) both; transform-origin: bottom; }
@keyframes growbar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.donut { width: 92px; height: 92px; border-radius: 50%; margin: 6px auto; position: relative; background: conic-gradient(#16a34a 0 72%, #f59e0b 72% 82%, #6366f1 82% 90%, #ef4444 90% 100%); }
.donut::after { content: "86%"; position: absolute; inset: 14px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: var(--ink); }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; font-size: 9px; color: #667085; margin-top: 6px; }
.legend span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 4px; background: var(--c); }

/* phone */
.phone-frame { background: #0f172a; border-radius: 34px; padding: 9px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3550; }
.phone-screen { background: #f5f7fa; border-radius: 26px; overflow: hidden; height: 400px; position: relative; font-size: 10.5px; }
.phone-screen .notch { position: absolute; top: 7px; left: 50%; translate: -50% 0; width: 70px; height: 16px; border-radius: 10px; background: #0f172a; z-index: 2; }
.p-head { background: var(--green); color: #fff; padding: 34px 14px 16px; }
.p-head b { font-size: 14px; display: block; }
.p-head small { opacity: 0.85; }
.p-btn { margin-top: 10px; background: #fff; color: var(--green-700); border-radius: 10px; padding: 8px; text-align: center; font-weight: 800; font-size: 11.5px; }
.p-body { padding: 10px 12px; }
.p-card { background: #fff; border-radius: 10px; border: 1px solid #e8ebf0; padding: 9px; margin-bottom: 8px; }
.p-card .row { display: flex; justify-content: space-between; align-items: center; }
.tag { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 8px; font-size: 9.5px; font-weight: 700; }
.tag.g { background: #e7f7ee; color: #047857; } .tag.a { background: #fff4e0; color: #b45309; } .tag.r { background: #feecec; color: #b42318; } .tag.b { background: #eaf1ff; color: #1d4ed8; } .tag.v { background: #f1ecff; color: #6941c6; } .tag.s { background: #f2f4f7; color: #475467; }
.mini-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-top: 6px; }
.mini-cal i { aspect-ratio: 1; border-radius: 5px; font-style: normal; font-size: 8.5px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.c-p { background: #e7f7ee; color: #047857; } .c-a { background: #feecec; color: #b42318; } .c-w { background: #f1ecff; color: #6941c6; } .c-h { background: #eef0ff; color: #4338ca; } .c-l { background: #fff4e0; color: #b45309; } .c-n { background: #fff; color: #98a2b3; border: 1px solid #eef0f3; }

/* ---------- logos strip ---------- */
.trust { padding: 36px 0 10px; }
.trust p { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.logos { margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 64px; flex-wrap: wrap; }
.logos img { height: 46px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.3s, opacity 0.3s, transform 0.3s; }
.logos img:hover { filter: none; opacity: 1; transform: translateY(-2px); }
.logo-word { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: #475467; }
.logos .logo-word { filter: grayscale(1); opacity: 0.8; transition: filter 0.3s, opacity 0.3s; }
.logos .logo-word:hover { filter: none; opacity: 1; }
.logos .logo-word img { filter: none; opacity: 1; height: 42px; }
.client .logo-word { font-size: 16px; gap: 6px; color: var(--ink); }
.client .logo-word img { max-height: 40px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 70px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.stat span { font-size: 14px; color: var(--muted); font-weight: 600; }

/* ---------- module tabs ---------- */
.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 44px; }
.tab { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: var(--ink-2); cursor: pointer; font-family: inherit; transition: all 0.2s; }
.tab:hover { border-color: #c9d3c0; }
.tab.on { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow); }
.panel-wrap { position: relative; }
.mod { display: none; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: center; }
.mod.on { display: grid; animation: modin 0.6s cubic-bezier(.2,.8,.2,1); }
@keyframes modin { from { opacity: 0; transform: perspective(1200px) rotateX(10deg) translateY(30px); } to { opacity: 1; transform: none; } }
.mod h3 { font-size: 32px; }
.mod p.d { margin-top: 14px; color: var(--muted); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--text); }
.ticks li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--green-100); color: var(--green-700); font-weight: 800; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.shot { perspective: 1400px; }
.shot > * { transform: rotateY(-8deg) rotateX(4deg); transition: transform 0.6s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.shot:hover > * { transform: rotateY(0) rotateX(0); }

/* generic table in mockups */
.tbl { width: 100%; border-collapse: collapse; font-size: 10px; }
.tbl th { text-align: left; color: #98a2b3; font-weight: 700; font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.05em; padding: 6px 8px; border-bottom: 1px solid #eef1f5; }
.tbl td { padding: 7px 8px; border-bottom: 1px solid #f2f4f7; color: #344054; }
.tbl td b { color: var(--ink); }
.plus { color: #047857; font-weight: 800; } .minus { color: #b42318; font-weight: 800; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal .h { font-size: 8.5px; text-align: center; color: #98a2b3; font-weight: 700; text-transform: uppercase; }
.cal .d { border-radius: 7px; padding: 5px; min-height: 44px; font-size: 9px; }
.cal .d b { display: block; font-size: 10px; }
.slip { background: #fff; border-radius: 12px; border: 1px solid #dfe3ea; box-shadow: var(--shadow-lg); padding: 22px; font-size: 11px; }
.slip-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #1d4ed8; padding-bottom: 12px; }
.slip-head img { width: 40px; border-radius: 8px; }
.slip h6 { text-align: center; color: #1d4ed8; font-size: 13px; margin: 12px 0; }
.slip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0; }
.slip-grid div { border: 1px solid #eef0f3; border-radius: 7px; padding: 6px 8px; }
.slip-grid small { display: block; color: #98a2b3; font-size: 8.5px; }
.slip-grid b { color: var(--ink); font-size: 12px; }
.net { margin-top: 12px; background: #ecfdf5; border-radius: 9px; padding: 12px; display: flex; justify-content: space-between; align-items: center; }
.net b { color: #047857; font-size: 18px; }
.phones { display: flex; gap: 18px; justify-content: center; }
.phones .phone-frame { width: 220px; }
.phones .phone-frame:nth-child(2) { transform: translateY(40px); }

/* ---------- feature grid ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative;
  transform-style: preserve-3d; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
  will-change: transform;
}
.feat:hover { box-shadow: var(--shadow); border-color: #d4e7c2; }
.feat .fi { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--green-50); color: var(--green-600); transform: translateZ(30px); }
.feat h4 { margin-top: 16px; font-size: 17px; transform: translateZ(20px); }
.feat p { margin-top: 8px; font-size: 14.5px; color: var(--muted); transform: translateZ(10px); }

/* ---------- 3D cube ---------- */
.dark { background: radial-gradient(900px 500px at 80% 0%, #2a3a5e 0%, rgba(42, 58, 94, 0) 60%), var(--ink); color: #c9d1e1; }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .section-head p { color: #a9b4c9; }
.cube-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cube-scene { height: 380px; perspective: 1100px; display: flex; align-items: center; justify-content: center; }
.cube { width: 220px; height: 220px; position: relative; transform-style: preserve-3d; animation: spin 18s linear infinite; }
.cube-scene:hover .cube { animation-play-state: paused; }
@keyframes spin { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }
.face {
  position: absolute; inset: 0; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(145deg, rgba(119, 184, 68, 0.95), rgba(74, 122, 42, 0.95)); color: #fff; font-weight: 800; font-size: 19px;
  border: 1px solid rgba(255, 255, 255, 0.25); box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.12);
}
.face svg { width: 44px; height: 44px; }
.face.f1 { transform: rotateY(0deg) translateZ(110px); }
.face.f2 { transform: rotateY(90deg) translateZ(110px); background: linear-gradient(145deg, #3b82f6, #1d4ed8); }
.face.f3 { transform: rotateY(180deg) translateZ(110px); background: linear-gradient(145deg, #7c5cff, #5b3fd6); }
.face.f4 { transform: rotateY(-90deg) translateZ(110px); background: linear-gradient(145deg, #f59e0b, #d97706); }
.face.f5 { transform: rotateX(90deg) translateZ(110px); background: linear-gradient(145deg, #10b981, #047857); }
.face.f6 { transform: rotateX(-90deg) translateZ(110px); background: linear-gradient(145deg, #ef4444, #b91c1c); }
.cube-shadow { position: absolute; width: 240px; height: 40px; border-radius: 50%; background: radial-gradient(rgba(0, 0, 0, 0.45), transparent 70%); transform: translateY(190px) rotateX(80deg); }
.list-dark { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.list-dark li { display: flex; gap: 14px; }
.list-dark .n { flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(119, 184, 68, 0.15); color: #a8dd7f; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.list-dark b { color: #fff; display: block; }
.list-dark span { color: #a9b4c9; font-size: 15px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; perspective: 1200px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; position: relative; overflow: hidden; transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s; }
.step:hover { transform: rotateX(6deg) translateY(-6px); box-shadow: var(--shadow); }
.step .num { font-size: 64px; font-weight: 800; line-height: 1; color: var(--green-100); position: absolute; right: 22px; top: 14px; }
.step h4 { font-size: 20px; margin-top: 18px; }
.step p { margin-top: 10px; color: var(--muted); }
.step .si { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; }

/* ---------- pricing ---------- */
.pricing { background: var(--bg); }
.plans { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; position: relative; }
.plan.main { border: 2px solid var(--green); box-shadow: 0 30px 60px -30px rgba(94, 150, 54, 0.45); transform: perspective(1200px) rotateY(0deg); }
.plan .badge { position: absolute; top: -14px; left: 36px; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 14px; border-radius: 999px; letter-spacing: 0.04em; }
.plan h3 { font-size: 22px; }
.plan .for { color: var(--muted); margin-top: 6px; }
.price { margin-top: 22px; display: flex; align-items: flex-end; gap: 8px; }
.price b { font-size: 56px; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; line-height: 1; }
.price span { color: var(--muted); font-weight: 600; padding-bottom: 8px; }
.plan .ticks { grid-template-columns: 1fr 1fr; gap: 10px 18px; font-size: 14.5px; }
.plan .btn { margin-top: 28px; width: 100%; }
.plan.side { display: flex; flex-direction: column; }
.plan.side .ticks { grid-template-columns: 1fr; }
.plan.side .btn { margin-top: auto; }
.note { text-align: center; margin-top: 22px; color: var(--muted); font-size: 14px; }

/* ---------- security ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sec { border-radius: 18px; padding: 26px; background: linear-gradient(180deg, #fff, #fbfdf9); border: 1px solid var(--line); }
.sec h4 { font-size: 17px; margin-top: 14px; }
.sec p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.sec .fi { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #a8dd7f; display: flex; align-items: center; justify-content: center; }

/* ---------- clients ---------- */
.clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 900px; margin: 0 auto; }
.client { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; gap: 22px; align-items: center; transition: transform 0.3s, box-shadow 0.3s; }
.client:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.client .lg { width: 150px; height: 70px; flex: none; display: flex; align-items: center; justify-content: center; background: #fafbfc; border-radius: 14px; border: 1px solid #eef0f3; padding: 10px; }
.client .lg img { max-height: 50px; width: auto; object-fit: contain; }
.client h4 { font-size: 18px; }
.client p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.q { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.q button { width: 100%; text-align: left; padding: 20px 22px; background: none; border: 0; font: inherit; font-weight: 700; font-size: 16px; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 16px; }
.q button::after { content: "+"; font-size: 22px; line-height: 1; color: var(--green-600); transition: transform 0.3s; }
.q.open button::after { transform: rotate(45deg); }
.q .a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.q .a p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- contact ---------- */
.contact { background: linear-gradient(135deg, #f2f8ec 0%, #eef4ff 100%); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: stretch; }
.c-card { background: var(--ink); color: #c9d1e1; border-radius: 24px; padding: 38px; position: relative; overflow: hidden; }
.c-card::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(119, 184, 68, 0.18); right: -80px; bottom: -80px; }
.c-card h3 { color: #fff; font-size: 28px; }
.c-card p { margin-top: 10px; color: #a9b4c9; }
.c-line { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; position: relative; z-index: 1; }
.c-line .fi { width: 42px; height: 42px; flex: none; border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: #a8dd7f; display: flex; align-items: center; justify-content: center; }
.c-line b { color: #fff; display: block; }
.c-line a:hover { color: #a8dd7f; }
form.demo { background: #fff; border-radius: 24px; padding: 34px; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.demo h3 { grid-column: 1 / -1; font-size: 24px; }
form.demo .full { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
input, select, textarea { font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 10px; border: 1px solid #d0d5dd; background: #fff; color: var(--ink); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(119, 184, 68, 0.15); }
textarea { min-height: 96px; resize: vertical; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* ---------- cta + footer ---------- */
.cta-band { margin: 0 auto; width: min(1200px, 92%); border-radius: 28px; padding: 60px; background: linear-gradient(120deg, var(--green-600), #2f9e6a); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); max-width: 640px; }
.cta-band p { margin-top: 10px; opacity: 0.9; }
.cta-band .ring { position: absolute; border: 2px solid rgba(255, 255, 255, 0.18); border-radius: 50%; animation: pulse 6s ease-in-out infinite; }
.cta-band .ring.r1 { width: 300px; height: 300px; right: -60px; top: -120px; }
.cta-band .ring.r2 { width: 200px; height: 200px; right: 160px; bottom: -120px; animation-delay: -3s; }
@keyframes pulse { 50% { transform: scale(1.15); opacity: 0.5; } }
.cta-band .btn { position: relative; z-index: 1; background: #fff; color: var(--green-700); }
footer { background: #0f1729; color: #a9b4c9; padding: 70px 0 30px; margin-top: 110px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot h5 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.foot a { display: block; padding: 4px 0; font-size: 14.5px; }
.foot a:hover { color: #a8dd7f; }
.foot .brand-name { color: #fff; }
.foot p { font-size: 14.5px; margin-top: 14px; }
.powered { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; background: #fff; padding: 8px 14px; border-radius: 12px; }
.powered span { color: var(--muted); font-size: 12px; font-weight: 700; }
.powered img { height: 30px; width: auto; }
.copy { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 50px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13.5px; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: perspective(1200px) rotateX(12deg) translateY(40px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .mod, .cube-wrap, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .stage { height: 520px; max-width: 680px; margin: 0 auto; width: 100%; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .sec-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav, .header-cta .btn-ghost { display: none; }
  .menu-btn { display: block; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: #fff; padding: 18px 4vw; gap: 14px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .section { padding: 80px 0; }
  .steps, .clients { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 44px 28px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 120px; }
  .stage { height: 430px; }
  .layer.browser { width: 100%; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .layer.phone { width: 150px; right: -6px; top: 190px; }
  .phone-screen { height: 300px; }
  .layer.chip.c3 { display: none; }
  .layer.chip.c1 { left: 0; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .feat-grid, .sec-grid, .foot, form.demo { grid-template-columns: minmax(0, 1fr); }
  form.demo, .c-card { padding: 24px; }
  form.demo input, form.demo select, form.demo textarea { min-width: 0; width: 100%; }
  .plan .ticks { grid-template-columns: 1fr; }
  .phones { gap: 12px; }
  .phones .phone-frame { width: calc(50% - 6px); flex: none; }
  .phones .phone-frame:nth-child(2) { transform: translateY(20px); }
  .phones .phone-frame:nth-child(3) { display: none; }
  .client { flex-direction: column; align-items: flex-start; min-width: 0; }
  .logos { gap: 36px; }
  .slip-grid { grid-template-columns: 1fr 1fr; }
  .header .container { gap: 8px; }
  .header-cta { gap: 4px; }
  .header-cta .btn-primary { padding: 9px 14px; font-size: 13px; }
  .brand img { width: 36px; height: 36px; }
  .menu-btn { margin-right: -6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Clients: dark tile for white logos
   ========================================================= */
.logo-dark { display: inline-flex; align-items: center; background: #1f2a44; border-radius: 10px; padding: 6px 14px; opacity: 0.85; transition: opacity 0.3s, transform 0.3s; }
.logo-dark:hover { opacity: 1; transform: translateY(-2px); }
.logos .logo-dark img { filter: none; opacity: 1; height: 34px; }
.client .lg.dark { background: #1f2a44; border-color: #1f2a44; }
.clients { grid-template-columns: repeat(2, 1fr); }

/* =========================================================
   Features section - animated
   ========================================================= */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.feat-sec { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f5faf0 45%, #fff 100%); }
.feat-sec > .container, .feat-sec > .marquee { position: relative; z-index: 1; }
.feat-bg { position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(31, 42, 68, 0.07) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; animation: orbit 18s ease-in-out infinite alternate; }
.orb.o1 { width: 420px; height: 420px; background: #c9ecae; left: -120px; top: 80px; }
.orb.o2 { width: 360px; height: 360px; background: #cfe0ff; right: -100px; top: 340px; animation-duration: 22s; }
.orb.o3 { width: 300px; height: 300px; background: #e6dcff; left: 40%; bottom: -120px; animation-duration: 26s; }
@keyframes orbit { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(80px, -40px) scale(1.15); } 100% { transform: translate(-40px, 60px) scale(0.95); } }

.grad-text { white-space: nowrap; background: linear-gradient(90deg, #5e9636, #10b981, #3b82f6, #7c5cff, #5e9636); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradmove 7s linear infinite; }
@keyframes gradmove { to { background-position: 300% 0; } }

.feat-stats { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: -18px auto 34px; }
.feat-stats div { display: flex; align-items: baseline; gap: 8px; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; box-shadow: var(--shadow-sm); }
.feat-stats b { font-size: 20px; color: var(--ink); font-weight: 800; }
.feat-stats span { font-size: 13.5px; color: var(--muted); font-weight: 600; }

.marquee { overflow: hidden; padding: 6px 0 38px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .track { display: flex; gap: 12px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { white-space: nowrap; font-size: 14px; font-weight: 700; color: var(--green-700); background: #fff; border: 1px solid #d4e7c2;
  padding: 9px 18px; border-radius: 999px; box-shadow: 0 4px 14px -8px rgba(94, 150, 54, 0.5); }
.marquee span::before { content: "\2726"; margin-right: 8px; color: var(--green); }
@keyframes marquee { to { transform: translateX(-50%); } }

.feat-filter { position: relative; display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; margin: 0 auto 36px; width: max-content; max-width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; box-shadow: var(--shadow-sm); }
.feat-filter button { position: relative; z-index: 1; border: 0; background: none; font: inherit; font-weight: 700; font-size: 14px; color: var(--muted);
  padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: color 0.3s; }
.feat-filter button.on { color: #fff; }
.feat-filter .pill-bg { position: absolute; z-index: 0; top: 5px; left: 0; height: 38px; width: 60px; border-radius: 999px;
  background: linear-gradient(120deg, var(--green), var(--green-600)); box-shadow: 0 6px 16px -6px rgba(94, 150, 54, 0.7);
  transition: transform 0.45s cubic-bezier(.2,.9,.25,1.2), width 0.45s cubic-bezier(.2,.9,.25,1.2); }

/* cards */
.feat-sec .feat { --c: #5e9636; overflow: hidden; isolation: isolate; border-radius: 20px; padding: 26px 24px 24px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(6px); }
.feat-sec .feat[data-cat="att"] { --c: #16a34a; }
.feat-sec .feat[data-cat="leave"] { --c: #7c5cff; }
.feat-sec .feat[data-cat="pay"] { --c: #2563eb; }
.feat-sec .feat[data-cat="people"] { --c: #e08a00; }
.feat-sec .feat[data-cat="auto"] { --c: #0ea5e9; }
/* rotating gradient border */
.feat-sec .feat::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; z-index: -1;
  background: conic-gradient(from var(--ang), transparent 0 60%, var(--c) 80%, #fff 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s; animation: spinb 3.2s linear infinite; }
@keyframes spinb { to { --ang: 360deg; } }
/* spotlight following the mouse */
.feat-sec .feat::after { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 16%, transparent), transparent 70%); }
.feat-sec .feat:hover { border-color: transparent; box-shadow: 0 24px 50px -20px color-mix(in srgb, var(--c) 45%, transparent); }
.feat-sec .feat:hover::before, .feat-sec .feat:hover::after { opacity: 1; }

.feat-sec .feat .fi { position: relative; width: 52px; height: 52px; border-radius: 15px; color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c));
  box-shadow: 0 10px 22px -10px var(--c); animation: bob 4s ease-in-out infinite; animation-delay: calc(var(--i) * -0.35s);
  transition: transform 0.5s cubic-bezier(.2,.9,.25,1.4); }
.feat-sec .feat .fi::after { content: ""; position: absolute; inset: -6px; border-radius: 19px; border: 2px solid var(--c); opacity: 0; }
.feat-sec .feat:hover .fi { animation: none; transform: translateZ(40px) rotate(-8deg) scale(1.12); }
.feat-sec .feat:hover .fi::after { animation: ping 1.2s ease-out infinite; }
@keyframes bob { 0%, 100% { transform: translateZ(30px) translateY(0); } 50% { transform: translateZ(30px) translateY(-6px); } }
@keyframes ping { 0% { transform: scale(0.9); opacity: 0.7; } 100% { transform: scale(1.35); opacity: 0; } }

.feat-sec .feat .cat { display: inline-block; margin-top: 16px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); padding: 3px 9px; border-radius: 999px; transform: translateZ(20px); }
.feat-sec .feat h4 { margin-top: 10px; }
.feat-sec .feat .go { position: absolute; right: 20px; top: 26px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); opacity: 0; transform: translateX(-10px);
  transition: opacity 0.3s, transform 0.4s cubic-bezier(.2,.9,.25,1.4); }
.feat-sec .feat:hover .go { opacity: 1; transform: translateX(0); }

/* entrance: cards flip up one after another */
.js .feat-sec .feat { opacity: 0; }
.js .feat-grid.in .feat { opacity: 1; animation: flipin 0.8s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i) * 70ms); }
.js .feat-grid.in .feat.pop { animation: popin 0.5s cubic-bezier(.2,.9,.25,1.3) backwards; animation-delay: calc(var(--k) * 50ms); }
.feat-grid .feat.hide { display: none; }
@keyframes flipin { from { opacity: 0; transform: perspective(900px) rotateX(-55deg) translateY(50px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes popin { from { opacity: 0; transform: scale(0.85) translateY(20px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .clients { grid-template-columns: minmax(0, 1fr); }
  .feat-filter { width: 100%; border-radius: 18px; }
  .feat-filter .pill-bg { display: none; }
  .feat-filter button.on { background: linear-gradient(120deg, var(--green), var(--green-600)); }
  .feat-stats { margin-top: -10px; }
  .feat-stats div { padding: 8px 14px; }
  .orb { opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .grad-text, .marquee .track, .feat-sec .feat .fi, .feat-sec .feat::before { animation: none !important; }
  .js .feat-sec .feat { opacity: 1; }
  .js .feat-grid.in .feat, .js .feat-grid.in .feat.pop { animation: none; }
}

/* filtered features: centre the remaining cards */
.feat-grid.filtered { display: flex; flex-wrap: wrap; justify-content: center; }
.feat-grid.filtered .feat { width: calc(25% - 14px); }
@media (max-width: 1080px) { .feat-grid.filtered .feat { width: calc(50% - 9px); } }
@media (max-width: 640px) { .feat-grid.filtered .feat { width: 100%; } }
