:root {
  --ink: #101620;
  --muted: #687387;
  --line: #dfe5ee;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --night: #07111f;
  --night-2: #0c1d31;
  --teal: #12b8a6;
  --lime: #b7f46a;
  --blue: #3b82f6;
  --orange: #ff9f43;
  --shadow: 0 24px 70px rgba(10, 28, 50, .16);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  width: min(1160px, calc(100% - 32px));
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 28px;
  color: #fff;
  background: rgba(7, 17, 31, .72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.site-header.scrolled {
  background: rgba(7, 17, 31, .9);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--night);
  background: linear-gradient(135deg, var(--lime), var(--teal));
  font-size: .82rem;
  letter-spacing: 0;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a,
.header-cta {
  border-radius: 999px;
  padding: 11px 14px;
  color: rgba(255, 255, 255, .78);
  font-size: .94rem;
  font-weight: 600;
}

.site-nav a:hover,
.header-cta:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-caret {
  color: rgba(255, 255, 255, .5);
  font-size: .78rem;
  transition: transform .2s ease, color .2s ease;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 252px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: rgba(7, 17, 31, .96);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 14px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret {
  color: var(--lime);
  transform: rotate(180deg);
}

.site-nav .nav-demo-link {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  color: #fff;
}

.site-nav .nav-demo-link:hover,
.site-nav .nav-demo-link:focus-visible {
  background: rgba(255, 255, 255, .08);
}

.nav-demo-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: var(--night);
  background: linear-gradient(135deg, var(--lime), var(--teal));
  font-size: .72rem;
}

.nav-demo-link strong,
.nav-demo-link small {
  display: block;
}

.nav-demo-link strong {
  font-size: .88rem;
}

.nav-demo-link small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .56);
  font-size: .7rem;
  font-weight: 500;
}

.nav-demo-arrow {
  color: var(--lime);
}

.header-cta {
  color: var(--night);
  background: #fff;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: #fff;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
  gap: 56px;
  align-items: center;
  padding: 140px max(24px, calc((100vw - 1160px) / 2)) 76px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 24%, rgba(18, 184, 166, .34), transparent 28%),
    radial-gradient(circle at 12% 12%, rgba(183, 244, 106, .16), transparent 24%),
    linear-gradient(135deg, #07111f 0%, #0b2037 46%, #101620 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .08));
  pointer-events: none;
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 1;
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: .9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: .95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-content > p:not(.eyebrow),
.section-heading p,
.analytics-copy p,
.contact-card p,
.price-card p,
.feature-card p,
.workflow p,
.industry-panel p,
.faq-item p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-content > p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, .74);
  font-size: 1.1rem;
}

.hero-actions,
.billing-toggle,
.industry-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--night);
  background: linear-gradient(135deg, var(--lime), var(--teal));
  box-shadow: 0 16px 34px rgba(18, 184, 166, .26);
}

.button.secondary {
  color: inherit;
  border-color: rgba(104, 115, 135, .26);
  background: rgba(255, 255, 255, .08);
}

.section .button.secondary {
  color: var(--ink);
  background: #fff;
}

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

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .06);
}

.hero-stats dt {
  font-size: 1.45rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .62);
}

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

.pos-device,
.terminal-card,
.floating-card {
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.pos-device {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(100%, 430px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .08));
  backdrop-filter: blur(18px);
}

.device-top,
.cart-preview div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.device-top {
  margin-bottom: 16px;
}

.device-top span,
.terminal-body small,
.floating-card span,
.board-card span {
  color: rgba(255, 255, 255, .62);
  font-size: .85rem;
}

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

.product-grid button {
  min-height: 78px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
}

.product-grid button:hover {
  background: rgba(183, 244, 106, .18);
}

.cart-preview {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 16px;
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
}

.cart-preview span {
  color: var(--muted);
}

.pay-button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  color: var(--night);
  background: var(--lime);
  font-weight: 800;
  cursor: pointer;
}

.terminal-card {
  position: absolute;
  top: 34px;
  left: 0;
  width: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px;
  background: rgba(4, 10, 18, .82);
}

.terminal-header {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.terminal-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.terminal-header span:nth-child(2) {
  background: var(--lime);
}

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

.terminal-body {
  padding: 20px;
}

.terminal-body strong {
  display: block;
  margin: 8px 0;
  font-size: 2.2rem;
}

.terminal-body em {
  color: var(--lime);
  font-style: normal;
  font-weight: 800;
}

.sales-chart {
  display: grid;
  height: 130px;
  grid-template-columns: repeat(7, 1fr);
  gap: 9px;
  align-items: end;
  margin-top: 22px;
}

.sales-chart span {
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--teal), rgba(59, 130, 246, .42));
}

.floating-card {
  position: absolute;
  width: 220px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px);
}

.floating-card strong {
  display: block;
  margin-top: 5px;
}

