:root {
  --navy: #0a1d3d;
  --navy-2: #10264b;
  --blue: #1e5bff;
  --teal: #00bfae;
  --ink: #14233d;
  --muted: #5a6a82;
  --line: #dce5ef;
  --soft: #f2f4f7;
  --paper: #f8fbff;
  --white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --shadow: 0 18px 45px rgba(10, 29, 61, 0.14);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Montserrat, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 0.9rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 229, 239, 0.92);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(100% - 2rem, var(--max-width));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 260px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-menu a {
  transition: color 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--blue);
}

.nav-cta {
  border: 1px solid var(--blue);
  border-radius: 8px;
  color: var(--blue);
  padding: 0.65rem 0.9rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 86svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.95) 0%, rgba(242, 249, 255, 0.86) 48%, rgba(235, 255, 252, 0.62) 100%),
    #edf4fb;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.78) 42%, rgba(255, 255, 255, 0.28) 100%);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.mesh-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 29, 61, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 29, 61, 0.08) 1px, transparent 1px);
  background-size: 68px 68px;
}

.hero-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(0, 191, 174, 0.18) 44%, rgba(30, 91, 255, 0.14) 50%, transparent 58%);
  transform: translateX(-70%);
  animation: heroScan 7s ease-in-out infinite;
}

.hero-watermark {
  position: absolute;
  right: max(-5vw, -70px);
  bottom: -140px;
  width: min(54vw, 760px);
  opacity: 0.07;
  filter: saturate(1.3);
  transform: rotate(-8deg);
}

.metric-card span,
.chart-head span,
.workflow-step span,
.calculator-result span,
.service-output span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-content {
  width: min(100% - 2rem, var(--max-width));
  min-height: 86svh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  align-items: center;
  align-content: center;
  gap: 4rem;
  padding: 4.5rem 0 5rem;
  position: relative;
  z-index: 2;
}

.hero-copy-block {
  min-width: 0;
}

.eyebrow,
.section-kicker,
.mini-label {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin-top: 1rem;
  color: var(--navy);
  font-size: 4.55rem;
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-top: 1.35rem;
  color: #263853;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.78rem 1.08rem;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(30, 91, 255, 0.24);
}

.button.secondary {
  border-color: rgba(10, 29, 61, 0.26);
  background: rgba(255, 255, 255, 0.74);
  color: var(--navy);
}

.hero-metrics {
  width: min(100%, 690px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-metrics div {
  border-left: 3px solid var(--teal);
  padding-left: 0.9rem;
}

.hero-metrics dt {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 950;
}

.hero-metrics dd {
  margin-top: 0.25rem;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 850;
}

.hero-visual {
  position: relative;
  min-height: 570px;
  overflow: visible;
}

.visual-mark {
  position: absolute;
  left: 50%;
  top: 49%;
  width: min(68%, 430px);
  opacity: 0.22;
  filter: drop-shadow(0 22px 34px rgba(10, 29, 61, 0.14));
  transform: translate(-50%, -50%);
}

.visual-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(0, 191, 174, 0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ring-outer {
  width: min(100%, 560px);
  aspect-ratio: 1;
  animation: orbitSpin 18s linear infinite;
}

.ring-inner {
  width: min(72%, 390px);
  aspect-ratio: 1;
  border-color: rgba(30, 91, 255, 0.2);
  animation: orbitSpin 13s linear infinite reverse;
}

.visual-ring::before,
.visual-ring::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 8px rgba(0, 191, 174, 0.12);
}

.visual-ring::before {
  left: 18%;
  top: 8%;
}

.visual-ring::after {
  right: 10%;
  bottom: 22%;
  background: var(--blue);
  box-shadow: 0 0 0 8px rgba(30, 91, 255, 0.11);
}

.visual-line {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 191, 174, 0), rgba(0, 191, 174, 0.85), rgba(30, 91, 255, 0));
  transform-origin: center;
  opacity: 0.72;
}

.line-input {
  left: 17%;
  top: 43%;
  width: 230px;
  transform: rotate(12deg);
}

.line-output {
  right: 8%;
  top: 49%;
  width: 260px;
  transform: rotate(-8deg);
}

.line-automation {
  left: 32%;
  bottom: 25%;
  width: 250px;
  transform: rotate(-20deg);
}

