:root {
  --navy: #081c4a;
  --blue: #0f4cff;
  --blue-soft: #2e8bff;
  --blue-pale: #eef5ff;
  --gray: #f7f9fc;
  --line: #d9e2ec;
  --text: #10223d;
  --muted: #5c6b82;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --border: 1px solid rgba(8, 28, 74, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: var(--border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.brand img {
  width: auto;
  max-width: 152px;
  max-height: 56px;
}

nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

nav a:hover {
  color: var(--blue);
}

.header-action,
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-action {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(15, 76, 255, 0.18);
  background: var(--white);
  color: var(--blue);
  white-space: nowrap;
}

.button {
  padding: 0 24px;
  border: 0;
}

.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-soft));
  color: var(--white);
  box-shadow: 0 18px 36px rgba(15, 76, 255, 0.18);
}

.secondary {
  border: 1px solid rgba(15, 76, 255, 0.28);
  background: var(--white);
  color: var(--blue);
}

.button:hover,
.header-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(8, 28, 74, 0.1);
}

.section-pad {
  padding: clamp(72px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  min-height: min(790px, calc(100vh - 78px));
  background:
    radial-gradient(circle at 79% 16%, rgba(46, 139, 255, 0.16), transparent 30%),
    radial-gradient(circle at 12% 85%, rgba(15, 76, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.hero::after,
.segments::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(8, 28, 74, 0.13) 1px, transparent 1px);
  background-position: 24px 24px;
  background-size: 24px 24px;
  content: "";
  opacity: 0.22;
  mask-image: linear-gradient(90deg, transparent 0%, #000 58%, transparent 100%);
}

.watermark {
  position: absolute;
  right: clamp(-20px, 2vw, 48px);
  top: 60px;
  color: var(--navy);
  font-size: clamp(18rem, 37vw, 36rem);
  font-weight: 700;
  line-height: 1;
  opacity: 0.045;
  pointer-events: none;
}

.hero-copy,
.hero-visual,
.section-heading,
.split-copy,
.mockup-stack,
.contact-copy,
.lead-form {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  color: var(--navy);
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 5.8vw, 5.4rem);
  line-height: 1.02;
  font-weight: 700;
}

h1 span,
h2 span {
  color: var(--blue);
}

h2 {
  max-width: 850px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  font-weight: 700;
}

h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.25;
}

.lead,
.section-heading p,
.split-copy p,
.contact-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.trust-row {
  gap: 10px;
  margin-top: 26px;
}

.trust-row span,
.segment-grid span,
.app-pill {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-row span {
  padding: 0 14px;
}

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

.device-shell {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 26px 70px rgba(8, 28, 74, 0.13);
}

.hero-screenshot {
  padding: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(238, 245, 255, 0.72));
}

.hero-screenshot img {
  display: block;
  width: 100%;
  aspect-ratio: 1280 / 719;
  object-fit: cover;
  object-position: top left;
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(8, 28, 74, 0.12);
}

.device-top {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: var(--border);
  background: rgba(247, 249, 252, 0.8);
}

.device-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd7e6;
}

.dashboard {
  display: grid;
  grid-template-columns: 74px 1fr;
  min-height: 430px;
}

.dash-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 22px 14px;
  background: var(--navy);
}

.dash-sidebar strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--white);
  color: var(--blue);
}

.dash-sidebar span {
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.dash-main {
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.dash-head,
.orders-card div,
.screen-title,
.table-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dash-head small,
.metric-grid small,
.orders-card p,
.screen-card small,
.plan-card span,
.testimonial-grid small {
  color: var(--muted);
}

.dash-head strong {
  display: block;
  color: var(--navy);
  font-size: 1.24rem;
}

.dash-head button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.metric-grid article,
.chart-card,
.orders-card,
.screen-card,
.visual-card,
.card,
.plan-card,
.lead-form {
  border: var(--border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.metric-grid article {
  min-width: 0;
  padding: 18px;
}

.metric-grid strong {
  display: block;
  margin: 5px 0 3px;
  color: var(--navy);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
}

.metric-grid em {
  color: var(--blue);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 700;
}

.chart-card {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 150px;
  margin-top: 16px;
  padding: 20px;
}

.bar {
  flex: 1;
  min-width: 16px;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--blue-soft), var(--blue));
  opacity: 0.86;
}

.orders-card {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 16px;
}

.orders-card div {
  min-width: 0;
}

.orders-card span,
.screen-title span {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 7px rgba(15, 76, 255, 0.08);
}

.orders-card p,
.table-row p {
  margin: 0 auto 0 0;
}

.orders-card strong,
.table-row strong {
  color: var(--navy);
  white-space: nowrap;
}

.floating-card {
  position: absolute;
  right: clamp(8px, 4vw, 34px);
  bottom: 10px;
  width: min(260px, 72%);
  padding: 18px;
  border: var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 48px rgba(8, 28, 74, 0.14);
  backdrop-filter: blur(14px);
}

.floating-card small {
  color: var(--blue);
  font-weight: 700;
}

.floating-card strong {
  display: block;
  margin-top: 5px;
  color: var(--navy);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 38px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered p {
  margin-right: auto;
  margin-left: auto;
}

.benefits,
.features,
.showcase,
.testimonials {
  background: var(--white);
}

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

.card {
  min-width: 0;
  padding: 28px;
}

.card p,
.visual-card p,
.plan-card p,
.faq-list p,
.footer p {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 16px;
  background: var(--blue-pale);
  color: var(--blue);
}

.icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.segments {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 20%, rgba(46, 139, 255, 0.12), transparent 29%),
    linear-gradient(180deg, #f8fbff, #fff);
}

.segment-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.segment-grid span {
  justify-content: center;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
}

.split,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
  background: linear-gradient(180deg, #fff, #f7f9fc);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--text);
  font-weight: 600;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--blue-pale);
  color: var(--blue);
  content: "✓";
  font-size: 0.8rem;
  font-weight: 700;
}

.mockup-stack {
  min-height: 430px;
}

.screen-card {
  padding: 22px;
}

.main-screen {
  min-height: 310px;
}

.screen-title {
  margin-bottom: 20px;
}

.table-row {
  min-height: 58px;
  border-top: var(--border);
}

.table-row span {
  color: var(--blue);
  font-weight: 700;
}

.mini-screen,
.phone-screen {
  position: absolute;
  right: 20px;
  width: 210px;
}

.mini-screen {
  bottom: 40px;
}

.phone-screen {
  right: auto;
  bottom: 6px;
  left: 30px;
  width: 170px;
}

.screen-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.65rem;
}

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

.visual-card {
  overflow: hidden;
  padding: 16px;
}

.visual-card h3,
.visual-card p {
  margin-right: 12px;
  margin-left: 12px;
}

.visual-placeholder {
  min-height: 230px;
  margin-bottom: 20px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(15, 76, 255, 0.09), rgba(46, 139, 255, 0.2)),
    var(--gray);
}

