:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #eef4ff;
  --ink: #0b1220;
  --muted: #637083;
  --line: #dce4ef;
  --primary: #2266f5;
  --primary-2: #0e47c7;
  --accent: #1fbf86;
  --amber: #f3a627;
  --danger: #e14848;
  --shadow: 0 24px 70px rgba(22, 36, 66, 0.14);
  --shadow-soft: 0 14px 36px rgba(22, 36, 66, 0.1);
  --radius: 8px;
  --radius-lg: 14px;
  --container: 1180px;
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(34, 102, 245, 0.12), transparent 34rem),
    radial-gradient(circle at 85% 10%, rgba(31, 191, 134, 0.1), transparent 30rem),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  border-radius: 6px;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 228, 239, 0.78);
  background: rgba(247, 249, 252, 0.86);
  backdrop-filter: blur(16px);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.brand-logo-wide {
  height: 42px;
}

.brand-logo-text {
  height: 38px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ink), #263a62);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.brand-name {
  font-size: 18px;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  padding: 10px 0;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  justify-content: flex-end;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 12px 26px rgba(34, 102, 245, 0.26);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(34, 102, 245, 0.34);
}

.btn-secondary,
.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
}

.btn-ghost {
  min-height: 38px;
  padding: 8px 12px;
}

.btn-whatsapp {
  background: #18b56f;
  color: white;
  box-shadow: 0 12px 26px rgba(24, 181, 111, 0.2);
}

.btn-large {
  min-height: 52px;
  padding: 14px 22px;
}

/* Hero and product mockups */
.section {
  padding: 96px 0;
}

.hero {
  padding: 92px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
  align-items: center;
  gap: 56px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(31, 191, 134, 0.14);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: -0.015em;
}

.hero-subtitle,
.section-copy p,
.section-heading p,
.solution-copy p,
.final-cta p {
  color: var(--muted);
  font-size: 18px;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 620px;
  margin-top: 34px;
}

.hero-proof div {
  border: 1px solid rgba(220, 228, 239, 0.82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 14px;
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  font-size: 22px;
}

.hero-proof span {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.product-shell,
.wide-mockup {
  border: 1px solid rgba(220, 228, 239, 0.9);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-shell {
  transform: perspective(1200px) rotateY(-7deg) rotateX(3deg);
}

.product-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  background: #fbfdff;
}

.window-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--danger);
}

.window-dot.muted {
  background: #c8d2df;
}

.sync-pill {
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--primary-2);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.product-content {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 520px;
}

.product-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--line);
  background: #0b1220;
  padding: 22px;
}

.product-sidebar span {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
}

.dashboard {
  padding: 22px;
}

.dashboard-header,
.wide-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-header p,
.wide-header p {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.dashboard-header h2,
.wide-header h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.dashboard-header strong {
  font-size: 32px;
}

.metric-grid,
.wide-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.metric-grid article,
.wide-cards article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
  padding: 14px;
}

.metric-grid span,
.wide-cards span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.metric-grid strong,
.wide-cards strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.check-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #10203c, #163f7a);
  color: #fff;
  padding: 16px;
}

.check-card p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span,
.mini-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid white;
  border-radius: 999px;
  background: var(--accent);
  color: #062218;
  font-size: 12px;
  font-weight: 900;
}

.avatar-stack span + span {
  margin-left: -10px;
}

.payroll-table {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.table-row {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 1fr 0.8fr;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 13px 14px;
  font-size: 13px;
}

.table-row:first-child {
  border-top: 0;
}

.table-head {
  background: #f5f8fc;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.tag {
  width: max-content;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 800;
}

.tag-ok {
  background: #e8fbf3;
  color: #08734c;
}

.tag-warn {
  background: #fff2d8;
  color: #8b5600;
}

.tag-info {
  background: #eaf2ff;
  color: var(--primary-2);
}

.floating-card {
  position: absolute;
  border: 1px solid rgba(220, 228, 239, 0.9);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.phone-card {
  right: 8px;
  bottom: 24px;
  width: 190px;
  padding: 22px 16px 16px;
}

.phone-notch {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 48px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #d8e0eb;
}

.phone-card p,
.phone-card small {
  color: var(--muted);
}

.phone-card p {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 750;
}

.phone-card strong {
  display: block;
  font-size: 28px;
}

.alert-card {
  left: 0;
  top: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.alert-card > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #fff2d8;
  color: #8b5600;
  font-weight: 900;
}

.alert-card small {
  display: block;
  color: var(--muted);
}

/* Content sections */
.trust-bar {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  padding: 20px 0;
}

.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.trust-bar p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.split-grid,
.benefits-grid,
.faq-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 110px;
}

.pain-grid,
.feature-grid,
.pricing-grid,
.testimonial-grid,
.use-case-grid,
.steps {
  display: grid;
  gap: 18px;
}

.pain-grid,
.feature-grid {
  grid-template-columns: repeat(2, 1fr);
}

.pain-card,
.feature-card,
.step-card,
.price-card,
.testimonial-card,
.use-case,
.contact-form,
.solution-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.pain-card,
.feature-card,
.step-card,
.testimonial-card {
  padding: 24px;
}

.pain-card span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.pain-card p,
.feature-card p,
.step-card p,
.testimonial-card p,
.price-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.solution-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  padding: 36px;
  background:
    linear-gradient(135deg, rgba(34, 102, 245, 0.08), rgba(31, 191, 134, 0.07)),
    #fff;
}