.visual-node,
.visual-badge {
  position: absolute;
  border: 1px solid rgba(10, 29, 61, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 45px rgba(10, 29, 61, 0.12);
  backdrop-filter: blur(16px);
}

.visual-node {
  width: min(100%, 245px);
  padding: 1rem;
}

.visual-node span,
.visual-badge span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.visual-node strong,
.visual-badge strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.22;
}

.visual-node strong {
  margin-top: 0.45rem;
}

.visual-node small {
  display: block;
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
}

.node-input {
  left: 0;
  top: 25%;
}

.node-core {
  left: 50%;
  top: 9%;
  width: 260px;
  border-color: rgba(0, 191, 174, 0.38);
  background: rgba(236, 255, 252, 0.78);
  translate: -50% 0;
}

.node-core span,
.node-output span {
  color: var(--teal);
}

.node-output {
  right: 0;
  top: 38%;
  border-color: rgba(30, 91, 255, 0.22);
}

.node-output::before,
.node-core::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 3px solid var(--teal);
  border-radius: 8px;
  pointer-events: none;
}

.visual-badge {
  display: grid;
  gap: 0.2rem;
  width: max-content;
  max-width: 230px;
  padding: 0.8rem 0.95rem;
}

.visual-badge strong {
  font-size: 1.08rem;
}

.badge-time {
  left: 8%;
  bottom: 20%;
}

.badge-control {
  right: 0;
  bottom: 18%;
}

.badge-first {
  left: 47%;
  bottom: 7%;
  translate: -50% 0;
  background: var(--navy);
  border-color: rgba(255, 255, 255, 0.16);
}

.badge-first strong {
  color: var(--white);
}

.badge-first span {
  color: rgba(255, 255, 255, 0.72);
}

.has-reveal .visual-node,
.has-reveal .visual-badge {
  animation: visualFloat 5.8s ease-in-out infinite;
}

.has-reveal .node-output,
.has-reveal .badge-control {
  animation-delay: 500ms;
}

.has-reveal .node-core,
.has-reveal .badge-first {
  animation-delay: 900ms;
}

.hero-offer {
  position: relative;
  border: 1px solid rgba(10, 29, 61, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 26px 70px rgba(10, 29, 61, 0.16);
  backdrop-filter: blur(14px);
  padding: 1.25rem;
  overflow: hidden;
  animation: dashboardFloat 5.5s ease-in-out infinite;
}

.hero-offer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 3px solid var(--teal);
  pointer-events: none;
}

.offer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.offer-header span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.offer-header strong {
  border-radius: 8px;
  background: rgba(0, 191, 174, 0.12);
  color: var(--teal);
  padding: 0.52rem 0.64rem;
  font-size: 0.78rem;
  font-weight: 950;
  white-space: nowrap;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.before-after article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(248, 251, 255, 0.92);
  padding: 1rem;
}

.before-after article.after {
  background: #eefdfa;
  border-color: #bfeee8;
}

.before-after span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.before-after article.after span {
  color: var(--teal);
}

.before-after h3 {
  margin-top: 0.6rem;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.25;
}

.before-after ul {
  display: grid;
  gap: 0.52rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.before-after li {
  position: relative;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  padding-left: 1.2rem;
}

.before-after li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.before-after .after li::before {
  background: var(--teal);
}

.offer-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.offer-results div {
  border-left: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.68);
  padding: 0.75rem 0.8rem;
}

.offer-results strong,
.offer-results span {
  display: block;
}

.offer-results strong {
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.2;
}

.offer-results span {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.offer-note {
  margin-top: 1rem;
  border-radius: 8px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-dashboard {
  position: relative;
  border: 1px solid rgba(10, 29, 61, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 26px 70px rgba(10, 29, 61, 0.16);
  backdrop-filter: blur(14px);
  padding: 1rem;
  overflow: hidden;
  animation: dashboardFloat 5.5s ease-in-out infinite;
}

.hero-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 3px solid var(--teal);
  pointer-events: none;
}

.hero-dashboard-topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid var(--line);
  padding: 0.2rem 0 1rem;
}

.browser-dots {
  display: flex;
  gap: 0.35rem;
}

.browser-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.browser-dots i:nth-child(1) {
  background: var(--teal);
}

.browser-dots i:nth-child(2) {
  background: var(--blue);
}

.hero-dashboard-topbar span {
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 950;
}

.hero-dashboard-topbar strong {
  border-radius: 8px;
  background: rgba(0, 191, 174, 0.12);
  color: var(--teal);
  padding: 0.48rem 0.62rem;
  font-size: 0.78rem;
  font-weight: 950;
  white-space: nowrap;
}

.hero-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.hero-stat,
.hero-chart-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(248, 251, 255, 0.92);
  padding: 1rem;
}

