:root {
  --purple: #5b21b6;
  --purple-dark: #2e1065;
  --teal: #0faaa4;
  --cyan: #16d4c8;
  --ink: #0f172a;
  --slate: #475569;
}

* { scroll-behavior: smooth; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
::selection { background: rgba(91, 33, 182, 0.18); color: var(--purple-dark); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  border-radius: 999px;
  background: white;
  padding: 10px 14px;
  font-weight: 800;
  color: var(--purple);
}
.skip-link:focus { left: 12px; }

.nav-link { position: relative; transition: color .2s ease; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--purple), var(--teal));
  transition: transform .2s ease;
}
.nav-link:hover { color: var(--purple); }
.nav-link:hover::after { transform: scaleX(1); }

.btn-primary,
.btn-secondary,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 999px;
  padding: .88rem 1.2rem;
  font-size: .94rem;
  font-weight: 850;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--purple), #7c3aed 55%, var(--teal));
  box-shadow: 0 18px 44px rgba(91, 33, 182, .28);
}
.btn-secondary {
  color: var(--purple-dark);
  background: white;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}
.btn-light {
  color: white;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
}
.btn-primary:hover,
.btn-secondary:hover,
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 22px 60px rgba(15, 23, 42, .16); }

.gradient-text {
  background: linear-gradient(135deg, var(--purple), #7c3aed, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trust-pill,
.list-pill,
.automation-pill,
.topic-card {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 800;
}
.trust-pill {
  border: 1px solid #e2e8f0;
  background: rgba(255,255,255,.82);
  padding: .58rem .85rem;
  color: #334155;
  font-size: .83rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}
.trust-pill::before, .list-pill::before, .benefit-item::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-right: .5rem;
  border-radius: 50%;
  background: #ccfbf1;
  color: #0f766e;
  font-size: .72rem;
  font-weight: 900;
}

.section { padding: 5.5rem 0; }
.section-heading { max-width: 820px; margin: 0 auto 3rem; text-align: center; }
.section-kicker { margin-bottom: .75rem; font-size: .82rem; font-weight: 950; letter-spacing: .18em; text-transform: uppercase; color: var(--purple); }
.section-title { font-size: clamp(2.1rem, 4vw, 3.45rem); line-height: 1.03; letter-spacing: -.06em; font-weight: 950; color: var(--ink); }
.section-copy { margin: 1rem auto 0; max-width: 760px; color: #64748b; font-size: 1.05rem; line-height: 1.8; }

.dashboard-shell {
  position: relative;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 2.25rem;
  background: rgba(255,255,255,.92);
  padding: 1.35rem;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .09);
  transform: rotate(1deg);
}
.dashboard-shell::before {
  content: "";
  position: absolute;
  inset: -44px -34px auto auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(91,33,182,.18), rgba(22,212,200,.18));
  z-index: -1;
  filter: blur(4px);
}
.dot { width: .7rem; height: .7rem; border-radius: 999px; background: #cbd5e1; }
.mini-card {
  min-height: 8rem;
  border: 1px solid #e2e8f0;
  border-radius: 1.3rem;
  background: white;
  padding: 1rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .05);
}
.mini-card span { display: inline-grid; place-items: center; width: 2.45rem; height: 2.45rem; margin-bottom: .75rem; border-radius: .95rem; background: #ede9fe; }
.mini-card strong, .mini-card small { display: block; }
.mini-card strong { font-weight: 950; letter-spacing: -.03em; }
.mini-card small { color: #64748b; }
.bar { margin-top: .8rem; height: .46rem; border-radius: 999px; overflow: hidden; background: #f1f5f9; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--teal)); }
.flow-node { display: inline-grid; min-width: 3rem; place-items: center; border-radius: 999px; background: rgba(255,255,255,.16); padding: .55rem .65rem; font-size: .72rem; font-weight: 900; }
.flow-line { height: 2px; flex: 1; background: rgba(255,255,255,.45); }
.floating-proof {
  position: absolute;
  left: -1.2rem;
  bottom: 2rem;
  max-width: 15rem;
  border: 1px solid #e2e8f0;
  border-radius: 1.4rem;
  background: white;
  padding: 1rem;
  box-shadow: 0 22px 60px rgba(15, 23, 42, .14);
  transform: rotate(-3deg);
}
.floating-proof strong { display: block; color: var(--purple); font-size: 1.75rem; line-height: 1; font-weight: 950; }
.floating-proof span { display: block; margin-top: .35rem; color: #475569; font-size: .86rem; font-weight: 800; }

.problem-card,
.feature-card,
.service-card,
.industry-card,
.package-card,
.scenario-card,
.why-card,
.faq-item,
.step-card {
  border: 1px solid #e2e8f0;
  background: white;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .045);
}
.problem-card {
  border-radius: 1.35rem;
  padding: 1rem 1.05rem;
  color: #334155;
  font-weight: 850;
}
.problem-card::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-right: .75rem;
  border-radius: .7rem;
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 950;
}

.card-grid-3 { display: grid; gap: 1rem; grid-template-columns: repeat(1, minmax(0,1fr)); }
.card-grid-4 { display: grid; gap: 1rem; grid-template-columns: repeat(1, minmax(0,1fr)); }
.card-grid-5 { display: grid; gap: 1rem; grid-template-columns: repeat(1, minmax(0,1fr)); }
@media (min-width: 640px) { .card-grid-3, .card-grid-4, .card-grid-5 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .card-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .card-grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); } .card-grid-5 { grid-template-columns: repeat(5, minmax(0,1fr)); } }

