:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #64748b;

  --primary: #18c37e;
  --primaryDark: #11a66b;

  --heroA: #4f46e5;
  --heroB: #7c3aed;
  --heroC: #3b82f6;

  --max: 1180px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
}
a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(79, 70, 229, 1),
    rgba(124, 58, 237, 1)
  );
}
.brand-name {
  font-weight: 900;
  letter-spacing: -0.2px;
  line-height: 1.15;
}
.brand-sub {
  display: none;
}
.menu {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.9);
}
.menu a:hover {
  text-decoration: underline;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease,
    border-color 0.12s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--primary);
  color: #071a10;
  box-shadow: 0 18px 35px rgba(24, 195, 126, 0.25);
}
.btn-primary:hover {
  background: var(--primaryDark);
  color: #fff;
}
.btn-accent {
  background: #fff;
  color: rgba(15, 23, 42, 0.95);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      1200px 700px at 20% 20%,
      rgba(255, 255, 255, 0.18),
      transparent 55%
    ),
    linear-gradient(135deg, var(--heroA), var(--heroB));
  color: #fff;
  padding: 62px 0 54px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: -80px;
  background: radial-gradient(
    700px 400px at 75% 45%,
    rgba(59, 130, 246, 0.55),
    transparent 65%
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
}
.hero-title {
  margin: 0;
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: -1.2px;
  font-weight: 900;
  max-width: 720px;
}
.hero-lead {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.75;
  font-size: 16.5px;
  max-width: 680px;
}
.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13.5px;
}

/* =========================
   HIGHLIGHTS (RIGHT ONLY)
   ========================= */
.highlights {
  padding: 70px 0;
  background: #ffffff;
}

/* one-column layout so there is NO empty space */
.highlights-inner {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
}

/* Floating panel: full width and centered */
.float-panel {
  position: relative;
  width: 100%;
  max-width: 980px; /* makes it fill the section nicely */
  min-height: 420px; /* taller so it feels “hero-like” */
  border-radius: 26px;
  padding: 26px;
  background: radial-gradient(
      900px 520px at 20% 20%,
      rgba(79, 70, 229, 0.12),
      transparent 55%
    ),
    linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(124, 58, 237, 0.1));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 55px rgba(2, 6, 23, 0.1);
  overflow: hidden;
}

/* Float cards scale up with bigger panel */
.float-card {
  position: absolute;
  width: min(520px, 88%);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  padding: 16px 16px;
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.12);
}

.card-title {
  font-weight: 900;
  letter-spacing: -0.2px;
  font-size: 18px;
}
.card-text {
  margin-top: 6px;
  color: rgba(15, 23, 42, 0.72);
  line-height: 1.55;
  font-size: 14px;
}
.pill {
  margin-top: 10px;
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(79, 70, 229, 0.1);
  border: 1px solid rgba(79, 70, 229, 0.18);
  color: rgba(79, 70, 229, 0.95);
}

/* Organic floating animation */
.fc1 {
  top: 34px;
  left: 34px;
  animation: float1 5.5s ease-in-out infinite;
}
.fc2 {
  top: 140px;
  right: 34px;
  animation: float2 6.2s ease-in-out infinite;
}
.fc3 {
  bottom: 34px;
  left: 120px;
  animation: float3 6.8s ease-in-out infinite;
}