.dashboard-preview,
.pdv-preview,
.mobile-preview {
  position: relative;
  overflow: hidden;
}

.dashboard-preview::before,
.pdv-preview::before,
.mobile-preview::before {
  position: absolute;
  inset: 24px;
  border: var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  content: "";
}

.dashboard-preview::after {
  position: absolute;
  right: 44px;
  bottom: 44px;
  width: 48%;
  height: 52%;
  border-radius: 14px;
  background: linear-gradient(90deg, #dce9ff 20%, #0f4cff 20% 35%, #dce9ff 35% 48%, #2e8bff 48% 67%, #dce9ff 67%);
  content: "";
}

.pdv-preview::after {
  position: absolute;
  inset: 54px 46px auto;
  height: 90px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(15, 76, 255, 0.18), transparent 28%),
    repeating-linear-gradient(0deg, #e7eef8 0 10px, transparent 10px 22px);
  content: "";
}

.mobile-preview::after {
  position: absolute;
  left: 50%;
  top: 30px;
  width: 96px;
  height: 178px;
  border: 8px solid var(--navy);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #eef5ff);
  content: "";
  transform: translateX(-50%);
}

.plans {
  background: linear-gradient(180deg, #f8fbff, #fff);
}

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

.plan-card {
  min-width: 0;
  padding: 30px;
}

.plan-card.highlighted {
  border-color: rgba(15, 76, 255, 0.26);
  box-shadow: 0 24px 70px rgba(15, 76, 255, 0.14);
}

.plan-card small {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--blue-pale);
  color: var(--blue);
  font-weight: 700;
}

.plan-card > strong {
  display: block;
  margin: 22px 0;
  color: var(--navy);
  font-size: 2.1rem;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding-left: 18px;
  color: var(--muted);
}

.plan-card .button {
  width: 100%;
}

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

.testimonial-grid p {
  color: var(--text);
  font-size: 1.05rem;
}

.testimonial-grid strong,
.testimonial-grid small {
  display: block;
}

.faq {
  background: var(--gray);
}

.faq-list {
  display: grid;
  max-width: 920px;
  margin: 0 auto;
  gap: 12px;
}

.faq-list details {
  border: var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.faq-list summary {
  min-height: 66px;
  padding: 20px 24px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 700;
}

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

.contact {
  background:
    radial-gradient(circle at 15% 15%, rgba(46, 139, 255, 0.12), transparent 28%),
    #fff;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(8, 28, 74, 0.12);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  padding: 0 15px;
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: rgba(15, 76, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 76, 255, 0.1);
}

.lead-form button,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.form-note.success {
  color: var(--blue);
  font-weight: 700;
}

.footer {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 46px 18px;
  border-top: var(--border);
  background: var(--white);
  text-align: center;
}

.footer img {
  max-width: 132px;
}

.footer p {
  max-width: 680px;
  margin-bottom: 0;
}

.footer a {
  color: var(--blue);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 1120px) {
  nav {
    display: none;
  }

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

  .header-action {
    justify-self: end;
  }

  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 820px) {
  .site-header {
    min-height: 72px;
    padding: 12px 16px;
  }

  .brand img {
    max-width: 128px;
  }

  .header-action {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .section-pad {
    padding: 62px 16px;
  }

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

  h1 {
    font-size: 2.32rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 2.15rem;
  }

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

  .dash-sidebar {
    display: none;
  }

  .metric-grid,
  .plans-grid,
  .showcase-grid,
  .testimonial-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

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

  .floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

  .mini-screen,
  .phone-screen {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: 14px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .dash-head,
  .orders-card div,
  .table-row {
    align-items: flex-start;
  }

  .dash-head {
    flex-direction: column;
  }

  .dash-head button {
    width: 100%;
  }

  .orders-card div,
  .table-row {
    flex-wrap: wrap;
  }

  .orders-card strong,
  .table-row strong {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .header-action {
    display: none;
  }

  .lead,
  .section-heading p,
  .split-copy p,
  .contact-copy p {
    font-size: 1rem;
  }
}