.solution-list {
  display: grid;
  gap: 12px;
}

.solution-list div,
.benefit-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 13px 14px;
  color: #25324a;
  font-weight: 750;
}

.solution-list span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.steps,
.pricing-grid,
.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

.step-number,
.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 10px;
  background: #eaf2ff;
  color: var(--primary-2);
  font-weight: 900;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.benefit-list div::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
}

.wide-mockup {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 520px;
}

.wide-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #0b1220;
  color: white;
  padding: 24px;
}

.wide-sidebar strong {
  margin-bottom: 18px;
}

.wide-sidebar span {
  border-radius: 8px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 750;
}

.wide-sidebar .active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.wide-main {
  padding: 28px;
}

.wide-header button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 800;
}

.wide-cards {
  grid-template-columns: repeat(4, 1fr);
}

.employee-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.employee-list div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.employee-list p,
.employee-list small {
  display: block;
  margin: 0;
}

.employee-list small {
  color: var(--muted);
}

.employee-list em {
  border-radius: 999px;
  background: #e8fbf3;
  color: #08734c;
  padding: 6px 10px;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.employee-list .warn {
  background: #fff2d8;
  color: #8b5600;
}

.employee-list .info {
  background: #eaf2ff;
  color: var(--primary-2);
}

/* Pricing, FAQ and contact */
.price-card {
  position: relative;
  padding: 28px;
}

.price-card.recommended {
  border-color: rgba(34, 102, 245, 0.35);
  background: linear-gradient(180deg, #fff, #f5f9ff);
  transform: translateY(-10px);
}

.badge {
  position: absolute;
  right: 18px;
  top: 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 850;
}

.price {
  margin: 24px 0;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.price-card li {
  color: #334158;
}

.price-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--accent);
  font-weight: 900;
}

.use-case-grid {
  grid-template-columns: repeat(6, 1fr);
}

.use-case {
  display: grid;
  min-height: 120px;
  place-items: end start;
  padding: 18px;
  color: #25324a;
  font-weight: 850;
}

.testimonial-card p {
  min-height: 112px;
  font-size: 17px;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-section {
  padding-bottom: 110px;
}

.contact-grid {
  grid-template-columns: 1fr 0.82fr;
  align-items: center;
}

.final-cta {
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(11, 18, 32, 0.92), rgba(15, 60, 124, 0.92)),
    var(--ink);
  color: white;
  padding: 44px;
  box-shadow: var(--shadow);
}

.final-cta .section-kicker,
.final-cta p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.contact-form h3 {
  font-size: 24px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #334158;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(34, 102, 245, 0.12);
}

.form-actions {
  display: grid;
  gap: 10px;
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 34px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  max-width: 430px;
  margin: 12px 0 0;
  color: var(--muted);
}

.footer-grid div:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

/* Motion and responsive behavior */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .nav {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav.is-open .nav-links,
  .nav.is-open .nav-actions {
    display: flex;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 18px;
  }

  .nav.is-open .nav-links a,
  .nav.is-open .nav-actions a {
    width: 100%;
  }

  .hero-grid,
  .split-grid,
  .benefits-grid,
  .faq-grid,
  .contact-grid,
  .solution-card {
    grid-template-columns: 1fr;
  }

  .section-copy {
    position: static;
  }

  .hero-visual {
    min-height: auto;
  }

  .product-shell {
    transform: none;
  }

  .floating-card {
    display: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .use-case-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .wide-mockup {
    grid-template-columns: 1fr;
  }

  .wide-sidebar {
    display: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    max-width: none;
    font-size: clamp(42px, 13vw, 60px);
  }

  .hero-proof,
  .metric-grid,
  .wide-cards,
  .pain-grid,
  .feature-grid,
  .steps,
  .pricing-grid,
  .testimonial-grid,
  .benefit-list,
  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .product-content {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    display: none;
  }

  .table-row {
    grid-template-columns: 1fr 0.6fr;
  }

  .table-row span:nth-child(3),
  .table-row strong {
    grid-column: span 1;
  }

  .dashboard-header,
  .wide-header,
  .trust-bar .container,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-header,
  .wide-header,
  .trust-bar .container,
  .footer-grid,
  .employee-list div {
    display: flex;
  }

  .employee-list div {
    align-items: flex-start;
  }

  .employee-list em {
    align-self: flex-start;
  }

  .final-cta,
  .solution-card {
    padding: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