@keyframes float1 {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-8px) rotate(-1deg);
  }
}
@keyframes float2 {
  0%,
  100% {
    transform: translateY(0) rotate(1deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}
@keyframes float3 {
  0%,
  100% {
    transform: translateY(0) rotate(-0.5deg);
  }
  50% {
    transform: translateY(-7px) rotate(-0.5deg);
  }
}

.orb {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.8px;
  color: rgba(15, 23, 42, 0.75);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
}

.o1 {
  top: 26px;
  right: 28px;
  animation: orbFloat 7.2s ease-in-out infinite;
}
.o2 {
  bottom: 26px;
  right: 84px;
  animation: orbFloat 8s ease-in-out infinite;
}
.o3 {
  bottom: 118px;
  right: 28px;
  animation: orbFloat 7.6s ease-in-out infinite;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* SECTIONS */
.section {
  padding: 72px 0;
}
.section-alt {
  background: #f6f7fb;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.section-head {
  text-align: center;
  margin-bottom: 26px;
}
.section-title {
  margin: 0;
  font-size: 36px;
  letter-spacing: -0.9px;
}
.section-sub {
  margin: 10px auto 0;
  max-width: 740px;
  color: var(--muted);
  line-height: 1.7;
}

/* GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

/* SERVICE CARDS */
.mini-card {
  text-align: left;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.06);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    border-color 0.12s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 140px;
}
.mini-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.09);
  border-color: rgba(15, 23, 42, 0.16);
}
.mini-icon {
  font-size: 22px;
}
.mini-title {
  font-weight: 900;
  letter-spacing: -0.2px;
}
.mini-text {
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
  margin-top: -2px;
}

/* STEPS */
.step-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.06);
}
.step-badge {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.step-title {
  margin-top: 12px;
  font-weight: 900;
  font-size: 17px;
}
.step-text {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}
.step-link {
  margin-top: 12px;
  display: inline-flex;
  font-weight: 900;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.step-link:hover {
  text-decoration: underline;
}

/* INSIGHTS */
.insight {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.06);
}
.insight-thumb {
  height: 160px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.insight-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.05),
    rgba(2, 6, 23, 0.35)
  );
}
.tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: rgba(15, 23, 42, 0.95);
}
.insight-body {
  padding: 16px;
}
.insight-body h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.insight-body p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}
.link {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 900;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.link:hover {
  text-decoration: underline;
}

/* Unsplash thumbs */
.vat {
  background-image: url("https://images.unsplash.com/photo-1554224154-22dec7ec8818?auto=format&fit=crop&w=1200&q=80");
}
.payroll {
  background-image: url("https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&w=1200&q=80");
}
.reporting {
  background-image: url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1200&q=80");
}

/* FOOTER */
.footer {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.86);
  padding: 34px 0 18px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-brand {
  font-weight: 900;
}
.footer-muted {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}
.footer-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 999;
}
.modal.show {
  display: flex;
}
.modal-card {
  width: min(760px, 100%);
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 30px 90px rgba(2, 6, 23, 0.35);
  overflow: hidden;
}
.modal-head {
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.modal-title {
  font-weight: 900;
  font-size: 18px;
}
.modal-sub {
  margin-top: 6px;
  color: #64748b;
  line-height: 1.6;
}
.x {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #fff;
  cursor: pointer;
}
form {
  padding: 18px;
}
label {
  display: block;
  font-weight: 800;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.92);
}
input,
textarea,
select {
  width: 100%;
  margin-top: 8px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
  color: rgba(15, 23, 42, 0.95);
}
input:focus,
textarea:focus,
select:focus {
  border-color: rgba(24, 195, 126, 0.9);
  box-shadow: 0 0 0 4px rgba(24, 195, 126, 0.18);
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.modal-actions {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.status {
  margin-top: 10px;
  color: #64748b;
  font-size: 13px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .menu {
    display: none;
  }
  .hero-title {
    font-size: 44px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Scale down floating layout on smaller screens */
  .float-panel {
    min-height: 380px;
    max-width: 860px;
  }
  .float-card {
    width: min(480px, 92%);
  }
  .fc3 {
    left: 44px;
  }
}

@media (max-width: 520px) {
  .row {
    grid-template-columns: 1fr;
  }

  .float-panel {
    min-height: 360px;
    padding: 18px;
  }
  .float-card {
    width: min(420px, 92%);
  }

  .fc1 {
    left: 14px;
    top: 18px;
  }
  .fc2 {
    right: 14px;
    top: 120px;
  }
  .fc3 {
    left: 18px;
    bottom: 18px;
  }

  .orb {
    width: 82px;
    height: 82px;
    font-size: 11px;
  }
  .o1 {
    top: 18px;
    right: 16px;
  }
  .o2 {
    bottom: 18px;
    right: 52px;
  }
  .o3 {
    bottom: 100px;
    right: 16px;
  }
}