.hero-stat.featured {
  background: #eef4ff;
}

.hero-stat span,
.hero-chart-card .chart-head span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
}

.hero-stat strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.05;
}

.hero-stat strong b {
  font: inherit;
}

.hero-stat small {
  display: block;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.hero-chart-card {
  grid-column: 1 / -1;
}

.hero-chart-card .chart-head strong {
  color: var(--success);
}

.hero-chart-bars {
  height: 180px;
  display: flex;
  align-items: end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-chart-bars i {
  flex: 1;
  height: var(--bar);
  border-radius: 6px 6px 0 0;
  background: var(--blue);
  transform-origin: bottom;
}

.has-reveal .hero-chart-bars i {
  animation: heroBarRise 900ms ease both;
}

.hero-chart-bars i:nth-child(even) {
  background: var(--teal);
}

.hero-chart-bars i:nth-child(2) {
  animation-delay: 90ms;
}

.hero-chart-bars i:nth-child(3) {
  animation-delay: 160ms;
}

.hero-chart-bars i:nth-child(4) {
  animation-delay: 230ms;
}

.hero-chart-bars i:nth-child(5) {
  animation-delay: 300ms;
}

.hero-chart-bars i:nth-child(6) {
  animation-delay: 370ms;
}

.hero-pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.hero-pipeline span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  padding: 0.5rem 0.62rem;
  font-size: 0.78rem;
  font-weight: 950;
}

.hero-pipeline i {
  width: 24px;
  height: 2px;
  background: var(--teal);
}

.section {
  padding: 5.4rem 0;
}

.section-inner {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: start;
}

.section h2 {
  margin-top: 0.7rem;
  color: var(--navy);
  font-size: 2.32rem;
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: 0;
}

.section h3 {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 950;
}

.section p {
  color: var(--muted);
  font-size: 1rem;
}

.section-copy p:not(.section-kicker) {
  margin-top: 1rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-heading p:not(.section-kicker) {
  margin-top: 0.9rem;
}

.section-heading.narrow {
  max-width: 760px;
}

.pain-section,
.use-cases {
  background: var(--white);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pain-grid article {
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 1.2rem;
}

.pain-grid span {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 950;
}

.pain-grid h3 {
  margin-top: 1rem;
}

.pain-grid p {
  margin-top: 0.55rem;
  font-size: 0.94rem;
}

.solution-section,
.process-section,
.faq-section {
  background: var(--paper);
}

.solution-layout,
.calculator-layout,
.demo-layout,
.contact-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: center;
}

.solution-copy p:not(.section-kicker),
.calculator-copy p:not(.section-kicker),
.demo-copy p:not(.section-kicker) {
  margin-top: 1rem;
}

.workflow-preview {
  display: grid;
  grid-template-columns: 1fr 56px 1fr 56px 1fr;
  align-items: center;
}

.workflow-step {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 1rem;
  box-shadow: 0 10px 26px rgba(10, 29, 61, 0.05);
}

.workflow-step strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.25;
}

.workflow-connector {
  height: 2px;
  background: var(--teal);
}

.service-tabs {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
  gap: 1rem;
}

.tab-list {
  display: grid;
  gap: 0.75rem;
}

.tab-button {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  padding: 0.8rem 1rem;
  text-align: left;
  font-weight: 900;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.tab-button.active,
.tab-button:hover,
.tab-button:focus-visible {
  border-color: rgba(30, 91, 255, 0.35);
  background: #eef4ff;
  color: var(--blue);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.38fr);
  gap: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 1.5rem;
  box-shadow: 0 10px 26px rgba(10, 29, 61, 0.05);
}

.service-detail h3 {
  margin-top: 0.55rem;
  font-size: 1.65rem;
}

.service-detail p {
  margin-top: 0.85rem;
}

.service-detail ul {
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.service-detail li {
  position: relative;
  color: var(--ink);
  font-weight: 750;
  padding-left: 1.35rem;
}

.service-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.service-output {
  align-self: stretch;
  border: 1px solid #bfeee8;
  border-radius: 8px;
  background: #eefdfa;
  padding: 1rem;
}

.service-output strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.3;
}

.demo-section {
  background: var(--navy);
  color: var(--white);
}

.demo-section h2,
.demo-section .section p,
.demo-section p {
  color: var(--white);
}

.demo-copy p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.78);
}

