:root {
  --ink: #121820;
  --muted: #607080;
  --paper: #f7f9fb;
  --white: #ffffff;
  --line: #dce4ea;
  --teal: #16a6a3;
  --teal-dark: #0e7674;
  --coral: #f27158;
  --amber: #f3b44d;
  --blue: #356ac3;
  --shadow: 0 24px 70px rgba(18, 24, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(220, 228, 234, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 45px rgba(18, 24, 32, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.site-nav a,
.site-nav button {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #334252;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav button:hover {
  background: #eef4f6;
}

.nav-parent::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: 6px 0 0 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  display: grid;
  min-width: 170px;
  padding: 10px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(18, 24, 32, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.is-open .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.submenu a {
  border-radius: 8px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #edf3f4;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 54px;
  align-items: center;
  width: min(1160px, calc(100% - 32px));
  min-height: calc(92vh - 92px);
  margin: 0 auto;
  padding: 58px 0 40px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(30px, 4.7vw, 46px);
  line-height: 1.14;
  letter-spacing: 0;
  font-weight: 800;
}

h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(25px, 3.8vw, 40px);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 800;
}

h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
}

.hero-text {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 14px 26px rgba(18, 24, 32, 0.18);
}

.button.primary:hover {
  background: #25303b;
}

.button.secondary {
  border-color: var(--line);
  background: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.hero-stats dt {
  font-size: 19px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 500px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 16%, rgba(22, 166, 163, 0.32), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(242, 113, 88, 0.22), transparent 26%),
    linear-gradient(145deg, #162231, #223748 48%, #f1f5f7 48.3%, #ffffff);
  box-shadow: var(--shadow);
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(140deg, #000 0%, transparent 68%);
}

.workspace {
  position: relative;
  z-index: 1;
  width: min(88%, 560px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  transform: rotate(-2deg);
}

.topbar {
  display: flex;
  gap: 7px;
  padding: 0 0 16px;
}

.topbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--coral);
}

.topbar span:nth-child(2) {
  background: var(--amber);
}

.topbar span:nth-child(3) {
  background: var(--teal);
}

.workspace-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.panel {
  min-height: 128px;
  padding: 16px;
  border: 1px solid rgba(220, 228, 234, 0.9);
  border-radius: 8px;
  background: var(--white);
}

.panel-title {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.progress-line {
  height: 10px;
  margin-top: 12px;
  border-radius: 999px;
  background: #d5dee6;
}

.progress-line.wide {
  width: 88%;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.progress-line.short {
  width: 46%;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 130px;
}

.bars span {
  flex: 1;
  min-width: 18px;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, var(--coral), var(--amber));
}

.code {
  background: #121820;
}

.code span {
  display: block;
  height: 10px;
  margin: 12px 0;
  border-radius: 999px;
  background: #2f4458;
}

.code span:nth-child(2),
.code span:nth-child(4) {
  width: 72%;
  background: #16a6a3;
}

.launch {
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-dark), var(--blue));
}

.launch strong {
  font-size: 23px;
}

.launch small {
  margin-top: -36px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #11312f;
  background: #a8f3e8;
  font-weight: 800;
  text-transform: uppercase;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 42px;
  color: #6b7a87;
  font-weight: 800;
}

.logo-strip span {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.section,
.testimonial,
.contact-section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
  align-items: start;
  padding-top: 72px;
}

.product-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.product-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.product-preview {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  scroll-margin-top: 110px;
  padding: 24px;
  border: 1px solid rgba(220, 228, 234, 0.82);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(22, 166, 163, 0.18), transparent 34%),
    linear-gradient(165deg, #ffffff, #eef6f7);
  box-shadow: var(--shadow);
}

.product-preview::before {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  content: "";
  background: conic-gradient(from 130deg, var(--teal), var(--amber), var(--coral), var(--teal));
  opacity: 0.18;
}

.cashier-product {
  background:
    linear-gradient(135deg, rgba(242, 113, 88, 0.18), transparent 34%),
    linear-gradient(165deg, #ffffff, #fff5ee);
}

.cashier-product::before {
  background: conic-gradient(from 130deg, var(--coral), var(--amber), var(--blue), var(--coral));
}

.product-label {
  position: relative;
  z-index: 1;
}

.product-label span {
  display: block;
  margin-bottom: 6px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.travel-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(202, 213, 221, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.search-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
}

.search-card div {
  min-width: 0;
  padding: 12px;
  border-radius: 8px;
  background: #f4f8fa;
}

.field-label,
.feature-card > span {
  display: block;
  margin-bottom: 4px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-card strong,
.route-head strong {
  display: block;
  overflow-wrap: anywhere;
}

.search-card strong {
  overflow: hidden;
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-card {
  padding: 18px;
}

.route-head,
.route-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.route-head span {
  color: #344453;
  font-weight: 800;
}

.route-line {
  display: grid;
  grid-template-columns: 14px 1fr 14px;
  gap: 8px;
  align-items: center;
  margin: 22px 0 12px;
}

.route-line span {
  width: 14px;
  height: 14px;
  border: 3px solid var(--teal);
  border-radius: 50%;
  background: var(--white);
}

.route-line i {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--amber), var(--coral));
}

.route-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.feature-card {
  padding: 18px;
}

.feature-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
}

.feature-card li {
  position: relative;
  padding-left: 18px;
  color: #344453;
  font-size: 14px;
  font-weight: 700;
}

.feature-card li::before {
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--teal);
}

.pos-screen {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(202, 213, 221, 0.86);
  border-radius: 8px;
  background: #121820;
}

.pos-items {
  display: grid;
  gap: 9px;
}

.pos-items div,
.pos-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.pos-items div {
  padding: 10px 12px;
  border-radius: 8px;
  color: #dbe6ec;
  background: #22313f;
}

.pos-items span,
.pos-total span {
  overflow-wrap: anywhere;
}

.pos-items strong {
  color: #a8f3e8;
}

.pos-total {
  padding: 14px 12px;
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--amber), var(--coral));
  font-weight: 900;
}

.pos-total strong {
  font-size: 20px;
}

.service-card {
  min-height: 245px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card .icon {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--teal-dark);
  font-weight: 900;
}

.service-card p,
.work-item p,
.process-list p,
.contact-section p {
  color: var(--muted);
}

.work-list {
  display: grid;
  gap: 14px;
}

.work-item {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.work-item span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.work-item p {
  margin: 0;
  font-weight: 700;
}

.process-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.process-list li {
  padding: 22px 0;
}

.process-list span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tags span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 800;
}

.testimonial {
  padding: 44px;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, #121820, #244151);
}

.testimonial blockquote {
  max-width: 930px;
  margin: 0;
  font-size: clamp(21px, 2.5vw, 30px);
  font-weight: 800;
  line-height: 1.32;
}

.testimonial p {
  margin: 22px 0 0;
  color: #b7c5cf;
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 44px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cad5dd;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfdfe;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(22, 166, 163, 0.18);
  border-color: var(--teal);
}

.form-note {
  min-height: 24px;
  margin: 0;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

.product-hero {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 48px;
  align-items: center;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.product-hero-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
}

.product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.product-detail-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-detail-card h3 {
  margin-bottom: 16px;
}

.detail-list,
.pricing-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.detail-list li,
.pricing-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #344453;
  font-weight: 700;
}

.detail-list li::before,
.pricing-list li::before {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 0.72em;
  border-radius: 50%;
  content: "";
  background: var(--teal);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 72px;
}

.detail-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.detail-card p {
  color: var(--muted);
}

.page-preview {
  margin-top: 0;
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

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

  .section-heading,
  .product-section,
  .product-hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    border-radius: 18px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 18px 45px rgba(18, 24, 32, 0.1);
  }

  .site-nav.is-open {
    display: grid;
  }

  .nav-item {
    display: grid;
  }

  .site-nav a,
  .site-nav button {
    justify-content: flex-start;
    border-radius: 8px;
  }

  .submenu {
    position: static;
    min-width: 0;
    margin: 2px 0 6px 12px;
    padding: 4px;
    border: 0;
    background: #f3f7f8;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
  }

  .has-submenu.is-open .submenu {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .submenu a {
    font-size: 12px;
  }

  .hero {
    padding-top: 38px;
    gap: 34px;
  }

  h1 {
    font-size: clamp(28px, 9vw, 36px);
  }

  h2 {
    font-size: clamp(24px, 8vw, 32px);
  }

  .hero-text,
  .product-copy p:not(.eyebrow) {
    font-size: 15px;
  }

  .hero-stats,
  .product-catalog,
  .search-card,
  .feature-card ul,
  .service-grid,
  .process-list,
  .work-item {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 350px;
    border-radius: 12px;
  }

  .workspace {
    width: 92%;
    padding: 12px;
  }

  .workspace-grid {
    gap: 10px;
  }

  .panel {
    min-height: 104px;
    padding: 12px;
  }

  .section,
  .testimonial,
  .contact-section,
  .product-hero {
    padding: 50px 0;
  }

  .testimonial {
    padding: 28px 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