.stock-card {
  top: 320px;
  left: 18px;
}

.sync-card {
  right: 28px;
  top: 172px;
}

.logo-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
}

.logo-band span {
  min-height: 90px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #fff;
  font-weight: 800;
}

.section {
  padding: 108px max(24px, calc((100vw - 1160px) / 2));
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 680px;
}

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.price-card,
.faq-item,
.workflow article,
.industry-panel,
.calculator,
.analytics-board,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(10, 28, 50, .06);
}

.feature-card,
.price-card,
.workflow article {
  padding: 26px;
}

.icon-dot {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

.workflow-section,
.pricing-section {
  background: var(--soft);
}

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

.workflow span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 36px;
  border-radius: 50%;
  color: var(--night);
  background: var(--lime);
  font-weight: 800;
}

.industries-section {
  background: #fff;
}

.industry-tabs,
.billing-toggle {
  margin-bottom: 18px;
}

.industry-tabs button,
.billing-toggle button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--muted);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.industry-tabs button.active,
.billing-toggle button.active {
  color: #fff;
  border-color: var(--night);
  background: var(--night);
}

.industry-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(18, 184, 166, .1), transparent 44%),
    #fff;
}

.industry-panel h3 {
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.05;
}

.industry-panel ul,
.price-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.industry-panel li,
.price-card li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.industry-panel li::before,
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
}

.analytics-section {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1fr);
  gap: 44px;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 74% 26%, rgba(59, 130, 246, .24), transparent 28%),
    linear-gradient(135deg, var(--night), var(--night-2));
}

.analytics-copy p {
  color: rgba(255, 255, 255, .68);
}

.analytics-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 14px;
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
}

.board-card {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  background: rgba(255, 255, 255, .08);
}

.board-card.wide {
  grid-column: 1 / -1;
}

.board-card strong {
  display: block;
  margin: 9px 0;
  font-size: 1.7rem;
}

.board-card small {
  color: var(--lime);
}

.line-chart {
  height: 130px;
  margin-top: 18px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, transparent 18%, rgba(183, 244, 106, .22) 18% 21%, transparent 21% 34%, rgba(18, 184, 166, .36) 34% 37%, transparent 37% 54%, rgba(59, 130, 246, .4) 54% 57%, transparent 57%),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
}

.calculator {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) 280px;
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.range-group {
  display: grid;
  gap: 12px;
}

.range-group label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-weight: 800;
}

input[type="range"] {
  accent-color: var(--teal);
}

.calculator-result {
  padding: 24px;
  border-radius: 22px;
  color: #fff;
  background: var(--night);
}

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

.calculator-result strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 480px;
  flex-direction: column;
  gap: 18px;
}

.price-card.featured {
  border-color: rgba(18, 184, 166, .55);
  background: linear-gradient(180deg, rgba(18, 184, 166, .09), #fff 42%);
  transform: translateY(-12px);
}

.popular {
  align-self: flex-start;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--night);
  background: var(--lime);
  font-size: .8rem;
  font-weight: 800;
}

.price-card strong {
  font-size: 3rem;
}

.price-card small {
  color: var(--muted);
  font-size: 1rem;
}

.price-card .button {
  margin-top: auto;
}

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

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  min-height: 72px;
  border: 0;
  padding: 0 24px;
  text-align: left;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.faq-item p {
  margin: 0;
  padding: 0 24px 24px;
}

.contact-section {
  padding: 108px max(24px, calc((100vw - 1160px) / 2));
  background: var(--soft);
}

.contact-card {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 42px;
  padding: 38px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(18, 184, 166, .12);
}

.form-status {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px max(24px, calc((100vw - 1160px) / 2));
  color: #fff;
  background: var(--night);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, .62);
}

.site-footer div {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  color: rgba(255, 255, 255, .74);
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

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

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.open {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    gap: 4px;
    padding-top: 8px;
  }

  .site-nav.open a {
    padding: 14px;
  }

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

  .site-nav.open .nav-dropdown-menu {
    position: static;
    width: auto;
    margin: 2px 8px 6px;
    padding: 5px;
    border-color: rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .05);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav.open .nav-demo-link {
    padding: 10px;
  }

  .site-nav.open .nav-dropdown-menu::before {
    display: none;
  }

  .hero-section,
  .analytics-section,
  .contact-card,
  .industry-panel {
    grid-template-columns: 1fr;
  }

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

  .terminal-card {
    width: 320px;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer div {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 22px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 124px;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.5rem);
  }

  .hero-stats,
  .feature-grid,
  .pricing-grid,
  .workflow,
  .logo-band,
  .analytics-board {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .terminal-card,
  .pos-device,
  .floating-card {
    position: static;
    width: 100%;
  }

  .floating-card {
    display: none;
  }

  .section,
  .contact-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .price-card.featured {
    transform: none;
  }

  .contact-card {
    padding: 24px;
  }
}