.demo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.chip {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  padding: 0.6rem 0.8rem;
  font-weight: 900;
}

.chip.active,
.chip:hover,
.chip:focus-visible {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--navy);
}

.dashboard-shell {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22);
  padding: 1rem;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  padding: 0 0 1rem;
}

.dashboard-topbar span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
}

.dashboard-topbar strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--white);
  font-size: 1.25rem;
}

.status-pill {
  border-radius: 8px;
  background: rgba(0, 191, 174, 0.14);
  color: var(--teal);
  padding: 0.52rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.metric-card,
.chart-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 1rem;
}

.metric-card.primary-metric {
  background: #eef4ff;
}

.metric-card strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--navy);
  font-size: 1.8rem;
  line-height: 1;
}

.metric-card small {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
  font-weight: 800;
}

.chart-card {
  grid-column: 1 / -1;
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.chart-head strong {
  color: var(--success);
  font-size: 1rem;
}

.chart-bars {
  height: 190px;
  display: flex;
  align-items: end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.chart-bars i {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: var(--blue);
  transition: height 260ms ease;
}

.chart-bars i:nth-child(even) {
  background: var(--teal);
}

.calculator-section {
  background: var(--white);
}

.calculator {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 1.4rem;
  box-shadow: 0 10px 26px rgba(10, 29, 61, 0.05);
}

.calculator label {
  display: grid;
  gap: 0.65rem;
  color: var(--navy);
  font-weight: 900;
}

.calculator label + label {
  margin-top: 1.1rem;
}

.calculator input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}

.calculator label span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.calculator label strong {
  color: var(--blue);
}

.calculator-result {
  margin-top: 1.4rem;
  border-radius: 8px;
  background: var(--navy);
  padding: 1.2rem;
}

.calculator-result span,
.calculator-result p {
  color: rgba(255, 255, 255, 0.72);
}

.calculator-result strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--white);
  font-size: 2.3rem;
  line-height: 1;
}

.calculator-result p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.process-list li {
  min-height: 220px;
  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: var(--white);
  padding: 1.2rem 1rem;
  box-shadow: 0 10px 26px rgba(10, 29, 61, 0.05);
}

.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 950;
}

.process-list p {
  margin-top: 0.65rem;
  font-size: 0.92rem;
}

.case-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.case-list li {
  position: relative;
  min-height: 56px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  padding: 0.85rem 1rem 0.85rem 2.7rem;
}

.case-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(0, 191, 174, 0.12);
}

.faq-layout {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 1rem;
}

.faq-list summary {
  color: var(--navy);
  font-weight: 950;
  cursor: pointer;
}

.faq-list p {
  margin-top: 0.7rem;
  font-size: 0.94rem;
}

.contact-section {
  background: var(--navy);
  color: var(--white);
}

.contact-section h2,
.contact-section p {
  color: var(--white);
}

.contact-copy > p:not(.section-kicker) {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
}

.contact-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