.feature-card,
.service-card,
.industry-card,
.package-card,
.scenario-card {
  border-radius: 1.6rem;
  padding: 1.35rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover,
.service-card:hover,
.industry-card:hover,
.package-card:hover,
.scenario-card:hover {
  transform: translateY(-5px);
  border-color: rgba(91, 33, 182, .25);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .09);
}
.feature-card span,
.service-card span,
.industry-card span,
.package-card span {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: #ede9fe;
  font-size: 1.25rem;
}
.feature-card:nth-child(even) span,
.service-card:nth-child(even) span,
.industry-card:nth-child(even) span,
.package-card:nth-child(even) span { background: #ccfbf1; }
.feature-card h3,
.service-card h3,
.industry-card h3,
.package-card h3,
.scenario-card h3 { margin-bottom: .55rem; font-weight: 950; line-height: 1.15; letter-spacing: -.04em; }
.feature-card p,
.service-card p,
.industry-card p,
.package-card p,
.scenario-card p { color: #64748b; font-size: .93rem; line-height: 1.65; }

.hrms-visual { position: relative; }
.metric-card {
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px solid #e2e8f0;
  padding: 1rem;
}
.metric-card small, .metric-card span { display: block; color: #64748b; font-weight: 700; }
.metric-card strong { display: block; margin: .3rem 0; font-size: 2rem; line-height: 1; font-weight: 950; letter-spacing: -.06em; color: var(--purple); }
.check-row { display: flex; align-items: center; justify-content: space-between; border-radius: 1rem; background: white; padding: .7rem .9rem; font-weight: 800; color: #334155; }
.check-row span { color: var(--teal); }
.list-pill { border: 1px solid #e2e8f0; background: white; padding: .7rem .85rem; color: #334155; font-size: .88rem; box-shadow: 0 10px 24px rgba(15,23,42,.04); }

.benefit-item { display: flex; align-items: flex-start; font-weight: 800; }
.package-card { min-height: 15rem; }

.automation-pill { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.1); padding: .75rem .9rem; color: white; font-size: .9rem; }
.automation-visual {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 2rem;
  background: rgba(255,255,255,.1);
  padding: 2rem;
  box-shadow: 0 26px 80px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
}
.auto-node { border-radius: 1.4rem; background: white; color: var(--purple-dark); padding: 1rem 1.2rem; font-weight: 950; box-shadow: 0 14px 34px rgba(0,0,0,.16); }
.auto-line { width: 3px; height: 2.2rem; margin-left: 1.4rem; background: rgba(255,255,255,.5); }

.security-panel {
  border-radius: 2rem;
  background: linear-gradient(135deg, white, #f8fafc);
  border: 1px solid #e2e8f0;
  padding: 2rem;
  box-shadow: 0 24px 70px rgba(15,23,42,.09);
}
.security-lock { display: grid; place-items: center; width: 6rem; height: 6rem; margin: 0 auto 2rem; border-radius: 2rem; background: linear-gradient(135deg, var(--purple), var(--teal)); font-size: 2.4rem; box-shadow: 0 20px 60px rgba(91,33,182,.24); }
.security-panel span { border: 1px solid #e2e8f0; border-radius: 1rem; background: white; padding: .9rem; color: #334155; font-weight: 900; text-align: center; }

.step-card { border-radius: 1.35rem; padding: 1.1rem; min-height: 12.5rem; }
.step-card b { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 1rem; border-radius: .9rem; background: linear-gradient(135deg, var(--purple), var(--teal)); color: white; }
.step-card strong, .step-card span { display: block; }
.step-card strong { margin-bottom: .5rem; font-weight: 950; line-height: 1.15; }
.step-card span { color: #64748b; font-size: .86rem; line-height: 1.55; }

.scenario-card span { display: inline-flex; margin-bottom: 1rem; border-radius: 999px; background: #ede9fe; color: var(--purple); padding: .42rem .7rem; font-size: .75rem; font-weight: 950; }
.scenario-card p { margin-top: .65rem; }
.why-card { border-radius: 1.4rem; padding: 1.2rem; font-weight: 950; color: #334155; }
.why-card::before { content: "✓"; margin-right: .6rem; color: var(--teal); }
.topic-card { justify-content: center; min-height: 5rem; border: 1px solid #e2e8f0; background: #f8fafc; padding: 1rem; text-align: center; color: #334155; }

.faq-item { border-radius: 1.3rem; padding: 1.15rem 1.25rem; }
.faq-item summary { cursor: pointer; font-weight: 950; color: var(--ink); }
.faq-item p { margin-top: .8rem; color: #64748b; line-height: 1.65; }
.footer-col h3 { margin-bottom: 1rem; font-weight: 950; }
.footer-col a,
.footer-col span { display: block; margin-bottom: .65rem; color: #94a3b8; font-size: .92rem; }
.footer-col a:hover { color: var(--cyan); }

@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .dashboard-shell { transform: none; }
  .floating-proof { position: static; margin-top: 1rem; max-width: none; transform: none; }
  .btn-primary, .btn-secondary, .btn-light { width: 100%; }
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; transition: none; } }