.contact-highlights span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.6rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 850;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.quick-contact {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.78rem 1rem;
  font-weight: 950;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.quick-contact:hover,
.quick-contact:focus-visible {
  transform: translateY(-1px);
}

.quick-contact svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.quick-contact.whatsapp-direct {
  background: #00d936;
  color: #04140a;
  box-shadow: 0 14px 28px rgba(0, 217, 54, 0.22);
}

.quick-contact.whatsapp-direct:hover,
.quick-contact.whatsapp-direct:focus-visible {
  background: #10e347;
  box-shadow: 0 18px 34px rgba(0, 217, 54, 0.28);
}

.quick-contact.email-direct {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.quick-contact.email-direct:hover,
.quick-contact.email-direct:focus-visible {
  border-color: var(--teal);
  background: rgba(0, 191, 174, 0.12);
  box-shadow: 0 18px 34px rgba(0, 191, 174, 0.16);
}

.contact-form {
  display: grid;
  gap: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 850;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  padding: 0.75rem 0.85rem;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 118px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 191, 174, 0.22);
}

.form-button {
  width: 100%;
  margin-top: 0.25rem;
}

.form-status {
  min-height: 1.4rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner img {
  width: 230px;
  height: auto;
}

.footer-inner p {
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

.has-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
}

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

@keyframes heroScan {
  0%,
  52% {
    transform: translateX(-70%);
    opacity: 0;
  }

  64% {
    opacity: 1;
  }

  100% {
    transform: translateX(70%);
    opacity: 0;
  }
}

@keyframes dashboardFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes visualFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes orbitSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes heroBarRise {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

@media (max-width: 1080px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
    gap: 2rem;
  }

  .hero h1 {
    max-width: 640px;
    font-size: 3.1rem;
  }

  .hero-copy {
    max-width: 610px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .visual-node {
    width: 220px;
  }

  .hero-dashboard {
    width: 100%;
  }

  .hero-offer {
    width: 100%;
  }

  .two-column,
  .solution-layout,
  .calculator-layout,
  .demo-layout,
  .contact-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .service-tabs {
    grid-template-columns: 1fr;
  }

  .tab-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tab-button {
    text-align: center;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list li {
    min-height: 185px;
  }
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

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

  .nav {
    width: min(100% - 1.25rem, var(--max-width));
    min-height: 64px;
    gap: 0.75rem;
  }

  .brand img {
    width: 188px;
    max-width: calc(100vw - 5.5rem);
  }

  .nav-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
  }

  .nav-menu {
    position: fixed;
    inset: 64px 0 auto 0;
    display: grid;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 18px 30px rgba(10, 29, 61, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 200ms ease, opacity 200ms ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding: 0 1rem;
  }

  .nav-cta {
    border: 0;
    border-radius: 0;
    background: #eef4ff;
    color: var(--blue);
  }

  .hero,
  .hero-content {
    min-height: auto;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(242, 249, 255, 0.72));
  }

  .mesh-grid {
    background-size: 42px 42px;
  }

  .hero-watermark {
    right: -38vw;
    bottom: 10%;
    width: 96vw;
    opacity: 0.045;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 2.2rem 0 3rem;
  }

  .hero-copy-block,
  .hero h1,
  .hero-copy,
  .eyebrow {
    max-width: 100%;
    min-width: 0;
  }

  .eyebrow {
    max-width: 32ch;
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  .hero h1 {
    max-width: 10.8ch;
    font-size: clamp(2.15rem, 11vw, 2.65rem);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .hero-copy {
    max-width: 100%;
    margin-top: 1rem;
    font-size: 0.98rem;
    line-height: 1.65;
    overflow-wrap: break-word;
  }

  .hero-visual {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 0.35rem;
    border: 1px solid rgba(10, 29, 61, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 18px 38px rgba(10, 29, 61, 0.08);
    padding: 0.8rem;
  }

  .visual-mark {
    left: auto;
    right: -22px;
    top: -22px;
    width: 132px;
    opacity: 0.08;
    transform: none;
  }

  .visual-ring,
  .visual-line {
    display: none;
  }

  .visual-node,
  .visual-badge,
  .node-input,
  .node-core,
  .node-output,
  .badge-time,
  .badge-control,
  .badge-first {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    translate: none;
  }

  .visual-node {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    padding: 0.85rem;
    box-shadow: none;
  }

  .has-reveal .visual-node,
  .has-reveal .visual-badge {
    animation: none;
  }

  .visual-node strong,
  .visual-badge strong {
    font-size: 0.9rem;
  }

  .visual-node small {
    font-size: 0.74rem;
  }

  .node-input {
    order: 1;
  }

  .node-core {
    order: 2;
  }

  .node-output {
    order: 3;
  }

  .visual-badge {
    width: 100%;
    max-width: none;
    min-height: 94px;
    justify-content: center;
    box-shadow: none;
    padding: 0.75rem;
  }

  .badge-first {
    order: 4;
    grid-column: 1 / -1;
  }

  .badge-time {
    order: 5;
  }

  .badge-control {
    order: 6;
  }

  .hero-dashboard {
    animation: none;
  }

  .hero-offer {
    animation: none;
  }

  .offer-header,
  .before-after,
  .offer-results {
    grid-template-columns: 1fr;
  }

  .offer-header {
    align-items: start;
    flex-direction: column;
  }

  .hero-dashboard-topbar {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat strong {
    font-size: 1.28rem;
  }

  .hero-chart-bars {
    height: 132px;
  }

  .hero-actions {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.35rem;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

  .quick-contact {
    width: 100%;
    min-height: 52px;
    padding: 0.85rem 1rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-top: 1.2rem;
  }

  .hero-metrics div {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    border: 1px solid rgba(10, 29, 61, 0.1);
    border-left: 3px solid var(--teal);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    padding: 0.7rem 0.85rem;
  }

  .hero-metrics dd {
    margin-top: 0;
  }

  .section {
    padding: 3.35rem 0;
  }

  .section-inner {
    width: min(100% - 1.25rem, var(--max-width));
  }

  .section h2 {
    font-size: clamp(1.72rem, 7.4vw, 2rem);
    line-height: 1.12;
  }

  .section-heading {
    margin-bottom: 1.5rem;
  }

  .two-column,
  .solution-layout,
  .calculator-layout,
  .demo-layout,
  .contact-layout,
  .faq-layout {
    gap: 1.5rem;
  }

  .pain-grid,
  .case-list,
  .process-list,
  .tab-list,
  .service-detail,
  .dashboard-grid,
  .workflow-preview {
    grid-template-columns: 1fr;
  }

  .workflow-connector {
    width: 2px;
    height: 36px;
    margin: 0 auto;
  }

  .pain-grid article,
  .workflow-step,
  .process-list li {
    min-height: auto;
    padding: 1rem;
  }

  .service-tabs {
    gap: 0.85rem;
  }

  .tab-list {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding: 0 0 0.25rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .tab-list::-webkit-scrollbar {
    display: none;
  }

  .tab-button {
    flex: 0 0 auto;
    width: auto;
    min-width: 168px;
    min-height: 48px;
    padding: 0.72rem 0.85rem;
    text-align: center;
    scroll-snap-align: start;
  }

  .service-detail {
    padding: 1.15rem;
  }

  .service-detail h3 {
    font-size: 1.38rem;
  }

  .demo-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .chip {
    min-height: 44px;
    padding: 0.55rem 0.35rem;
    font-size: 0.85rem;
  }

  .dashboard-shell {
    padding: 0.8rem;
  }

  .dashboard-topbar {
    align-items: start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .metric-card,
  .chart-card {
    padding: 0.85rem;
  }

  .metric-card.primary-metric,
  .chart-card {
    grid-column: 1 / -1;
  }

  .metric-card strong {
    font-size: 1.45rem;
  }

  .metric-card small {
    font-size: 0.76rem;
  }

  .chart-bars {
    height: 124px;
    gap: 0.45rem;
  }

  .calculator {
    padding: 1rem;
  }

  .calculator-result strong {
    font-size: clamp(1.85rem, 10vw, 2.25rem);
    overflow-wrap: anywhere;
  }

  .contact-highlights {
    display: grid;
    gap: 0.55rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    min-height: 50px;
  }

  .footer-inner {
    min-height: 120px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .brand img {
    width: 170px;
  }

  .hero h1 {
    font-size: 2.05rem;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .visual-node {
    width: 100%;
  }

  .visual-node span,
  .visual-badge span {
    font-size: 0.68rem;
  }

  .badge-first {
    grid-column: 1;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .metric-card.primary-metric,
  .chart-card {
    grid-column: auto;
  }

  .demo-controls {
    grid-template-columns: 1fr;
  }

  .section h2 {
    font-size: 1.65rem;
  }

  .calculator-result strong {
    font-size: 1.9rem;
  }
}

@media (max-width: 980px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 0.35rem;
    border: 1px solid rgba(10, 29, 61, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    padding: 0.8rem;
    overflow: hidden;
  }

  .visual-ring,
  .visual-line {
    display: none;
  }

  .visual-mark {
    position: absolute;
    left: auto;
    right: -22px;
    top: -22px;
    width: 132px;
    opacity: 0.08;
    transform: none;
  }

  .visual-node,
  .visual-badge,
  .node-input,
  .node-core,
  .node-output,
  .badge-time,
  .badge-control,
  .badge-first {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    min-height: auto;
    grid-column: auto;
    translate: none;
    transform: none;
    animation: none;
  }

  .visual-node {
    padding: 0.85rem;
    box-shadow: none;
  }

  .visual-badge {
    min-height: 88px;
    justify-content: center;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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